Umeå University's logo

umu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Towards specification-driven LLM-based generation of embedded automotive software
Umeå University, Faculty of Science and Technology, Department of Computing Science. Scania, Södertälje, Sweden.
Scania, Södertälje, Sweden.
Scania, Södertälje, Sweden.
2025 (English)In: Bridging the gap between AI and reality: second international conference, AISoLA 2024, Crete, Greece, October 30 – November 3, 2024, proceedings / [ed] Bernhard Steffen, Springer, 2025, p. 125-144Conference paper, Published paper (Refereed)
Abstract [en]

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.

Place, publisher, year, edition, pages
Springer, 2025. p. 125-144
Series
Lecture Notes in Computer Science (LNCS), ISSN 0302-9743, E-ISSN 1611-3349 ; 15217
Keywords [en]
Automated Software Engineering, Code Generation, Formal Verification, Large Language Models
National Category
Software Engineering Artificial Intelligence
Identifiers
URN: urn:nbn:se:umu:diva-234883DOI: 10.1007/978-3-031-75434-0_9Scopus ID: 2-s2.0-85215782156ISBN: 9783031754333 (print)ISBN: 9783031754340 (electronic)OAI: oai:DiVA.org:umu-234883DiVA, id: diva2:1935766
Conference
2nd International Conference on Bridging the Gap Between AI and Reality, AISoLA 2024, Crete, Greece, October 30 - November 3, 2024
Available from: 2025-02-07 Created: 2025-02-07 Last updated: 2025-02-07Bibliographically approved

Open Access in DiVA

No full text in DiVA

Other links

Publisher's full textScopus

Authority records

Patil, Minal Suresh

Search in DiVA

By author/editor
Patil, Minal Suresh
By organisation
Department of Computing Science
Software EngineeringArtificial Intelligence

Search outside of DiVA

GoogleGoogle Scholar

doi
isbn
urn-nbn

Altmetric score

doi
isbn
urn-nbn
Total: 50 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf