https://www.mdu.se/

mdu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • 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
Model Transformations with LLMs
Mälardalen University, School of Innovation, Design and Engineering.
Mälardalen University, School of Innovation, Design and Engineering.
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Large Language Models such as ChatGPT have recently received significant traction in software development. Many papers are dedicated to investigating and understanding the capabilities and shortcomings of Large Language Models in code generation. However, the same cannot be said for its use within the domain of software modeling. The exploration of leveraging Large Language Models for software modeling tasks is yet to be analyzed further. In this paper, we explore the abilities of ChatGPT in conducting model transformations, focusing on translating Unified Modeling Language class diagrams encoded in XML Metadata Interchange format to object-oriented code. In conducting the experiment, we developed a pipeline to evaluate the performance of ChatGPT to handle model transformations based on different complexity levels. Our results indicate that while Large Language Models like ChatGPT currently prove to be effective in handling very simple to intermediate model transformations, its performance declines with increased complexity of the models, resulting in errors like missing classes and incorrect types, among others.

Place, publisher, year, edition, pages
2024. , p. 25
Keywords [en]
Artificial intelligence, Model driven engineering, Software engineering, ChatGPT
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:mdh:diva-68131OAI: oai:DiVA.org:mdh-68131DiVA, id: diva2:1886869
Presentation
2024-05-27, Zeta, Universitetsplan 1, Västerås, 15:45 (English)
Supervisors
Examiners
Available from: 2024-08-22 Created: 2024-08-05 Last updated: 2025-10-10Bibliographically approved

Open Access in DiVA

Model Transformations with LLMs(582 kB)642 downloads
File information
File name FULLTEXT01.pdfFile size 582 kBChecksum SHA-512
0bb8c5e0a93b83ae6d92f10564c0bb59f00bd414c7f8d07ac08840bc28a1ab4ccf0b06b48393d8afe50a85dcfe8963a61a5cc4a782d150e603cf0f6d65cd1ab2
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Kazai, GabrielOsei, Ronnie
By organisation
School of Innovation, Design and Engineering
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 643 downloads
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

urn-nbn

Altmetric score

urn-nbn
Total: 1012 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • 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