Unified modeling language code generation from diagram images using multimodal large language models
| dc.contributor.author | Averi Bates | |
| dc.contributor.author | Ryan Vavricka | |
| dc.contributor.author | Shane Carleton | |
| dc.contributor.author | Ruosi Shao | |
| dc.contributor.author | Chongle Pan | |
| dc.date.accessioned | 2025-12-10T16:45:37Z | |
| dc.date.available | 2025-12-10T16:45:37Z | |
| dc.date.issued | 2025-05-07 | |
| dc.description | Financial support was provided by the University of Oklahoma Libraries' Open Access Fund. | |
| dc.description.abstract | The Unified Modeling Language is a standardized visual language widely used for modeling and documenting the design of software systems. Although many tools are available that generate UML diagrams from UML code, generating executable UML code from image-based UML diagrams remains challenging. This paper proposes a new approach to generate UML code using a large multimodal language model automatically. Synthetic UML activity and sequence diagram datasets were created to train and test the model. We compared the standard fine-tuning with LoRA techniques to optimize base models. The experiments measured the code generation accuracy across different model sizes and training strategies. These results demonstrated that domain-adapted MM-LLMs perform for UML code generation automation, whereby, at the best model, it achieved BLEU and SSIM of 0.779 and 0.942 on sequence diagrams. This will enable the modernization of legacy systems and decrease the manual effort put into software development workflows. | |
| dc.description.peerreview | Yes | |
| dc.identifier.bibliographicCitation | Averi Bates, Ryan Vavricka, Shane Carleton, Ruosi Shao, Chongle Pan, Unified modeling language code generation from diagram images using multimodal large language models, Machine Learning with Applications, Volume 20, 2025, 100660, ISSN 2666-8270, https://doi.org/10.1016/j.mlwa.2025.100660. | |
| dc.identifier.doi | 10.1016/j.mlwa.2025.100660 | |
| dc.identifier.uri | https://shareok.org//handle/11244/341719 | |
| dc.language | en_US | |
| dc.relation.isPartOf | Machine Learning with Applications | |
| dc.relation.isPartOfSeries | 20 | |
| dc.rights | Attribution-NonCommercial 4.0 International | |
| dc.subject | UML | |
| dc.subject | Large language models | |
| dc.subject | machine learning | |
| dc.subject | code generation | |
| dc.title | Unified modeling language code generation from diagram images using multimodal large language models | |
| dc.type | Article | |
| ou.group | Gallogly College of Engineering::School of Computer Science |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- Bates_2025_Unified_modeling_language_code_generation_from_diagram_images_using_multimodal_large_language_models.pdf
- Size:
- 4.13 MB
- Format:
- Adobe Portable Document Format
License bundle
1 - 1 of 1
Loading...
- Name:
- license.txt
- Size:
- 2.01 KB
- Format:
- Item-specific license agreed upon to submission
- Description: