Högskolan i Skövde

his.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • 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
Developing RAGs for robot code generation
Department of Mechanical Engineering, Chalmers University of Technology, Gothenburg, Sweden.
Department of Mechanical Engineering, Chalmers University of Technology, Gothenburg, Sweden.
University of Skövde, School of Engineering Science. University of Skövde, Virtual Engineering Research Environment. Department of Mechanical Engineering, Chalmers University of Technology, Gothenburg, Sweden. (Forskningsgruppen för Elektroteknik och Automation (ETA))ORCID iD: 0000-0003-3973-3394
Department of Mechanical Engineering, Chalmers University of Technology, Gothenburg, Sweden.
2026 (English)In: SPS 2026 - The 12th Swedish Production Symposium 24/03/2026 - 26/03/2026 Luleå, Sweden, Institute of Physics Publishing (IOPP), 2026, article id 012064Conference paper, Published paper (Refereed)
Abstract [en]

The emergence of generative AI marks a transformative shift in industrial automation. Traditional robot programming relies on manually written, low-level code that requires specialised expertise, limiting flexibility and accessibility. Recent advances in Large Language Models (LLMs) such as ChatGPT and Mistral introduce new paradigms for automated code generation. However, concerns about data security, model hallucinations, and the opaque reasoning of generative systems continue to hinder their adoption in industry. A promising approach to address these challenges is Retrieval-Augmented Generation (RAG), where the generative model draws on curated, domain-specific data sources controlled by the user. By combining structured knowledge retrieval with generative inference, RAG-based systems can produce robot code that is not only more accurate and context-aware but also verifiable and transparent. This approach enhances user trust and enables safer integration of AI in industrial settings.

This paper explores the application of Retrieval-Augmented Generation (RAG)based architectures - a method that combines information retrieval with LLMs for robot code generation. RAG-based systems enable LLMs to access and utilise domain-specific data, thereby grounding their outputs in reliable knowledge. By leveraging these techniques, robotics developers can achieve more accurate and efficient code generation, potentially accelerating innovation in autonomous systems. Furthermore, it presents a conceptual framework for RAG-enhanced robot programming that balances autonomy with human oversight. The proposed framework enhances the adaptability and intelligence of automated programming by providing a transparent, controllable, and explainable alternative to conventional AI-driven methods, paving the way for more reliable and humancentric automation in future manufacturing environments.

Place, publisher, year, edition, pages
Institute of Physics Publishing (IOPP), 2026. article id 012064
Series
IOP Conference Series: Materials Science and Engineering, ISSN 1757-8981, E-ISSN 1757-899X ; 1342
National Category
Computer Sciences
Research subject
Forskningsgruppen för Elektroteknik och Automation (ETA)
Identifiers
URN: urn:nbn:se:his:diva-26923DOI: 10.1088/1757-899X/1342/1/012064ISI: 001803535300064OAI: oai:DiVA.org:his-26923DiVA, id: diva2:2088338
Conference
SPS 2026 - The 12th Swedish Production Symposium 24/03/2026 - 26/03/2026 Luleå, Sweden, Leading the transformation towards net zero industry
Funder
Vinnova, 2024-03234
Note

CC BY 4.0

E-mail: omkar.salunkhe@chalmers.se

This research was funded by the Swedish innovation agency, VINNOVA, under grant number 2024-03234. We sincerely thank VINNOVA and all partner companies involved in Project Code Agents: AI-powered end-to-end solutions for flexible manufacturing, for their tremendous support and valuable contributions.

Available from: 2026-07-27 Created: 2026-07-27 Last updated: 2026-08-11Bibliographically approved

Open Access in DiVA

fulltext(573 kB)12 downloads
File information
File name FULLTEXT01.pdfFile size 573 kBChecksum SHA-512
5f11caeb76346fc827e45c2c5629edc5fee36020a74118515f01a5af06747e2a4bcae3c044735f32c9b4567d61d7cd9cb0916e60602b4c477488c84953aafade
Type fulltextMimetype application/pdf

Other links

Publisher's full text

Authority records

Syberfeldt, Anna

Search in DiVA

By author/editor
Syberfeldt, Anna
By organisation
School of Engineering ScienceVirtual Engineering Research Environment
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

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

Direct link
Cite
Citation style
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • 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