arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.00262cs.SE
收藏

基于大语言模型的低成本需求变更影响分析

LLM-Driven Cost-Effective Requirements Change Impact Analysis

University of Ottawa(渥太华大学);University of Luxembourg(卢森堡大学);Monash University(莫纳什大学);University of Limerick(利默里克大学)

Romina Etezadi, Sallam Abualhaija, Chetan Arora, Lionel Briand

AI总结:

本文提出ProReFiCIA方法,利用大语言模型自动识别需求变更影响,实验显示其在未见过的工业数据集上召回率达85.7%,且成本低,仅需审查3%的需求。

摘要:

需求在软件开发生命周期中固然是会变化的。在有限的预算下,要求工程师手动识别这些变化对其他需求的影响是容易出错且耗费精力的。这可能导致遗漏受影响的需求,如果不妥善管理,可能在后续任务中造成严重问题。受大语言模型(LLMs)在不同领域中巨大潜力的启发,我们提出ProReFiCIA,一种基于LLMs自动识别变更影响需求的方法。我们使用多个LLMs和针对此任务定制的提示变体对ProReFiCIA进行了广泛评估。使用最佳的LLM和提示变体组合,ProReFiCIA在未见过的工业数据集上实现了85.7%的召回率,证明了其在识别受影响需求方面的有效性。此外,应用ProReFiCIA的成本很小,因为工程师只需审查预测受影响的需求,这些需求占整个需求集的3.0%。最后,通过RAG将领域知识纳入模型中,召回率提高到95.7%,而成本仅增加到3.6%。

英文摘要:

Requirements are inherently subject to change throughout the software development lifecycle. Within the limited budget available to requirements engineers, manually identifying the impact of such changes on other requirements is error-prone and effort-intensive, especially in regulated domains. This can lead to overlooked impacted requirements, which, if not properly managed, can cause serious issues in downstream tasks. Inspired by the growing potential of large language models (LLMs) across diverse domains, we propose ProReFiCIA, an LLM-driven approach to automatically identify impacted requirements when changes occur. We conduct an extensive evaluation of ProReFiCIA using several LLMs and prompt variants tailored to this task. Using the best LLM-prompt combination, ProReFiCIA achieves 85.7% recall on an unseen industrial dataset, demonstrating its effectiveness in identifying impacted requirements. Further, the cost of applying ProReFiCIA remains small, as the engineer only needs to review the predicted impacted requirements, which represent 3.0% of the entire set of requirements. Lastly, incorporating domain knowledge via RAG increases recall to 95.8% while slightly raising the cost to 3.4%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑