Manuscript Offprint
arXiv:2611.01283DriftingPlanner: Drifting Generative Models for One-Step Trajectory Planning in End-to-End Autonomous Driving
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 distance between the predicted waypoints and the ground-truth trajectory [3, 17]. Inference is one forward pass. The 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 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 maps a noise vector to a trajectory in one pass. During training, a kernel field 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 . 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. Corresponding 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 in one batched decoder pass. A single-query planner averages the outputs, which cancels every odd-order term of the generator in , 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.
Generative trajectory planning. Generative planners model the conditional distribution of the trajectory rather than a point estimate. MotionDiffuser [16] and DiffusionES [31] apply denoising diffusion [12, 28] to motion prediction and planning, and GenAD [35] frames end-to-end driving as generative trajectory modeling in a latent space. DiffusionDrive [21] truncates the diffusion schedule around 20 k-means anchor trajectories and denoises in two steps. Flow matching [22] replaces the stochastic path with a straight interpolation but still integrates an ODE at test time. Two traits recur in this line of work: inference takes several network steps, and the final trajectory is shaped by auxiliary regression losses or by a learned scorer over candidate trajectories [20, 21]. DriftingPlanner uses single-step inference and no regression loss.
One-step generative models and drifting. Several lines of work reduce generation to one or a few network evaluations. Distillation compresses a pretrained diffusion model into a one-step generator, either along its sampling trajectory [27] or by matching distributions through score differences [24, 32, 38]. Consistency models [23, 29] and flow-map formulations [1, 7, 9] train one-step or few-step models from scratch by approximating the trajectories of the underlying ODE, and inductive moment matching [36] reaches few-step generation without an ODE. An older family trains a one-step generator directly, with a kernel two-sample discrepancy such as the maximum mean discrepancy [6, 18, 19] or a Sinkhorn divergence [8], or with an adversarial discriminator [10]. In robot learning, one-step policies have been obtained by distilling diffusion policies [26]. Drifting models [5] avoid any time-indexed path: a generator outputs the final sample directly, and a kernel attraction–repulsion field computed between generated and data samples provides its regression target. The field relates drifting to these implicit generators. With a Gaussian kernel it is a difference of smoothed scores, the update direction of distribution matching distillation [32]; its softmax-weighted attraction and repulsion resemble contrastive representation learning [34]; and regressing onto a stop-gradient refinement of the model's own output is shared with recent one-step generators [33, 37]. Deng et al. study two-dimensional toy distributions and class-conditional image generation, where the field is computed per class label and every class supplies many positive samples. In trajectory planning each scene is its own condition with a single ground-truth trajectory, which is the setting in which inference from a single generated trajectory fails. DriftingPlanner computes the field per scene, keeps the field construction of Deng et al., and explains why inference from a single generated trajectory is biased in this single-target setting. Our inference rule is the antithetic variates estimator of Monte Carlo integration [11].
3. Method
DriftingPlanner keeps the perception backbone and condition encoder of an existing planner and replaces its trajectory head and training objective. We first recall drifting models (Sec. 3.1) and fix the notation (Sec. 3.2). Sec. 3.3 defines the scene-isolated drifting field, Sec. 3.4 analyzes the repulsion shell and introduces antithetic inference, and Sec. 3.5 explains how a single query yields distinct trajectory hypotheses through noise sampling and how a multi-modal planner with a scorer uses them. Fig. 1 summarizes
the pipeline.
3.1. Preliminaries: Drifting Models
A drifting model [5] trains a generator that maps a noise vector to a sample . Let denote the data distribution, which supplies the positive samples, and the distribution of generated samples, which supplies the negative samples. For a sample drawn from either distribution, the kernel with temperature measures how close is to , and defines a field
whose first term attracts x toward the positives and whose second term repels it from the negatives , i.e., the other generated samples. The two terms cancel when q = p. The generator is trained with
where denotes the stop-gradient operator and is the drift step size. The gradient of (2) moves every sample a small step along the field, so training evolves toward p, and inference is a single forward pass of . In the original setting, p is represented by many data samples. In planning, x and y are trajectories, and the field is computed within one scene, where p is represented by the ground-truth trajectories of that scene. The datasets we use provide one ground-truth trajectory per scene (Sec. 3.3).
3.2. Problem Setup
The planner receives scene tokens , e.g., camera and LiDAR tokens, and an ego status , where cmd is a one-hot driving command. It outputs a trajectory of poses, where holds the position in meters and the heading in radians in the current ego frame. The ground-truth trajectory of scene is .
A cross-attention condition encoder maps to a condition vector . The generator takes the condition and a latent and predicts the trajectory directly,
We write and for the generated and ground-truth trajectories, where vec stacks the poses into a vector of dimension . The ground-truth trajectory enters training only as the positive of the drifting field.
3.3. Scene-Isolated Drifting Field
For every scene of a mini-batch of size we draw latents and decode generated trajectories

Figure 1. Overview of DriftingPlanner. The perception backbone and the condition encoder map the sensor input and the ego status e to a condition c. The generator maps c and a latent to a trajectory in a single forward pass, and latents give generated trajectories of the same scene. During training (dashed boxes), each generated trajectory has one positive, the ground-truth (GT) trajectory , and negatives, the other generated trajectories of the same scene; generated trajectories of different scenes never form pairs. Attraction toward the positive (green arrow) and repulsion from the negatives (red arrow) sum to the drifting field (black arrow), and is trained to move toward the stop-gradient target . The field is computed on the scaled trajectories and summed over several kernel temperatures (Sec. 3.3). The GT trajectory enters training only as the positive of the field; unlike regression planners, no or loss directly compares with .
. The positives of scene are ; with one ground-truth trajectory per scene, , but the formulation holds for any . The negatives are the stop-gradient copies of the same scene. All kernels below are computed per scene, on a tensor of shape , so no generated trajectory interacts with the targets or generated trajectories of another scene. This mirrors the per-class computation of [5], with the scene in place of the class label; unlike a class, a scene supplies only its own ground-truth trajectory as positive. The rest of this section follows the field computation of [5], except for the coordinate-wise kernel, the per-scene normalization, and the numerics.
Feature scale. Following [5], we divide all vectors by a detached scale computed over the candidate pool ,
with a small floor , and set . The scaled trajectories keep their gradient with respect to .
Isotropic L2 kernel. For a temperature , the kernel of Sec. 3.1, with distances divided by , gives the logits of scene (index dropped)
with to exclude self-repulsion. Every pair receives one weight, shared by all D coordinates. The dis-
tance is dominated by the coordinates with the largest error, in driving usually the longitudinal positions of the last poses. A generated trajectory that is far from its target along the route therefore sees nearly uniform weights over the candidate pool, and its lateral and heading errors receive only a weak, averaged correction.
Coordinate-wise Laplace kernel. To decouple the coordinates, we score each coordinate with its own one-dimensional Laplace kernel,
L_{i p,\ell}^{+}=-\frac{|\left[\left[\bar{x}_{i,\ell}\right]\right]-\bar{y}_{p,\ell}\right|}{\tau},\qquad L_{i j,\ell}^{-}=-\frac{|\left[\left[\bar{x}_{i,\ell}\right]\right]-\left[\left[\bar{x}_{j,\ell}\right]\right]|}{\tau}, \tag{6}again with . Here and , and the detached scale is the standard deviation of coordinate over the candidate pools of the mini-batch; it replaces the shared scale , so every coordinate is measured in its own units. As for , only the scale is pooled over the mini-batch; the kernel still compares generated trajectories and targets of the same scene. Each coordinate has its own logit matrix and its own weights, and the weight that corrects a lateral or heading coordinate depends only on the error along that coordinate. A large longitudinal error at the last pose no longer flattens the weights of the other coordinates. Deng et al. likewise sum separate drifting losses over many features of a pretrained encoder; here the features are the coordinates of the trajectory itself.
Joint normalization. We concatenate and, as in [5], normalize over targets and over generated trajectories at once,
(7) which splits into an attraction block and a repulsion block . Because both blocks share one normalization, a generated trajectory that is close to its target receives proportionally less repulsion, which separate softmax operators cannot express.
Cross-mass weighting. Joint normalization leaves the two blocks with unequal mass, because each row splits its mass between attraction and repulsion according to the distances. Following [5], each block is therefore weighted by the total mass of the other,
so that for every generated trajectory i. The raw field is
where the second equality uses the equal row sums. It is the discrete form of (1): attraction and repulsion are both displacements relative to . Without (8) the row sums differ, and gains the term , which pushes generated trajectories away from or toward the origin of the normalized space regardless of where the target is. With equal row sums, the weights depend only on pairwise distances and the field only on relative displacements, so for a fixed feature scale, translating all generated trajectories and targets of a scene by the same vector leaves unchanged. With the coordinate-wise kernel, (7)–(9) are applied to every separately, with and in place of and , and the -th instance supplies only the component of the field.
Numerics. At the sharpest temperature the weights underflow in single precision. We therefore keep (7)–(8) in log space and subtract a per-scene maximum of the log-weights before exponentiation, which only rescales the field before the normalization below. The field is computed in float32 with mixed precision disabled.
Per-scene unit RMS and multiple temperatures. Following [5], the field is normalized and summed over several kernel temperatures; we compute the normalization per scene. The field of each scene is divided by its root mean square (RMS) over the N generated trajectories and D coordinates, so that it has unit RMS,
with a small constant , so every scene receives a step of the same size regardless of how far its generated trajectories are from its target. We sum the normalized fields over a set of sharp and wide temperatures, : the sharp kernels act on the nearest generated trajectories and the wide kernel on the layout of the whole set. The drifting loss is
with the drift step size of (2).
3.4. Repulsion Shell and Antithetic Inference
The repulsion shell. With one positive per scene, the attraction term of (9) pulls all N generated trajectories toward the same point , while the repulsion term pushes each of them away from the other N-1. The generated trajectories therefore settle at a finite distance around , a shell whose radius is set by the balance of the two terms rather than by any variability in the data. A planner, however, must emit one trajectory, and a single generated trajectory is one point on the shell instead of its center.
The architecture of the generator decides how strongly the shell persists. Consider a noise branch that ends with a LayerNorm without affine parameters, . Its output has zero mean and unit variance over features, so for every , and . The noise feature never shrinks; the generator can contract the set of generated trajectories only by learning to suppress in later layers, against a repulsion that pushes them apart at every step. We call this the LN generator.
Antithetic inference. The quantity a planner needs is the center of the set of generated trajectories. We estimate it with M fixed antithetic pairs,
the antithetic variates estimator of Monte Carlo integration [11]. The following proposition states what it removes.
Proposition 1 (Antithetic inference) Let be twice continuously differentiable in and write , with , , and . Let .
-
A single generated trajectory deviates from by a root-mean-square distance of at least .
-
The antithetic estimator contains no term of odd order in : , and hence , independently of .
-
, i.e., the estimator is unbiased for the mean of the generated distribution.
Proof: (1) By the triangle inequality in , , with and . (2) The linear terms and cancel; the bound follows from the bound on . (3) and have the same distribution as .
The linear term is the leading-order displacement of a generated trajectory from the center, i.e., the shell. Proposition 1 shows that a single generated trajectory carries it in full, whereas the antithetic estimator cancels it exactly for any , together with every higher odd-order term, and leaves only the even-order curvature. The pairs are drawn once and fixed, so inference is deterministic. The condition encoder runs once, and the generator processes the inputs as one batch. Sec. 4.5 compares the antithetic output with individual generated trajectories.
Direct generator. As an alternative to the LN generator, the direct generator is a SiLU MLP on the concatenation without any normalization. Its first-layer weights on can shrink, so the Jacobian can contract during training and single generated trajectories move toward the center. Antithetic inference remains applicable and removes whatever odd-order spread is left.
3.5. Trajectory Hypotheses from a Single Query
The decoder above has a single trajectory query: the condition encoder produces one vector per scene, and all variation among the outputs comes from the latent . No anchors, mode embeddings, or mode classifier are involved. Decoding several latents for one condition nevertheless yields a set of distinct trajectory hypotheses rather than copies of one trajectory, and Sec. 4.5 measures their spread on NAVSIM.
Where the spread comes from. The shell of Sec. 3.4 describes one scene in isolation, where a single positive leaves no data variance for the generated trajectories to represent. The generator, however, is shared across scenes and is a smooth function of , and scenes with similar conditions have different ground-truth trajectories. Because the target in (11) is a stop-gradient copy, the gradient with respect to a generated trajectory is the field itself up to a constant,
so the parameter updates of scenes with nearly the same condition add. Over training, the generator at is therefore driven approximately by the field averaged over the conditional distribution of ground-truth trajectories, which acts as a positive set with several ground-truth trajectories. The attraction weights decrease with the distance between a generated trajectory and a positive, so each generated trajectory is pulled mainly toward the positives near it, while the repulsion term keeps them apart. The set of generated trajectories at thus reflects the variability of that the training set contains, on top of the shell. A regression decoder trained on the same scenes converges instead to a single point estimate of these trajectories, the per-coordinate median under an loss and the conditional mean under an loss. If contained separated maneuvers, the same argument would place generated trajectories on each of them; in the scenes we inspect, they spread around one maneuver (Sec. 4.5).
Using the hypotheses at inference. Antithetic inference (12) returns the center of the set of generated trajectories, which is the output of a unimodal planner. When the generated trajectories spread around one maneuver, their center scores higher than a typical generated trajectory (Sec. 4.5). A planner with a trajectory scorer can instead keep the 2M generated trajectories as candidates. Selection, not averaging, is the right output once the generated trajectories of one condition split into separate maneuvers, because their center would then lie between them. Both outputs come from the same batched decoder pass.
Multimodal decoder with a scorer. For the multimodal planner of Table 1, we follow DrivoR [17]: a set of learned trajectory queries attends to the scene tokens and is refined over several decoder stages, and each refined query serves as the condition c of one trajectory proposal. The drifting generator replaces the regression head that decodes each proposal. Each proposal is decoded with one antithetic pair, and a scorer head, trained on proxy PDMS targets (Sec. 4.1), predicts the NAVSIM sub-scores of every candidate and selects the one with the highest predicted PDMS.
4. Experiments
We compare DriftingPlanner with published planners (Sec. 4.2) and then examine its design. Sec. 4.3 compares the isotropic and coordinate-wise kernels, and Sec. 4.4 varies the kernel temperatures and the drift step with paired training seeds. Sec. 4.5 measures the trajectory hypotheses of a single query, and Sec. 4.6 compares single-step drifting inference with iterative diffusion and flow matching decoders.
4.1. Experimental Setup
NAVSIM. We use the NAVSIM v1.1 splits [4], with all 103,288 scenes of the navtrain split for training and all 12,146 navtest scenes for evaluation. Each planner outputs a 4s trajectory of 8 poses, which the simulator tracks with an LQR controller at 10 Hz against non-reactive traffic. We report no at-fault collision (NC), drivable area compliance (DAC), driving direction compliance (DDC), time to collision (TTC), comfort (C), ego progress (EP), and the composite
all scaled to [0, 100]. DDC is reported for completeness and does not enter PDMS. ADE and FDE (m) measure the open-loop distance to the ground-truth trajectory.
Scorers. All scores reported in this paper are computed with the official NAVSIM v1 scorer, in which TTC is
Table 1. Comparison with state-of-the-art planners on NAVSIM navtest. C&L: camera and LiDAR; C: camera only. Upper block: numbers reported in the original papers, except DrivoR, whose released checkpoint we re-evaluate. Best per column in bold.
| Method | Input | Decoder | NC ↑ | DAC ↑ | TTC ↑ | C ↑ | EP ↑ | PDMS ↑ |
|---|---|---|---|---|---|---|---|---|
| UniAD [14] | C | Regression | 97.80 | 91.90 | 92.90 | 100.00 | 78.80 | 83.40 |
| PARA-Drive [30] | C | Regression | 97.90 | 92.40 | 93.00 | 99.80 | 79.30 | 84.00 |
| TransFuser [3] | C&L | Regression | 97.70 | 92.80 | 92.80 | 100.00 | 79.20 | 84.00 |
| Hydra-MDP [20] | C&L | Scoring | 98.30 | 96.00 | 94.60 | 100.00 | 78.70 | 86.50 |
| DiffusionDrive [21] | C&L | Trunc. diffusion | 98.20 | 96.20 | 94.70 | 100.00 | 82.20 | 88.10 |
| DrivoR [17] | C | Regression + scorer | 98.80 | 98.95 | 96.20 | 100.00 | 90.56 | 93.68 |
| DriftingPlanner | C | Drifting + scorer | 98.78 | 98.94 | 96.21 | 100.00 | 90.67 | 93.75 |
evaluated against 5 s of future annotations. A GPU re-implementation of the NAVSIM sub-scores, which we call proxy PDMS, is used only during training, where it provides the targets of the learned trajectory scorers. It evaluates the LQR rollout at 0.1 s resolution, and its per-trajectory PDMS has a Pearson correlation of 0.99 and a mean absolute error of 0.54 points with respect to the official scorer. It scores a batch of 4,096 trajectories in 31 ms, whereas the official CPU scorer takes 117.5 s with a single process and 1.2 s with 32 processes.
4.2. Comparison with the State of the Art
Table 1 compares DriftingPlanner with published planners. The DriftingPlanner entry uses the multimodal decoder and scorer of Sec. 3.5 on the DrivoR backbone [17]. Each of the 64 proposals is decoded with one antithetic pair, and the scorer selects one of the resulting 128 candidates; all candidates come from one batched decoder pass. DriftingPlanner reaches 93.75 PDMS, above every published planner in the table.
4.3. Kernel Design
We compare the isotropic L2 kernel of Eq. (5) with the coordinate-wise Laplace kernel of Eq. (6). Both planners use the multimodal decoder of Sec. 3.5 and are trained from scratch for 25 epochs on NAVSIM navtrain with the drifting loss alone and seed 42. The two kernels measure distance in different units, a distance over all coordinates divided by the shared scale against a one-dimensional distance in units of . The comparison is therefore between the two kernels, each with its own scale and temperature set.
Table 2 shows that the coordinate-wise configuration raises PDMS from 83.79 to 90.90, a gain of 7.11 points, and improves all reported sub-scores. DDC gains the most (6.42 points), followed by TTC (5.22), DAC (5.19), and EP (5.08), while NC gains 2.32. The gains in DDC and DAC are consistent with the motivation in Sec. 3.3: computing separate weights for each coordinate keeps the weights
Table 2. Kernel design comparison on NAVSIM navtest. Both drifting decoders are trained from scratch for 25 epochs with the drifting loss alone (seed 42). Best per column in bold.
| Decoder | NC ↑ | DAC ↑ | DDC ↑ | TTC ↑ | EP ↑ | PDMS ↑ |
|---|---|---|---|---|---|---|
| Isotropic L2 kernel | 95.74 | 91.73 | 90.55 | 88.35 | 84.31 | 83.79 |
| Coordinate-wise Laplace kernel | 98.06 | 96.92 | 96.97 | 93.57 | 89.39 | 90.90 |
for lateral and heading corrections independent of longitudinal errors. These aggregate metrics do not directly establish how the correction field changes. Since the kernels also use different normalization scales and temperature sets, the 7.11-point gain reflects the full configuration change in this single-seed comparison and cannot be attributed to coordinate-wise weighting alone.
4.4. Kernel Temperature and Drift Step
We vary the two scalar hyperparameters of the field, the temperature set and the drift step , on two unimodal planners, Compact and Wide. Both take frozen ImageNet ResNet-34 tokens from the front camera (16 tokens) and LiDAR BEV tokens (16 tokens). A cross-attention encoder maps these tokens and the ego status to the condition, and an MLP generator decodes the condition together with a Gaussian latent into a residual to a constant-velocity rollout of the ego velocity. Compact uses width and 120 epochs, and Wide uses and 200 epochs. The baseline uses the isotropic kernel with joint normalization and cross-mass weighting, per-scene unit-RMS normalization, , and . Training draws generated trajectories per scene and regresses them onto their stop-gradient drifting targets. Inference decodes one fixed latent, without antithetic averaging or candidate selection. Each variant changes one factor of the baseline, either to , the default of [5], or to 1.0.
Temperature. Table 3 shows higher mean scores with the lower temperature set on both planners, by 0.46 points on Compact and 0.80 points on Wide. These results support the tested lower set at both feature widths, not a general

Figure 2. Generated trajectories of a single trajectory query on three NAVSIM navtest scenes. Blue: 16 trajectories generated from independent noise; dashed: deployed output, i.e., the antithetic mean with ; dotted: expert trajectory. (a) Left turn. (b) Right turn. (c) Straight driving.
Table 3. Kernel temperature and drift step ablation study on NAVSIM navtest. Values are means over 8 (Compact) and 15 (Wide) paired training seeds. is variant minus baseline in percentage points (pp), computed before rounding.
| Track | Baseline | ||||
|---|---|---|---|---|---|
| PDMS | (pp) | PDMS | (pp) | ||
| Compact | 79.04 | 79.50 | +0.46 | 79.05 | +0.01 |
| Wide | 80.18 | 80.98 | +0.80 | 80.35 | +0.17 |
claim that smaller temperatures are always better.
Drift step. The step in Eq. (11) sets how far the stop-gradient target lies from the current generated trajectory, so a larger step might be expected to speed up training. A tenfold larger step changes PDMS by +0.01 points on Compact and +0.17 points on Wide. This insensitivity follows from the loss. The gradient of Eq. (11) with respect to a generated trajectory is Eq. (13), and the per-scene unit-RMS normalization fixes the magnitude of , so only rescales the whole gradient by a constant. AdamW divides each update by a running estimate of the gradient magnitude, which cancels such a constant up to its term, and its weight decay does not depend on the gradient. The step therefore acts neither as a learning rate nor as a regularizer here.
4.5. Trajectory Hypotheses from a Single Query
Sec. 3.5 argues that one trajectory query yields distinct trajectories through the latent alone. We test this on the drifting decoder with one trajectory query trained end to end on the DrivoR backbone [17]: a DINOv2 ViT-S/14 [25] with rank-32 LoRA [13] on three cameras at , which yields 48 register tokens of width 384. The decoder uses the direct generator of Sec. 3.4. It is trained for 15 epochs with and . On 24 fixed navtest
scenes, eight each with a left turn, a right turn, and straight driving, we generate 16 trajectories from independent noise per scene and the antithetic output with , and visualize them in Fig. 2. The scenes form a small predefined subset, so their scores are not comparable to full-navtest scores.
Table 4. Spread and quality of the generated trajectories of a single query on 24 fixed NAVSIM navtest scenes, eight per maneuver. RMS: root-mean-square distance of the 16 generated trajectories from their mean over all positions. Max pair: the largest ADE (average displacement error) between two generated trajectories of a scene. Generated: PDMS averaged over all generated trajectories. Antithetic: Eq. (12) with . All values are averaged over scenes; the subset is not comparable to full-navtest scores.
| Maneuver | Scenes | Spread (m) | PDMS | ||
|---|---|---|---|---|---|
| RMS | Max pair | Generated | Antithetic | ||
| Left turn | 8 | 0.50 | 1.49 | 78.30 | 80.81 |
| Right turn | 8 | 0.66 | 2.03 | 94.85 | 97.17 |
| Straight | 8 | 0.49 | 1.59 | 81.21 | 85.06 |
| All | 24 | 0.55 | 1.70 | 84.79 | 87.68 |
Fig. 2 and Table 4 show that varying the latent of a single query produces distinct trajectories. Their RMS distance from the per-scene mean averages 0.55 m, while the maximum pairwise ADE averages 1.70 m and reaches 2.74 m. The spread increases along the prediction horizon, with an endpoint RMS of 0.98 m. Across scenes, the RMS spread ranges from 0.26 to 0.97 m, a nearly fourfold variation, with right turns showing the largest mean spread. This scene dependence is consistent with the influence of discussed in Sec. 3.5, but the experiment does not separate variability learned from the data from spread induced by the repulsion shell.
The generated trajectories vary within one maneuver rather than represent alternative maneuvers: none of the 24 scenes shows separated groups of trajectories. This diversity does not resolve errors in the predicted maneuver. In one straight-driving scene, for example, the expert continues straight, but all 16 generated trajectories turn left and score zero.
For these within-maneuver hypotheses, antithetic averaging provides a representative output. The antithetic trajectory lies 7.6 cm from the mean of the 16 independently generated trajectories, supporting its use as an estimate of the set's center. Its mean PDMS is 87.68, compared with 84.79 averaged over the individually generated trajectories. The antithetic score exceeds the per-scene average in 16 of the 24 scenes, ties in 7, and is lower in one.
4.6. Iterative Decoders and Cost
Diffusion and flow matching iterate at inference: the decoder is applied once per denoising or integration step, so accuracy is bought with latency. Drifting performs the iteration during training, where every update moves the generated trajectories one drift step toward the stop-gradient target, and the trained generator projects noise to a trajectory in a single inference step. Table 5 compares the two regimes on three iterative decoders: DDIM diffusion [28], anchor diffusion, which denoises from trajectory anchors as in DiffusionDrive [21], and flow matching [22]. All four planners share a DINOv2 ViT-S/14 backbone initialized from pretrained weights and are otherwise trained end to end from scratch, so they differ only in the decoder and its training objective. The drifting decoder is a multimodal decoder trained with the drifting loss alone. We evaluate each iterative model with 1, 5, 10, and 20 inference steps without retraining.
Table 5. Drifting against iterative decoders. Each iterative decoder is one fixed checkpoint evaluated at several numbers of function evaluations (NFE) without retraining. Latency is the median synchronized wall time at batch size 1 on a shared H20 GPU in FP32/TF32. It includes conditioning, sampling, and scoring and excludes the visual backbone and its projection. Best per column in bold.
| Decoder | NFE | PDMS ↑ | ADE (m) ↓ | FDE (m) ↓ | Lat. (ms) ↓ |
|---|---|---|---|---|---|
| DDIM diffusion [28] | 1 | 87.61 | 0.981 | 2.329 | 6.28 |
| 5 | 89.02 | 1.201 | 2.834 | 7.95 | |
| 10 | 89.65 | 1.245 | 2.949 | 9.58 | |
| 20 | 89.83 | 1.253 | 2.973 | 13.18 | |
| Anchor diffusion [21] | 1 | 90.06 | 1.749 | 4.010 | 6.54 |
| 5 | 89.36 | 2.002 | 4.261 | 8.15 | |
| 10 | 89.41 | 1.984 | 4.244 | 9.78 | |
| 20 | 89.41 | 1.988 | 4.254 | 13.56 | |
| Flow matching [22] | 1 | 83.66 | 1.809 | 3.434 | 6.04 |
| 5 | 90.10 | 1.415 | 3.381 | 7.14 | |
| 10 | 90.32 | 1.472 | 3.529 | 8.57 | |
| 20 | 90.15 | 1.500 | 3.618 | 11.00 | |
| Drifting (ours) | 1 | 90.19 | 1.304 | 3.000 | 6.49 |
With single-step inference, the drifting decoder reaches 90.19 PDMS, above DDIM diffusion (87.61), flow matching (83.66), and anchor diffusion (90.06). DDIM and flow matching need several steps to approach this level. Flow matching gains 6.44 points from one to five steps, and DDIM gains 2.22 points from one to twenty steps but stays 0.36 points below drifting at 2.0 times its latency. Only flow matching with ten steps scores higher, by 0.13 points, at 8.57 ms against 6.49 ms. Anchor diffusion is the exception: its best score is at one step and drops by 0.70 points at five steps, so its multi-step rows add latency without accuracy. We attribute this to the anchors, which already place the start of the reverse process near a plausible trajectory.
Each extra step costs 0.26 ms for flow matching and 0.36 ms for DDIM, on top of a fixed cost of about 6 ms that every decoder pays. With a single inference step, all four decoders run within 0.5 ms of each other, so drifting comes within 0.13 points of the best iterative setting at the latency of a single step. The displacement metrics again do not track PDMS. DDIM moves away from the ground-truth trajectory as it takes more steps, with ADE rising from 0.981 m to 1.253 m while PDMS rises by 2.22 points. The drifting decoder has a lower ADE than every flow matching and anchor diffusion setting, but a higher ADE than every DDIM setting. We therefore read Table 5 as evidence that single-step drifting inference matches several steps of an iterative decoder, not that it surpasses them.
5. Conclusion
We presented DriftingPlanner, which trains an end-to-end trajectory decoder with the drifting loss alone and deploys it in a single batched forward pass. Its scene-isolated field adapts drifting to scene-specific supervision, and our analysis identifies the repulsion shell induced by a single ground-truth trajectory. Antithetic averaging cancels odd-order noise contributions for single-query inference, while a coordinate-wise kernel prevents longitudinal errors from masking lateral and heading corrections when refining multiple proposals. Experiments on NAVSIM show planning performance comparable to iterative diffusion and flow matching decoders without iterative inference. A single query also produces distinct trajectory hypotheses through noise sampling, without anchors or a mode classifier.
The observed hypotheses vary within a maneuver rather than across driving decisions. Future work will investigate multiple verified trajectories per scene to supervise distinct maneuvers directly, with candidate selection to avoid averaging across incompatible alternatives. Beyond the current non-reactive evaluation, reactive closed-loop tests are needed to assess how the decoder handles reciprocal interactions with other road users and errors that accumulate over successive predictions.
References
[1] Nicholas M. Boffi, Michael S. Albergo, and Eric Vanden-Eijnden. Flow map matching with stochastic interpolants: A mathematical framework for consistency models. Transactions on Machine Learning Research, 2025.
[2] Li Chen, Penghao Wu, Kashyap Chitta, Bernhard Jaeger, Andreas Geiger, and Hongyang Li. End-to-end autonomous driving: Challenges and frontiers. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46(12):10164–10183, 2024.
[3] Kashyap Chitta, Aditya Prakash, Bernhard Jaeger, Zehao Yu, Katrin Renz, and Andreas Geiger. TransFuser: Imitation with transformer-based sensor fusion for autonomous driving. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(11):12878–12895, 2023.
[4] Daniel Dauner, Marcel Hallgarten, Tianyu Li, Xinshuo Weng, Zhiyu Huang, Zetong Yang, Hongyang Li, Igor Gilitschenski, Boris Ivanovic, Marco Pavone, Andreas Geiger, and Kashyap Chitta. NAVSIM: Data-driven non-reactive autonomous vehicle simulation and benchmarking. In NeurIPS, 2024.
[5] Mingyang Deng, He Li, Tianhong Li, Yilun Du, and Kaiming He. Generative modeling via drifting. In NeurIPS, 2026.
[6] Gintare Karolina Dziugaite, Daniel M. Roy, and Zoubin Ghahramani. Training generative neural networks via maximum mean discrepancy optimization. In UAI, 2015.
[7] Kevin Frans, Danijar Hafner, Sergey Levine, and Pieter Abbeel. One step diffusion via shortcut models. In ICLR, 2025.
[8] Aude Genevay, Gabriel Peyré, and Marco Cuturi. Learning generative models with Sinkhorn divergences. In AISTATS, 2018.
[9] Zhengyang Geng, Mingyang Deng, Xingjian Bai, J. Zico Kolter, and Kaiming He. Mean flows for one-step generative modeling. In NeurIPS, 2025.
[10] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NeurIPS, 2014.
[11] J. M. Hammersley and K. W. Morton. A new Monte Carlo technique: Antithetic variates. Mathematical Proceedings of the Cambridge Philosophical Society, 52(3):449–475, 1956.
[12] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In NeurIPS, 2020.
[13] Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In ICLR, 2022.
[14] Yihan Hu, Jiazhi Yang, Li Chen, Keyu Li, Chonghao Sima, Xizhou Zhu, Siqi Chai, Senyao Du, Tianwei Lin, Wenhai Wang, et al. Planning-oriented autonomous driving. In CVPR, pages 17853–17862, 2023.
[15] Bo Jiang, Shaoyu Chen, Qing Xu, Bencheng Liao, Jiajie Chen, Helong Zhou, Qian Zhang, Wenyu Liu, Chang Huang, and Xinggang Wang. VAD: Vectorized scene representation for efficient autonomous driving. In ICCV, pages 8340–8350, 2023.
[16] Chiyu Max Jiang, Andre Cornman, Cheolho Park, Benjamin Sapp, Yin Zhou, and Dragomir Anguelov. MotionDiffuser: Controllable multi-agent motion prediction using diffusion. In CVPR, 2023.
[17] Ellington Kirby, Alexandre Boulch, Yihong Xu, Yuan Yin, Gilles Puy, Éloi Zablocki, Andrei Bursuc, Spyros Gidaris, Renaud Marlet, Florent Bartoccioni, Anh-Quan Cao, Nermin Samet, Tuan-Hung Vu, and Matthieu Cord. Driving on registers. In CVPR, pages 32058–32069, 2026.
[18] Chun-Liang Li, Wei-Cheng Chang, Yu Cheng, Yiming Yang, and Barnabás Póczos. MMD GAN: Towards deeper understanding of moment matching network. In NeurIPS, 2017.
[19] Yujia Li, Kevin Swersky, and Richard Zemel. Generative moment matching networks. In ICML, 2015.
[20] Zhenxin Li, Kailin Li, Shihao Wang, Shiyi Lan, Zhiding Yu, Yishen Ji, Zhiqi Li, Ziyue Zhu, Jan Kautz, Zuxuan Wu, Yu-Gang Jiang, and Jose M. Alvarez. Hydra-MDP: End-to-end multimodal planning with multi-target hydra-distillation. arXiv preprint arXiv:2406.06978, 2024.
[21] Bencheng Liao, Shaoyu Chen, Haoran Yin, Bo Jiang, Cheng Wang, Sixu Yan, Xinbang Zhang, Xiangyu Li, Ying Zhang, Qian Zhang, and Xinggang Wang. DiffusionDrive: Truncated diffusion model for end-to-end autonomous driving. In CVPR, pages 12037–12047, 2025.
[22] Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In ICLR, 2023.
[23] Cheng Lu and Yang Song. Simplifying, stabilizing and scaling continuous-time consistency models. In ICLR, 2025.
[24] Weijian Luo, Tianyang Hu, Shifeng Zhang, Jiacheng Sun, Zhenguo Li, and Zhihua Zhang. Diff-instruct: A universal approach for transferring knowledge from pre-trained diffusion models. In NeurIPS, 2023.
[25] Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, et al. DINOv2: Learning robust visual features without supervision. Transactions on Machine Learning Research, 2024.
[26] Aaditya Prasad, Kevin Lin, Jimmy Wu, Linqi Zhou, and Jeannette Bohg. Consistency policy: Accelerated visuomotor policies via consistency distillation. In RSS, 2024.
[27] Tim Salimans and Jonathan Ho. Progressive distillation for fast sampling of diffusion models. In ICLR, 2022.
[28] Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. In ICLR, 2021.
[29] Yang Song, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever. Consistency models. In ICML, 2023.
[30] Xinshuo Weng, Boris Ivanovic, Yan Wang, Yue Wang, and Marco Pavone. PARA-Drive: Parallelized architecture for real-time autonomous driving. In CVPR, 2024.
[31] Brian Yang, Huangyuan Su, Nikolaos Gkanatsios, Tsung-Wei Ke, Ayush Jain, Jeff Schneider, and Katerina Fragikadaki. Diffusion-ES: Gradient-free planning with diffusion for autonomous and instruction-guided driving. In CVPR, 2024.
[32] Tianwei Yin, Michaël Gharbi, Richard Zhang, Eli Shechtman, Frédo Durand, William T. Freeman, and Taesung Park.
One-step diffusion with distribution matching distillation. In CVPR, 2024.
[33] Xin Yu, Xiaojuan Qi, Zhengqi Li, Kai Zhang, Richard Zhang, Zhe Lin, Eli Shechtman, Tianyu Wang, and Yotam Nitzan. Self-evaluation unlocks any-step text-to-image generation. In CVPR, 2026.
[34] Huangjie Zheng, Xu Chen, Jiangchao Yao, Hongxia Yang, Chunyuan Li, Ya Zhang, Hao Zhang, Ivor Tsang, Jingren Zhou, and Mingyuan Zhou. Contrastive attraction and contrastive repulsion for representation learning. Transactions on Machine Learning Research, 2023.
[35] Wenzhao Zheng, Ruiqi Song, Xianda Guo, Chenming Zhang, and Long Chen. GenAD: Generative end-to-end autonomous driving. In ECCV, pages 87–104, 2024.
[36] Linqi Zhou, Stefano Ermon, and Jiaming Song. Inductive moment matching. In ICML, 2025.
[37] Linqi Zhou, Mathias Parger, Ayaan Haque, and Jiaming Song. Terminal velocity matching. In ICLR, 2026.
[38] Mingyuan Zhou, Huangjie Zheng, Zhendong Wang, Mingzhang Yin, and Hai Huang. Score identity distillation: Exponentially fast distillation of pretrained diffusion models for one-step generation. In ICML, 2024.