AD-R1: Closed-Loop Reinforcement Learning for End-to-End Autonomous Driving with Impartial World Models

Tianyi Yan, Tao Tang, Xingtai Gui, Yongkang Li, Jiasen Zheng, Weiyao Huang, Lingdong Kong, Wencheng Han, Xia Zhou, Xueyang Zhang, Yifei Zhan, Kun Zhan, Cheng-zhong Xu, Jianbing Shen

TL;DR

Standard autonomous driving world models suffer from an "optimistic bias," hallucinating safe outcomes even when fed dangerous driving plans. AD-R1 overcomes this by training an Impartial World Model on programmatically synthesized failure data, creating an honest internal "critic" that allows reinforcement learning agents to safely dream of—and learn from—catastrophic mistakes.

What Problem Does This Paper Address?

End-to-end autonomous driving models have made massive strides using Imitation Learning (IL), but they notoriously struggle with "long-tail" events and distribution shifts. When an IL agent encounters a situation outside its training data, it can make catastrophic errors.

Reinforcement Learning (RL) offers a way out by letting agents learn from trial and error. However, training RL agents in the real world is dangerous, and relying on traditional simulators introduces a severe "sim-to-real" gap. To solve this, researchers have turned to learned world models—neural networks that act as internal simulators, predicting how a scene will evolve based on the agent's actions.

The authors of this paper identify a critical flaw in current state-of-the-art world models: optimistic bias. Because these models are trained exclusively on safe driving data from expert humans, they don't know how to predict failure. If you feed a standard world model an unsafe trajectory (e.g., driving directly into a pedestrian or off a cliff), it will actively hallucinate a safe future—making the pedestrian magically vanish or the grass turn into asphalt. This "toxic optimism" makes them highly unreliable critics for training safe RL agents.

Figure 1. (a) Conventional RL Post-training relies on external simulators, suffering from a sim-to-real gap and heuristic rewards. (b) Our Paradigm uses a learned Occupancy World Model as an internal, generative simulator, enabling learned interactions and physically-grounded rewards. (c) The “Optimistic Bias”: stan- dard world models, however, trained only on safe data, fail to pre- dict danger. They hallucinate safe futures for unsafe plans, provid- ing dangerously high rewards. (d) Our Impartial World Model, trained with Counterfactual Synthesis Data, learns to imagine fail- ure. It faithfully predicts the hazardous outcome, providing a cor- rect, punitive reward, and enabling the agent to learn safely.

Methods

The authors introduce AD-R1, a framework designed to teach world models to be honest about danger and use them to refine driving policies. The method consists of two main stages:

1. Impartial World Model (IWM) Training

To cure the optimistic bias, the authors introduce Counterfactual Synthesis, a data pipeline that takes real-world safe driving logs and programmatically alters them to create a curriculum of plausible failures:

  • Ego-State Failures: Steering the vehicle smoothly out of the drivable area.
  • Static Environment Penetration: Directing paths straight into buildings, barriers, or trees.
  • Dynamic Agent Collisions: Intercepting the predicted paths of other vehicles or pedestrians.

To ensure the model actually obeys these dangerous commands instead of fixing them in its imagination, they implement two model-centric refinements:

  • Trajectory-Aware Gating (TAG): A module that forces the network to focus features along the commanded path.
  • Ego-Trajectory Fidelity Loss: A regularizer that penalizes the model if its predicted ego-vehicle position deviates from the input trajectory, enforcing the rule that the world model's job is to predict, not to act.

2. Reinforcement Learning Post-Training

Once trained, the IWM serves as an offline "dream engine" critic. Using a Group Relative Policy Optimization (GRPO) algorithm, the driving policy samples multiple candidate trajectories. The IWM simulates the 4D future for each, and a 4D Reward Modeling module evaluates them based on safety-critical penalties (volumetric collision metrics, off-road penalties) and 3D-aware comfort metrics (like vertical clearance for bridges and surface stability).

Figure 2. Overview of AD-R1. Our framework involves two stages: (a) Impartial World Model Training: We first introduce a Counterfac- tual Synthesis pipeline that decomposes real scenes and programmatically generates unsafe trajectories to create Synthetic Negative Data. Our Impartial World Model is then trained on a mix of this synthetic failure data and real-world safe data. (b) Reinforcement Learning Post-training: The trained model acts as an internal critic. It takes candidate trajectories from a pre-trained agent, ”dreams” of the 4D future outcomes, and our 4D Rewarded Modeling module computes a dense reward based on the imagined world. This provides a strong Policy Loss to refine the agent’s safety and robustness through imagined failures.

Datasets

  • nuScenes: The primary dataset used for real-world safe driving logs, which the authors split (80% real, 20% synthetic counterfactual data) to train the IWM.
  • Risk Foreseeing Benchmark (RFB): A new benchmark introduced in this paper to rigorously evaluate a world model's ability to accurately predict the outcomes of unsafe trajectories.
  • NavSim: The official closed-loop simulation benchmark used to evaluate the final safety and planning quality of the refined driving policies.

Key Insights and Ideas

  • The "Aha!" Moment on Model Roles: A world model shouldn't try to be a good driver; it must be a veridical forecaster. Introducing the Ego-Trajectory Fidelity Loss was crucial because it stopped the world model from autonomously "swerving" in its imagination to avoid a collision commanded by a bad policy.
  • Data Mix Matters: You don't need an entirely negative dataset to teach a model about risk. A careful mix of 80% real safe data and 20% synthetic failure data is enough to teach the model physics and boundaries without degrading its ability to predict normal driving dynamics.
  • 3D/4D Awareness Over 2D BEV: Evaluating rewards directly in a 4D occupancy space allows the agent to respect constraints that 2D Bird's-Eye View (BEV) models miss entirely, such as vertical clearance under bridges or road surface roughness (Z-axis variance).

Key Results

The Impartial World Model dramatically outperformed existing world models on the new Risk Foreseeing Benchmark, proving it can successfully imagine failure:

  • RFB Performance: The IWM achieved a 45.91% f-IoU (failure Intersection-over-Union) and a 25.10 DAF (Dangerous Action Foresight score), vastly outperforming baselines like DOME (14.21% f-IoU) and I²-World (21.44% f-IoU).

When integrated into the RL post-training pipeline, AD-R1 successfully transferred this foresight to driving policies, boosting their scores on the NavSim closed-loop benchmark:

  • Policy Refinement: It provided a plug-and-play boost to two different architectures. It improved the PDMS (Planning Score) of DiffusionDrive by 1.7% absolute (88.1 to 89.8) and Recogdrive-stage2 by 1.1% absolute (86.5 to 91.9), significantly reducing safety violations.
Figure 4. Qualitative comparison of world models.Top: The ref- erence synthetic data. Middle: DOME[14]’s optimistic hallucina- tion. Bottom: AD-R1’s faithful off-road prediction.

Limitations and Future Work

The primary limitation acknowledged by the authors is that their Counterfactual Synthesis pipeline currently relies on ground-truth 3D bounding box annotations from the nuScenes dataset to isolate and decompose the static environment from dynamic agents.

As a next step, the authors suggest replacing this reliance on manual annotations with a high-fidelity, automated perception system, which would allow the pipeline to scale up using raw, unlabeled driving logs.

Summary updated

BibTeX
@inproceedings{yan2026ad,
  author = {Tianyi Yan and Tao Tang and Xingtai Gui and Yongkang Li and Jiasen Zheng and Weiyao Huang and Lingdong Kong and Wencheng Han and Xia Zhou and Xueyang Zhang and Yifei Zhan and Kun Zhan and Cheng-zhong Xu and Jianbing Shen},
  title = {{AD-R1: Closed-Loop Reinforcement Learning for End-to-End Autonomous Driving with Impartial World Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=4lkFrx0gul},
}
Figure