Abstract
Autonomous driving systems have witnessed a significant development during the past years thanks to the advance in machine learning-enabled sensing and decision-making algorithms. One critical challenge for their massive deployment in the real world is their safety evaluation. Most existing driving systems are still trained and evaluated on naturalistic scenarios collected from daily life or heuristically-generated adversarial ones. However, the large population of cars, in general, leads to an extremely low collision rate, indicating that the safety-critical scenarios are rare in the collected real-world data. Thus, methods to artificially generate scenarios become crucial to measure the risk and reduce the cost. In this survey, we focus on the algorithms of safety-critical scenario generation in autonomous driving. We first provide a comprehensive taxonomy of existing algorithms by dividing them into three categories: data-driven generation, adversarial generation, and knowledge-based generation. Then, we discuss useful tools for scenario generation, including simulation platforms and packages. Finally, we extend our discussion to five main challenges of current works—fidelity, efficiency, diversity, transferability, controllability—and research opportunities lighted up by these challenges.
Introduction: Testing the "Long Tail"
While autonomous vehicle (AV) companies have logged millions of miles with few human interventions, the vast majority of that data is "naturalistic," meaning it is statistically safe and uneventful. However, real-world driving is characterized by a "long-tail" distribution: rare, complex, and dangerous situations occur infrequently but represent the ultimate test of an AV's safety.
To statistically prove an AV is safer than a human driver, it would theoretically need to drive billions of miles in the real world, a process that is prohibitively expensive and slow. This creates a need for a "digital wind tunnel"—a method to artificially generate scenarios that are not only safety-critical but also realistic (high fidelity) and varied (diverse) enough to ensure robust evaluation.
Methodological Taxonomy
The survey categorizes existing research into three primary methodological pillars, providing a structured roadmap for the field.
1. Data-driven Generation
These methods leverage real-world datasets to create new scenarios. Techniques range from simple Data Replay and Random Perturbation (modifying speed or position in recorded logs) to sophisticated Deep Generative Models (VAEs, GANs, and Diffusion models). These models learn the underlying distribution of traffic to synthesize plausible new scenarios.
2. Adversarial Generation
This approach treats the AV as a "victim" and uses optimization algorithms to find its weaknesses.
- Static Attacks: Optimizing the placement of objects to confuse sensors.
- Dynamic Attacks: Utilizing Reinforcement Learning to train "non-player character" (NPC) vehicles to intentionally, yet realistically, challenge the AV's decision-making.
3. Knowledge-based Generation
Instead of relying solely on data, these methods incorporate expert-defined rules, traffic laws, or causal ontologies. This ensures that generated scenarios adhere to the laws of physics and logical constraints (e.g., preventing vehicles from overlapping or teleporting).
Key Insights and Challenges
- The Fidelity-Criticality Trade-off: There is a natural tension between making a scenario dangerous and keeping it realistic. The "sweet spot" involves finding scenarios at the edge of an AV's capability that remain physically possible.
- The "Black Box" Obstacle: Most AV systems are opaque. Generating adversarial scenarios is difficult because researchers often lack access to the internal gradients of the AV's decision-making, necessitating black-box optimization.
- Causality over Correlation: Purely data-driven models often struggle with logical consistency. Integrating Causal Discovery—understanding why a risk occurs—is essential for generating meaningful and controllable scenarios.
- Sim-to-Real Gap: Simulators still struggle to perfectly mimic real-world sensor noise (LiDAR/Cameras), which remains a hurdle for perception module testing.
Conclusion and Future Directions
The survey identifies five core challenges for future research: fidelity, efficiency, diversity, transferability, and controllability.
Future work should focus on embedding physical constraints directly into generative models to address inductive bias. Furthermore, there is a need for Transferable scenarios that expose fundamental flaws in AV logic rather than specific software bugs. Finally, the authors suggest using these scenarios for Curriculum Learning, where AVs are trained on increasingly difficult safety-critical cases to build more robust agents.
Summary updated