A novel automated method for UML modeling integrating instruction, reasoning LLMs and vision language model evaluation
Automated generation and validation of UML diagrams from natural language requirements remain a significant challenge in software engineering, hindered by semantic ambiguity and the lack of robust evaluation methods. This paper introduces a novel, end-to-end pipeline that automates UML modeling by synergistically integrating three specialized AI model types. Our pipeline first employs an instruction-tuned model (LLaMA−3.2-1B) to generate user-centric feature descriptions. These are then processed by a reasoning-centric LLM (DeepSeek-R1-Distill-Qwen-32B) to synthesize PlantUML code through structured reasoning. Finally, an ensemble of Vision-Language Models (VLMs) performs a weighted, multimodal evaluation to ensure the semantic and structural correctness of the generated diagrams. Experiments on a large-scale dataset of 15,000 diagrams across nine types show our pipeline achieves a high Mean Weighted Score of 4.23 on a 1–6 VLM evaluation scale. A human evaluation with 155 participants confirms a strong correlation between our automated scores and expert judgment. Our work establishes a new benchmark for generalized UML automation and demonstrates the effectiveness of a multi-stage pipeline that combines instruction tuning, reasoning-based code synthesis, and multimodal validation.
Authors
- Thi Minh-Hue Luong
- Huu-Khanh Nguyen
- Anh-Tu Bui
- The-Vinh Nguyen
- Van-Viet Nguyen
- Duc-Quang Vu
- Kim-Son Nguyen
Institutions
- Thai Nguyen University (VN)
Publication Details
- Journal
- Discover Artificial Intelligence
- Published
- 2026-07-26
- DOI
- https://doi.org/10.1007/s44163-026-01846-4
- Primary Topic
- Model-Driven Software Engineering Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00