Model Generation with LLMs: From Requirements to UML Sequence Diagrams
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 10 of its 39 references that are in the map. First posted on arXiv 9 Apr 2024.
Builds on
10 of 39 references.
References · 10
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 178
- 2023ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Designcited by 66
- 2023Advancing Requirements Engineering through Generative AI: Assessing the Role of LLMscited by 42
- 2023Investigating ChatGPT's Potential to Assist in Requirements Elicitation Processescited by 25
- 2023Prompts Matter: Insights and Strategies for Prompt Engineering in Automated Software Traceabilitycited by 15
- 2023Requirements Engineering using Generative AI: Prompts and Prompting Patternscited by 13
- 2022Automatic Transformation of Natural to Unified Modeling Language: A Systematic Reviewcited by 3
Built on by
Citing papers per year: 2025: 8; 2026: 3.
11 papers.
- 2025MermaidSeqBench: An Evaluation Benchmark for NL-to-Mermaid Sequence Diagram Generationcited by 3
- 2025Assessing LLMs for Front-end Software Architecture Knowledgecited by 2
- 2025Accurate and Consistent Graph Model Generation from Text with Large Language Modelscited by 2
- 2025NOMAD: A Multi-Agent LLM System for UML Class Diagram Generation from Natural Language Requirementscited by 2
- 2025Data Dependency-Aware Code Generation from Enhanced UML Sequence Diagramscited by 0
- 2025AI for Requirements Engineering: Industry adoption and Practitioner perspectivescited by 0
- 2025The Software Engineering Simulations Lab: Agentic AI for RE Quality Simulationscited by 0
- 2025Instruction-Tuning Open-Weight Language Models for BPMN Model Generationcited by 0
- 2026LLM-based Automated Architecture View Generation: Where Are We Now?cited by 0
- 2026Query2Diagram: Answering Developer Queries with UML Diagramscited by 0
- 2026EdgeFlow: Edge-Map Augmented VLM-Based Flowchart Processing for Industrial Requirements Engineeringcited by 0
- 2026EdgeFlow: Edge-Map Augmented VLM-Based Flowchart Processing for Industrial Requirements Engineering26 May 2026
- 2026Query2Diagram: Answering Developer Queries with UML Diagrams26 Apr 2026
- 2026LLM-based Automated Architecture View Generation: Where Are We Now?22 Mar 2026
- 2025Instruction-Tuning Open-Weight Language Models for BPMN Model Generation12 Dec 2025
- 2025NOMAD: A Multi-Agent LLM System for UML Class Diagram Generation from Natural Language Requirements27 Nov 2025
- 2025The Software Engineering Simulations Lab: Agentic AI for RE Quality Simulations21 Nov 2025
- 2025MermaidSeqBench: An Evaluation Benchmark for NL-to-Mermaid Sequence Diagram Generation18 Nov 2025
- 2025AI for Requirements Engineering: Industry adoption and Practitioner perspectives3 Nov 2025
- 2025Data Dependency-Aware Code Generation from Enhanced UML Sequence Diagrams5 Aug 2025
- 2025Accurate and Consistent Graph Model Generation from Text with Large Language Models1 Aug 2025
- 2025Assessing LLMs for Front-end Software Architecture Knowledge26 Feb 2025