mlsanityData to 14 Oct 2026

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

arXiv 2505.19658 ↗First posted 26 May 2025cs.SE cs.AIcited by 1

On the map: End-to-end autonomous driving → Large language models for driving

Abstract (arXiv)

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 LLM-generated code, we propose an evaluation pipeline to conduct sanity-checks on the generated code. We compare the performance of six state-of-the-art LLMs (CodeLlama, CodeGemma, DeepSeek-r1, DeepSeek-Coders, 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.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Large language models for driving, one of 9 directions in End-to-end autonomous driving. Builds on 8 of its 26 references that are in the map. First posted on arXiv 26 May 2025.

Builds on

8 of 26 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Engineering Safety Requirements for Autonomous Driving with Large Language Models24 Mar

Other references · 7

  1. 2023Don't Make Your LLM an Evaluation Benchmark Cheatercited by 194
  2. 2023Using Large Language Models to Generate JUnit Tests: An Empirical Studycited by 53
  3. 2023Fully Autonomous Programming with Large Language Modelscited by 31
  4. 2024Exploring Human-AI Collaboration in Agile: Customised LLM Meeting Assistantscited by 9
  5. 2024Top Pass: Improve Code Generation by Pass@k-Maximized Code Rankingcited by 9
  6. 2024Correlation of Software-in-the-Loop Simulation with Physical Testing for Autonomous Drivingcited by 3
  7. 2024LLMs Can Check Their Own Results to Mitigate Hallucinations in Traffic Understanding Taskscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025On Simulation-Guided LLM-based Code Generation for Safe Autonomous Driving Software
  2. 2025David vs. Goliath: A comparative study of different-sized LLMs for code generation in the domain of automotive scenario generation
  3. 2025Holistic Evaluation of State-of-the-Art LLMs for Code Generation
  4. 2026LLM-Assisted Dynamic Threat Analysis for Attacker-Reachable Software Weaknesses in Autonomous Vehicles
  5. 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment
  6. 2025Evaluation of Large Language Models for Anomaly Detection in Autonomous Vehicles
  7. 2025Application Modernization with LLMs: Addressing Core Challenges in Reliability, Security, and Quality
  8. 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmap