Automated Derivation of UML Sequence Diagrams from User Stories: Unleashing the Power of Generative AI vs. a Rule-Based Approach

被引:0
作者
Jahan, Munima [1 ]
Hassan, Mohammad Mahdi [2 ]
Golpayegani, Reza [3 ]
Ranjbaran, Golshid [3 ]
Roy, Chanchal [3 ]
Roy, Banani [3 ]
Schneider, Kevin [3 ]
机构
[1] Thompson Rivers Univ, Dept Engn, Kamloops, BC, Canada
[2] Univ Prince Edward Isl, Charlottetown, PE, Canada
[3] Univ Saskatchewan, Saskatoon, SK, Canada
来源
27TH INTERNATIONAL ACM/IEEE CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, MODELS | 2024年
基金
加拿大自然科学与工程研究理事会;
关键词
User Story; Sequence Diagram; Generative Model; Large Language Model; Model Generation; Natural Language Processing; Rule-based approach;
D O I
10.1145/3640310.3674081
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
User stories are informal, non-technical descriptions of features from a user's perspective that guide collaboration and iterative development in Agile projects. However, ambiguities in user stories can lead to miscommunication among stakeholders. Design models, such as UML sequence diagrams, are essential for enhancing communication, clarifying system behavior, and improving the development process. This paper presents an automated approach for generating behavioral models specifically sequence diagrams from natural language requirements expressed as user stories. We also investigate the effectiveness of a Large Language Model (LLM) in using generative AI for this task. By applying our approach and ChatGPT to two benchmark datasets with the same set of user stories, we generated corresponding sequence diagrams for comparison. Expert evaluations in Software Engineering reveal that our approach effectively produces relevant, simplified diagrams for straightforward user stories, whereas the LLM tends to create more complex diagrams that sometimes go beyond the simplicity of the original user stories.
引用
收藏
页码:138 / 148
页数:11
相关论文
共 47 条
  • [1] Al-Fedaghi S, 2021, Arxiv, DOI arXiv:2105.15152
  • [2] Landscape of High-Performance Python']Python to Develop Data Science and Machine Learning Applications
    Castro, Oscar
    Bruneau, Pierrick
    Sottet, Jean-Sebastien
    Torregrossa, Dario
    [J]. ACM COMPUTING SURVEYS, 2024, 56 (03)
  • [3] Formally Verifying Sequence Diagrams for Safety Critical Systems
    Chen, Xiaohong
    Mallet, Frederic
    Liu, Xiaoshan
    [J]. 2020 INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING (TASE 2020), 2020, : 217 - 224
  • [4] Cohn M., 2004, User Stories Applied: For Agile Software Development
  • [5] On deriving conceptual models from user requirements: An empirical study
    Dalpiaz, Fabiano
    Gieske, Patrizia
    Sturm, Arnon
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 131
  • [6] Detecting terminological ambiguity in user stories: Tool and experimentation
    Dalpiaz, Fabiano
    van der Schalk, Ivor
    Brinkkemper, Sjaak
    Aydemir, Fatma Basak
    Lucassen, Garm
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 110 : 3 - 16
  • [7] Dalpiaz Fabiano, 2018, Mendeley Data, v1, V2018
  • [8] Exploratory Factor Analysis With Small Sample Sizes
    de Winter, J. C. F.
    Dodou, D.
    Wieringa, P. A.
    [J]. MULTIVARIATE BEHAVIORAL RESEARCH, 2009, 44 (02) : 147 - 181
  • [9] Djaber ROUABHIA, 2023, AI as a Co-Engineer: A Case Study of ChatGPT in Software Lifecycle
  • [10] Elallaoui M, 2015, 2015 10TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS: THEORIES AND APPLICATIONS (SITA)