On the Use of GPT-4 for Creating Goal Models: An Exploratory Study

被引:27
作者
Chen, Boqi [1 ]
Chen, Kua [1 ]
Hassani, Shabnam [2 ]
Yang, Yujing [1 ]
Amyot, Daniel [2 ]
Lessard, Lysanne [3 ]
Mussbachcr, Gunter [1 ]
Sabetzadeh, Mehrdad [2 ]
Varro, Daniel [4 ,5 ]
机构
[1] McGill Univ, Elect & Comp Engn, Montreal, PQ, Canada
[2] Univ Ottawa, Sch EECS, Ottawa, ON, Canada
[3] Univ Ottawa, Telfer Sch Management, Ottawa, ON, Canada
[4] Linkoping Univ, Linkoping, Sweden
[5] McGill Univ, Montreal, PQ, Canada
来源
2023 IEEE 31ST INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE WORKSHOPS, REW | 2023年
基金
加拿大自然科学与工程研究理事会;
关键词
Large Language Models; GPT-4; ChatGPT; Goal Modeling; Goal-oriented Requirement Language; GRL; REQUIREMENTS;
D O I
10.1109/REW57809.2023.00052
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The emergence of large language models and conversational front-ends such as ChatGPT is revolutionizing many software engineering activities. The extent to which such technologies can help with requirements engineering activities, especially the ones surrounding modeling, however, remains to be seen. This paper reports on early experimental results on the potential use of GPT-4 in the latter context, with a focus on the development of goal-oriented models. We first explore GPT-4's current knowledge and mastering of a specific modeling language, namely the Goal-oriented Requirement Language (GRL). We then use four combinations of prompts with and without a proposed textual syntax, and with and without contextual domain knowledge to guide the creation of GRL models for two case studies. The first case study focuses on a well-documented topic in the goal modeling community (Kids Help Phone), whereas the second one explores a context for which, to our knowledge, no public goal models currently exist (Social Housing). We explore the interactive construction of a goal model through specific follow-up prompts aimed to fix model issues and expand on the model content. Our results suggest that GPT-4 preserves considerable knowledge on goal modeling, and although many elements generated by GPT-4 are generic, reflecting what is already in the prompt, or even incorrect, there is value in getting exposed to the generated concepts, many of which being non-obvious to stakeholders outside the domain. Furthermore, aggregating results from multiple runs yields a far better outcome than from any individual run.
引用
收藏
页码:262 / 271
页数:10
相关论文
共 22 条
[1]  
AlKhamissi B., 2022, arXiv, DOI DOI 10.48550/ARXIV.2204.06031
[2]   Using Building Information Modelling to Manage Client Requirements in Social Housing Projects [J].
Baldauf, Juliana P. ;
Formoso, Carlos T. ;
Tzortzopoulos, Patricia ;
Miron, Luciana I. G. ;
Soliman-Junior, Joao .
SUSTAINABILITY, 2020, 12 (07)
[3]   Towards using Few-Shot Prompt Learning for Automating Model Completion [J].
Ben Chaaben, Meriem ;
Burgueno, Lola ;
Sahraoui, Houari .
2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING-NEW IDEAS AND EMERGING RESULTS, ICSE-NIER, 2023, :7-12
[4]  
Brown TB, 2020, ADV NEUR IN, V33
[5]   On the assessment of generative AI in modeling tasks: an experience report with ChatGPT and UML [J].
Camara, Javier ;
Troya, Javier ;
Burgueno, Lola ;
Vallecillo, Antonio .
SOFTWARE AND SYSTEMS MODELING, 2023, 22 (03) :781-793
[6]   ChatGPT in software modeling [J].
Combemale, Benoit ;
Gray, Jeff ;
Rumpe, Bernhard .
SOFTWARE AND SYSTEMS MODELING, 2023, 22 (03) :777-779
[7]  
Corder GW., 2011, Nonparametric statistics for nonstatisticians
[8]  
Devlin J, 2019, 2019 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES (NAACL HLT 2019), VOL. 1, P4171
[9]   Conceptual Modeling and Large Language Models: Impressions From First Experiments With ChatGPT [J].
Fill, Hans-Georg ;
Fettke, Peter ;
Koepke, Julius .
ENTERPRISE MODELLING AND INFORMATION SYSTEMS ARCHITECTURES-AN INTERNATIONAL JOURNAL, 2023, 18 :1-15
[10]   Automated Goal Model Extraction from User Stories Using NLP [J].
Gunes, Tugce ;
Aydemir, Fatma Basak .
2020 28TH IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE (RE'20), 2020, :382-387