From Feature Description to UML Architecture: A Novel Framework for Automated Reasoning and Multimodal Evaluation of Component and Deployment Diagram
Open Access
- 4 March 2026
- journal article
- Published by Universitas Airlangga in Journal of Information Systems Engineering and Business Intelligence
- Vol. 12 (1) , 138-153
Abstract
Background: Unified Modeling Language (UML) is fundamental to software architecture, yet the automated generation of high-level diagrams remains underexplored. Specifically, Component and Deployment diagrams pose significant challenges due to their high abstraction and complex architectural dependencies, which are difficult to infer from natural language descriptions alone. Objective: This study aimed to develop and validate a novel, end-to-end framework to bridge the gap between natural language feature descriptions and executable UML architectural diagrams. The primary goal was to fully automate the pipeline, from requirement generation to robust, multimodal validation of the final visual outputs. Methods: A quantitative study was conducted using a three-stage automated pipeline. First, LLaMA 3.2-1B-Instruct generated diverse feature descriptions. Second, DeepSeek-R1-Distill-Qwen-32B performed advanced reasoning to synthesize executable PlantUML code for Component and Deployment diagrams. Finally, a novel multimodal validation framework was introduced, employing an ensemble of three vision-language models—Qwen2.5-VL-3B, LLaMA-3.2-11B-Vision, and Aya-Vision-8B—to quantitatively assess the fidelity of the generated diagrams against their source descriptions. Results: Our framework demonstrated high fidelity in accurately capturing both system modularity (Component diagrams) and runtime allocation (Deployment diagrams). The reasoning-driven synthesis by DeepSeek-R1 significantly outperformed baseline models in generating architecturally correct diagrams. The multimodal evaluation pipeline effectively reduced scoring bias by integrating diverse validation perspectives. A key outcome is the creation of a systematically generated benchmark dataset of architectural diagrams. Conclusion: This study successfully establishes the viability of an AI-driven pipeline for automated UML architecture generation and validation. It provides three key contributions: the first fully automated pipeline for this task, a novel multimodal validation method, and a public benchmark dataset. This work lays a foundation for practical, AI-powered software architecture modeling. Future work should extend this framework to encompass behavioral UML diagrams.Keywords
This publication has 18 references indexed in Scilit:
- Automated UML Generation: A Framework for Class Diagram Synthesis and Multimodal Validation2025
- Mamba-caption: Long-range sequence modelling for efficient and accurate image captioningArray, 2025
- A Novel Pipeline for Automatic UML Sequence Diagram Synthesis and Multimodal Scoring2025
- From concept to manufacturing: evaluating vision-language models for engineering designArtificial Intelligence Review, 2025
- Unified modeling language code generation from diagram images using multimodal large language modelsMachine Learning with Applications, 2025
- Static vulnerability detection based on class separationJournal of Systems and Software, 2023
- Challenges in Model-Driven Software Engineering2009
- Documenting software architectures: views and beyond2003
- A UML-Based Approach to System TestingSoftware and Systems Modeling, 2002
- The 4+1 View Model of architectureIEEE Software, 1995