arXiv:2611.01283cs.CVOct 2026

Manuscript Offprint

arXiv:2611.01283

DriftingPlanner: Drifting Generative Models for One-Step Trajectory Planning in End-to-End Autonomous Driving

Ziming Liu, Yizhan Qu, Leichen Wang, Hao Sun

Abstract

End-to-end planners decode the ego trajectory either by coordinate regression, which is fast but blends plausible maneuvers into one trajectory that may follow none of them, or by diffusion and flow matching, which model the trajectory distribution but need several inference steps. Drifting models move this iteration into training: a one-step generator learns to follow an attraction–repulsion field between generated and ground-truth samples. Drifting was developed for class-conditional image generation, where every class supplies many positive samples. In planning, every scene is its own condition. Pooling scenes would attract the generated trajectories of one scene to the ground truth of unrelated scenes, whereas computing the field per scene leaves a single positive, the expert trajectory. Mutual repulsion then holds the generated trajectories on a shell around it, so any single generated trajectory deviates from the ground truth. We present DriftingPlanner, a trajectory planner trained with the drifting loss alone, without any coordinate regression term. It computes the field per scene and removes the shell at inference: it decodes every noise vector together with its negation in one batched pass, and averaging each antithetic pair cancels the linear part of the displacement from the shell center. On NAVSIM navtest, DriftingPlanner reaches a state-of-the-art 93.75 PDMS, and with single-step inference its drifting decoder comes within 0.13 PDMS of the best diffusion or flow matching setting, which needs ten inference steps.

1. Introduction

End-to-end planners map raw sensor input and the ego status directly to a future ego trajectory [2, 3, 14, 15, 21]. Whatever the perception backbone, the trajectory that reaches the controller is produced by a trajectory decoder, and the training objective of that decoder decides which trajectory is emitted when the scene admits several.

Most planners train the decoder by coordinate regression, minimizing the L1L_1 distance between the predicted waypoints and the ground-truth trajectory [3, 17]. Inference is one forward pass. The L1L_1 minimizer, however, is the per-coordinate median of the trajectories that are plausible for the scene. When a driver could either keep the lane or swerve around an obstacle, the median lies between the two, and a trajectory between two drivable maneuvers is not necessarily drivable itself. The drivable area compliance and collision metrics of a closed-loop or pseudo-simulated benchmark penalize precisely this case.

Diffusion and flow matching decoders model the trajectory distribution instead of its median [16, 21, 31, 35]. They pay for it at test time. Denoising takes several inference steps, and the strongest driving variants truncate the schedule to two steps around trajectory anchors [21]. Training is also rarely purely generative: auxiliary L1L_1 losses on the denoised trajectory or learned scorers that rank candidate trajectories [20, 21] decide much of the final output, so the reported gain cannot be attributed to the generative objective alone.

Drifting models [5] move the iteration from inference to training. A generator gθg_\theta maps a noise vector to a trajectory in one pass. During training, a kernel field Vp,q\mathbf{V}_{p,q} pulls each generated trajectory toward the ground-truth trajectories and pushes it away from the other generated trajectories, and the generator regresses its output onto the stop-gradient target [[x+ηVp,q(x)]]\left[\left[\mathbf{x} + \eta \mathbf{V}_{p,q}(\mathbf{x})\right]\right]. The field vanishes when the generated and ground-truth trajectory distributions co-incide, so the training dynamics evolve the distribution of generated trajectories toward that of the ground-truth trajectories while the deployed model stays a single forward pass. This raises a direct question for planning: can a trajectory decoder trained with the drifting loss alone, without any coordinate regression term, compete with regression and iterative generative decoders while keeping single-step inference?

Applied to planning without modification, the original drifting model cannot work. Deng et al. [5] develop it for class-conditional image generation and compute the field

∗^{*}Equal contribution. †\daggerCorresponding author.

separately for each class label, with positives drawn from many images of that class. Planning differs in two ways.

First, planning has no discrete conditions. Every scene is its own condition, defined by its sensor input and ego status, so no other example in the data shares its target distribution. Pooling the scenes of a mini-batch would attract the generated trajectories of scene b to the ground-truth trajectory of an unrelated scene b' and repel them from its generated trajectories, so the field has to be computed per scene.

Second, computing the field per scene leaves a single positive, because driving datasets record exactly one ground-truth trajectory per scene. With N generated trajectories and one positive, attraction pulls all of them to the same point, while repulsion pushes them apart. The generated trajectories settle on a shell around the ground-truth trajectory whose radius is set by this balance and not by any variance in the data, so a single generated trajectory at test time is a point on the shell rather than its center. When the noise branch of the generator ends with a LayerNorm, the noise feature has a fixed norm for every noise vector, so the generator cannot shrink the shell by scaling down its noise feature and must instead learn to suppress it in later layers. The shell is not the only source of spread. The generator is shared across scenes, and scenes with similar conditions have different ground-truth trajectories, so the generated trajectories also reflect this variability in the data. In the scenes we inspect, it appears as variation within a single driving decision, such as different curvatures or speed profiles of one left turn, rather than across decisions such as keeping the lane or changing lanes. A planner with a scorer can use these variations as local candidates around each proposal (Sec. 3.5).

We present DriftingPlanner, a trajectory planner trained with the drifting loss alone. It computes the drifting field per scene and otherwise keeps the field of the original drifting model, including its joint normalization of attraction and repulsion, cross-mass weighting, field normalization, and multiple kernel temperatures; we compute the normalization per scene. When the decoder refines many proposals, a coordinate-wise kernel weights each coordinate by its own error, so that a large longitudinal error no longer masks lateral and heading errors. At inference, DriftingPlanner decodes fixed antithetic pairs {zm,−zm}\{\mathbf{z}_m, -\mathbf{z}_m\} in one batched decoder pass. A single-query planner averages the outputs, which cancels every odd-order term of the generator in z\mathbf{z}, including the linear term that sets the shell radius; a planner with a scorer keeps them as candidates. A generator without LayerNorm on its noise path removes the norm constraint during training. A single trajectory query decoded with several latents already yields a set of distinct trajectory hypotheses, without anchors or a mode classifier, because the shared generator sees the different ground-truth trajectories of scenes with similar conditions.

Our contributions are:

  • A formulation of drifting for trajectory planning, in which every scene is its own condition with a single positive, and an analysis of the repulsion shell that this single-target setting produces. The resulting decoder is trained without any coordinate regression loss.

  • Antithetic inference, which removes all odd-order terms of the generator output in one batched forward pass. On a single-query decoder, averaging over latents raises planning performance without retraining, and antithetic pairs make the output deterministic at the same cost.

  • A coordinate-wise kernel for decoders that refine many trajectory proposals, which weights each coordinate by its own error and raises planning performance over the isotropic kernel.

  • The observation that a single drifting query yields distinct trajectory hypotheses within one driving decision through noise sampling alone, without anchors or a mode classifier. We explain it by the generator being shared across scenes: the ground-truth trajectories of scenes with similar conditions jointly act as a positive set with several trajectories, even though each scene contributes only one.

  • With single-step inference, a drifting decoder reaches essentially the same score as the best iterative diffusion or flow matching setting, which needs ten inference steps.

References (37)