Automating UML Code Generation from Images: Leveraging Multimodal Large Language Models

dc.contributor.advisorPan, Chongle
dc.contributor.authorBates, Averi Jordan
dc.contributor.committeeMemberFagg, Andrew
dc.contributor.committeeMemberKhanmohammadi, Sina
dc.date.accessioned2025-05-14T22:15:30Z
dc.date.embargoExpiration2028-01-27 00:00:00
dc.date.issued2024
dc.date.proquestAvailable01/01/2024
dc.date.updated2025-05-14T22:15:30Z
dc.description.abstractIn software engineering, Unified Modeling Language (UML) is a widely used tool for visually representing and analyzing complex systems. However, translating UML diagrams, particularly those stored in non-editable formats, into executable code remains challenging due to manual and error-prone workflows. This thesis introduces an automated approach for UML-to-code generation by leveraging multimodal large language models (MM-LLMs), specifically LLaVA and its enhanced variant LLaVA-1.5. These models utilize advanced visual and textual processing capabilities to convert fixed UML diagrams into editable, machine-readable code, thus bridging a critical gap in software design workflows. The methodology includes fine-tuning MM-LLMs with synthetic UML datasets to enhance their accuracy in handling activity and sequence diagrams, focusing on maintaining syntactic fidelity and structural coherence. The evaluation metrics, including BLEU and SSIM, reveal that the enhanced LLaVA-1.5 model exhibits high accuracy and efficiency in generating UML code from visual inputs, outperforming baseline models and conventional tools. This work contributes to the field by proposing a scalable, automated solution that simplifies UML code generation and enhances development efficiency, particularly for legacy systems and long-term projects where the original design artifacts are often inaccessible.
dc.identifier.orcid0009-0003-7241-9492
dc.identifier.urihttps://hdl.handle.net/11244/341310
dc.language.isoen
dc.publisherUniversity of Oklahoma – Graduate College
dc.subjectComputer science
dc.subjectCode Generation
dc.subjectDiagram Analysis
dc.subjectLarge Language Model
dc.subjectMultimodal Large Language Model
dc.subjectSoftware Design Automation
dc.subjectUML
dc.thesis.degreeM.S.
dc.titleAutomating UML Code Generation from Images: Leveraging Multimodal Large Language Models
ou.groupComputer Science: Engineering

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Bates_oklahoma_2409B_10090.pdf
Size:
2.59 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
2.01 KB
Format:
Item-specific license agreed upon to submission
Description:

Collections