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

用于软件缺陷预测的无监督学习技术系统综述

A Systematic Review of Unsupervised Learning Techniques for Software Defect Prediction

Ning Li, Martin Shepperd, Yuchen Guo

摘要:

背景:无监督机器学习器越来越多地应用于软件缺陷预测。这是一种对软件从业者有价值的方法,因为它减少了对标记的训练数据的需求。目的:研究无监督学习技术在软件缺陷预测中的应用和性能。方法:我们进行了一项系统性文献综述,确定了49项研究,其中包含2456项单独的实验结果,这些结果符合我们在2000年1月至2018年3月期间发表的纳入标准。为了以一致的方式比较这些研究的预测性能,我们(重新)计算了混淆矩阵,并采用马修斯相关系数(MCC)作为我们的主要性能指标。结果:我们的荟萃分析表明,无监督模型与监督模型在项目内和跨项目预测方面具有可比性。在14类无监督模型中,模糊C均值(FCM)和模糊自组织映射(FSOMs)表现最好。此外,在我们能够检查的地方,我们发现近11%(262/2456)的已发表结果(包含在16篇论文中)内部不一致,另有33%(823/2456)提供的细节不足以让我们检查。结论:虽然许多因素影响分类器的性能,例如,数据集特征,广义上说,无监督分类器的性能似乎并不比我们评论中的监督分类器差。然而,我们注意到令人担忧的普遍现象:(i)明显错误的实验结果,(ii)要求不高的基准,(iii)不完整的报告。因此,我们鼓励研究人员在报告中做到全面。

英文摘要:

Background: Unsupervised machine learners have been increasingly applied to software defect prediction. It is an approach that may be valuable for software practitioners because it reduces the need for labeled training data. Objective: Investigate the use and performance of unsupervised learning techniques in software defect prediction. Method: We conducted a systematic literature review that identified 49 studies containing 2456 individual experimental results, which satisfied our inclusion criteria published between January 2000 and March 2018. In order to compare prediction performance across these studies in a consistent way, we (re-)computed the confusion matrices and employed the Matthews Correlation Coefficient (MCC) as our main performance measure. Results: Our meta-analysis shows that unsupervised models are comparable with supervised models for both within-project and cross-project prediction. Among the 14 families of unsupervised model, Fuzzy CMeans (FCM) and Fuzzy SOMs (FSOMs) perform best. In addition, where we were able to check, we found that almost 11% (262/2456) of published results (contained in 16 papers) were internally inconsistent and a further 33% (823/2456) provided insufficient details for us to check. Conclusion: Although many factors impact the performance of a classifier, e.g., dataset characteristics, broadly speaking, unsupervised classifiers do not seem to perform worse than the supervised classifiers in our review. However, we note a worrying prevalence of (i) demonstrably erroneous experimental results, (ii) undemanding benchmarks and (iii) incomplete reporting. We therefore encourage researchers to be comprehensive in their reporting.

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

↑