Chat2Scenic: An Iterative RAG-Based Framework for Scenario Generation in Autonomous Driving
On the map: Retrieval-augmented generation → Multimodal RAG
also in 1 more
Abstract (arXiv)
Validating autonomous driving systems requires diverse, regulation-compliant test scenarios. In simulation-based testing, scenarios are defined as executable scripts. Yet automatically generating such scripts from regulatory descriptions remains an open challenge, and existing approaches face fundamental trade-offs. Retrieval-assemble methods achieve reasonable compilation rates but lack scalability, whereas retrieval-based full-script generation suffers from low compilation success rates. We present Chat2Scenic, the first iterative retrieval-augmented framework to generate scenario scripts in Domain Specific Language (DSL). Specifically, Chat2Scenic provides a chatbot interface that supports interactive scenario refinement and integrates Retrieval-augmented Generation (RAG) to ground scenario generation in regulatory knowledge and DSL syntax. Furthermore, we propose an open benchmark for scenario generation comprising 123 scenarios from various regulations, including NHTSA and United Nations Vehicle Regulations, as well as other sources. Extensive evaluation with State-of-the-Art (SOTA) Large Language Models (LLMs) demonstrates that Chat2Scenic achieves 76.42% Compilation Success Rate (CSR) and 58.17% Framework Accuracy (FA), outperforming existing methods (Retrieval Assemble with 30.08% CSR, 11.03% FA and Retrieval full script generation with 16.26% CSR, 10.86% FA). To facilitate future research, we release our code as open source at https://github.com/TUM-AVS/chat2scenic.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Multimodal RAG, one of 15 directions in Retrieval-augmented generation. Builds on 23 of its 28 references that are in the map. First posted on arXiv 15 Jul 2026.
Builds on
23 of 28 references.
References · 23
- 2017CARLA: An Open Urban Driving Simulatorcited by 2,431
- 2022A Survey on Safety-Critical Driving Scenario Generation -- A Methodological Perspectivecited by 100
- 2024ChatScene: Knowledge-Enabled Safety-Critical Scenario Generation for Autonomous Vehiclescited by 92
- 2018Scenic: A Language for Scenario Specification and Scene Generationcited by 79
- 2025Foundation Models in Autonomous Driving: A Survey on Scenario Generation and Scenario Analysiscited by 37
- 2024ChatSUMO: Large Language Model for Automating Traffic Scenario Generation in Simulation of Urban MObilitycited by 34
- 20206-Layer Model for a Structured Description and Categorization of Urban Traffic and Environmentcited by 26
- 2024Multimodal Large Language Model Driven Scenario Testing for Autonomous Vehiclescited by 18
- 2025Text2Scenario: Text-Driven Scenario Generation for Autonomous Driving Testcited by 18
- 2024Traffic Scene Generation from Natural Language Description for Autonomous Vehicles with Large Language Modelcited by 14
- 2024Realistic Corner Case Generation for Autonomous Vehicles with Multimodal Large Language Modelcited by 11
- 2024ScenicNL: Generating Probabilistic Scenario Programs from Natural Languagecited by 10
11 more
- 2024LMM-enhanced Safety-Critical Scenario Generation for Autonomous Driving System Testing From Non-Accident Traffic Videoscited by 9
- 2024SoVAR: Building Generalizable Scenarios from Accident Reports for Autonomous Driving Testingcited by 9
- 2024LeGEND: A Top-Down Approach to Scenario Generation of Autonomous Driving Systems Assisted by Large Language Modelscited by 9
- 20231001 Ways of Scenario Generation for Testing of Self-driving Cars: A Surveycited by 8
- 2025From Words to Collisions: LLM-Guided Evaluation and Adversarial Generation of Safety-Critical Driving Scenarioscited by 8
- 2024A new Taxonomy for Automated Driving: Structuring Applications based on their Operational Design Domain, Level of Automation and Automation Readinesscited by 7
- 2024Generating Traffic Scenarios via In-Context Learning to Learn Better Motion Plannercited by 6
- 2025NuRisk: A Visual Question Answering Dataset for Agent-Level Risk Assessment in Autonomous Drivingcited by 6
- 2024Conversational Code Generation: a Case Study of Designing a Dialogue System for Generating Driving Scenarios for Testing Autonomous Vehiclescited by 4
- 2025LinguaSim: Interactive Multi-Vehicle Testing Scenario Generation via Natural Language Instruction Based on Large Language Modelscited by 2
- 2025David vs. Goliath: A comparative study of different-sized LLMs for code generation in the domain of automotive scenario generationcited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Think Inside the Chunk: RegulaRAG for Regulation-Compliant Scenario Generation using LLMs: A Case Study of UN Regulation No. 152
- 2025A Tool for Benchmarking Large Language Models' Robustness in Assessing the Realism of Driving Scenarios ↗
- 2025VLM as Strategist: Adaptive Generation of Safety-critical Testing Scenarios via Guided Diffusion
- 2025AGENTS-LLM: Augmentative GENeration of Challenging Traffic Scenarios with an Agentic LLM Framework
- 2025Seeking to Collide: Online Safety-Critical Scenario Generation for Autonomous Driving with Retrieval Augmented Large Language Models
- 2023RealGen: Retrieval Augmented Generation for Controllable Traffic Scenarios
- 2024Exploring Critical Testing Scenarios for Decision-Making Policies: An LLM Approach
- 2025SAFE: Harnessing LLM for Scenario-Driven ADS Testing from Multimodal Crash Data ↗