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

增强需求可追溯链接恢复:基于T-SimCSE的新型方法

Enhancing Requirements Traceability Link Recovery: A Novel Approach with T-SimCSE

School of Computer Science and Technology, Zhejiang Gongshang University(浙江工商大学计算机科学与技术学院);Zhejiang Key Laboratory of Big Data and Future E-Commerce Technology(浙江省大数据与未来电子商务技术重点实验室);Department of Computer Science, The University of Manchester(曼彻斯特大学计算机科学系)

Ye Wang, Wenqing Wang, Kun Hu, Qiao Huang, Liping Zhao

AI总结:

本文提出基于SimCSE的T-SimCSE方法,通过计算需求与目标制品的相似性并重新排序,提升需求可追溯链接的恢复性能。

摘要:

需求可追溯性在确保软件质量和响应需求变化方面起着重要作用。需求可追溯链接(如需求与其他软件制品之间的链接)是支撑需求可追溯性建模和实现的基础。随着人工智能的快速发展,越来越多的预训练语言模型(PLMs)技术被应用于需求可追溯链接的自动恢复。然而,这些方法恢复的需求可追溯链接并不够准确,许多方法需要大量的标注数据集进行训练。目前,可用的标注数据集非常有限。为了解决这些限制,本文提出了一种新的需求可追溯链接恢复方法,称为T-SimCSE,其基于一个预训练模型——SimCSE。SimCSE具有不需要标注数据、适用范围广、性能良好的优点。T-SimCSE首先使用SimCSE模型计算需求与目标制品之间的相似性,并采用一个新的度量标准(即特异性)对这些目标制品进行重新排序。最后,将在需求与前K个目标制品之间创建追溯链接。我们通过与其它方法进行比较,在十个公开数据集上评估了T-SimCSE。结果表明,T-SimCSE在召回率和平均平均精度(MAP)方面表现优异。

英文摘要:

Requirements traceability plays an important role in ensuring software quality and responding to changes in requirements. Requirements trace links (such as the links between requirements and other software artifacts) underpin the modeling and implementation of requirements traceability. With the rapid development of artificial intelligence, more and more pre-trained language models (PLMs) techniques are applied to the automatic recovery of requirements trace links. However, the requirements traceability links recovered by these approaches are not accurate enough, and many approaches require a large labeled dataset for training. Currently, there are very few labeled datasets available. To address these limitations, this paper proposes a novel requirements traceability link recovery approach called T-SimCSE, which is based on a PLM -- SimCSE. SimCSE has the advantages of not requiring labeled data, having broad applicability, and performing well. T-SimCSE firstly uses the SimCSE model to calculate the similarity between requirements and target artifacts, and employs a new metric (i.e. specificity) to reorder those target artifacts. Finally, the trace links are created between the requirement and the top-K target artifacts. We have evaluated T-SimCSE on ten public datasets by comparing them with other approaches. The results show that T-SimCSE achieves superior performance in terms of recall and Mean Average Precision (MAP).

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

↑