一句话:提出 QAssist,利用问答与外部领域知识自动辅助自然语言需求分析,并在多领域数据上验证答案定位与抽取效果。
自然语言需求常含不一致、不完整等缺陷,纯人工质量保证耗时且可能遗漏问题。本文提出 QAssist——一种面向需求分析的问答辅助方法,允许需求工程师等利益相关者就需求提问并自动获得答案;为应对答案范围可能超出给定需求规格的挑战,QAssist 支持挖掘外部领域知识资源。作者在覆盖三个应用域、共 387 个问答对的数据集上,采用基于大规模语言模型的最新问答方法进行实验。结果显示:QAssist 在需求规格和外部知识资源中将答案定位到三个 passage 的平均 recall 分别为 90.1% 和 96.5%,抽取实际答案的平均准确率为 84.2%。
By virtue of being prevalently written in natural language (NL), requirements are prone to various defects, e.g., inconsistency and incompleteness. As such, requirements are frequently subject to quality assurance processes. These processes, when carried out entirely manually, are tedious and may further overlook important quality issues due to time and budget pressures. In this paper, we propose QAssist - a question-answering (QA) approach that provides automated assistance to stakeholders, including requirements engineers, during the analysis of NL requirements. Posing a question and getting an instant answer is beneficial in various quality-assurance scenarios, e.g., incompleteness detection. Answering requirements-related questions automatically is challenging since the scope of the search for answers can go beyond the given requirements specification. To that end, QAssist provides support for mining external domain-knowledge resources. Our work is one of the first initiatives to bring together QA and external domain knowledge for addressing requirements engineering challenges. We evaluate QAssist on a dataset covering three application domains and containing a total of 387 question-answer pairs. We experiment with state-of-the-art QA methods, based primarily on recent large-scale language models. In our empirical study, QAssist localizes the answer to a question to three passages within the requirements specification and within the external domain-knowledge resource with an average recall of 90.1% and 96.5%, respectively. QAssist extracts the actual answer to the posed question with an average accuracy of 84.2%.
DOI 原文 · arXiv · PDF(开放获取) · DBLP
@inproceedings{EzziniAAS23,
title = {AI-based Question Answering Assistance for Analyzing Natural-language Requirements},
author = {Saad Ezzini and Sallam Abualhaija and Chetan Arora and Mehrdad Sabetzadeh},
booktitle = {ICSE},
year = {2023},
doi = {10.1109/icse48619.2023.00113}
}