mlsanityData to 7 Oct 2026

Unified Modeling Language Code Generation from Diagram Images Using Multimodal Large Language Models

arXiv 2503.12293 ↗First posted 15 Mar 2025cs.SE cs.LGcited by 7

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2023Visual Instruction Tuningcited by 7,792
  7. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  8. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  9. 2024LLaVA-OneVision: Easy Visual Task Transfercited by 2,669
  10. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  11. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  12. 2020Rethinking Pre-training and Self-trainingcited by 352
7 more
  1. 2023Planning with Large Language Models for Code Generationcited by 179
  2. 2024ChartMimic: Evaluating LMM's Cross-Modal Reasoning Capability via Chart-to-Code Generationcited by 118
  3. 2017pix2code: Generating Code from a Graphical User Interface Screenshotcited by 113
  4. 2017Learning to Infer Graphics Programs from Hand-Drawn Imagescited by 73
  5. 2023AI-assisted Code Authoring at Scale: Fine-tuning, deploying, and mixed methods evaluationcited by 20
  6. 2024From Image to UML: First Results of Image Based UML Diagram Generation Using LLMscited by 11
  7. 2024Systematic teaching of UML and behavioral diagramscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 4.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Class Model Generation from Requirements using Large Language Models ↗
  2. 2026Beyond Grading Accuracy: Exploring Alignment of TAs and LLMs ↗
  3. 2026Prior Bias in Vision Language Models on UML Diagram Interpretation
  4. 2025GUIDE: LLM-Driven GUI Generation Decomposition for Automated Prototyping
  5. 2025Flow2Code: Evaluating Large Language Models for Flowchart-based Code Generation Capability
  6. 2025NOMAD: A Multi-Agent LLM System for UML Class Diagram Generation from Natural Language Requirements
  7. 2026Code2UML: Agentic LLMs with context engineering for scalable software visualization
  8. 2026Why Do LLMs Fail at OCL Generation? A Graph Reasoning Perspective