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

面向需求可追溯性的自然语言处理

Natural Language Processing for Requirements Traceability

Jin L. C. Guo, Jan-Philipp Steghöfer, Andreas Vogelsang, Jane Cleland-Huang

AI总结:

该综述梳理了需求可追溯性领域的核心概念与典型任务,介绍了NLP技术在相关任务中的应用方法、实验设计方案及实践落地要点,为构建NLP驱动的自动化可追溯性方案提供基础指引。

摘要:

可追溯性,即追踪相关软件制品以支持对软件质量及其开发过程进行推理的能力,在需求工程和软件工程中发挥着关键作用,尤其是在安全关键系统中。本章全面综述了过去十年间自然语言处理(NLP)及相关技术取得显著进展的需求可追溯性代表性任务。我们首先给出需求场景下可追溯性的定义、整体工程流程,以及与可追溯性任务相关的其他重要概念。随后,我们详细讨论了两项任务,包括追踪链接恢复和追踪链接维护。我们还介绍了另外两项与实际场景中追踪链接使用相关的任务。针对每项任务,我们阐释了任务特点、如何通过NLP技术解决该任务,以及如何设计并开展实验以验证NLP技术的性能。我们进一步讨论了有效应用NLP技术的实际考量因素,以及在数据集收集、指标选择和评估NLP方法时人类角色方面的有效性评估问题。总体而言,本章为读者提供了在实践中设计由NLP驱动的自动化可追溯性解决方案的基础知识。

英文摘要:

Traceability, the ability to trace relevant software artifacts to support reasoning about the quality of the software and its development process, plays a crucial role in requirements and software engineering, particularly for safety-critical systems. In this chapter, we provide a comprehensive overview of the representative tasks in requirement traceability for which natural language processing (NLP) and related techniques have made considerable progress in the past decade. We first present the definition of traceability in the context of requirements and the overall engineering process, as well as other important concepts related to traceability tasks. Then, we discuss two tasks in detail, including trace link recovery and trace link maintenance. We also introduce two other related tasks concerning when trace links are used in practical contexts. For each task, we explain the characteristics of the task, how it can be approached through NLP techniques, and how to design and conduct the experiment to demonstrate the performance of the NLP techniques. We further discuss practical considerations on how to effectively apply NLP techniques and assess their effectiveness regarding the data set collection, the metrics selection, and the role of humans when evaluating the NLP approaches. Overall, this chapter prepares the readers with the fundamental knowledge of designing automated traceability solutions enabled by NLP in practice.

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

↑