Skip to content
Open access

Generating UML class diagrams as conceptual models through large language models

Sep 2026 · Journal of Software and Systems Modeling · 0 citations · 19 references

TL;DR

This paper presents a comprehensive comparison of open-source and closed-source LLMs used in conjunction with the most effective and accessible prompting techniques, on a newly crafted high-quality dataset of case specifications, implementing an automated evaluation on generated UML class diagrams.

Abstract

The breakthrough of Large Language Models (LLMs) has changed how different kinds of complex tasks are approached, including the ones that require a higher level of abstraction and critical thinking together with advanced domain-specific knowledge, like Conceptual Modeling. Several experiments on testing the modeling capabilities of LLMs have already been conducted, but the literature still lacks a structured analysis of how different LLMs and prompting techniques impact the extraction of conceptual models, as UML class diagrams, from textual specifications. In this paper, we present a comprehensive comparison of open-source and closed-source LLMs used in conjunction with the most effective and accessible prompting techniques, on a newly crafted high-quality dataset of case specifications, implementing an automated evaluation on generated UML class diagrams. Finally, we assess how factors like model size or case complexity impact the quality of the generated models and what LLM and what prompting technique to choose for which task. The dataset and the experimental source code are made available through GitHub( https://github.com/IlKaiser/text2uml ).

Read PDF

Similar papers

Book Open access Oct 2026

From Informal to Conformant Models: Benchmarking Vision--Language Models for UML Generation

Software teams routinely sketch and draw informal diagrams to capture design intent, yet these artifacts rarely evolve into conformant models that automated tooling can process or that can support later stages of development. This tension motivates flexible modeling, which aims to bridge free-form sketching and canonic...

C. Eklund, T. Jonsson, Riccardo Rubei et al. · 0 citations
Review Open access Oct 2026

LLMs for Model-driven Engineering: A Systematic Literature Review

Model-Driven Engineering (MDE) supports the development of large-scale, complex systems through abstraction, automation, and traceability. The rise of Large Language Models (LLMs) has renewed interest in reshaping MDE, with recent studies exploring their use in tasks such as model generation, model comprehension, as we...

Man Zhang, Yun-Yan Li, Tao Yue · 0 citations
Sep 2026

Is there a future for models in the LLM era?

A novel LLM-powered Multi-Agentic approach called ARTHUR (Architecture Refactoring Through Hybrid UML Reasoning), a framework that aims at combining the reliability of MDE and the ease of use of LLMs and shows that MDE could not be more far from retirement.

Marco Calamo, Massimo Mecella, M. Snoeck · 0 citations

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