Are Requirements Really All You Need? Using LLMs to Generate Configuration Code: A Case Study in Automotive Simulations
Open Access
- 11 August 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 145115-145126
Abstract
Large Language Models (LLMs) are taking many industries by storm. They possess impressive reasoning abilities and are capable of handling complex problems, as shown by their steadily improving scores on coding and mathematical benchmarks. However, questions remain about their ability to tackle domain-specific, real-world challenges, especially in highly technical fields like the automotive industry. How well can these models understand high-level, abstract instructions commonly found in automotive standards and documentation? Can they translate such specifications directly into functional code, or do they still require human guidance and post-processing? In this work, we investigate the practical capabilities of a state-of-the-art LLM in the context of autonomous driving functionalities. Specifically, we assess the model’s ability to interpret abstract textual requirements extracted from real automotive regulations and transform them into executable configuration code for CARLA, a widely used autonomous driving simulation environment. Our evaluation focuses on the accuracy, completeness, and reliability of the generated code, as well as the model’s ability to reason about domain-specific constraints. The results offer insight into both the potential and current limitations of the models in supporting LLM-based automotive development workflows.Keywords
Funding Information
- Federal Ministry of Research, Technology and Space, Germany
- Central Car Server (CeCaS) Project (16ME0800K)
This publication has 20 references indexed in Scilit:
- On the use of large language models in model-driven engineeringSoftware and Systems Modeling, 2025
- Towards Specification-Driven LLM-Based Generation of Embedded Automotive Software2024
- Adopting RAG for LLM-Aided Future Vehicle Design2024
- Benchmarks and Metrics for Evaluations of Code Generation: A Critical Review2024
- ChatScene: Knowledge-Enabled Safety-Critical Scenario Generation for Autonomous Vehicles2024
- An LLM-driven Framework for Multiple-Vehicle Dispatching and Navigation in Smart City Landscapes2024
- Evaluating the Feasibility of ChatGPT in Healthcare: An Analysis of Multiple Clinical and Research ScenariosJournal of Medical Systems, 2023
- Handbook of Model-Based Systems Engineering2023
- Scenic: a language for scenario specification and data generationMachine Learning, 2022
- An Incremental V-Model Process for Automotive Development2016