Towards Specification-Driven LLM-Based Generation of Embedded Automotive Software

Minal Suresh Patil, Gustav Ung, Mattias Nyberg
11/20/2024
cs.SEcs.AI

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

The paper studies how code generation by LLMs can be combined with formal verification to produce critical embedded software. The first contribution is a general framework, spec2code, in which LLMs are combined with different types of critics that produce feedback for iterative backprompting and fine-tuning. The second contribution presents a first feasibility study, where a minimalistic instantiation of spec2code, without iterative backprompting and fine-tuning, is empirically evaluated using three industrial case studies from the heavy vehicle manufacturer Scania. The goal is to automatically generate industrial-quality code from specifications only. Different combinations of formal ACSL specifications and natural language specifications are explored. The results indicate that formally correct code can be generated even without the application of iterative backprompting and fine-tuning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{patil2024towards,
  title  = {Towards Specification-Driven LLM-Based Generation of Embedded Automotive Software},
  author = {Minal Suresh Patil and Gustav Ung and Mattias Nyberg},
  year   = {2024},
  eprint = {2411.13269},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.13269v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.13269.svg)](https://codeofpaper.com/paper/2411.13269)

Discussion