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

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.

Publication Details

Journal
KTH Publication Database DiVA (KTH Royal Institute of Technology)
Published
2025-01-01
Primary Topic
AI-based Problem Solving and Planning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

KTH Publication Database DiVA (KTH Royal Institute of Technology)
AI-based Problem Solving and Planning
article

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

article en

Abstract

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.

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Industry, innovation and infrastructure
Openalex Percentile: Top 72%
AI-based Problem Solving and Planning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

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 · KTH Publication Database DiVA (KTH Royal Institute of Technology) (2025) | TGRS Research Map | TGRS