Generating Automotive Code: Large Language Models for Software Development and Verification in Safety-Critical Systems

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Kirchner, Sven, Knoll, Alois C.
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910987130503168
author Kirchner, Sven
Knoll, Alois C.
author_facet Kirchner, Sven
Knoll, Alois C.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_04038
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Generating Automotive Code: Large Language Models for Software Development and Verification in Safety-Critical Systems
Kirchner, Sven
Knoll, Alois C.
Software Engineering
Artificial Intelligence
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.
title Generating Automotive Code: Large Language Models for Software Development and Verification in Safety-Critical Systems
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2506.04038