Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Model Generation with LLMs: From Requirements to UML Sequence Diagrams
Ferrari, Alessio; ABUALHAIJA, Sallam; Arora, Chetan
2024In Proceedings - 32nd IEEE International Requirements Engineering Conference Workshops, REW 2024
Peer reviewed
 

Files


Full Text
2024-MODRE-AAF.pdf
Author preprint (880.33 kB)
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
Natural Language Processing (NLP); Large Language Models (LLMs); Prompt Engineering; ChatGPT; Model Generation; Sequence Diagrams
Abstract :
[en] 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.
Research center :
Interdisciplinary Centre for Security, Reliability and Trust (SnT) > SVV - Software Verification and Validation
Disciplines :
Computer science
Author, co-author :
Ferrari, Alessio;  Consiglio Nazionale Delle Ricerche (CNR), Italy
ABUALHAIJA, Sallam  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SVV
Arora, Chetan;  Monash University, Australia
External co-authors :
yes
Language :
English
Title :
Model Generation with LLMs: From Requirements to UML Sequence Diagrams
Publication date :
2024
Event name :
The 14th International Model-Driven Requirements Engineering (MoDRE) workshop
Event place :
Reykjavik, Iceland
Event date :
from 24 to 28 June 2024
Main work title :
Proceedings - 32nd IEEE International Requirements Engineering Conference Workshops, REW 2024
Publisher :
IEEE
Peer reviewed :
Peer reviewed
Available on ORBilu :
since 04 January 2025

Statistics


Number of views
152 (8 by Unilu)
Number of downloads
61 (2 by Unilu)

Scopus citations®
 
30
Scopus citations®
without self-citations
25
OpenCitations
 
0
OpenAlex citations
 
27

Bibliography


Similar publications



Contact ORBilu