Offline reinforcement learning · Autonomous driving

Beyond Policy Support:
Interaction-Constrained Offline Reinforcement Learning for Autonomous Driving

Mahmoud SelimCristina CiprianiKarl H. Johansson

ICDP improves a diffusion-based driving policy from fixed logs while constraining distribution shift in the joint ego–agent interaction.

Abstract

Offline reinforcement learning enables reward-driven policy improvement from fixed datasets without requiring online exploration, making it particularly attractive in safety-critical domains. A central challenge, however, is distribution shift: policy optimization may favor actions that are weakly supported by the offline data, rendering value estimates unreliable. Existing approaches primarily control this shift in the policy’s own action space. In interactive environments such as autonomous driving, this can be insufficient: a candidate ego trajectory may remain well supported under the marginal behavior distribution while being poorly supported jointly with the surrounding-agent behavior observed in the logged interaction. We refer to this degradation in interaction support as interaction distribution shift (IDS), and introduce Interaction-Constrained Drive Policy (ICDP), an offline reinforcement learning framework that explicitly controls interaction-level distribution shift. Starting from the joint data distribution over ego and surrounding-agent futures, we show that joint-support degradation decomposes exactly into an ego-support component and a residual interaction-support component. We recover the latter through contrastive density-ratio estimation, isolating interaction compatibility without explicit joint-density modeling, surrounding-agent prediction, or rollouts in reactive simulators or learned world models during policy optimization. Closed-loop evaluations on nuPlan, Interplan and real-world truck experiments show that ICDP suppresses high-value yet interaction-unsupported trajectory selections and improves performance in interaction-critical driving scenarios.

Contributions

  1. Interaction distribution shift. We identify and formalize IDS in interactive offline RL: an ego trajectory can remain well supported marginally while losing support jointly with the surrounding-agent evolution.
  2. Contrastive interaction-support estimation. We derive a density-ratio estimator that isolates the interaction-specific support component, and integrate this constraint with chunk-level value learning and diffusion-policy optimization in ICDP.
  3. Closed-loop and real-world evaluation. We evaluate on nuPlan and InterPlan and deploy on a full-scale autonomous truck, demonstrating suppression of high-value, interaction-unsupported trajectory selections and improved performance in challenging scenarios.

Interaction-Constrained Drive Policy

ICDP combines a diffusion trajectory policy, a pessimistic ensemble of chunk-level critics, and a contrastive interaction-support module. Only the ego policy is optimized; surrounding-agent futures are retained from the logged interactions.

Figure 1. Overview of ICDP. The actor generates candidate ego trajectories; the critic estimates their value, while joint and ego-only classifiers isolate interaction support. Click any figure to enlarge it.

Logged interactions

Learn from scenes containing ego-action chunks, corresponding agent futures, chunk returns, and subsequent states.

Candidate generation and value

A diffusion actor proposes trajectories; a pessimistic critic ensemble estimates their long-horizon utility.

Contrastive interaction support

The joint-minus-ego classifier score isolates interaction compatibility from marginal ego-trajectory support.

Constrained policy improvement

Value guidance is balanced with ego and interaction support penalties and the diffusion behavior-cloning anchor.

Mathematical formulation and optimization details

Represent the logged interaction

Each training sample contains a scene s, a logged ego-action chunk τeβ, the corresponding surrounding-agent futures τaβ, a chunk return, and the subsequent scene. Policy improvement must preserve support for the complete ego–agent pairing, rather than only for the ego trajectory.

ΔJ=ΔE+ΔI

Exact joint-support decomposition · Eq. (10)

ΔE=logpD(τeβ|s)pD(τ^e|s)

Ego marginal-support shift

ΔI=logpD(τaβ|s,τeβ)pD(τaβ|s,τ^e)

Interaction distribution shift (IDS)

IDS measures compatibility with observed agent futures. It does not require predicting how those agents would react to a candidate trajectory.

Generate and value candidate trajectories

The diffusion actor proposes a candidate ego-action chunk. The critic evaluates the complete chunk, enabling a Bellman target aligned with the temporally extended action. An ensemble lower-confidence-bound estimate combines mean value with a penalty for disagreement, reducing exploitation of uncertain value estimates.

Recover interaction support contrastively

The joint classifier distinguishes logged ego–agent interactions from pairings containing policy-generated ego candidates. The ego-only classifier uses the same candidate trajectories as negatives. Subtracting their logits removes the shared marginal ego-support component:

gI(s,τe,τa)=gJ(s,τe,τa)−gE(s,τe)

Residual interaction score · Eq. (11)

The contrastive recovery result and the complete training procedure are presented together in the theory and algorithm card below.

Constrain reward-driven policy improvement

The policy balances long-horizon utility with ego-support and interaction-support penalties, while retaining the behavior-cloning denoising objective:

maxθE[QLCB(s,τ^e)−λECE−λICI]−λBCLBC

Interaction-constrained policy objective · Eq. (17)

CI=[ΔI^−ϵI]+

Interaction penalty · Eq. (16)

CE regularizes marginal ego support; CI penalizes interaction shift above tolerance ϵI. The diffusion actor is updated using Noisy Space Policy Gradient (NSPG), with value and support assessed on clean trajectories.

Interaction Support and Policy Learning

The recovery result characterizes interaction support; the training loop integrates that signal with value-guided policy improvement.

ICDPContrastive recovery and the training procedureTheory & training
Theorem 1 — Contrastive recovery of IDS

At population-optimal classifier logits, the residual-score difference between logged and candidate ego trajectories exactly recovers interaction distribution shift.

ΔI=gI∗(s,τeβ,τaβ)−gI∗(s,τ^e,τaβ)

Exact recovery at population optimum · Eq. (13)

Distributional interpretation Corollary 2

Fix the state and the logged/candidate ego trajectories. Let qβ and q̂ denote their conditional distributions of surrounding-agent futures:

qβ=p𝒟(τa|s,τeβ)q^=p𝒟(τa|s,τ^e)
Eτa∼qβ[ΔI]=DKL(qβ∥q^)

Expected IDS = conditional KL divergence · Eq. (15)

On average, IDS quantifies the change in the conditional interaction distribution when the candidate replaces the logged ego trajectory. The KL direction is logged → candidate.

Recovery conditions & practical penalty

Exact recovery. Joint and ego classifiers share policy-generated negatives, balanced class sampling, and common support. Both scores use the same logged surrounding-agent futures.

ΔI^=gI(s,τeβ,τaβ)−gI(s,τ^e,τaβ)

Practical IDS estimator · Eq. (14)

In practice. ICDP uses learned logits and the pointwise penalty CI = [Δ̂I − εI]+. The tolerance εI ≥ 0 sets the permitted interaction shift.

Individual IDS values can be negative; their conditional expectation is the nonnegative KL in Corollary 2. The identity applies to true IDS under the support assumptions. A learned estimate and its hinge penalty approximate interaction shift; the penalty itself is not a KL divergence. The distributions are derived from logged data, without predicting counterfactual agent responses.

Algorithm 1 — ICDP training procedure

Require: Offline dataset 𝒟

  1. Pretrain diffusion policy πθ by behavior cloning
  2. Initialize critic ensemble {Qϕk}Kk=1 and contrastive estimators gJ, gE
  3. repeat
  4. Sample (s, τeβ, τaβ, R(H), s′) ∼ 𝒟
  5. Sample τ̂e ∼ πθ(· | s)
  6. Update the critic ensemble
  7. Update gJ and gE
  8. Compute Δ̂I and the objective in Eq. (17)
  9. Update πθ using NSPG
  10. until convergence
  11. return πθ

Alternating critic learning, contrastive support estimation, and interaction-constrained diffusion-policy improvement. Numbered steps follow Algorithm 1 in the manuscript.

Implementation. Planning horizon: 32 steps (3.2 s); critic ensemble: 5 heads; interaction context: 48 agents; reverse diffusion: 5 steps; batch size: 1,024; AdamW learning rate: 3 × 10−4. Guidance begins after 5,000 updates; the reported training budget is up to 250,000 updates (Appendix B).

Experimental Results

We evaluate closed-loop driving on nuPlan and InterPlan, compare against representative learning-based planners, and isolate the effect of interaction constraints under a shared policy backbone. NR denotes non-reactive evaluation; R denotes reactive evaluation. Higher scores are better.

Benchmark comparison

Closed-loop performance on nuPlan

7 planners · 6 evaluation settings

Which planner performs best across non-reactive and reactive nuPlan benchmarks?

PlannerVal14Test14-HardTest14-Random
NRRNRRNRR
PDM-Open*53.5354.2433.5135.8352.8157.23
GameFormer w/o refine.13.328.697.086.6911.369.31
PlanTF84.2776.9569.7061.6185.6279.58
PLUTO w/o refine.*88.8978.1170.0359.7489.9078.62
Diffusion Planner89.8782.8075.9969.2289.1982.93
Flow Planner90.4383.3176.4770.4289.8882.93
ICDP (ours)91.384.378.3472.8793.3386.34
Table 1. Closed-loop performance on nuPlan Val14, Test14-Hard, and Test14-Random. Green highlights indicate the best score in each column. Baseline asterisks are retained as printed in the manuscript.
Key finding

ICDP achieves the strongest score among the listed planners in all six evaluations. On Test14-Hard, it reaches 78.34 (NR) and 72.87 (R), compared with 76.47 and 70.42 for Flow Planner. The gains are preserved under reactive evaluation, where interaction quality is particularly relevant.

Same-backbone study

Controlled comparison: behavior cloning and offline RL

3 methods · 10 evaluation checkpoints

What does the interaction constraint add when the policy backbone and training data are held fixed?

PlannerVal14Test14-HardTest14-Random
NRRNRRNRR
BC89.8 ± 1.282.4 ± 1.0978.42 ± 0.6968.21 ± 0.9591.98 ± 0.6282.71 ± 0.53
Offline RL89.4 ± 1.7483.4 ± 2.1178.75 ± 0.7570.07 ± 1.0890.74 ± 0.7083.02 ± 1.08
ICDP91.3 ± 1.9184.3 ± 2.0478.34 ± 1.0372.87 ± 2.0193.33 ± 0.8586.34 ± 1.18
Table 2. Same-backbone comparison. Results are mean ± standard deviation over ten evaluation checkpoints spaced by 2,000 optimization steps; this variability is across checkpoints. The second line in each cell is the standard deviation.
Key finding

Interaction-constrained optimization achieves the highest mean in five of six settings. Relative to unconstrained offline RL, reactive scores increase from 70.07 to 72.87 on Test14-Hard and from 83.02 to 86.34 on Test14-Random. Unconstrained offline RL retains the highest non-reactive Test14-Hard mean.

Interaction-critical scenarios

InterPlan: interaction-critical scenarios

5 planners · 3 scenario categories

How does the learned planner perform in challenging, interaction-focused driving scenarios?

PlannerOverallNudge AroundHigh TrafficJaywalk
PlanTF47.7049.4058.8533.94
PLUTO w/o refine.58.4771.5667.2525.48
Diffusion Planner52.9060.4849.7126.20
Flow Planner61.8272.9667.2143.57
ICDP62.751.870.251.1
Table 5 (appendix). Overall InterPlan performance and selected interaction-critical categories.
Key finding

ICDP reports an overall score of 62.7 and the strongest listed scores in High Traffic and Jaywalk. Performance varies by category: PLUTO w/o refinement and Flow Planner outperform ICDP in Nudge Around.

AblationsConstraint strengths & surrounding-agent context3 plots

How much regularization and interaction context does ICDP need?

Ego support2a

Ego-support strength

Ego-support strengthAverage closed-loop score across the four evaluation settings. The score axis runs from 75 to 84. Values reconstructed from Figure 2 are approximate.Average score ↑757881840.10.313λE (log scale)
λE = 0.3≈ 82.4average score
A moderate ego-support weight performs best among the tested settings.
View plotted values
Figure 2(a) — plotted values
λEScoreSource
0.180.7Digitized · approximate
0.382.4Digitized · approximate
179.0Digitized · approximate
376.0Digitized · approximate
Interaction support2b

Interaction-support strength

Interaction-support strengthAverage closed-loop score across the four evaluation settings. The score axis runs from 75 to 84. Values reconstructed from Figure 2 are approximate.Average score ↑757881840.313λI (log scale)
λI = 1≈ 82.4average score
The reported configuration uses λI = 1 to balance interaction support and policy improvement.
View plotted values
Figure 2(b) — plotted values
λIScoreSource
0.381.6Digitized · approximate
182.4Digitized · approximate
377.4Digitized · approximate
Agent context2c

Surrounding-agent context

Surrounding-agent contextAverage closed-loop score across the four evaluation settings. The score axis runs from 75 to 84. Values reconstructed from Figure 2 are approximate.Average score ↑757881841624324864Number of agents
Agents = 4882.40average score
Performance improves up to 48 agents; expanding to 64 produces a small decrease.
View plotted values
Figure 2(c) — plotted values
AgentsScoreSource
1678.4Digitized · approximate
2480.0Digitized · approximate
3280.9Digitized · approximate
4882.40Reported in text
6481.97Reported in text

Figure 2, redrawn. Scores average Test14-Hard and Test14-Random under non-reactive and reactive evaluation. All three plots share a truncated 75–84 score axis; regularization weights use a log scale. Lines connect tested settings. Values marked ≈ are reconstructed from the PDF’s vector plots and rounded to one decimal. The 48-agent score (82.40) and 64-agent score (81.97) are explicitly reported in Section 5.2.

Real-World Truck Demonstrations

Explore full-scale truck trials across takeover and cut-ins, lead-vehicle following, and curvy roads. Select a category to watch its three demonstrations.

Closed-Loop Reactive Simulation

Video rollouts from the nuPlan test set under closed-loop reactive simulation. Browse nine scenario types, with three example videos per category.

Conclusion

ICDP extends offline policy improvement from marginal ego support to joint interaction support. Contrastive estimation makes this constraint tractable without explicit joint-density modeling or predicted agent responses during policy optimization. Closed-loop benchmarks show consistent improvements, particularly under reactive evaluation, and real-world truck trials demonstrate deployment feasibility. Extending the approach to online reinforcement learning is a direction for future work.

Citation

Copy the BibTeX entry below to cite this work.

BibTeX
@misc{selim2026policysupportinteractionconstrained,
  title         = {Beyond Policy Support: Interaction Constrained Offline Reinforcement Learning for Autonomous Driving},
  author        = {Mahmoud Selim and Cristina Cipriani and Karl Henrik Johansson},
  year          = {2026},
  eprint        = {2610.09763},
  archivePrefix = {arXiv},
  primaryClass  = {cs.LG},
  url           = {https://arxiv.org/abs/2610.09763},
}

Figure 2

Ablation figure

Hover, tap or focus a point to inspect its score.

Average closed-loop score across the four evaluation settings. ≈ marks values reconstructed from Figure 2; unprefixed scores are explicitly reported in the paper.

ICDP · Reading view

Theory and training procedure

Contrastive recovery, the KL interpretation and Algorithm 1.