Beyond Imitation: Learning Safe End-to-End Autonomous Driving from Hard Negatives

Junli Wang, Zhihua Hua, Xueyi Liu, Zebin Xing, Haochen Tian +5 more
5/19/2026
cs.ROcs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Existing imitation learning methods for end-to-end autonomous driving predominantly learn from successful demonstrations by minimizing geometric deviations from expert trajectories. This paradigm implicitly assumes that spatial proximity implies behavioral safety, leading to a critical objective mismatch: trajectories with nearly identical imitation losses may exhibit drastically different safety outcomes, where one remains recoverable while the other results in collision.

Show full abstract

To address this limitation, we propose BeyondDrive, a failure-aware imitation learning framework that jointly learns from successful and failed driving behaviors. First, we introduce a flow matching-based negative trajectory generator that synthesizes safety-critical yet expert-proximate trajectories, enabling explicit modeling of safety asymmetry. Second, we develop a diversity-aware sampling strategy that mitigates mode collapse and improves coverage of diverse failure modes during negative trajectory generation. Third, we propose a Repulsive Distance Loss that simultaneously attracts predictions toward expert demonstrations while repelling them from hard negative trajectories, thereby establishing discriminative safety boundaries in trajectory space. Applied to the uni-modal baseline Latent TransFuser, BeyondDrive achieves 89.7 PDMS on the NAVSIMv1 closed-loop benchmark, outperforming prior state-of-the-art methods. Moreover, BeyondDrive generalizes effectively across different autonomous driving architectures, including multi-modal planners, and further demonstrates strong zero-shot transferability on the HUGSIM benchmark.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026beyond,
  title  = {Beyond Imitation: Learning Safe End-to-End Autonomous Driving from Hard Negatives},
  author = {Junli Wang and Zhihua Hua and Xueyi Liu and Zebin Xing and Haochen Tian and Kun Ma and Hangjun Ye and Guang Chen and Long Chen and Qichao Zhang},
  year   = {2026},
  eprint = {2605.19771},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.19771v1},
  journal = {ECCV 2026 2026}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.19771.svg)](https://codeofpaper.com/paper/2605.19771)

Discussion