Digitala Vetenskapliga Arkivet

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
High-Quality Source Code Generation from Design Concepts Using Generative AI: An Experimental Evaluation of Large Language Models' Multimodal Input Capabilities
Linköping University, Department of Computer and Information Science.
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Generering av högkvalitativ källkod från designkoncept med hjälp av generativ AI : En experimentell utvärdering av stora språkmodellers förmåga att hantera multimodala indata (Swedish)
Abstract [en]

Saab's Mission Support System is a software system for planning, executing, and evaluating Gripen fighter aircraft missions. Developers make use of design concepts in the form of images or mock-ups when developing new features for the system, but manually converting these design concepts into XAML code can be a time-consuming and repetitive process. With recent advancements in generative AI, there are many studies exploring its possibilities within software development. However, there is limited research regarding the topic of LLMs' multimodal capabilities, especially with generation from design concepts. This thesis aims to explore the possibilities of utilizing design concepts to generate XAML source code through multimodal LLMs. Experiments were executed on several proprietary and open-source LLMs with two datasets, each consisting of 100 hand-drawn images and screenshots. For evaluation, static analysis was done on the generated code to determine the quality, and a survey was given to two developers of the MSS to understand which type of image yields the most accurate results. The results showed that across all models, 27.88\% of the total attempts were successful, and out of those attempts, 48.76\% had high-quality code. In total, 16.81\% out of all attempts resulted in runnable and high-quality XAML code. This indicates that LLMs still have room for improvement in reliably generating high-quality XAML code from design concepts. The hand-drawn images work better as input for generating more visually accurate and useful output compared to screenshots. The results also show that proprietary models generally perform better than open-source models, and that larger models generally outperform smaller models, with some exceptions. The top-performing model for all experiments is Gemini 2.0 Flash.

Place, publisher, year, edition, pages
2025. , p. 45
Keywords [en]
AI, Artificial Intelligence, LLMs, Large Language Models, Generative AI, Code Generation
Keywords [sv]
AI, Artificiell intelligens, LLM:er, Stora språkmodeller, Generativ AI, Kodgenerering
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-215530ISRN: LIU-IDA/LITH-EX-AA--25/073--SEOAI: oai:DiVA.org:liu-215530DiVA, id: diva2:1975810
External cooperation
Saab AB
Subject / course
Computer Engineering
Presentation
2025-06-13, 13:15 (English)
Supervisors
Examiners
Available from: 2025-06-27 Created: 2025-06-24 Last updated: 2025-06-27Bibliographically approved

Open Access in DiVA

fulltext(2809 kB)886 downloads
File information
File name FULLTEXT01.pdfFile size 2809 kBChecksum SHA-512
5d25d91bb1acd981a11e1513a748ebf62173a57e9db3e2c9230ebc7701a136c7bc1588aaeef27d366a763654ebb9da71ef0d585122a24a0f9374891c2bb193cc
Type fulltextMimetype application/pdf

By organisation
Department of Computer and Information Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 887 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: 641 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