arXiv · 2511.21877
LLM-Empowered Event-Chain Driven Code Generation for ADAS in SDV systems
Abstract
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Nenad Petrovic, Norbert Kroth, Axel Torschmied, Yinglei Song, Fengjunjie Pan, Vahid Zolfaghari, Nils Purschke, Sven Kirchner, Chengdong Wu, Andre Schamschurko, Yi Zhang, Alois Knoll. 2025-11-26. LLM-Empowered Event-Chain Driven Code Generation for ADAS in SDV systems. https://arxiv.org/abs/2511.21877
Cite the original work for its findings. Save a collection to share your selection of sources.