Reinforcing End-to-End Autonomous Driving Safety via Negative-Aware Planning in a Unified World-Action Model
World-action models (WAMs) jointly model future traffic states and driving actions for end-to-end autonomous driving in intelligent transportation systems. However, their action learning remains dominated by expert-trajectory imitation, leaving unsafe alternatives close to expert trajectories insufficiently constrained.
From the abstract. Our summary is in progress.
Full paper
Reinforcing End-to-End Autonomous Driving Safety via Negative-Aware Planning in a Unified World-Action Model
Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.08111 (PDF).
Abstract
World-action models (WAMs) jointly model future traffic states and driving actions for end-to-end autonomous driving in intelligent transportation systems. However, their action learning remains dominated by expert-trajectory imitation, leaving unsafe alternatives close to expert trajectories insufficiently constrained. To improve WAM robustness in safety-critical scenarios, we propose NegWAM, a safety post-training framework for unified WAMs that learns explicit safety boundaries from near-expert failure trajectories. NegWAM constructs negative trajectories that are geometrically close to the expert trajectory yet carry safety risks, uses them as repulsive anchors to steer predictions away from dangerous behavior, and encodes them as scene-conditioned rider tokens to learn scene–trajectory compatibility. During training, NegWAM jointly optimizes the flow-matching and near-expert negative objectives, while the auxiliary rider branch is discarded at inference, incurring no additional overhead. On NAVSIM v2, NegWAM achieves 40.4 EPDMS on navhard, a 4.1 % relative improvement over the strongest compared scorer-free WAM baseline, and achieves 93.3 EPDMS on navtest. These results demonstrate that NegWAM achieves strong performance in safety-critical scenarios while preserving routine-driving performance. Zero-shot closed-loop evaluation on HUGSIM further demonstrates cross-benchmark generalization. The code is available at https://github.com/Zizizi-hao/NegWAM.
Index Terms:
Autonomous driving, contrastive learning, methods for safety, world-action models.
I Introduction
End-to-end autonomous driving systems typically learn driving policies from large-scale expert demonstrations and perform well in routine scenarios [1, 2]. However, hazardous behaviors and failure cases are scarce in real-world driving data, making it difficult for imitation learning to acquire explicit safety boundaries [3, 4]. World-action models (WAMs) introduce stronger priors over scene dynamics into end-to-end autonomous driving by predicting future world states and leveraging future representations to guide planning [5, 6, 7]. Yet their action branches are still trained primarily through flow matching on expert trajectories. This supervision tells the model what to imitate, but not which near-expert alternatives should be rejected as unsafe. Consequently, stronger world modeling alone does not establish explicit safety boundaries, motivating safety-oriented post-training for WAMs.
Post-training offers a natural avenue beyond these limitations, but a central challenge is constructing learning signals that faithfully encode desired driving behavior [8, 4]. Existing methods primarily rely on two sources of supervision. One line of work (Figure 1a) explores policies in closed-loop environments built with a simulator [9, 10] or a world model [11, 12], but is constrained by the sim-to-real gap, environment construction costs, and reconstruction artifacts [13, 12]. Another line (Figure 1b) scores candidate trajectories using rule-based evaluators or learned reward models, but the quality of its supervision is limited by handcrafted rules, privileged information, and evaluator bias [14, 15, 16]. These limitations underscore the need for additional sources of effective supervision for autonomous driving post-training.
Unsafe driving behaviors provide critical cues for delineating safety boundaries and are often easier to characterize than the full range of desirable driving behavior [17, 18]. Building on this insight, we propose NegWAM, a negative-aware safety post-training method that incorporates offline negative supervision into a unified WAM (Figure 1c). Specifically, near-expert negatives serve as repulsive anchors that mark locally unsafe regions in trajectory space and as scene-conditioned rider tokens that enable shared attention layers to learn scene–trajectory compatibility. Together with the original imitation objective, these mechanisms enable the WAM to learn not only how experts drive but also which behaviors should be avoided in the current scene.
Unlike prior hard-negative learning that primarily regularizes planner outputs [17], NegWAM post-trains both the single-rollout action flow and the shared world–action representation of a unified WAM. It mines near-expert trajectories that fail offline safety evaluation and jointly optimizes the original flow-matching objective with two hard-negative objectives. The evaluator is used only for offline mining, while the rider branch and compatibility head are removed at inference, adding no inference-time modules. On NAVSIM v2 [19, 20], NegWAM achieves 40.4 EPDMS on navhard, a 4.1 % relative improvement over the strongest compared scorer-free WAM baseline, and achieves 93.3 EPDMS on navtest, surpassing the strongest baseline score of 92.9 by 0.4 points and demonstrating stronger challenging-scenario performance without compromising routine driving. Zero-shot closed-loop evaluation on HUGSIM [21] further supports cross-benchmark transfer, with NegWAM achieving a higher HD-Score than DriveWAM (30.6 vs. 27.2).
In summary, our key contributions are as follows:
- We revisit unified world–action models through safety post-training, showing that augmenting flow-matching imitation with near-expert negative supervision improves challenging-scenario performance without compromising routine driving.
- We propose NegWAM, a near-expert negative safety post-training method for WAMs that jointly optimizes the original flow-matching objective and two complementary near-expert negative objectives without introducing additional inference-time overhead.
- We introduce two complementary near-expert negative mechanisms. Repulsive anchors push predictions away from locally unsafe trajectories, while scene-conditioned rider tokens enable the unified WAM to determine whether a trajectory is compatible with the current scene.
The remainder of this paper is organized as follows. Section II reviews related work on end-to-end autonomous driving, world–action models, and policy post-training. Section III introduces NegWAM, including its core components and training objective. Section IV evaluates its planning performance and zero-shot closed-loop generalization, with ablation studies and supporting analyses. Section V summarizes the main findings and discusses limitations and future directions.
II Literature Review
II-A End-to-End Autonomous Driving
End-to-end autonomous driving maps sensory observations to planned trajectories through a learned policy [2, 22]. Joint optimization connects scene understanding with planning and reduces information loss across separately designed modules [1]. Scaling driving data further improves the coverage of learned behavior [23], while generative future prediction introduces temporal structure and motion priors into policy learning [24, 25]. These developments strengthen the policy’s ability to represent traffic scenes and reproduce expert decisions across diverse driving conditions.
Expert demonstrations nevertheless provide an uneven account of driving behavior: successful maneuvers are abundant, whereas safety-critical failures and recovery interactions are comparatively scarce [3, 12, 4]. Expert-trajectory supervision identifies a desirable action for the observed scene, but supplies few explicit comparisons with nearby unsafe alternatives. Such alternatives are informative because geometric similarity to an expert trajectory does not establish that an action is safe in the same traffic context [17, 26]. Learning to distinguish these alternatives introduces a specific supervision requirement beyond reproducing the demonstrated trajectory.
II-B World-Action Models for Driving
Pretrained video generative models provide temporal and motion priors that can be transferred to action learning [27, 5, 7]. Their role in driving has expanded from supporting scene synthesis and simulation [11, 28] to providing future representations for trajectory prediction [29, 30, 31]. Recent approaches further couple future visual modeling with action generation, bringing anticipated scene evolution into the policy’s prediction process [5, 32, 6]. This progression makes world modeling increasingly relevant to how driving actions are represented and generated.
Recent work [7, 33] realizes this coupling through shared video–action transformers trained using flow matching. Such architectures allow action supervision to shape the shared world–action representations. Their training objectives, however, focus on fitting demonstrated video–action sequences without explicitly contrasting expert trajectories with undesirable alternatives. This raises the question of how negative trajectories can provide supervision for both action generation and scene–trajectory compatibility during safety post-training.
II-C Post-Training for Driving
Driving policy post-training introduces feedback beyond expert matching through simulated rollouts, reward-based optimization, and trajectory preferences [3, 4]. Closed-loop learning uses synthetic simulators such as CARLA [9, 34], reconstructed scenes, or learned environments to expose policies to the consequences of their actions [13, 12]. These mechanisms often overlap: DreamerAD [14] combines latent-world rollouts with learned reward feedback, while WorldRFT [15] uses collision-aware rewards for reinforcement fine-tuning. Complementary to policy post-training, TOAD [16] uses a learned trajectory scorer to guide test-time search without retraining the policy.
Preference-based methods express the additional supervision through comparisons between trajectories. TakeAD [35] derives preferences from expert takeover data. DriveDPO [26] combines imitation similarity with rule-based safety scores for policy learning, then applies Safety DPO using human-like but unsafe rejected trajectories. Its preference construction thus retains explicit safety evaluation without requiring a separately trained reward model. BeyondDrive [17] develops this failure-based perspective through a flow-matching generator, expert-proximity and safety filtering, and a repulsive distance loss defined on predicted trajectories. These studies establish the value of near-expert failures as supervision, with distinct choices of policy objective and negative construction.
For a unified WAM, an unsafe alternative is both a trajectory to avoid and an example of incompatibility between the scene and an action. NegWAM learns these two aspects from the same offline-mined failures: repulsive anchors supervise the generated action trajectory, while rider tokens expose the expert and negative trajectories to the observed scene through shared attention for compatibility learning. The original flow-matching objective remains active throughout post-training. Safety evaluation supplies the offline negative labels; subsequent optimization internalizes this supervision in the WAM, and the auxiliary rider branch is removed at inference.
III Methods
NegWAM post-trains a unified world–action model using scene-specific failures close to expert trajectories. Each retained failure supplies two related learning signals: a motion to avoid during action generation and a scene–trajectory pair to distinguish from the expert. Figure 2 illustrates how repulsive anchors and scene-conditioned rider tokens introduce these signals into the same backbone while retaining its flow-matching objective.
III-A Preliminaries
III-A1 Unified World–Action Model
To couple future scene modeling with action generation in one backbone, we adopt a unified world–action architecture [27, 7] built on a pretrained video backbone [36] as the base model. A training sample comprises a current camera image \mathcal{I}^{\mathrm{obs}}, future visual targets \mathcal{I}^{\mathrm{fut}}, an expert trajectory \tau^{+}, and navigation and ego-state conditions including four historical ego poses. A frozen causal video VAE encodes the observed and future frames into the clean visual stream \mathbf{x}_{0}^{v}. The action tokenizer forms \mathbf{x}_{0}^{a}=E_{a}(\tau^{+}) by normalizing the expert’s eight future \Delta-pose steps and prepending a zero conditioning chunk. Prediction masks exclude the observed visual prefix and the conditioning action chunk from the losses. We use m\in\{v,a\} for the two modalities.
For each future chunk and modality, we independently sample Gaussian noise \boldsymbol{\epsilon}^{m} and a scheduler index, whose shifted noise scale defines t^{m}\in[0,1]. We suppress chunk indices below. On prediction elements, flow matching constructs
\mathbf{x}_{t}^{m}=(1-t^{m})\mathbf{x}_{0}^{m}+t^{m}\boldsymbol{\epsilon}^{m},\qquad\mathbf{v}^{m}:=\frac{\partial\mathbf{x}_{t}^{m}}{\partial t^{m}}=\boldsymbol{\epsilon}^{m}-\mathbf{x}_{0}^{m}.Let \mathbf{t}=(t^{v},t^{a}), the shared DiT receives a four-segment sequence
\mathcal{S}_{\mathbf{t}}=[\,\mathbf{x}_{t}^{v}\,\|\,\mathbf{x}_{c}^{v}\,\|\,\mathbf{x}_{t}^{a}\,\|\,\mathbf{x}_{c}^{a}\,],where \mathbf{x}_{c}^{m} is the corresponding teacher-forcing conditioning stream. During training, conditioning chunks are exposed only according to their causal temporal positions; future targets are not available as observations at inference. The video conditioning stream may receive noise augmentation, while its observed prefix remains clean. The action conditioning stream uses the zero initial chunk and preceding expert-action chunks. All streams share DiT blocks, with separate modality input and output projections. Under the original block-causal mask \mathcal{A}_{\mathrm{base}}, noisy tokens can use preceding conditioning chunks and other noisy tokens in the same temporal block; conditioning tokens retain causal visibility. A finite temporal window limits their history. NegWAM preserves this mask for all original tokens.
III-A2 Flow Matching
Flow matching [37, 38, 39] learns a velocity field along a continuous interpolation between the data distribution and Gaussian noise. The shared DiT jointly predicts the video and action velocity fields:
(\hat{\mathbf{v}}_{\theta}^{v},\hat{\mathbf{v}}_{\theta}^{a})=F_{\theta}(\mathcal{S}_{\mathbf{t}};\mathbf{c}),where \mathbf{c} contains command guidance and ego-state conditions. The original training objective is
\mathcal{L}_{\mathrm{FM}}=\sum_{m\in\{v,a\}}\mathbb{E}\!\left[w_{m}(t^{m})\frac{\left\|\mathbf{M}^{m}\odot(\hat{\mathbf{v}}_{\theta}^{m}-\mathbf{v}^{m})\right\|_{2}^{2}}{\|\mathbf{M}^{m}\|_{1}}\right],where \mathbf{M}^{m} selects valid future prediction elements and w_{m}(t^{m}) is the scheduler’s normalized flow-matching weight. The scheduler grid, sampling rule, and weight function are specified in the supplementary implementation details. Under this parameterization, the clean action estimate and its decoded trajectory are
\hat{\mathbf{x}}_{0}^{a}=\mathbf{x}_{t}^{a}-t^{a}\hat{\mathbf{v}}_{\theta}^{a},\qquad\hat{\tau}=D_{a}(\hat{\mathbf{x}}_{0}^{a}),where D_{a} selects the future action chunk, denormalizes its \Delta-pose channels, and cumulatively integrates them into ego-frame poses. Our method preserves this flow-matching pathway and appends trajectory riders as additional action-token groups processed by the shared DiT.
III-B Near-Expert Negative Safety Post-Training
III-B1 Near-Expert Negative Trajectory Construction
Directly sampling failure trajectories from the current policy can be ineffective under strong scene conditioning, consistent with prior observations of limited sampling diversity [4]. In a diagnostic probe using the same sampling configuration as the main experiments, the average pairwise ADE among eight trajectories generated for the same scene is only 0.02\,\mathrm{m}, indicating limited diversity in this probe. We therefore mine negative trajectories from the 16K dense trajectory vocabulary of GTRS [40]. Each vocabulary trajectory \bar{\tau}_{j} contains 40 ego-frame poses over a 4\,\mathrm{s} horizon. The subsampling operator S takes every fifth pose, corresponding to 0.5\,\mathrm{s} intervals, to obtain the eight-step trajectory \tau_{i,j}=S(\bar{\tau}_{j}) aligned with the expert \tau_{i}^{+}. We measure their distance using the Average Displacement Error (ADE) over their planar positions \mathbf{p}^{t}=(x^{t},y^{t}):
a_{i,j}=\operatorname{ADE}(\tau_{i,j},\tau_{i}^{+})=\frac{1}{T}\sum_{t=1}^{T}\left\|\mathbf{p}_{i,j}^{t}-\mathbf{p}_{i}^{+,t}\right\|_{2}.Algorithm 1 separates offline failure mining from the preparation of training negatives. For each training scene, we first retain vocabulary candidates with a_{i,j}<1.0\,\mathrm{m}. We evaluate their original 40-step trajectories using the scene’s NAVSIM v2 metric cache and log-replay traffic. All candidates with zero EPDMS [20] are cached as evaluator-defined failures, forming a scene-specific pool \mathcal{H}_{i}.
At each training iteration, the cached pool \mathcal{H}_{i} of the corresponding scene is subsampled to eight steps per trajectory, and the expert-relative ADEs are recomputed on the subsampled poses. We retain candidates with ADE at least 0.3\,\mathrm{m}, giving the final range [0.3,1.0)\,\mathrm{m}. From these candidates, we randomly select at most K=16 without replacement and zero-pad the trajectory and ADE tensors. A validity mask M_{i,k}^{-} distinguishes selected negatives from padding. The same selected subset supplies both hard-negative objectives for that update; different reads may select different subsets from the cached pool. Samples without valid negatives contribute only the flow-matching loss. EPDMS is queried only during offline mining.
This procedure yields at least one valid hard negative for 85.8\,\% of the training samples. Across all valid, unpadded negatives, the median ADE to the expert trajectory is 0.80\,\mathrm{m}, and approximately 9\,\% fall within [0.3,0.5]\,\mathrm{m}.
III-B2 Noise-Aware Anchor Repulsion
We treat the selected negative trajectories as fixed repulsive anchors in trajectory space. Let d_{i,k} denote the ADE between the one-step decoded trajectory \hat{\tau}_{i} from Eq. (5) and the k-th negative \tau_{i,k}^{-}, and let a_{i,k} denote the ADE between this negative and the expert trajectory. A fixed margin cannot accommodate negatives at different distances: a small margin leaves many negatives inactive, whereas a large one may conflict with the imitation objective. We therefore define the repulsion loss using a distance-adaptive margin:
\ell_{i,k}^{\mathrm{rep}}=\left[\alpha a_{i,k}-d_{i,k}\right]_{+},\qquad 0<\alpha\leq 1.We use \alpha=0.9. The loss is active within the distance-dependent neighborhood of a negative anchor. At the exact expert trajectory, d_{i,k}=a_{i,k}, so this repulsion term is zero for \alpha\leq 1.
Since one-step trajectory estimates are less reliable at high noise levels, we weight the repulsion term by 1-t_{i}^{a} and average it over valid negatives:
\mathcal{L}_{\mathrm{rep}}=\mathbb{E}_{i\sim\mathcal{B}}\left[(1-t_{i}^{a})\frac{\sum_{k}M_{i,k}^{-}\left[\alpha a_{i,k}-d_{i,k}\right]_{+}}{\max(1,\sum_{k}M_{i,k}^{-})}\right],where \mathcal{B} is the training minibatch. A sample without valid negatives contributes zero. Differentiating the reconstruction in Eq. (5) introduces a factor t_{i}^{a}; together with the loss weight, this gives a t_{i}^{a}(1-t_{i}^{a}) prefactor that vanishes at the noise endpoints. The actual gradient also depends on the trajectory decoder and active hinge terms. Repulsion reuses the original action output without another backbone forward pass and defines its supervision through trajectory distances.
III-B3 Scene-Conditioned Rider Tokens
The same failures also define scene–trajectory comparisons. We encode the expert and each negative as a separate auxiliary rider group \mathcal{R}_{g}, using the shared action embedding and the same rotary positional encoding grid. Each group contains a zero conditioning chunk and an eight-step trajectory chunk, giving 16 action tokens. Riders are clean, with no diffusion noise and a flow-time input t=0. The expert occupies group zero; the remaining groups represent the negatives. Figure 3 illustrates the shared attention and scoring pathway.
The riders access the scene through shared attention while remaining invisible to the original streams. Let \mathbf{x}_{c}^{v,\mathrm{obs}} contain the clean visual conditioning tokens of the current observed frame. At every DiT block, the attention visibility is
\mathcal{A}(p,q)=\begin{cases}\mathcal{A}_{\mathrm{base}}(p,q),&p,q\in\mathcal{S}_{\mathbf{t}},\\
1,&p\in\mathcal{R}_{g},\;q\in\mathbf{x}_{c}^{v,\mathrm{obs}}\cup\mathcal{R}_{g},\\
0,&\text{otherwise}.\end{cases}Thus, each rider sees only the current observed visual tokens and its own trajectory group. Future target tokens are excluded from these keys, and the observed tokens retain their original causal visibility. The original sequence cannot attend to riders, so appending them preserves its forward attention path at fixed backbone weights. Matching the expert and negative groups’ tokenization, positions, and visibility reduces structural differences in their scoring inputs.
We average the output features over all 16 tokens in each group and apply a shared compatibility head h_{\phi}: a linear projection to 256 dimensions, SiLU, and a scalar linear output. Zero-initializing the final layer’s weights and bias gives identical initial scores and zero initial compatibility gradient to the backbone; this gradient path becomes active as the head’s output weights are updated. Let s_{i}^{+} and s_{i,k}^{-} be the expert and negative scores. For \mathcal{B}_{+}=\{i\in\mathcal{B}:\sum_{k}M_{i,k}^{-}>0\}, we optimize
\displaystyle\mathcal{L}_{\mathrm{compat}} \\ \displaystyle=-\mathbb{E}_{\mathcal{B}_{+}}\log\frac{\exp(s_{i}^{+}/\tau_{s})}{Z_{i}}, \\ \displaystyle Z_{i} \\ \displaystyle=\exp(s_{i}^{+}/\tau_{s})+\sum_{k}M_{i,k}^{-}\exp(s_{i,k}^{-}/\tau_{s}).where \tau_{s}=0.1. The expectation denotes the mean over samples with valid negatives; we set \mathcal{L}_{\mathrm{compat}}=0 when \mathcal{B}_{+} is empty. This objective ranks the expert above valid scene-specific negatives. Its gradients propagate through the shared attention projections, adding an explicit scene–trajectory ranking objective to the backbone. Rider groups and the compatibility head are used only during post-training.
III-C Training Objective
Our training procedure consists of two consecutive stages. In the first stage, we initialize the model from the pretrained video generative model Wan2.2-TI2V-5B [36] and adapt it to autonomous driving by following the unified world–action flow-matching paradigm of DriveWAM [7]. This stage optimizes only the flow-matching objective defined in Section III-A, enabling the model to jointly learn future visual dynamics and expert trajectory prediction. The resulting model serves as the base WAM checkpoint shared by all subsequent experiments.
In the second stage, we initialize from this shared checkpoint and perform hard-negative safety post-training. We retain the original flow-matching objective as supervision for visual dynamics and expert actions, while introducing repulsive trajectory supervision and scene-conditioned compatibility learning. The overall post-training objective is
\mathcal{L}_{\mathrm{post}}=\mathcal{L}_{\mathrm{FM}}+\lambda_{\mathrm{rep}}\mathcal{L}_{\mathrm{rep}}+\lambda_{\mathrm{compat}}\mathcal{L}_{\mathrm{compat}},where \mathcal{L}_{\mathrm{rep}} pushes predictions away from unsafe neighbors in trajectory space, and \mathcal{L}_{\mathrm{compat}} learns scene–trajectory compatibility through rider tokens. \lambda_{\mathrm{rep}} and \lambda_{\mathrm{compat}} control the contributions of the two hard-negative objectives. All post-training variants start from the same first-stage checkpoint, controlling for differences in base-model initialization.
At inference, we discard the rider groups and compatibility head and use the original world–action generation pathway with the updated backbone. The model encodes the available observations, generates future visual latents with three Euler updates, and then generates the eight-step action chunk with ten Euler updates. These are integration-step counts rather than total backbone forward-call counts. The action decoder converts the generated tokens to the final trajectory; no hard-negative candidates or evaluator are used at this stage.
IV Experiments and Results
- No data
- S1
- 94.4
- 98.8
- 100
- 99.5
- 100
- 93.5
- 99.3
- 87.7
- 36.0
- PDM-Closed
- -
- S2
- 90.5
- 90.6
- 95.4
- 98.4
- 100
- 86.6
- 74.2
- 91.9
- 29.7
- 56.6
- E2E-based Methods
- No data
- S1
- 96.0
- 79.7
- 97.4
- 99.5
- 81.3
- 93.1
- 90.8
- 96.8
- 73.8
- DiffusionDrive [41]
- MV
- S2
- 82.1
- 72.2
- 88.5
- 98.7
- 85.1
- 78.8
- 49.2
- 89.3
- 71.2
- 24.2
- No data
- S1
- 96.6
- 80.5
- 96.3
- 99.3
- 82.3
- 94.9
- 91.5
- 97.7
- 67.8
- GuideFlow [42]
- MV
- S2
- 87.3
- 76.7
- 88.8
- 99.2
- 84.3
- 85.1
- 49.7
- 93.1
- 44.2
- 27.1
- VLA-based Methods
- No data
- S1
- 96.8
- 83.3
- 99.0
- 99.6
- 84.6
- 95.3
- 96.4
- 97.6
- 78.2
- DriveVLA-W0 [43]
- SV
- S2
- 76.8
- 64.3
- 79.9
- 98.3
- 89.2
- 75.0
- 46.8
- 95.8
- 53.1
- 24.4
- No data
- S1
- 98.4
- 94.3
- 97.8
- 99.9
- 85.7
- 97.2
- 94.2
- 97.6
- 72.1
- SpanVLA [44]
- MV
- S2
- 86.9
- 84.3
- 87.1
- 98.2
- 85.5
- 82.7
- 62.3
- 96.8
- 67.4
- 40.1
- World-Model-based Methods
- No data
- S1
- 97.1
- 88.7
- 99.2
- 99.6
- 84.2
- 97.1
- 96.2
- 97.8
- 69.8
- DriveLAW [5]
- SV
- S2
- 82.3
- 67.9
- 83.7
- 98.1
- 84.7
- 78.5
- 46.7
- 96.3
- 60.6
- 30.4
- No data
- S1
- 96.3
- 87.8
- 98.2
- 99.6
- 83.1
- 96.9
- 94.9
- 97.6
- 76.9
- DriveFuture\dagger [45]
- MV
- S2
- 82.3
- 78.8
- 88.1
- 98.4
- 83.6
- 79.6
- 47.6
- 97.0
- 75.9
- 34.6
- No data
- S1
- 97.3
- 90.7
- 99.4
- 100
- 83.3
- 97.3
- 97.3
- 97.6
- 60.9
- EponaV2 [6]
- SV
- S2
- 83.6
- 78.0
- 88.0
- 98.9
- 86.0
- 80.3
- 50.1
- 96.1
- 52.0
- 36.1
- No data
- S1
- 96.8
- 88.7
- 99.1
- 99.6
- 95.9
- 95.6
- 95.6
- 97.8
- 80.4
- DriveWAM [7]
- SV
- S2
- 79.5
- 75.8
- 87.8
- 98.1
- 96.5
- 75.7
- 48.7
- 95.8
- 73.7
- 37.7
- No data
- S1
- 96.6
- 93.1
- 98.8
- 99.6
- 96.9
- 95.8
- 96.9
- 97.8
- 78.7
- BeyondDrive [17]
- SV
- S2
- 81.2
- 77.7
- 85.6
- 98.2
- 97.0
- 77.7
- 47.8
- 95.4
- 72.2
- 38.8
- No data
- S1
- 96.6
- 94.4
- 98.8
- 99.6
- 95.8
- 96.0
- 96.4
- 97.8
- 79.6
- Ours
- SV
- S2
- 79.2
- 78.0
- 86.4
- 98.1
- 96.3
- 75.3
- 48.4
- 95.7
- 73.7
- 40.4
In this section, we investigate the following questions:
- Does NegWAM improve planning performance on both challenging and routine benchmarks, and do these gains transfer to zero-shot closed-loop evaluation? (Section IV-B)
- What are the individual and combined contributions of repulsive anchors and scene-conditioned rider tokens, and how sensitive is performance to the post-training budget and hyperparameters? (Section IV-C)
- What qualitative driving behaviors are observed in trajectory comparisons and closed-loop rollouts? (Section IV-D)
- What inference cost accompanies the planning improvements? (Section IV-E)
IV-A Experimental Setup
IV-A1 Datasets and Benchmarks
NAVSIM [19] is a real-world autonomous driving dataset built upon OpenScene [46] and nuPlan [47], comprising 103K training samples. We train all models on navtrain and evaluate them on navtest and navhard. To further assess zero-shot closed-loop generalization, we directly evaluate the same checkpoints on HUGSIM [21].
IV-A2 Evaluation Metrics
NAVSIM v2. Both navtest and navhard report the Extended Predictive Driver Model Score (EPDMS) [48], which combines multiplicative penalties with a weighted average of sub-metric scores:
\mathrm{EPDMS}=\left(\prod_{m\in\mathcal{M}_{\mathrm{pen}}}S_{m}\right)\frac{\sum_{m\in\mathcal{M}_{\mathrm{avg}}}w_{m}S_{m}}{\sum_{m\in\mathcal{M}_{\mathrm{avg}}}w_{m}},where S_{m} and w_{m} denote the score and weight of sub-metric m, respectively. The multiplicative penalty set \mathcal{M}_{\mathrm{pen}} comprises No At-Fault Collisions (NC), Drivable Area Compliance (DAC), Driving Direction Compliance (DDC), and Traffic Light Compliance (TLC). The weighted-average set \mathcal{M}_{\mathrm{avg}} includes Time-to-Collision (TTC), Ego Progress (EP), Lane Keeping (LK), History Comfort (HC), and Extended Comfort (EC). For navhard, scoring is further adapted to the two-stage setting through cross-stage aggregation, reactive traffic simulation, and the exemption of penalties when the corresponding expert rollout exhibits the same failure. All results use the corrected official NAVSIM v2.2 evaluation protocol, which fixes an inconsistency in the human-penalty filtering of the aggregated score [20]. All compared methods follow the same corrected evaluation protocol.
HUGSIM. We report per-level and overall Route Completion (RC) and HD-Score. For an episode of length T, HD-Score combines RC with No Collision (NC), Drivable Area Compliance (DAC), Time to Collision (TTC), and Comfort (COM):
\displaystyle\mathrm{HD\text{-}Score} \\ \displaystyle=\frac{\mathrm{RC}}{T}\sum_{t=1}^{T}\Biggl[\mathrm{NC}_{t}\,\mathrm{DAC}_{t} \\ \displaystyle\times\frac{5\,\mathrm{TTC}_{t}+2\,\mathrm{COM}_{t}}{7}\Biggr],where t indexes the simulation time steps. Higher EPDMS, RC, and HD-Score indicate better planning performance.
IV-A3 Implementation Details
Our model uses one current camera image at a resolution of 256\times 448, together with four historical ego poses, while the action branch predicts a 4\,\mathrm{s} future trajectory. We train the model on navtrain in two stages. Following the unified world–action flow-matching paradigm of DriveWAM [7], we initialize the video backbone from Wan2.2-TI2V-5B [36] and perform 100K steps of WAM pretraining to jointly learn future visual dynamics and expert trajectory prediction. Starting from this checkpoint, we conduct 10K steps of hard-negative safety post-training. We retain the original flow-matching objective to preserve the learned world dynamics and expert-driving prior, while introducing the proposed repulsive-anchor and scene-conditioned rider-token objectives. The auxiliary rider branch is removed at inference, and measured inference efficiency is reported in Section IV-E. Complete model configurations, optimization settings, and training costs are provided in the supplementary material.
For the BeyondDrive [17] baseline in Tables I and II, we port the complete method, rather than only its repulsive loss, to our WAM architecture, strictly following the authors’ original source code and using BeyondDrive’s original negative samples. The reported results are obtained from our own experiments with this implementation and are not taken from the original paper.
IV-B Planning Performance and Generalization
IV-B1 NAVSIM v2
On navhard, NegWAM achieves 40.4 EPDMS, surpassing the BeyondDrive [17] baseline by 1.6 points, corresponding to a 4.1 % relative improvement, and establishing state-of-the-art performance among WAM without an external trajectory scorer (Table I). On navtest, NegWAM further achieves 93.3 EPDMS, outperforming DriveWAM [7] by 1.1 points and establishing a new state of the art among the compared learning-based methods (Table II). The consistent improvements across both benchmarks show that the proposed negative-aware post-training strategy enhances robustness in challenging scenarios while preserving, and even improving, the general driving capability acquired by the pretrained WAM.
- Human agent
- -
- 100.0
- 100.0
- 97.9
- E2E-based Methods
- DiffusionDrive [41]
- MV
- 98.2
- 95.9
- 84.5
- DiffusionDriveV2 [49]
- MV
- 97.7
- 96.6
- 87.5
- VLA-based Methods
- Recogdrive [50]
- MV
- 98.3
- 95.2
- 83.6
- DriveVLA-W0 [43]
- SV
- 98.5
- 99.1
- 86.1
- DriveWorld-VLA [51]
- MV
- 98.6
- 99.1
- 86.8
- World-Model-based Methods
- Latent-WAM [31]
- MV
- 98.1
- 97.3
- 89.3
- DriveFuture [45]
- MV
- 98.8
- 99.1
- 89.9
- DriveLAW [5]
- SV
- 98.8
- 96.9
- 88.9
- Discrete-WAM [52]
- SV
- 98.5
- 98.2
- 90.4
- DriveWAM [7]
- SV
- 98.4
- 96.7
- 92.2
- BeyondDrive [17]
- SV
- 98.2
- 97.7
- 92.9
- Ours
- SV
- 98.1
- 98.4
- 93.3
IV-B2 Zero-shot Generalization to HUGSIM
Under zero-shot evaluation on HUGSIM [21], NegWAM improves RC and HD-Score by 3.4 % and 12.5 % relative to DriveWAM [7], reaching 45.1 and 30.6, respectively (Table III). The gains are concentrated in the Easy settings, while performance on Hard remains nearly unchanged and both metrics decrease on Extreme. These results show improved aggregate closed-loop performance without HUGSIM-specific fine-tuning, with transfer varying across scenario difficulty.
- Method
- E
- M
- H
- X
- Overall
- E
- M
- H
- X
- Overall
- VAD [53]
- 38.7
- 27.0
- 25.5
- 23.0
- 27.9
- 24.3
- 9.9
- 10.4
- 8.2
- 12.3
- LTF [19]
- 68.4
- 40.7
- 36.9
- 25.5
- 41.4
- 52.8
- 24.6
- 19.8
- 8.1
- 24.8
- DriveWAM [7]
- 76.6
- 33.8
- 33.9
- 30.2
- 43.6
- 64.0
- 16.1
- 16.1
- 12.6
- 27.2
- UniAD [1]
- 58.6
- 41.2
- 40.4
- 26.0
- 40.6
- 48.7
- 29.5
- 27.3
- 14.3
- 28.9
- NegWAM (Ours)
- 90.3
- 32.8
- 31.2
- 26.1
- 45.1
- 81.7
- 15.8
- 14.2
- 10.8
- 30.6
IV-C Analysis of Near-Expert Negative Supervision
IV-C1 Effect of Repulsive Anchors
As shown in Table IV, continuing post-training without either proposed component yields 38.2 EPDMS, only 0.5 points above the pretrained baseline. Introducing repulsive anchors increases EPDMS to 39.1, outperforming the matched post-training control and pretrained baseline by 0.9 and 1.4 points, respectively. This result demonstrates that explicitly separating predictions from hard-negative trajectories provides effective safety supervision beyond additional training alone.
- Pretrained Baseline
- 37.7
- \checkmark
- 38.2
- \checkmark
- \checkmark
- 39.1
- \checkmark
- \checkmark
- 38.8
- \checkmark
- \checkmark
- \checkmark
- 40.4
IV-C2 Effect of Scene-Conditioned Rider Tokens
Using scene-conditioned rider tokens alone achieves 38.8 EPDMS, outperforming the post-training control and pretrained baseline by 0.6 and 1.1 points, respectively. Combining rider tokens with repulsive anchors further increases EPDMS to 40.4, exceeding the anchor-only and rider-only variants by 1.3 and 1.6 points, respectively. The additional 1.3 EPDMS gain over the anchor-only variant further shows that NegWAM’s improvement cannot be explained by trajectory-space repulsion alone.
Figure 4 further illustrates the scene–trajectory compatibility learned by the rider branch. Pairing three trajectories with scenes from Boston, Pittsburgh, and one-north yields the highest score for each trajectory in its corresponding scene: the diagonal scores are 1.11, 0.32, and 1.58, respectively, and all mismatched pairs receive negative scores. This example complements the component ablation by illustrating the scene dependence of the learned compatibility scores.
IV-C3 Sensitivity to Post-Training Budget and Hyperparameters
Following the public NAVSIM v2 protocol, which does not define a separate validation split, we report the complete checkpoint and one-factor-at-a-time sensitivity results on navhard for transparency. As shown in Figure 5, NegWAM consistently outperforms the matched standard post-training baseline from 10K to 30K steps, confirming that the improvement holds across the post-training budget rather than at a single checkpoint. The corresponding navtest results in Figure 6 also show consistent gains over the baseline from 5K to 30K steps. Table V varies the learning rate, \lambda_{\mathrm{rep}}, and \lambda_{\mathrm{compat}} around the default configuration used in the main experiments. All tested settings yield 39.0–40.4 EPDMS, showing robustness to moderate hyperparameter changes.
\pm one standard deviation over three random seeds, while the baseline is a single run.\pm one standard deviation over three random seeds, while the baseline is a single run.- Learning rate
- EPDMS
- \lambda_{\mathrm{rep}}
- EPDMS
- \lambda_{\mathrm{compat}}
- EPDMS
- 5{\times}10^{-7}
- 39.5
- 50
- 39.0
- 0.05
- 39.3
- 1{\times}10^{-6}
- 40.4
- 100
- 40.4
- 0.1
- 40.4
- 2{\times}10^{-6}
- 39.1
- 150
- 39.8
- 0.2
- 39.1
IV-D Qualitative Analysis
We examine NegWAM’s behavior through trajectory comparisons and a representative closed-loop rollout.
IV-D1 Trajectory Comparison
As shown in Figure 7, NegWAM maintains safer clearance than DriveWAM [7] and avoids potential collision regions. In the second scenario, an occupant of a roadside parked vehicle opens the door and begins to exit. DriveWAM [7] still produces a nominal close-passing trajectory, leaving insufficient clearance for this emerging hazard. After post-training, NegWAM instead shifts outward and maintains a safe distance from the parked vehicle. Although the baseline trajectory may be safe without the door-opening interaction, it entails substantial risk in this safety-critical context. This comparison suggests that NegWAM internalizes scene-dependent safety boundaries that are difficult to capture through expert imitation alone, enabling it to avoid trajectories that are geometrically close to expert behavior yet potentially unsafe.
IV-D2 Closed-Loop Rollout in HUGSIM
Figure 8 shows a representative closed-loop rollout in HUGSIM. Across the displayed time points, an oncoming vehicle approaches and passes on the left while the ego vehicle continues along the road. The rendered observations and trajectory overlays illustrate how the driving scene evolves during closed-loop execution.
- DriveWAM [7]
- 871.35
- 1.15
- 6241.81
- 14029.08
- 37.7
- NegWAM
- 877.86
- 1.14
- 6241.81
- 14029.08
- 40.4
IV-E Inference Efficiency
Table VI compares planning performance on navhard and inference efficiency. NegWAM improves EPDMS from 37.7 to 40.4 while retaining the same model storage size and peak inference GPU memory usage. Measured latency increases from 871.35 to 877.86 ms, a difference of 6.51 ms (0.75\,\%), while throughput changes from 1.15 to 1.14 FPS. The auxiliary rider groups and compatibility head are removed at inference, allowing the planning gains to be obtained with nearly unchanged deployment cost.
V Conclusion
We revisit unified world–action models from the perspective of safety post-training and introduce NegWAM to address their reliance on expert imitation and lack of explicit safety boundaries. NegWAM leverages offline-constructed, near-expert hard-negative trajectories as repulsive anchors and scene-conditioned rider tokens, internalizing scene-dependent safety boundaries at both the trajectory and representation levels. Experiments demonstrate that NegWAM improves robustness in challenging scenarios while preserving routine driving performance, without requiring online simulation during post-training or introducing additional inference overhead. Zero-shot closed-loop evaluation further validates the transferability of these learned safety boundaries to unseen interactive environments.
The generalization of NegWAM to the diversity and unpredictability of real-world driving remains to be established. Learning safety boundaries that remain effective across evolving environments and complex traffic interactions is a broader challenge for world–action models. Future work will investigate more generalizable and adaptive safety learning paradigms, toward integrating predictive world understanding with reliable long-horizon decision-making for autonomous driving.
References
Appendix A
This appendix provides temporal indexing and optimization details, additional NAVSIM component scores, and qualitative cases from both trajectory prediction and closed-loop simulation. It also documents the scope of the negative supervision and the resources used in our implementation.
A-A Implementation Details
A-A1 Data Layout and Optimization
Table VII summarizes the model configuration, optimization settings, and resource requirements of the two training stages. The four future visual targets use zero-based indices \{1,3,5,7\} within the future-frame sequence, corresponding to cache indices \{2,4,6,8\} when the current image occupies index zero. Each action channel (\Delta x,\Delta y,\Delta\theta) is normalized using its 1st and 99th percentiles.
- Sensors
- Observed Input
- Future Indices
- Action Target
- SNR Shift (V/A)
- Denoising Steps (V/A)
- Model Size
- Peak GPU Memory
- 1 \times Cam. (SV)
- 1\times 256\times 448 4 historical ego poses
- \{1,3,5,7\}
- 8-step \Delta-pose
- 5.0\,/\,1.0
- 3\,/\,10
- 6,241.81 MB
- 14,029.08 MB
A-A2 Scheduler and Conditioning
For each predicted temporal chunk, we uniformly sample an index j\in\{0,\ldots,S-1\} with S=1000 and use the shifted noise scale
u_{j}=1-\frac{j}{S},\qquad t_{j}^{m}=\frac{\gamma_{m}u_{j}}{1+(\gamma_{m}-1)u_{j}},where \gamma_{v}=5.0 and \gamma_{a}=1.0. Uniform index sampling therefore does not imply a uniform distribution over the shifted video noise scale. Let g(t)=\exp[-2(t-0.5)^{2}] and g_{m,\min}=\min_{0\leq l<S}g(t_{l}^{m}). The flow-matching weight is
w_{m}(t_{j}^{m})=\frac{g(t_{j}^{m})-g_{m,\min}}{S^{-1}\sum_{l=0}^{S-1}[g(t_{l}^{m})-g_{m,\min}]},which has mean one over the scheduler grid. The video conditioning stream receives noise augmentation with probability 0.5, while its observed prefix remains clean. The action conditioning stream is not augmented.
A-A3 Negative-Cache Indexing
The offline negative pools preserve the original 40 ego-frame poses of each GTRS candidate [40], at 0.1\,\mathrm{s} intervals. Let \bar{\mathbf{p}}_{q} denote the pose at zero-based cache index q. The eight-step training trajectory uses
\mathbf{p}_{j}=\bar{\mathbf{p}}_{5j+4},\qquad j=0,\ldots,7,corresponding to indices 4,9,\ldots,39. This aligns negative trajectories with the expert’s 0.5\,\mathrm{s} prediction grid while retaining the denser representation for offline evaluation. Fixed-size sampling and padding are applied by the training loader rather than stored in the offline pools; the filtering and validity-mask rules are specified in the main algorithm.
A-B Additional Quantitative Results
Table VIII provides the full component-wise navtest comparison, complementing the condensed comparison in the main paper.
- Human agent
- -
- 100.0
- 100.0
- 99.8
- 100.0
- 97.8
- 100.0
- 100.0
- 98.1
- 90.1
- 97.9
- E2E-based Methods
- DiffusionDrive [41]
- MV
- 98.2
- 95.9
- 99.4
- 99.8
- 87.5
- 97.3
- 96.8
- 98.3
- 87.7
- 84.5
- DiffusionDriveV2 [49]
- MV
- 97.7
- 96.6
- 99.2
- 99.8
- 88.9
- 97.2
- 96.0
- 97.8
- 91.0
- 87.5
- VLA-based Methods
- Recogdrive [50]
- MV
- 98.3
- 95.2
- 98.3
- 99.8
- 87.1
- 97.5
- 96.6
- 99.5
- 86.5
- 83.6
- DriveVLA-W0 [43]
- SV
- 98.5
- 99.1
- 98.0
- 99.7
- 86.4
- 98.1
- 93.2
- 97.9
- 58.9
- 86.1
- DriveWorld-VLA [51]
- MV
- 98.6
- 99.1
- 99.6
- 99.8
- 87.4
- 97.9
- 97.0
- 97.8
- 78.6
- 86.8
- World-Model-based Methods
- Latent-WAM [31]
- MV
- 98.1
- 97.3
- 99.6
- 99.8
- 87.7
- 97.3
- 97.6
- 98.1
- 87.3
- 89.3
- DriveFuture [45]
- MV
- 98.8
- 99.1
- 99.6
- 99.9
- 86.6
- 98.4
- 96.4
- 98.3
- 74.8
- 89.9
- Drivelaw [5]
- SV
- 98.8
- 96.9
- 99.6
- 99.8
- 87.4
- 98.3
- 97.7
- 98.4
- 80.1
- 88.9
- Discrete-WAM [52]
- SV
- 98.5
- 98.2
- 99.7
- 99.8
- 90.5
- 97.9
- 97.2
- 98.3
- 78.1
- 90.4
- DriveWAM [7]
- SV
- 98.4
- 96.7
- 99.7
- 99.8
- 97.7
- 97.7
- 97.7
- 98.3
- 87.9
- 92.2
- ByondDrive [17]
- SV
- 98.2
- 97.7
- 99.4
- 99.8
- 97.9
- 97.8
- 97.7
- 98.3
- 87.6
- 92.9
- Ours
- SV
- 98.1
- 98.4
- 99.5
- 99.8
- 97.8
- 97.5
- 97.3
- 98.3
- 87.6
- 93.3
A-C Additional Qualitative Results
A-C1 Junction Interaction in HUGSIM
Figure 9 shows an additional closed-loop interaction in HUGSIM [21]. A white vehicle appears near the junction in the first two snapshots and moves out of the displayed views as the ego vehicle advances along the road. The three rendered views at each time point show the surrounding traffic and road geometry, while the yellow trajectory overlay changes with the observations. This sequence complements the oncoming-vehicle example in the main paper by showing another traffic interaction during closed-loop execution.
A-C2 Additional Trajectory Comparisons
Figure 10 compares DriveWAM with NegWAM in two scenarios beyond those shown in the main paper. In the intersection-straight case, NegWAM’s trajectory bypasses a stopped roadside vehicle, while DriveWAM predicts a path close to the obstacle. In the left-turn case, NegWAM’s trajectory remains within the drivable surface, whereas the baseline trajectory leaves it. The two examples illustrate differences in obstacle clearance and adherence to road geometry.
A-C3 Failure Cases
Figure 11 documents two cases in which NegWAM performs worse than DriveWAM. In the first, the expert overtakes a stopped leading vehicle on the left, but NegWAM continues straight and collides with it. DriveWAM slows behind the vehicle and avoids the collision. In the second, NegWAM turns with insufficient clearance from a vehicle in the target lane, while DriveWAM maintains a wider margin. These failures identify limitations in maneuver selection and interaction clearance that remain after post-training.
A-D Scope of the Negative Supervision
Hard-Negative Coverage.
The learned safety boundary depends on the near-expert failures covered by the fixed trajectory vocabulary. Rare maneuvers and interactions outside that candidate space receive no direct negative supervision. Vocabulary-based retrieval provides broad trajectory coverage but limited adaptation to individual scenes [40]; diversity-aware failure generation is a complementary direction [17].
Evaluator and Geometric-Distance Dependence.
The zero-EPDMS criterion assigns a common failure label to different violation types and severities. Both hard-negative objectives therefore inherit the offline evaluator’s assumptions. ADE additionally measures geometric proximity rather than interaction risk: similar paths can have different outcomes depending on timing, relative velocity, and road geometry [19]. The rider branch uses scene context, but its negative labels still come from this same construction process.
Broader Impact.
The additional failure cases show that benchmark gains can coexist with unsafe individual decisions. The evidence remains benchmark-based and provides no formal safety guarantee. Deployment requires independent closed-loop validation, evaluation across traffic conditions and road-user categories, and safeguards for hazardous or unfamiliar situations.
A-E License of Assets
All training and evaluation data are obtained from publicly released datasets, including nuPlan [54], OpenScene [46], and NAVSIM v2 [20], and are used in accordance with their respective licenses and terms of use. Our implementation further builds upon publicly available model assets from LingBot-VA [27], Wan2.2-TI2V-5B [36], and DriveWAM [7]. All third-party assets are used solely for non-commercial academic research and in compliance with the licenses accompanying their original releases.