arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.21877cs.SEcs.AI
收藏

基于大语言模型的事件链驱动的ADAS代码生成方法

LLM-Empowered Event-Chain Driven Code Generation for ADAS in SDV systems

Federal Ministry of Research, Technology and Space of Germany(德国联邦研究、技术和空间部)
Nenad Petrovic, Norbert Kroth, Axel Torschmied, Yinglei Song, Fengjunjie Pan, Vahid Zolfaghari, Nils Purschke, Sven Kirchner, Chengdong Wu, Andre Schamschurko, … 展开作者

Nenad Petrovic, Norbert Kroth, Axel Torschmied, Yinglei Song, Fengjunjie Pan, Vahid Zolfaghari, Nils Purschke, Sven Kirchner, Chengdong Wu, Andre Schamschurko, Yi Zhang, Alois Knoll

AI总结:

本文提出基于事件链驱动和大语言模型的ADAS代码生成方法,通过RAG层提高代码生成的准确性和一致性,无需重新训练大语言模型。

摘要:

本文提出了一种基于事件链驱动、大语言模型赋能的工作流程,用于从自然语言需求生成经过验证的汽车代码。检索增强生成(RAG)层从大型且不断演变的车辆信号规范(VSS)目录中检索相关信号作为代码生成提示上下文,减少幻觉并确保架构正确性。检索到的信号被映射和验证后,转换为事件链,以编码因果关系和时间约束。这些事件链指导并约束基于大语言模型的代码合成,确保行为一致性和实时可行性。基于我们初步的紧急制动案例研究发现,使用所提出的方法,我们能够实现有效的信号使用和一致的代码生成,而无需对大语言模型进行重新训练。

英文摘要:

This paper presents an event-chain-driven, LLM-empowered workflow for generating validated, automotive code from natural-language requirements. A Retrieval-Augmented Generation (RAG) layer retrieves relevant signals from large and evolving Vehicle Signal Specification (VSS) catalogs as code generation prompt context, reducing hallucinations and ensuring architectural correctness. Retrieved signals are mapped and validated before being transformed into event chains that encode causal and timing constraints. These event chains guide and constrain LLM-based code synthesis, ensuring behavioral consistency and real-time feasibility. Based on our initial findings from the emergency braking case study, with the proposed approach, we managed to achieve valid signal usage and consistent code generation without LLM retraining.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑