MPLinker:用于问题-提交链接恢复的多模板提示微调与对抗训练
MPLinker: Multi-template Prompt-tuning with Adversarial Training for Issue-commit Link Recovery
AI总结:
针对问题-提交链接恢复任务中预训练语言模型语义信息利用不足的问题,提出MPLinker方法,通过多模板提示微调与对抗训练提升模型性能与泛化能力,在多个开源项目上显著超越现有方法。
摘要:
近年来,被称为提示微调的预训练、提示与预测范式在自然语言处理(NLP)中取得了显著成功。软件可追踪性(ST)中的问题-提交链接恢复(ILR)在提升软件系统的可靠性、质量和安全性方面发挥着重要作用。当前的ILR方法利用预训练语言模型(PLMs)和专用神经网络将ILR转换为分类任务。这些方法未能充分利用PLMs中嵌入的语义信息,导致无法达到令人接受的性能。为了解决这一局限性,我们引入了一种新范式:用于问题-提交链接恢复的多模板提示微调与对抗训练(MPLinker)。MPLinker通过基于模板的提示微调将ILR任务重新定义为完形填空任务,并结合对抗训练以增强模型泛化能力并减少过拟合。我们在六个开源项目上使用一套全面的性能指标评估了MPLinker。实验结果表明,MPLinker的平均F1分数为96.10%,精确率为96.49%,召回率为95.92%,MCC为94.04%,AUC为96.05%,ACC为98.15%,显著优于现有的最先进方法。总体而言,MPLinker提升了ILR模型的性能和泛化能力,并为ILR引入了创新概念和方法。MPLinker的复现包可在https://github.com/WTU-intelligent-software-development/MPLinker获取。
英文摘要:
In recent years, the pre-training, prompting and prediction paradigm, known as prompt-tuning, has achieved significant success in Natural Language Processing (NLP). Issue-commit Link Recovery (ILR) in Software Traceability (ST) plays an important role in improving the reliability, quality, and security of software systems. The current ILR methods convert the ILR into a classification task using pre-trained language models (PLMs) and dedicated neural networks. these methods do not fully utilize the semantic information embedded in PLMs, resulting in not achieving acceptable performance. To address this limitation, we introduce a novel paradigm: Multi-template Prompt-tuning with adversarial training for issue-commit Link recovery (MPLinker). MPLinker redefines the ILR task as a cloze task via template-based prompt-tuning and incorporates adversarial training to enhance model generalization and reduce overfitting. We evaluated MPLinker on six open-source projects using a comprehensive set of performance metrics. The experiment results demonstrate that MPLinker achieves an average F1-score of 96.10%, Precision of 96.49%, Recall of 95.92%, MCC of 94.04%, AUC of 96.05%, and ACC of 98.15%, significantly outperforming existing state-of-the-art methods. Overall, MPLinker improves the performance and generalization of ILR models, and introduces innovative concepts and methods for ILR. The replication package for MPLinker is available at https://github.com/WTU-intelligent-software-development/MPLinker
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。