Generative Language Models Potential for Requirement Engineering Applications: Insights into Current Strengths and Limitations
Rhineland-Palatinate Technical University of Kaiserslautern-Landau(莱茵兰-普法尔茨州凯撒斯劳滕-兰道技术大学);German Research Center for Artificial Intelligence GmbH(德国人工智能研究中心有限公司)
Summra Saleem, Muhammad Nabeel Asim, Ludger Van Elst, Andreas Dengel
传统语言模型已在软件工程领域得到广泛评估,然而 ChatGPT 和 Gemini 的潜力尚未得到充分探索。为填补这一空白,本文提出一项综合案例研究,以调查这两种语言模型在开发各类需求工程应用方面的潜力。论文深入探讨了不同水平的专家知识提示对两种语言模型预测准确率的影响。在涵盖需求工程任务的4个不同公开基准数据集上,论文将两种语言模型的性能与现有任务专用机器/深度学习预测器及传统语言模型进行了比较。具体而言,本文使用了4个基准数据集:Pure(7,445个样本,需求抽取)、PROMISE(622个样本,需求分类)、REQuestA(300个问答(QA)对)以及 Aerospace 数据集(6,347个词,需求 NER 标注)。实验表明,与 ChatGPT 相比,Gemini 需要更谨慎的提示工程才能提供准确预测。此外,在需求抽取基准数据集上,最先进的 F1 分数为0.86,而 ChatGPT 和 Gemini 分别取得0.76和0.77。需求分类数据集上的最先进 F1 分数为0.96,两种语言模型均为0.78。在命名实体识别(NER)任务中,最先进的 F1 分数为0.92,ChatGPT 仅产生0.36,Gemini 为0.25。同样,在问答数据集上,最先进的 F1 分数为0.90,ChatGPT 和 Gemini 分别产生0.91和0.88。实验表明,Gemini 比 ChatGPT 需要更精确的提示工程。除问答外,两种模型在其他任务上的表现均不及当前最先进的预测器。
英文摘要:
Traditional language models have been extensively evaluated for software engineering domain, however the potential of ChatGPT and Gemini have not been fully explored. To fulfill this gap, the paper in hand presents a comprehensive case study to investigate the potential of both language models for development of diverse types of requirement engineering applications. It deeply explores impact of varying levels of expert knowledge prompts on the prediction accuracies of both language models. Across 4 different public benchmark datasets of requirement engineering tasks, it compares performance of both language models with existing task specific machine/deep learning predictors and traditional language models. Specifically, the paper utilizes 4 benchmark datasets; Pure (7,445 samples, requirements extraction),PROMISE (622 samples, requirements classification), REQuestA (300 question answer (QA) pairs) and Aerospace datasets (6347 words, requirements NER tagging). Our experiments reveal that, in comparison to ChatGPT, Gemini requires more careful prompt engineering to provide accurate predictions. Moreover, across requirement extraction benchmark dataset the state-of-the-art F1-score is 0.86 while ChatGPT and Gemini achieved 0.76 and 0.77,respectively. The State-of-the-art F1-score on requirements classification dataset is 0.96 and both language models 0.78. In name entity recognition (NER) task the state-of-the-art F1-score is 0.92 and ChatGPT managed to produce 0.36, and Gemini 0.25. Similarly, across question answering dataset the state-of-the-art F1-score is 0.90 and ChatGPT and Gemini managed to produce 0.91 and 0.88 respectively. Our experiments show that Gemini requires more precise prompt engineering than ChatGPT. Except for question-answering, both models under-perform compared to current state-of-the-art predictors across other tasks.
Mixed-Variable Requirements Roadmaps and their Role in the Requirements Engineering of Adaptive Systems
需求路线图的概念被引入作为自适应系统的需求工程的问题的解决方案。这个概念需要一个新的一般定义的要求问题,允许定量(数值)变量,连同定性(二进制布尔)命题变量,并区分监控控制变量中使用的控制回路。我们研究这些变化的后果,并认为,需求路线图的概念桥梁之间的差距,目前的一般定义的需求问题及其解决方案的概念,并研究到放松的要求,评估他们的部分满意度,并监测和控制的要求,在自适应系统需求工程中特别感兴趣的所有主题[Cheng et al. 2009]。从理论的角度来看,我们清楚而正式地展示了更传统的需求工程概念(例如,Zave & Jackson [1997])和自适应系统的需求工程(从Fickas & Feather [1995],到Letier & van Lamsweerde [2004],再到Whittle et al. [2010]和最近的研究)。从工程的角度来看,我们定义了一个原型框架的早期需求工程的自适应系统,这说明了在未来的需求框架,这类系统所需的功能。
From Code-Centric to Intent-Centric Software Engineering: A Reflexive Thematic Analysis of Generative AI, Agentic Systems, and Engineering Accountability
Can Requirements Engineering Support Explainable Artificial Intelligence? Towards a User-Centric Approach for Explainability Requirements
Institute of Software Engineering University of Stuttgart Stuttgart, Germany Email;Institute of Software Engineering University of Stuttgart Stuttgart, Germany
Requirements engineering in global scaled agile software development environment: a multi-vocal literature review protocol
背景:需求工程在全球规模的敏捷软件开发和规划阶段的多声文献综述。目的:制定一个协议,以指定将遵循的计划,以进行全球规模敏捷软件开发中需求工程的多声音文献综述研究。方法:遵循Kitchenham and Charters(2007)和Garousi et al.(2019)指南,制定多声文献综述方案。结果:一个经过验证的方案,进行多声音文献综述。结论:综述方案包括以下五个阶段:研究问题、搜索策略、验证综述过程、报告综述和对方案进行变更。
Requirements Problem and Solution Concepts for Adaptive Systems Engineering, and their Relationship to Mathematical Optimisation, Decision Analysis, and Expected Utility Theory