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

多版本项目缺陷数据集中不一致标签的广泛实证研究

An extensive empirical study of inconsistent labels in multi-version-project defect data sets

Shiran Liu, Zhaoqiang Guo, Yanhui Li, Chuanqi Wang, Lin Chen, Zhongbin Sun, Yuming Zhou

摘要:

缺陷数据集的标注质量直接影响缺陷预测模型的可靠性。在这项研究中,对于多版本项目缺陷数据集,我们提出了一种方法来自动检测标签不一致的实例(即具有相同的源代码,但不同的标签在多个版本的软件项目的实例的现象),并了解其对缺陷预测模型的评估和解释的影响。基于五个多版本项目缺陷数据集(无论是广泛使用的还是最新的文献中),我们发现:(1)在所调查的缺陷数据集中,大多数版本都包含不同程度的不一致标签;(二)在训练数据集合中存在不一致的标签可显著地改变缺陷预测模型的预测性能识别实质上不同的真正有缺陷的模块;以及(3)由于存在不一致的标签,缺陷预测模型中的独立变量的重要性排序可以实质上改变。上述发现揭示了缺陷数据集中不一致的标签可以深刻地改变缺陷预测模型的预测能力和解释。因此,我们强烈建议从业者应该检测和排除缺陷数据集中不一致的标签,以避免其对缺陷预测模型的潜在负面影响。更重要的是,研究人员有必要改进现有的缺陷标签收集方法,以减少不一致的标签。此外,有必要重新检查以前的研究使用多版本项目的缺陷数据集与高比例的不一致的标签的实验结论。

英文摘要:

The label quality of defect data sets has a direct influence on the reliability of defect prediction models. In this study, for multi-version-project defect data sets, we propose an approach to automatically detecting instances with inconsistent labels (i.e. the phenomena of instances having the same source code but different labels over multiple versions of a software project) and understand their influence on the evaluation and interpretation of defect prediction models. Based on five multi-version-project defect data sets (either widely used or the most up-to-date in the literature) collected by diverse approaches, we find that: (1) most versions in the investigated defect data sets contain inconsistent labels with varying degrees; (2) the existence of inconsistent labels in a training data set may considerably change the prediction performance of a defect prediction model as well as can lead to the identification of substantially different true defective modules; and (3) the importance ranking of independent variables in a defect prediction model can be substantially shifted due to the existence of inconsistent labels. The above findings reveal that inconsistent labels in defect data sets can profoundly change the prediction ability and interpretation of a defect prediction model. Therefore, we strongly suggest that practitioners should detect and exclude inconsistent labels in defect data sets to avoid their potential negative influence on defect prediction models. What is more, it is necessary for researchers to improve existing defect label collection approaches to reduce inconsistent labels. Furthermore, there is a need to re-examine the experimental conclusions of previous studies using multi-version-project defect data sets with a high ratio of inconsistent labels.

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

↑