一句话:针对真实项目可追溯性中的数据不平衡与稀疏问题,提出半监督预处理框架 SPLINT,提升 ML 追溯链接分类性能。
软件制品可追溯性对软件开发活动至关重要,但人工创建与维护成本高,自动方法因而受关注。现有基于机器学习的追溯链接分类器在真实项目中常表现不佳。本文通过分析多个工业数据集,识别出数据不平衡与稀疏性两个关键挑战,并提出框架 SPLINT:将混合文本相似度度量与半监督学习策略结合,作为学习型可追溯性方法的增强,其中采用调整的类别平衡与自训练策略(CBST-Adjust)从无标注追溯集中为少数类选择伪标签。作者在六个开源平台和十个工业数据集上评估。结果显示,SPLINT 在两个社区数据集上性能更高;在受数据不平衡与稀疏性严重影响的工业数据集上,F2 平均提升超过 14%,AUC 平均提升超过 8%,且 CBST-Adjust 能有效选择少数类伪标签,体现其实用性。
The traceability of software artifacts has been recognized as an important factor to support various activities in software development processes. However, traceability can be difficult and time-consuming to create and maintain manually, thereby automated approaches have gained much attention. Unfortunately, existing automated approaches for traceability suffer from practical issues. This paper aims to gain an understanding of the potential challenges for the underperforming of the state-of-the-art, ML-based trace link classifiers applied in real-world projects. By investigating different industrial datasets, we found that two critical (and classic) challenges, i.e. data imbalance and sparse problems, lie in real-world projects’ traceability automation. To overcome these challenges, we developed a framework called SPLINT to incorporate hybrid textual similarity measures and semi-supervised learning strategies as enhancements to the learning-based traceability approaches. We carried out experiments with six open-source platforms and ten industry datasets. The results confirm that SPLINT is able to operate at higher performance on two communities’ datasets. Specifically, the industrial datasets, which significantly suffer from data imbalance and sparsity problems, show an increase in F2-score over 14% and AUC over 8% on average. The adjusted class-balancing and self-training policies used in SPLINT (CBST-Adjust) also work effectively for the selection of pseudo-labels on minor classes from unlabeled trace sets, demonstrating SPLINT’s practicability.
DOI 原文 ·
@inproceedings{paperbot7122,
title = {Semi-supervised pre-processing for learning-based traceability framework on real-world software projects},
author = {Liming Dong and He Zhang and Wei Liu and Zhiluo Weng and Hongyu Kuang},
booktitle = {FSE},
year = {2022},
doi = {10.1145/3540250.3549151}
}