NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DriveDPO: Policy Learning via Safety DPO For End-to-End Autonomous Driving

ShuYao Shang, Yuntao Chen, Yuqi Wang, Yingyan Li, Zhaoxiang Zhang

Introduction

End-to-end autonomous driving systems have traditionally relied on Imitation Learning (IL) to map sensor inputs directly to driving trajectories. While IL effectively captures the "naturalness" of human driving, it frequently suffers from "safety blindness." This phenomenon occurs because standard IL objectives, such as Mean Squared Error (MSE), treat all deviations from human behavior equally. In a driving context, however, a small geometric deviation can represent the difference between a safe maneuver and a catastrophic collision. Furthermore, IL lacks an explicit mechanism to prioritize safety over mere human-likeness, leading to models that may replicate human errors or fail in scenarios where the human demonstration was marginally safe but the model's execution is not.

To address these challenges, we present DriveDPO, a two-stage framework designed to align autonomous driving policies with safety preferences. By integrating rule-based safety evaluations with human demonstrations and applying Direct Preference Optimization (DPO), DriveDPO learns to explicitly prefer safe trajectories, even when they deviate slightly from the exact human path.

Methodology: The DriveDPO Framework

DriveDPO operates through a two-stage process: Unified Policy Distillation followed by Safety DPO Fine-tuning.

Stage 1: Unified Policy Distillation

The first stage moves beyond simple imitation by creating a "Unified Supervision Distribution." Instead of supervising the model with a single human trajectory, the framework evaluates a broad "vocabulary" of potential paths (anchors). Each path is assigned a score based on two factors:

  1. Human Similarity: The proximity of the path to the actual human demonstration.
  2. Rule-Based Safety: Evaluated via a simulator (e.g., NAVSIM), considering metrics such as collisions, lane compliance, and time-to-collision.

A critical innovation in this stage is the use of a log-transformation to "stretch" the differences between high-safety and low-safety paths. By applying this transformation before the softmax operation, the model amplifies the penalty for even slightly risky trajectories, creating a sharp disparity that discourages the policy from selecting mediocre or unsafe paths.

Stage 2: Safety DPO Fine-tuning

Inspired by the success of Reinforcement Learning from Human Feedback (RLHF) in Large Language Models, the second stage employs Direct Preference Optimization (DPO) to refine the policy. The model samples multiple trajectories and identifies pairs of "Chosen" and "Rejected" paths.

The selection of the "Rejected" path is strategic: the framework specifically targets trajectories that are spatially similar to the human path but possess low safety scores. This forces the model to learn the fine-grained boundary between behavior that looks human-like and behavior that is actually safe. Unlike traditional methods that require training a separate "critic" or reward model, DPO allows for the direct optimization of the policy distribution, ensuring that the model’s internal preferences are perfectly aligned with its final control outputs.

Experimental Evaluation

The efficacy of DriveDPO was evaluated on two primary benchmarks: NAVSIM (a high-fidelity nuPlan-based benchmark) and Bench2Drive (a closed-loop interactive benchmark).

Performance on NAVSIM

On the NAVSIM benchmark, DriveDPO achieved a new state-of-the-art PDMS (Progressive Driving Metric Score) of 90.0. This outperformed both traditional imitation-based methods (88.1) and previous score-based methods (88.0). Notably, the model showed significant improvements in safety-specific metrics:

  • No At-Fault Collision (NC): Significant reduction in collision rates.
  • Drivable Area Compliance (DAC): Improved adherence to road boundaries.

Closed-Loop Validation

In the interactive Bench2Drive environment, DriveDPO demonstrated robust real-time performance, achieving a 30.62% Success Rate and a 62.02 Driving Score. These results significantly surpass established end-to-end baselines such as UniAD and VAD, confirming that the safety alignment learned in simulation translates effectively to dynamic, interactive scenarios.

Discussion and Key Insights

The success of DriveDPO highlights several key insights for autonomous driving research:

  • The "Near-Miss" Problem: The most critical errors in autonomous driving are often "near-misses"—trajectories that appear correct but violate subtle safety constraints. By specifically training against these "human-like but unsafe" paths, DriveDPO bridges the gap between imitation and safety.
  • Direct Optimization: Optimizing the policy distribution directly via DPO is more efficient and stable than maintaining decoupled safety critics, which often lead to sub-optimal behavior where the model "knows" a path is bad but lacks the training to avoid it.

Limitations and Future Work

Despite its performance, DriveDPO relies on high-fidelity simulators to generate rule-based safety scores during training, which can be computationally intensive. Furthermore, the reliance on the PDMS metric as a proxy for safety may not capture every possible edge case in complex urban environments. Future research will explore weakly-supervised or self-supervised safety alignment, potentially mining safety preferences from large-scale historical datasets without the need for an active simulator in the training loop.

Summary updated

BibTeX
@inproceedings{shang2025drivedpo,
  author = {ShuYao Shang and Yuntao Chen and Yuqi Wang and Yingyan Li and Zhaoxiang Zhang},
  title = {{DriveDPO: Policy Learning via Safety DPO For End-to-End Autonomous Driving}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=eIf9GNcA5n},
}
Figure