Skip to content
Review

Large Language Models for Software Engineering Diagrams: A Systematic Review of UML and ER modelling

Jul 2026 · arXiv.org · Vol abs/2607.26100 · 0 citations · 120 references
Computer Science

TL;DR

This survey provides the first systematic synthesis of LLM-based diagram modelling research, highlighting needs for standardised benchmarks, stronger evaluation protocols, broader diagram coverage, and techniques for improving semantic reliability and multi-view consistency.

Abstract

Large language models (LLMs) are increasingly applied to diagram-based software and data modelling. Among various modelling notations, UML and entity-relationship (ER) diagrams are the most widely adopted for software modelling and data modelling, respectively. Recent literature has investigated various applications of LLMs in diagram modelling; however, their effectiveness and limitations have not been extensively discussed. This systematic literature review analyses 64 studies published between 2023 and 2025, examining diagram coverage, modelling tasks, technical approaches, evaluation practices, and limitations. Our findings reveal significant concentration patterns and gaps. UML-based software modelling strongly dominates, with class diagrams receiving the most attention whilst behavioural diagrams and data modelling remain underrepresented. Diagram construction from natural language is the primary focus, with limited work on transformation, quality assurance, and consistency checking. GPT-based models are heavily prevalent, raising concerns about reproducibility and vendor dependence. Evaluation practices are heterogeneous, employing diverse metrics and custom datasets with limited benchmark reuse and inconsistent reporting of robustness and statistical significance. Common limitations include semantic inaccuracies, hallucinated diagram elements, sensitivity to prompt formulation, and reproducibility constraints. This survey provides the first systematic synthesis of LLM-based diagram modelling research, highlighting needs for standardised benchmarks, stronger evaluation protocols, broader diagram coverage, and techniques for improving semantic reliability and multi-view consistency.

View source

Similar papers

Book Open access Jul 2026

Empirical Studies on UML Sequence Diagrams in Education: A Systematic Literature Review

A systematic literature review of empirical studies on UML SDs in computing education, with a focus on notation, consistency, completeness, and model quality shows that research on comprehension represents the primary focus of literature, followed by studies addressing model quality, while relatively few studies focus...

Sohail Alhazmi · 0 citations
Open access 2026

A Comparative Study of LLMs and Human Judgment in UML Diagram Evaluation

This paper investigates the reliability of LLMs in evaluating UML diagrams generated through reverse engineering processes (source code) and asks: do LLM assessments align with those of human experts?

Olena Chebanyuk, Carles Sierra · 0 citations
Preprint Aug 2026

Large Language Models for Requirements Engineering: A Cross-Task Empirical Evaluation

This work presents the first cross-task empirical evaluation of LLMs spanning five RE-related activities, as well as replication materials supporting reproducibility, and a broader understanding of the capabilities, limitations, and practical readiness of current LLMs for RE.

Jacek Dabrowski, Manjeshwar Aniruddh Mallya, Alessio Ferrari et al. · 1 citation

June 2026: Top 10 Cited Articles in Software Engineering & Applications

This study used design science which involved the definition of metrics, development of a metrics tool, and theoretical and empirical validation of the metrics to develop and validate metrics for measuring the complexity of UML Statechart diagrams.

Ann Wambui King’ori, G. Muketha, E. Micheni et al. · 0 citations
Open access Aug 2026

Analyzing structural and semantic similarities between formal business process models using ChatGPT-5.1: a test report

The results show that the applied LLM can reliably detect structural and semantic differences between formal business process models using Business Process Model and Notation, while distinguishing them from acceptable variations, demonstrating strong potential for automated model validation.

Christian Bennoit, S. Zamani, Tobias Greff · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.