Automating Automotive Software Development: A Synergy of Generative AI and Formal Methods
By: Fengjunjie Pan , Yinglei Song , Long Wen and more
Potential Business Impact:
Makes car software build faster and safer.
As the automotive industry shifts its focus toward software-defined vehicles, the need for faster and reliable software development continues to grow. However, traditional methods show their limitations. The rise of Generative Artificial Intelligence (GenAI), particularly Large Language Models (LLMs), introduces new opportunities to automate automotive software development tasks such as requirement analysis and code generation. However, due to the complexity of automotive systems, where software components must interact with each other seamlessly, challenges remain in software integration and system-level validation. In this paper, we propose to combine GenAI with model-driven engineering to automate automotive software development. Our approach uses LLMs to convert free-text requirements into event chain descriptions and to generate platform-independent software components that realize the required functionality. At the same time, formal models are created based on event chain descriptions to support system validation and the generation of integration code for integrating generated software components in the whole vehicle system through middleware. This approach increases development automation while enabling formal analysis to improve system reliability. As a proof of concept, we used GPT-4o to implement our method and tested it in the CARLA simulation environment with ROS2 middleware. We evaluated the system in a simple Autonomous Emergency Braking scenario.
Similar Papers
Generating Automotive Code: Large Language Models for Software Development and Verification in Safety-Critical Systems
Software Engineering
Makes car software safer and faster to build.
LLM-Based Approach for Enhancing Maintainability of Automotive Architectures
Software Engineering
Makes car software updates easier and faster.
GenAI-based test case generation and execution in SDV platform
Software Engineering
Tests car software automatically from instructions.