Teaching Self-Driving Cars to Avoid Crashes by Simulating Their Weaknesses
Original paper: Model-Aware Generation of Safety-Critical Scenes for Robust End-to-End Driving via Distilled Planner Surrogates
"Think of it like a personalized sparring dummy designed to probe a specific martial artist's exact blind spots. By continuously testing the autonomous vehicle's decision-making brain against these custom-tailored dangerous scenarios, the system exposes flaws and teaches the car safe escape routes."
Current autonomous vehicles struggle in rare, safety-critical emergencies because normal driving logs rarely contain accidents. By cheaply generating targeted training failures and correct responses, this method offers a fast track to making self-driving cars drastically safer on public roads.
- Most autonomous driving crashes stem from bad planning, not poor vision.
- Real-world driving logs rarely contain enough dangerous scenarios for training.
- Targeted synthetic training cuts closed-loop collision rates in half.
📑 Original arXiv Technical Abstract
End-to-end driving models perform well on standard benchmarks but collide frequently in safety-critical scenarios. We present a failure-mode analysis on NeuroNCAP which shows that 95.9% of DiffusionDrive's collisions are planning failures despite reliable detection, pinpointing the bottleneck in planning rather than perception. We attribute this to a fundamental data imbalance, as safety-critical interactions are rare in real driving logs, so planners are hardly ever trained on them. We close this gap with a novel model-aware framework that generates safety-critical training scenes against a specific planner. Each planner is attacked at the bird's-eye-view (BEV) level through a differentiable surrogate distilled from its own planning head. This keeps the expensive video renderer out of the attack loop. We extract 50 scenes per planner, each pairing an attack with a safe escape trajectory that serves as the fine-tuning label. A fully automated quality-diversity search generates both the attacks and the escapes, so that their variety is not specified by hand. Only these scenes are rendered to fine-tune the planner, which reduces the computational cost significantly. Fine-tuning on these scenes roughly halves the closed-loop collision rate of two planners on NeuroNCAP (SparseDrive 28.0% to 12.2%, DiffusionDrive 37.5% to 19.2%) while largely preserving normal driving. A cross-planner transfer experiment shows that the gain comes from targeting the specific planner. Each planner improves most on the scenes generated against itself, and DiffusionDrive fine-tuned on SparseDrive's scenes retains only 6.7 of its 18.3-point collision-rate reduction.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.