Generating Automotive Code: Large Language Models for Software Development and Verification in Safety-Critical Systems
By: Sven Kirchner, Alois C. Knoll
Potential Business Impact:
Makes car software safer and faster to build.
Developing safety-critical automotive software presents significant challenges due to increasing system complexity and strict regulatory demands. This paper proposes a novel framework integrating Generative Artificial Intelligence (GenAI) into the Software Development Lifecycle (SDLC). The framework uses Large Language Models (LLMs) to automate code generation in languages such as C++, incorporating safety-focused practices such as static verification, test-driven development and iterative refinement. A feedback-driven pipeline ensures the integration of test, simulation and verification for compliance with safety standards. The framework is validated through the development of an Adaptive Cruise Control (ACC) system. Comparative benchmarking of LLMs ensures optimal model selection for accuracy and reliability. Results demonstrate that the framework enables automatic code generation while ensuring compliance with safety-critical requirements, systematically integrating GenAI into automotive software engineering. This work advances the use of AI in safety-critical domains, bridging the gap between state-of-the-art generative models and real-world safety requirements.
Similar Papers
Automating Automotive Software Development: A Synergy of Generative AI and Formal Methods
Software Engineering
Makes car software build faster and safer.
Large Language Models in Code Co-generation for Safe Autonomous Vehicles
Software Engineering
Tests computer code for safety in cars.
Survey of GenAI for Automotive Software Development: From Requirements to Executable Code
Software Engineering
Helps car makers build software faster and cheaper.