探究 ChatGPT 协助需求获取过程的潜力
Investigating ChatGPT's Potential to Assist in Requirements Elicitation Processes
AI总结:
本文通过六个问题对比 ChatGPT 与 RE 专家生成的需求,并由专家评估七项质量属性,发现 ChatGPT 需求在多方面质量较高,进而指出 LLM 辅助需求获取的研究重点。
摘要:
面向需求工程(RE)的自然语言处理(NLP),即 NLP4RE,旨在将 NLP 工具、技术和资源应用于 RE 过程,以提高需求质量。目前,关于利用基于生成式 AI 的 NLP 工具和技术开展需求获取的研究很少。近来,像 ChatGPT 这样的大型语言模型(LLM)因其在 NLP 任务中显著提升的性能而获得广泛认可。为探索 ChatGPT 协助需求获取过程的潜力,我们设计了六个问题,使用 ChatGPT 获取需求。我们使用同样的六个问题,对来自学术界和工业界的五名 RE 专家开展了基于访谈的调查,并收集了包含需求的 30 份回答。随后,另外五名 RE 专家通过第二轮基于访谈的调查,围绕七个不同的需求质量属性,对这 36 份回答(人工拟定与 ChatGPT 生成)的质量进行了评估。在比较 ChatGPT 生成的需求与人类专家拟定需求的质量时,我们发现 ChatGPT 生成的需求在抽象性、原子性、一致性、正确性和可理解性方面表现很高。基于这些结果,我们提出了与 LLM 相关的最紧迫问题,以及未来研究应关注的方向,以便在基于自然语言的 RE 活动中更有效地利用 LLM 的涌现行为。
英文摘要:
Natural Language Processing (NLP) for Requirements Engineering (RE) (NLP4RE) seeks to apply NLP tools, techniques, and resources to the RE process to increase the quality of the requirements. There is little research involving the utilization of Generative AI-based NLP tools and techniques for requirements elicitation. In recent times, Large Language Models (LLM) like ChatGPT have gained significant recognition due to their notably improved performance in NLP tasks. To explore the potential of ChatGPT to assist in requirements elicitation processes, we formulated six questions to elicit requirements using ChatGPT. Using the same six questions, we conducted interview-based surveys with five RE experts from academia and industry and collected 30 responses containing requirements. The quality of these 36 responses (human-formulated + ChatGPT-generated) was evaluated over seven different requirements quality attributes by another five RE experts through a second round of interview-based surveys. In comparing the quality of requirements generated by ChatGPT with those formulated by human experts, we found that ChatGPT-generated requirements are highly Abstract, Atomic, Consistent, Correct, and Understandable. Based on these results, we present the most pressing issues related to LLMs and what future research should focus on to leverage the emergent behaviour of LLMs more effectively in natural language-based RE activities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。