Manuscript Offprint

arXiv:2611.08111

Reinforcing End-to-End Autonomous Driving Safety via Negative-Aware Planning in a Unified World-Action Model

Zihao Zhang, Xinyu Zhang, Bing Zeng, Xingyu Chen, Zhenning Li, Bin Yu, Ziyuan Pu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Zihao Zhang1,2^{1,2}, Xinyu Zhang1^{1}, Bing Zeng1^{1}, Xingyu Chen3^{3}, Zhenning Li4^{4}, Bin Yu5^{5}, Ziyuan Pu1†^{1\dagger}

1^{1}Southeast University 2^{2}Shenzhen Loop Area Institute 3^{3}Guangxi University

4^{4}University of Macau 5^{5}Beihang University

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/Zizizihao/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]–[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

(a) Environment-Derived Reward

Figure

(b) External-Scorer-Derived Reward

Figure

(c) Offline negative supervision (Ours)

Figure

Fig. 1. Sources of supervision for post-training in end-to-end autonomous driving. (a) Environment-derived rewards from closed-loop interaction with a simulator or world model. (b) Trajectory scores from an external rule-based or learned scorer. (c) NegWAM uses offline-mined negative trajectories as repulsive anchors and scene-conditioned rider tokens to introduce negative-aware losses into a unified world-action model.

that faithfully encode desired driving behavior [4], [8]. 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 [12], [13]. 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]–[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

‡^{\ddagger}Correspondence Author.

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.

References (53)