mlsanityData to 14 Oct 2026

Behavioral Augmentation of UML Class Diagrams: An Empirical Study of Large Language Models for Method Generation

arXiv 2506.00788 ↗First posted 1 Jun 2025cs.SE cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Automating the enrichment of UML class diagrams with behavioral methods from natural language use cases is a significant challenge. This study evaluates nine large language models (LLMs) in augmenting a methodless UML diagram (21 classes, 17 relationships) using 21 structured waste-management use cases. A total of 90 diagrams (3,373 methods) were assessed across six metrics: method quantity, signature richness (visibility, names, parameters, return types), annotation completeness (linking to use cases/actions), structural fidelity, syntactic correctness (PlantUML compilation), and naming convergence (across models). All LLMs produced valid PlantUML diagrams adhering to UML conventions. Some models excelled in method coverage and annotation accuracy, while others showed richer parameterization but weaker traceability. These results demonstrate that LLMs can generate well-structured methods with consistent naming, advancing automated behavioral modeling. However, inconsistencies in annotations and signatures highlight the need for improved prompt engineering and model selection. The rapid generation of these methods supports Agile practices by enabling faster design iterations. Despite their capabilities, human oversight is essential to ensure accuracy, appropriateness, and semantic alignment. This positions LLMs as collaborative partners in software design. All experimental artifacts (texttt.puml, texttt.png, texttt.csv) are publicly available for reproducibility.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 7 of its 26 references that are in the map. First posted on arXiv 1 Jun 2025.

Builds on

7 of 26 references.

References · 7

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2021Program Synthesis with Large Language Modelscited by 3,637
  3. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  4. 2021Measuring Coding Challenge Competence With APPScited by 902
  5. 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 384
  6. 2021Recommending Metamodel Concepts during Modeling Activities with Pre-Trained Language Modelscited by 7
  7. 2024Programming with AI: Evaluating ChatGPT, Gemini, AlphaCode, and GitHub Copilot for Programmerscited by 5

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.