paper-with-me

Papers

Model Generation with LLMs: From Requirements to UML Sequence Diagrams

2024-04-09 · Alessio Ferrari, Sallam Abualhaija, Chetan Arora

Complementing natural language (NL) requirements with graphical models can improve stakeholders' communication and provide directions for system design. However, creating models from requirements involves manual effort. The advent of generative large language models (LLMs), ChatGPT being a notable example, offers promising avenues for automated assistance in model generation. This paper investigates the capability of ChatGPT to generate a specific type of model, i.e., UML sequence diagrams, from NL requirements. We conduct a qualitative study in which we examine the sequence diagrams generated by ChatGPT for 28 requirements documents of various types and from different domains. Observations from the analysis of the generated diagrams have systematically been captured through evaluation logs, and categorized through thematic analysis. Our results indicate that, although the models generally conform to the standard and exhibit a reasonable level of understandability, their completeness and correctness with respect to the specified requirements often present challenges. This issue is particularly pronounced in the presence of requirements smells, such as ambiguity and inconsistency. The insights derived from this study can influence the practical utilization of LLMs in the RE process, and open the door to novel RE-specific prompting strategies targeting effective model generation.

📄 PDF Abstract BibTeX arXiv:2404.06371

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

On the Limitations of Large Language Models for Conceptual Database Modeling

2026-05-12 · Arthur F. Siqueira, Carlos D. S. Nogueira, Eduarda Farias, Claudio E. C. Campelo 외 arxiv

This article analyzes the use of Large Language Models (LLMs) as support for the conceptual modeling of relational databases through the automatic generation of Entity-Relationship (ER) diagrams from natural language req…

Prompt Engineering

MermaidSeqBench: An Evaluation Benchmark for NL-to-Mermaid Sequence Diagram Generation

2025-11-18 · Basel Shbita, Farhan Ahmed, Chad DeLuca arxiv

Large language models (LLMs) have shown great promise in generating structured diagrams from natural language descriptions, particularly Mermaid sequence diagrams for software engineering. However, the lack of existing b…

Unified Modeling Language Code Generation from Diagram Images Using Multimodal Large Language Models

2025-03-15 · Averi Bates, Ryan Vavricka, Shane Carleton, Ruosi Shao 외

The Unified Modeling Language is a standardized visual language widely used for modeling and documenting the design of software systems. Although many tools generate UML diagrams from UML code, generating executable UML …

Code GenerationLanguage ModelingLanguage ModellingSSIM

Data Dependency-Aware Code Generation from Enhanced UML Sequence Diagrams

2025-08-05 · Wenxin Mao, Zhitao Wang, Long Wang, Sirong Chen 외 arxiv

Large language models (LLMs) excel at generating code from natural language (NL) descriptions. However, the plain textual descriptions are inherently ambiguous and often fail to capture complex requirements like intricat…

Mathematical ReasoningCode Generation

Unified Architecture Metamodel of Information Systems Developed by Generative AI

2026-03-31 · Oleg Grynets, Vasyl Lyashkevych arxiv

The rapid development of AI and LLMs has driven new methods of SDLC, in which a large portion of code, technical, and business documentation is generated automatically. However, since there is no single architectural fra…