Metraipolis › archive › dc_d6215f363fdd

UML Class Diagram Evaluation and Repair Strategies based on LLMs — arXiv:2608.28800

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.28800
License (as archived)
CC0-1.0
Archived
2026-10-17T08:59:31.785Z
SHA-256 of the archived text
56de078f8e49fc06c8abacdd716f9364543b6080c35f7de890e796a0a697869d
Stable URL of this page
https://metraipolis.com/documento/dc_d6215f363fdd

How to cite

UML Class Diagram Evaluation and Repair Strategies based on LLMs — arXiv:2608.28800 — arXiv (en), https://arxiv.org/abs/2608.28800 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d6215f363fdd (Metraipolis archive dc_d6215f363fdd, sha256 56de078f8e49fc06c8abacdd716f9364543b6080c35f7de890e796a0a697869d)
BibTeX
@misc{dcd6215f363fdd,
  title = {UML Class Diagram Evaluation and Repair Strategies based on LLMs — arXiv:2608.28800},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.28800},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d6215f363fdd; sha256 56de078f8e49fc06c8abacdd716f9364543b6080c35f7de890e796a0a697869d},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.28800. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

UML class diagrams are a crucial tool for defining the structure of software systems, but designing accurate and comprehensive class diagrams is a challenging task. Traditionally, creating UML models relies on the expertise and experience of professionals. However, with the development of AI technologies, particularly LLMs, new opportunities for software modeling have emerged. Despite this, there has been limited research on the application of LLMs in software modeling, especially in UML class diagram modeling. This study conducts experiments on several typical software system cases. Combining SDMetrics with expert manual review, this paper comprehensively evaluates the practical performance of mainstream LLMs in UML class diagram modeling from multiple dimensions, including size and completeness, relationship correctness, inheritance hierarchy, and design rule compliance. Focusing on typical defects in LLM-generated UML class diagrams, this study reveals that LLMs exhibit uncertainties analogous to human memory. Accordingly, three targeted repair strategies are proposed, including memory reinforcement, external knowledge injection, and detection-guided automated targeted repair. Experimental results obtained from the case studies indicate that (1) compared to expert-crafted class diagrams, LLM-generated UML class diagrams exhibit several issues, such as incomplete identification of key classes, confusion or omissions in relationships, insufficient or absent inheritance relationships, unused classes, and circular dependencies, and (2) after applying the repair methods, all the LLMs show varying degrees of improvement in addressing these issues. The average repair rate for key class identification reaches 85%, the coupling relationship repair rate is 46%, the inheritance relationship repair rate is 69%, while repair rates for unused classes and circular dependencies both reach 100%.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-01 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2608.28800 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-17T08:37:02.054Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).