Learning from Risk: LLM-Guided Generation of Safety-Critical Scenarios with Prior Knowledge
Not on the map. Why?
Abstract (arXiv)
Autonomous driving faces critical challenges in rare long-tail events and complex multi-agent interactions, which are scarce in real-world data yet essential for robust safety validation. This paper presents a high-fidelity scenario generation framework that integrates a conditional variational autoencoder (CVAE) with a large language model (LLM). The CVAE encodes historical trajectories and map information from large-scale naturalistic datasets to learn latent traffic structures, enabling the generation of physically consistent base scenarios. Building on this, the LLM acts as an adversarial reasoning engine, parsing unstructured scene descriptions into domain-specific loss functions and dynamically guiding scenario generation across varying risk levels. This knowledge-driven optimization balances realism with controllability, ensuring that generated scenarios remain both plausible and risk-sensitive. Extensive experiments in CARLA and SMARTS demonstrate that our framework substantially increases the coverage of high-risk and long-tail events, improves consistency between simulated and real-world traffic distributions, and exposes autonomous driving systems to interactions that are significantly more challenging than those produced by existing rule- or data-driven methods. These results establish a new pathway for safety validation, enabling principled stress-testing of autonomous systems under rare but consequential events.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 21 of its 35 references that are in the map. First posted on arXiv 25 Nov 2025.
Builds on
21 of 35 references.
References · 21
- 2019nuScenes: A multimodal dataset for autonomous drivingcited by 4,523
- 2019Scalability in Perception for Autonomous Driving: Waymo Open Datasetcited by 2,451
- 2023LMDrive: Closed-Loop End-to-End Driving with Large Language Modelscited by 305
- 2018The highD Dataset: A Drone Dataset of Naturalistic Vehicle Trajectories on German Highways for Validation of Highly Automated Driving Systemscited by 277
- 2021TrafficSim: Learning to Simulate Realistic Multi-Agent Behaviorscited by 193
- 2021Generating Useful Accident-Prone Driving Scenarios via a Learned Traffic Priorcited by 139
- 2019The inD Dataset: A Drone Dataset of Naturalistic Road User Trajectories at German Intersectionscited by 137
- 2024ChatScene: Knowledge-Enabled Safety-Critical Scenario Generation for Autonomous Vehiclescited by 93
- 2021SimNet: Learning Reactive Self-driving Simulations from Real-world Observationscited by 77
- 2016Accelerated Evaluation of Automated Vehicles Safety in Lane Change Scenarios Based on Importance Sampling Techniquescited by 45
- 2025Foundation Models in Autonomous Driving: A Survey on Scenario Generation and Scenario Analysiscited by 38
- 2023Data-driven Traffic Simulation: A Comprehensive Reviewcited by 29
9 more
- 2024Causal Composition Diffusion Model for Closed-loop Traffic Generationcited by 22
- 2024SEAL: Towards Safe Autonomous Driving via Skill-Enabled Adversary Learning for Closed-Loop Scenario Generationcited by 10
- 2023TARGET: Automated Scenario Generation from Traffic Rules for Testing Autonomous Vehicles via Validated LLM-Guided Knowledge Extractioncited by 9
- 2022Adaptive Safety Evaluation for Connected and Automated Vehicles with Sparse Control Variatescited by 8
- 2024Generating and Evolving Reward Functions for Highway Driving with Large Language Modelscited by 8
- 2024Generating Traffic Scenarios via In-Context Learning to Learn Better Motion Plannercited by 6
- 2024Towards pedestrian head tracking: A benchmark dataset and a multi-source data fusion networkcited by 4
- 2025Rolling Ahead Diffusion for Traffic Scene Simulationcited by 2
- 2024Traffic Scenario Logic: A Spatial-Temporal Logic for Modeling and Reasoning of Urban Traffic Scenarioscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025From Words to Collisions: LLM-Guided Evaluation and Adversarial Generation of Safety-Critical Driving Scenarios
- 2025Seeking to Collide: Online Safety-Critical Scenario Generation for Autonomous Driving with Retrieval Augmented Large Language Models
- 2025LD-Scene: LLM-Guided Diffusion for Controllable Generation of Adversarial Safety-Critical Driving Scenarios
- 2025LLM-attacker: Enhancing Closed-loop Adversarial Scenario Generation for Autonomous Driving with Large Language Models
- 2026PCASim: Promptable Closed-loop Adversarial Simulation for Urban Traffic Environment ↗
- 2025Adversarial Generation and Collaborative Evolution of Safety-Critical Scenarios for Autonomous Vehicles
- 2025Driving Through Uncertainty: Risk-Averse Control with LLM Commonsense for Autonomous Driving under Perception Deficits
- 2026VILTA: A VLM-in-the-Loop Adversary for Enhancing Driving Policy Robustness