LLM-based Realistic Safety-Critical Driving Video Generation
On the map: End-to-end autonomous driving → Large language models for driving
Abstract (arXiv)
Designing diverse and safety-critical driving scenarios is essential for evaluating autonomous driving systems. In this paper, we propose a novel framework that leverages Large Language Models (LLMs) for few-shot code generation to automatically synthesize driving scenarios within the CARLA simulator, which has flexibility in scenario scripting, efficient code-based control of traffic participants, and enforcement of realistic physical dynamics. Given a few example prompts and code samples, the LLM generates safety-critical scenario scripts that specify the behavior and placement of traffic participants, with a particular focus on collision events. To bridge the gap between simulation and real-world appearance, we integrate a video generation pipeline using Cosmos-Transfer1 with ControlNet, which converts rendered scenes into realistic driving videos. Our approach enables controllable scenario generation and facilitates the creation of rare but critical edge cases, such as pedestrian crossings under occlusion or sudden vehicle cut-ins. Experimental results demonstrate the effectiveness of our method in generating a wide range of realistic, diverse, and safety-critical scenarios, offering a promising tool for simulation-based testing of autonomous vehicles.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Large language models for driving, one of 9 directions in End-to-end autonomous driving. Builds on 28 of its 38 references that are in the map. First posted on arXiv 2 Jul 2025.
Builds on
28 of 38 references.
Closest ancestors · 3
Same direction, newest first
- 2024ChatScene: Knowledge-Enabled Safety-Critical Scenario Generation for Autonomous Vehicles22 May
- 2024LangProp: A code optimization framework using Large Language Models applied to driving18 Jan
- 2023Drive as You Speak: Enabling Human-Like Interaction with Large Language Models in Autonomous Vehicles19 Sep
Other references · 25
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
- 2022Video Diffusion Modelscited by 2,280
- 2022Make-A-Video: Text-to-Video Generation without Text-Video Datacited by 1,725
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2022Phenaki: Variable Length Video Generation From Open Domain Textual Descriptioncited by 475
- 2023VideoComposer: Compositional Video Synthesis with Motion Controllabilitycited by 461
- 2018Video-to-Video Synthesiscited by 388
- 2024DriveDreamer-2: LLM-Enhanced World Models for Diverse Driving Video Generationcited by 186
- 2018DLOW: Domain Flow for Adaptation and Generalizationcited by 176
- 2023Panacea: Panoramic and Controllable Video Generation for Autonomous Drivingcited by 165
13 more
- 2021AdvSim: Generating Safety-Critical Scenarios for Self-Driving Vehiclescited by 132
- 2025Cosmos-Transfer1: Conditional World Generation with Adaptive Multimodal Controlcited by 95
- 2023Language Conditioned Traffic Generationcited by 86
- 2021SceneGen: Learning to Generate Realistic Traffic Scenescited by 83
- 2018Scenic: A Language for Scenario Specification and Scene Generationcited by 79
- 2017Ontology based Scene Creation for the Development of Automated Vehiclescited by 40
- 2024Stag-1: Towards Realistic 4D Driving Simulation with Video Generation Modelcited by 18
- 2019Autonomous Vehicles Meet the Physical World: RSS, Variability, Uncertainty, and Proving Safety (Expanded Version)cited by 10
- 2021Adversarial Deep Reinforcement Learning for Improving the Robustness of Multi-agent Autonomous Driving Policiescited by 10
- 2023Categorical Traffic Transformer: Interpretable and Diverse Behavior Prediction with Tokenized Latentcited by 10
- 2024DriveGenVLM: Real-world Video Generation for Vision Language Model based Autonomous Drivingcited by 10
- 2024GenDDS: Generating Diverse Driving Video Scenarios with Prompt-to-Video Generative Modelcited by 5
- 2025SafeAug: Safety-Critical Driving Data Augmentation from Naturalistic Datasetscited by 1
Built on by
Citing papers per year: 2025: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025SafeMVDrive: Multi-view Safety-Critical Driving Video Synthesis in the Real World Domain
- 2026LLM-Guided Transformation of Non-Critical Driving Scenes into Safety-Critical Scenarios Using Augmented Reality
- 2026From Driving Videos to Simulatable Scenarios
- 2025David vs. Goliath: A comparative study of different-sized LLMs for code generation in the domain of automotive scenario generation
- 2024LMM-enhanced Safety-Critical Scenario Generation for Autonomous Driving System Testing From Non-Accident Traffic Videos
- 2025From Words to Collisions: LLM-Guided Evaluation and Adversarial Generation of Safety-Critical Driving Scenarios
- 2025On Simulation-Guided LLM-based Code Generation for Safe Autonomous Driving Software
- 2025Learning from Risk: LLM-Guided Generation of Safety-Critical Scenarios with Prior Knowledge