Skip to content
Preprint

Chat2Scenic: An Iterative RAG-Based Framework for Scenario Generation in Autonomous Driving

Jul 2026 · 0 citations · 28 references
Computer Science

Abstract

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.

View source

Similar papers

Open access Aug 2026

Chat2Map: A ReAct-based Agent Framework for Automated Web Map Generation from Natural Language Instructions

Chat2Map is presented, an agent framework for automated web map generation from natural-language instructions that integrates skill and tool grounding, runtime schema construction for uploaded GeoJSON and JSON files, and an iterative generate-execute- diagnose-repair loop based on runtime and visual feedback.

Hong-Ping Zhang, Peilong Ma, Cong Wang et al. · 0 citations
#small language model Preprint Aug 2026

SchemaGUI: A Schema-Driven Benchmark for Controllable GUI Generation Evaluation

SchemaGUI, a template-based benchmark for controllable GUI generation evaluation, synthesizing paired natural language instructions and deterministic function-call references from parameterized interface schemas can generate thousands of deterministically annotated tasks in seconds without human labeling.

Jiarui Dong, Yin Cai, Zhouhong Gu et al. · 0 citations
Conference Jul 2026

Design and Experimental Evaluation of A ReAct Agent Framework Integrating Retrieval-Augmented Generation

With the capability enhancement of Large Language Models (LLMs), LLM-based agent systems have demonstrated extraordinary potential in complex task reasoning. However, challenges such as context limitations and knowledge hallucinations persist in practical engineering applications. This paper focuses on the “Design of R...

Yiquan Deng · 0 citations
Jul 2026

Environment-free Synthetic Data Generation for API-Calling Agents

Training API-calling large language model (LLM) agents demands massive amounts of high-quality trajectories. However, collecting such data at scale typically requires fully implemented environments with executable APIs and realistic, pre-populated backend databases, creating a major bottleneck for scalability. To overc...

Seanie Lee, Sanjoy Chowdhury, Chao Jiang et al. · 2 citations
Preprint Aug 2026

SSP: An Event-Matched Syn2Sim2Phy Cross-Domain Evaluation Framework for Autonomous Driving VLA Models

SSP (Synthetic-Simulation-Physical), an event-matched Syn2Sim2Phy evaluation framework that provides a reproducible scene-transfer chain and an evidence-qualified evaluation of VLA behavior without assuming that the Physical domain is universally superior.

Haojie Feng, Peizhi Zhang, Xinrui Zhang et al. · 0 citations
Conference Jul 2026

VADER: Validation-Driven DSL Generation with Small Language Models

Model-driven and low-code platforms rely heavily on domain-specific languages (DSLs) to capture structured system intent. While large language models (LLMs) have shown impressive capabilities in generating DSLs from natural language descriptions, proprietary models such as GPT-5 remain expensive, opaque, and often brit...

J. Baber, Gabriela González-Sáez, Nicolas Hili et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.