Unified modeling language code generation from diagram images using multimodal large language models

Loading...
Thumbnail Image

Authors

Averi Bates
Ryan Vavricka
Shane Carleton
Ruosi Shao
Chongle Pan

Journal Title

Journal ISSN

Volume Title

Publisher

Item Statistics

  • Total Views: 23
  • Total Downloads: 89
  • Views in the Last Month: 0

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.

Description

Financial support was provided by the University of Oklahoma Libraries' Open Access Fund.

Citation

Related file

Notes

Endorsement

Review

Supplemented By

Referenced By

Collection Detail

# of Isolates from RBM

# of Isolates from TV8