KIT | KIT-Bibliothek | Impressum | Datenschutz

A LLM-Assisted Compiler for Generating Standard-Compliant Driving Scenarios from Natural Language

Jegarian, Majid ORCID iD icon 1; Esfahani, Amir K. 1; Bause, Katharina 1; Düser, Tobias 1
1 Institut für Produktentwicklung (IPEK), Karlsruher Institut für Technologie (KIT)

Abstract:

This paper introduces a Scenario Compiler for converting textual concrete scenarios into executable XML files compliant with simulation standards. It serves as the final module in a structured framework for automated driving scenario generation, transforming natural language descriptions into simulation-ready XML files. The proposed approach combines schema-guided parsing with contextual inference using a fine-tuned large language model (LLM). In the first phase, the parser generates a complete and schema-compliant XML structure and fills in all directly extractable values, and inserting placeholders for missing or ambiguous information. The challenge addressed here is the frequent absence of explicit values for certain scenario parameters in the input text, which makes it difficult to generate fully specified XML solely through rule-based methods. In the second phase, the fine-tuned LLM infers and fills in these missing values by analyzing the broader scenario context, ensuring that the final output is both complete and plausible. An evaluation against non-specialized LLMs shows that the Scenario Compiler produces significantly more correctly instantiated XML elements while avoiding invalid tags or schema violations. ... mehr


Originalveröffentlichung
DOI: 10.1109/SII64115.2026.11404441
Zugehörige Institution(en) am KIT Institut für Produktentwicklung (IPEK)
Publikationstyp Proceedingsbeitrag
Publikationsdatum 11.01.2026
Sprache Englisch
Identifikator ISBN: 978-1-6654-5784-2
KITopen-ID: 1000192778
Erschienen in 2026 IEEE/SICE International Symposium on System Integration (SII)
Veranstaltung IEEE/SICE International Symposium on System Integration (SII 2026), Cancún, Mexiko, 11.01.2026 – 14.01.2026
Verlag Institute of Electrical and Electronics Engineers (IEEE)
Seiten 1161 - 1167
Externe Relationen Siehe auch
Nachgewiesen in Scopus
OpenAlex
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page