自动化汽车软件开发:生成式AI与基于模型的方法的协同
Automating Automotive Software Development: A Synergy of Generative AI and Model-Based Methods
AI总结:
本文提出结合生成式AI与基于模型的方法,自动化汽车软件开发,通过事件链描述生成软件组件并提升系统可靠性。
摘要:
随着汽车工业转向软件定义车辆,对更快更可靠的软件开发需求持续增长。然而,传统方法显示出其局限性。生成式人工智能(GenAI),特别是大型语言模型(LLMs),为自动化汽车软件开发任务如需求分析和代码生成引入了新机会。然而,由于汽车系统的复杂性,其中软件组件必须无缝交互,软件集成和系统级验证仍存在挑战。在本文中,我们提出将GenAI与模型驱动工程相结合,以自动化汽车软件开发。我们的方法利用LLMs将自由文本需求转换为事件链描述,并生成平台无关的软件组件以实现所需功能。同时,基于事件链描述创建正式模型,以支持系统验证和生成集成代码,通过中间件将生成的软件组件集成到整车系统中。这种方法提高了开发自动化程度,同时通过正式分析提高系统可靠性。作为概念验证,我们使用GPT-4o实现了我们的方法,并在CARLA仿真环境与ROS2中间件中测试了它。我们在一个简单的自动驾驶紧急制动场景中评估了该系统。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。