Research
Guiding End-to-End Driving Models with Endpoint-Constrained Trajectory Optimization
End-to-end driving policies are trained by matching logged human trajectories in open loop, but at deployment their predictions feed a controller autoregressively, changing the states they later…

- arXiv
- 2609.31383 · Preprint · not peer-reviewed
- Published
- 2026-09-25
- Authors
- Brayden Zhang, Mahsa Golchoubian, Igor Gilitschenski, Boris Ivanovic, Kashyap Chitta
In plain words
End-to-end driving policies are trained by matching logged human trajectories in open loop, but at deployment their predictions feed a controller autoregressively, changing the states they later encounter.
AI summary
Overview
Research area: End-to-end autonomous driving — specifically the gap between open-loop behavior cloning and closed-loop deployment, and how the waypoint trajectories emitted by a learned policy are handed to a downstream tracking controller.
Technical level: Intermediate. The paper is readable with a basic grasp of trajectory prediction, waypoint metrics (ADE/FDE), and closed-loop simulation, but the optimization objective and metric definitions assume some familiarity with vehicle kinematics.
Scope: The paper diagnoses why waypoint-based supervision produces trajectories that are hard for a controller to execute, and proposes a training-free post-processing layer (Endpoint-Constrained Optimization, ECO) that repairs the interior of a predicted plan while holding the vehicle's executed history and the policy's predicted endpoint fixed.
What This Paper Is About
End-to-end driving policies are trained by matching logged human trajectories in open loop, but at deployment their predictions feed a controller autoregressively, changing the states they later encounter. The authors identify a contributing cause beyond covariate shift and causal confusion: waypoint losses and displacement metrics reward positional agreement without enforcing that the sequence of waypoints is physically coherent or trackable. They show that the resulting errors — collisions and motion-limit violations — concentrate at intermediate waypoints while the predicted endpoint stays comparatively reliable, and they exploit this asymmetry by re-optimizing only the interior of each plan.
Key Contributions
-
An analysis of the open-loop/closed-loop gap in terms of plan executability. The authors show that standard displacement metrics can miss physically inconsistent waypoint sequences, and that both collision overlaps and motion-limit violations concentrate in the middle of the prediction horizon rather than at its boundaries (with VaVAM on the nuScenes subset of HUGSIM: intersection rate 1.2% at the first predicted waypoint, 8.2% at 2.5 s, 3.5% at the endpoint).
-
ECO, a training-free trajectory optimization layer. It anchors two recently executed poses plus the current pose (K = 2), pins the policy's final predicted waypoint, and re-optimizes the intervening waypoints under a combined smoothness, turn-penalty, and deviation objective, solved with L-BFGS-B. It requires no map, no privileged simulator state, and no retraining, and consumes and returns the same fixed-interval waypoint representation.
-
Controlled closed-loop studies across six policies and two simulators. ECO improves the aggregate closed-loop score of all six evaluated generative and regression-based policies (VaVAM, DiffusionDrive, DrivoR, UniAD, VAD, and Latent TransFuser) on HUGSIM and AlpaSim, without simulator-specific hyperparameter retuning.
-
Ablations isolating why the refinement works. Boundary-condition ablations, comparisons against alternative trajectory-shaping operators, a controller-replay analysis, and a correlation between base-plan kinematic deficit and ECO gain (Spearman ρ = 0.64, p = 0.0479 across 10 policy and sampler variants).
Main Findings
-
Large closed-loop gains on HUGSIM's 185-scene test set. Overall HD-Score rises from 18.1 to 31.0 for VaVAM, from 17.9 to 20.7 for LTF, from 26.8 to 32.4 for UniAD, from 15.7 to 17.4 for VAD, and from 34.6 to 36.2 for DrivoR (w/ SimScale). The VaVAM improvement is described in the abstract as +71%, and it achieved 1st place on the HUGSIM Closed-Loop Driving Challenge.
-
Gains extend across data domains. VaVAM's per-domain HD-Score changes by +14.2 (Waymo), +16.5 (nuScenes), +18.2 (KITTI-360), and +7.2 (PandaSet); route completion rises from 40.9 to 45.2 and comfort from 14 to 97.
-
Improvements are broad, not driven by a few scenes. 71% of the 185 test scenes improve, with a median per-scene gain of +3.3. The gain varies by difficulty: +36.2, +16.1, +1.2, and +2.7 on easy, medium, hard, and extreme scenes respectively, with the smallest gains where the base policy is already competent.
-
Open-loop displacement barely changes while closed-loop score jumps. On the 34-scene nuScenes HUGSIM subset, paired ΔADE is −0.03 m for VaVAM and +0.03 m for UniAD, with ΔFDE of +0.00 m in both cases, yet HD-Score rises by +16.5 and +9.5. UniAD's ADE actually increases slightly while its closed-loop score improves.
-
Open-loop proximity to the human path does not predict success. Across VaVAM episodes on the nuScenes subset of HUGSIM, plans from collision episodes are closer to the human driving path than those from completed episodes, with median displacements of 1.2 m and 2.0 m respectively.
-
Independent confirmation in AlpaSim. On the 441-scene NuRec validation set, VaVAM's scene score rises from 11.0 to 24.5 with the nonlinear MPC and from 32.8 to 39.2 with the linear MPC; DiffusionDrive rises from 28.9 to 35.2. The abstract reports these as scene-score increases of 123% and 22%. AlpaSim has no comfort metric, indicating the benefit is not comfort-specific.
-
Gains scale with how infeasible the base plans are. Across 10 policy and sampler variants, larger base-plan kinematic deficit corresponds to larger ECO gains (Spearman ρ = 0.64, p = 0.0479). ECO also reduces deficit from 44% to 0 for VaVAM and from 16% to 0 for UniAD on the nuScenes HUGSIM subset.
-
Faster sampling becomes viable. A 2-step VaVAM sampler with ECO reaches 38.7 HD-Score on the nuScenes HUGSIM test split versus 21.3 for the 20-step base sampler, while per-plan latency drops from 65 ms to 49 ms.
-
Both boundaries matter. Fixing the first predicted waypoint and the endpoint but not anchoring history gives 36.9; anchoring history with a free endpoint gives 34.4; fixing the first waypoint with a free endpoint gives 32.1; the full ECO setup gives 39.6, against 23.1 for the base policy.
-
The specific objective outperforms intuitive alternatives. Under the same boundary conditions, a cubic smoothing spline (s = N) reaches 28.9, Savitzky–Golay filtering (window 5, order 2) 31.9, a 3-point moving average 31.7, a constrained bicycle-model optimizer 34.8, and temporal ensembling of consecutive plans 27.8, versus 39.6 for ECO.
-
The controller finds the reference easier to track over the whole horizon. Replaying HUGSIM's controller on 1,500 paired base and ECO trajectories, the iLQR controller cost falls 8.5% (101.2 to 92.6) and is lower for 83% of pairs; the fraction of steps reaching the steering-rate limit drops from 20.1% to 12.9%, while first-waypoint tracking error is nearly unchanged (0.45 m to 0.44 m).
-
Hyperedges are not fragile. Scaling the smoothness, turn-penalty, or deviation weight by 3× or 1/3× changes HD-Score by no more than 2.4 points; the exception is raising the deviation weight beyond w_d = 0.5, which suppresses the optimization almost entirely.
Methodology in Plain English
The authors treat the policy as frozen and intervene only at the interface between the policy and the controller. When the policy emits N waypoints, they prepend the vehicle's recently executed poses — two past poses plus the current pose at the ego origin, obtained by interpolating the executed trajectory into the current ego frame — and hold those, along with the policy's final predicted waypoint, completely fixed. Only the waypoints between the current pose and the endpoint are allowed to move.
Those interior waypoints are then adjusted by minimizing three cost terms evaluated on the combined history-plus-plan sequence. The first penalizes second differences in position and heading (with angles wrapped to [−π, π]), discouraging abrupt changes. The second penalizes sharp turns via the cross product of consecutive segments, applied only when that cross product exceeds 0.5 m² and both segments are longer than 0.1 m to avoid instability near stationary points. The third term pulls the result back toward the policy's original prediction so the plan does not drift far from what the network intended. The objective is evaluated over the extended trajectory, so finite differences naturally encourage a smooth transition out of the executed history.
The problem is solved with L-BFGS-B, initialized at the predicted plan. On a Xeon Gold 6238R CPU it takes a median of 31 iterations and 20.7 ms, which the authors note fits within the 250 ms and 100 ms control periods of HUGSIM and AlpaSim respectively, and is comparable to or smaller than a generative policy's own forward pass (44.7 ms for VaVAM on an L40S GPU). Weights (w_s = 3, w_c = 8, w_d = 0.05) were selected on a held-out subset of the HUGSIM train split and then frozen for all policies and both simulators.
Evaluation uses the HD-Score on HUGSIM's 345-scene train and 185-scene test splits (with a 34-scene nuScenes subset used for ablations), and the scene score and associated metrics of the AlpaSim NuRec 441-scene validation set. Trajectory feasibility is measured by a "kinematic deficit" — the fraction of waypoints violating any of HUGSIM's motion limits: yaw rate 0.95 rad/s, yaw acceleration 1.93 rad/s², longitudinal acceleration in [−4.05, 4.89] m/s², and jerk 8.37 m/s³. These limits are used only for evaluation, not inside the objective.
Why This Matters
The work reframes part of the open-loop/closed-loop gap as an executability problem rather than purely a distribution-shift or causal-confusion problem. That is a useful shift in emphasis: it suggests a policy can be accurate in displacement terms and still be a poor controller reference, and that some of this can be fixed at test time without touching the model. For a field increasingly dominated by diffusion and flow-matching planning heads, a training-free layer that composes with any waypoint-emitting policy is practically attractive.
Real-world applications:
- Deployed autonomous driving stacks: a drop-in module between a learned planner and an existing tracking controller, requiring no map, no retraining, and no simulator privileges, which lowers the barrier to adopting a new planner component.
- Compute-constrained or latency-sensitive platforms: the 2-step VaVAM result (38.7 HD-Score at 65 ms down to 49 ms latency versus 21.3 for the 20-step base sampler) suggests trajectory repair can substitute for expensive iterative sampling.
- Comparing and diagnosing planners: kinematic deficit as a reported metric gives a concrete way to identify which candidate planners most need refinement before deployment.
- Rapid prototyping in simulation: since the same frozen weights transfer across HUGSIM and AlpaSim despite different controllers (iLQR versus linear/nonlinear MPC) and vehicle dynamics, it can be tested on new simulators without retuning.
Industry relevance: The result is directly actionable for teams shipping learned planners, because it improves safety- and comfort-adjacent metrics simultaneously (comfort 14 to 97 for VaVAM on HUGSIM; m/incident 190 m to 296 m for DiffusionDrive in AlpaSim) at a cost of roughly 21 ms per plan and no retraining pipeline.
Future Directions
- Reasoning about the endpoint. The authors explicitly note that fixing the endpoint limits what ECO can correct — it cannot insert a stop the policy did not predict, which matters for collisions. A natural extension is a cheap check on whether the endpoint itself should be revised.
- Incorporating other agents. ECO does not reason about other traffic, so the authors suggest a separate safety layer may still be necessary; integrating agent awareness or control-barrier-style constraints into the post-processor is an open direction.
- Closing the remaining hard-scene gap. The gains shrink to +1.2 and +2.7 on hard and extreme HUGSIM scenes, which the authors attribute to failures that would require a completely different planned endpoint. Understanding what would resolve those cases is left open.
- Moving the repair into training. ECO operates only at inference; the paper frames it as complementary to methods that improve the policy's high-level planner, raising the question of whether the same feasibility signal could be used as a training objective or fine-tuning signal rather than a post-hoc fix.
Target Audience
Researchers and engineers working on end-to-end driving, imitation learning for control, and closed-loop evaluation of learned planners. It is most valuable to readers who already understand waypoint-based planning and tracking controllers and want a concrete, low-cost diagnosis of why open-loop-strong policies underperform in simulation — as well as practitioners looking for a deployable post-processing step that does not require retraining or privileged information. Readers new to the area will still follow the high-level argument but will need background on ADE/FDE, iLQR/MPC tracking, and closed-loop simulator scoring to interpret the tables.
Authors’ abstract
End-to-end driving policies are commonly trained through open-loop behavior cloning, yet they must ultimately operate in closed-loop when deployed on a vehicle, creating a fundamental mismatch between training and execution. Beyond the commonly studied effects of covariate shift and causal confusion, we identify a complementary factor for this open-loop/closed-loop gap: waypoint-based supervision and displacement metrics do not ensure that the intermediate trajectory is…
The full abstract on arXivRelated papers
- OPTED: On-Policy Fine-Tuning for End-to-End Driving using a Render-Free Teacher 2026-09-17 · cs.RO · Also by Boris Ivanovic, Kashyap Chitta
- Scenario Orchestration for Closed-loop Policy Evaluation of Autonomous Driving 2026-11-06 · cs.RO · Also by Igor Gilitschenski, Mahsa Golchoubian
- Taming an End-to-End Autonomous Driving Policy for Urban Navigation of Quadruped Robots 2026-09-23 · cs.RO · Key terms of the title in common
- DreamStream: Towards Policy-Oriented Generative Simulation for End-to-End Driving 2026-09-22 · cs.RO · Key terms of the title in common
- AD-E2E-JEPA: A Joint-Embedding Predictive Architecture For End-to-End Autonomous Driving 2026-09-28 · cs.RO · Key terms of the title in common