arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1801.10269cs.SE
收藏

类再平衡技术对缺陷预测模型的性能和解释的影响

The Impact of Class Rebalancing Techniques on the Performance and Interpretation of Defect Prediction Models

Chakkrit Tantithamthavorn, Ahmed E. Hassan, Kenichi Matsumoto

摘要:

在类别不平衡数据集上训练的缺陷预测模型(即,有缺陷的模块和干净的模块的比例没有相等地表示)非常容易产生不准确的预测模型。之前的研究比较了类别重新平衡技术对缺陷预测模型性能的影响。由于使用不同的数据集,分类技术和性能指标的选择,以前的研究工作得出相互矛盾的结论。这种相互矛盾的结论使得很难得出实际的指导方针,类再平衡技术是否应适用于缺陷预测模型的上下文中。在本文中,我们研究了4种常用的类再平衡技术对10种常用的性能指标和缺陷预测模型的解释的影响。我们还构建了统计模型,以更好地了解在哪些实验设计设置类再平衡技术是有益的缺陷预测模型。通过对跨越专有和开源系统的101个数据集的案例研究,我们建议当质量保证团队希望提高识别软件缺陷的完整性时,类重新平衡技术是必要的(即,召回)。但是,在解释缺陷预测模型时,应避免使用类重新平衡技术。我们还发现,类重新平衡技术不影响AUC的措施。因此,在比较缺陷预测模型时,AUC应用作标准测量。

英文摘要:

Defect prediction models that are trained on class imbalanced datasets (i.e., the proportion of defective and clean modules is not equally represented) are highly susceptible to produce inaccurate prediction models. Prior research compares the impact of class rebalancing techniques on the performance of defect prediction models. Prior research efforts arrive at contradictory conclusions due to the use of different choice of datasets, classification techniques, and performance measures. Such contradictory conclusions make it hard to derive practical guidelines for whether class rebalancing techniques should be applied in the context of defect prediction models. In this paper, we investigate the impact of 4 popularly-used class rebalancing techniques on 10 commonly-used performance measures and the interpretation of defect prediction models. We also construct statistical models to better understand in which experimental design settings that class rebalancing techniques are beneficial for defect prediction models. Through a case study of 101 datasets that span across proprietary and open-source systems, we recommend that class rebalancing techniques are necessary when quality assurance teams wish to increase the completeness of identifying software defects (i.e., Recall). However, class rebalancing techniques should be avoided when interpreting defect prediction models. We also find that class rebalancing techniques do not impact the AUC measure. Hence, AUC should be used as a standard measure when comparing defect prediction models.

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

↑