arrow
Return

Large Language Models in Code Co-generation for Safe Autonomous Vehicles

delete2026-01-01
delete0
PRE
AI
A
Ali Nouri *
B
Beatriz Cabrero‐Daniel
Z
Zhennan Fei
K
Krishna Ronanki
H
Håkan Sivencrona
C
Christian Berger
DOI:10.1007/978-3-032-01241-8_13delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Software engineers in various industrial domains are already using Large Language Models (LLMs) to accelerate the process of implementing parts of software systems. When considering its potential use for ADAS or AD systems in the automotive context, there is a need to systematically assess this new setup: LLMs entail a well-documented set of risks for safety-related systems' development due to their stochastic nature. To reduce the effort for code reviewers to evaluate LLMgenerated code, we propose an evaluation pipeline to conduct sanitychecks on the generated code. We compare the performance of six stateof-the-art LLMs (CodeLlama, CodeGemma, DeepSeek-r1, DeepSeekCoders, Mistral, and GPT-4) on four safety-related programming tasks. Additionally, we qualitatively analyse the most frequent faults generated by these LLMs, creating a failure-mode catalogue to support human reviewers. Finally, the limitations and capabilities of LLMs in code generation, and the use of the proposed pipeline in the existing process, are discussed.
Keywords:
DevOps
Autonomous Driving System
Automated Code Generation
Large Language Mo del
Verification
Simulation

Journal

C
COMPUTER SAFETY, RELIABILITY, AND SECURITY, SAFECOMP 2025
IF:
0
Papers:
15
Citations:
0

Organization

V
volvo
Scholars:
565
Papers: 511
Citations: 1
U
University of Gothenburg
Scholars:
3.1K
Papers: 1.3K
Citations: 3.8W