Unified Modeling Language Code Generation from Diagram Images Using Multimodal Large Language Models
Not on the map. Why?
Abstract (arXiv)
The Unified Modeling Language is a standardized visual language widely used for modeling and documenting the design of software systems. Although many tools 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 standard fine-tuning with LoRA techniques to optimize base models. The experiments measured 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 scores of 0.779 and 0.942 on sequence diagrams. This will enable the modernization of legacy systems and decrease the manual effort in software development workflows.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 19 of its 35 references that are in the map. First posted on arXiv 15 Mar 2025.
Builds on
19 of 35 references.
References · 19
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Visual Instruction Tuningcited by 7,792
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2024LLaVA-OneVision: Easy Visual Task Transfercited by 2,669
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2020Rethinking Pre-training and Self-trainingcited by 352
7 more
- 2023Planning with Large Language Models for Code Generationcited by 179
- 2024ChartMimic: Evaluating LMM's Cross-Modal Reasoning Capability via Chart-to-Code Generationcited by 118
- 2017pix2code: Generating Code from a Graphical User Interface Screenshotcited by 113
- 2017Learning to Infer Graphics Programs from Hand-Drawn Imagescited by 73
- 2023AI-assisted Code Authoring at Scale: Fine-tuning, deploying, and mixed methods evaluationcited by 20
- 2024From Image to UML: First Results of Image Based UML Diagram Generation Using LLMscited by 11
- 2024Systematic teaching of UML and behavioral diagramscited by 1
Built on by
Citing papers per year: 2025: 3; 2026: 4.
7 papers.
- 2026A Guide to Large Language Models in Modeling and Simulation: From Core Techniques to Critical Challengescited by 2
- 2025Measuring Visual Understanding in Telecom domain: Performance Metrics for Image-to-UML conversion using VLMscited by 1
- 2025SciTextures: Collecting and Connecting Visual Patterns, Models, and Code Across Science and Artcited by 1
- 2025Data Dependency-Aware Code Generation from Enhanced UML Sequence Diagramscited by 0
- 2026Coding the Visual World: From Image to Simulation Using Vision Language Modelscited by 0
- 2026CodeMMR: Bridging Natural Language, Code, and Image for Unified Retrievalcited by 0
- 2026Generative Artificial Intelligence (GenAI) to convert images of queuing networks into verifiable simulation models: an open-weight LLM workflow approachcited by 0
- 2026Generative Artificial Intelligence (GenAI) to convert images of queuing networks into verifiable simulation models: an open-weight LLM workflow approach27 Jul 2026
- 2026CodeMMR: Bridging Natural Language, Code, and Image for Unified Retrieval17 Apr 2026
- 2026A Guide to Large Language Models in Modeling and Simulation: From Core Techniques to Critical Challenges5 Feb 2026
- 2026Coding the Visual World: From Image to Simulation Using Vision Language Models8 Jan 2026
- 2025SciTextures: Collecting and Connecting Visual Patterns, Models, and Code Across Science and Art3 Nov 2025
- 2025Measuring Visual Understanding in Telecom domain: Performance Metrics for Image-to-UML conversion using VLMs15 Sep 2025
- 2025Data Dependency-Aware Code Generation from Enhanced UML Sequence Diagrams5 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2026Class Model Generation from Requirements using Large Language Models ↗
- 2026Beyond Grading Accuracy: Exploring Alignment of TAs and LLMs ↗
- 2026Prior Bias in Vision Language Models on UML Diagram Interpretation
- 2025GUIDE: LLM-Driven GUI Generation Decomposition for Automated Prototyping
- 2025Flow2Code: Evaluating Large Language Models for Flowchart-based Code Generation Capability
- 2025NOMAD: A Multi-Agent LLM System for UML Class Diagram Generation from Natural Language Requirements
- 2026Code2UML: Agentic LLMs with context engineering for scalable software visualization
- 2026Why Do LLMs Fail at OCL Generation? A Graph Reasoning Perspective