Proceedings

A Novel Pipeline for Automatic UML Sequence Diagram Synthesis and Multimodal Scoring

Year 2026 Journal / Conference Communications in Computer and Information Science Vol. 2713, pp. 473-485 DOI / Link https://doi.org/10.1007/978-981-95-3355-8_34 ↗

Authors

Abstract

The increasing complexity of modern software systems underscores the need for robust, automated modeling tools. Among Unified Modeling Language (UML) artifacts, Sequence Diagrams play a crucial role in depicting dynamic interactions between system components. However, their manual creation remains time-consuming and error-prone. This paper extends our framework, focusing specifically on the synthesis of Sequence Diagrams. We introduce a two-stage pipeline that combines a lightweight language model (LLaMA 3.2 1B-Instruct) for generating detailed technical specifications, with a reasoning-enhanced large language model (DeepSeek-R1-Distill-Qwen-32B) to produce corresponding PlantUML code. This approach yields a novel dataset of 1,000 high-quality samples, each containing a technical description, PlantUML code, and the resulting diagram. To validate semantic and structural fidelity, we employ an automated multimodal evaluation system using three vision-language models (Qwen2.5-VL-3B, LLaMA3.2-VL-11B, Aya-Vision-8B). Each model independently scores the alignment between the textual specification and the generated visual representation. Final quality scores are aggregated using a weighted method informed by each model’s performance on the MMMU benchmark. Our experiments demonstrate that the proposed framework successfully generates architecturally consistent and semantically aligned Sequence Diagrams. Furthermore, our multimodal scoring system proves to be a reliable method for automated quality assurance, establishing a scalable benchmark for future research in AI-driven software engineering. © The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2026.

Keywords

Automated UML Generation Large Language Models Model Reasoning Multimodal Validation PlantUML Software Engineering UML Sequence Diagrams

BibTeX

@inproceedings{W4415173570,
  author = {Van-Viet Nguyen and Huu-Khanh Nguyen and Kim-Son Nguyen and Hue Luong Thi Minh and The-Vinh Nguyen and Duc-Quang Vu},
  title = {{A Novel Pipeline for Automatic UML Sequence Diagram Synthesis and Multimodal Scoring}},
  booktitle = {Communications in computer and information science},
  year = {2025},
  month = {10},
  pages = {473--485},
  volume = {2713},
  doi = {10.1007/978-981-95-3355-8_34},
  url = {https://doi.org/10.1007/978-981-95-3355-8_34}
}