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

可解释的软件缺陷预测:我们到了吗?

Explainable Software Defect Prediction: Are We There Yet?

Jiho Shin, Reem Aleithan, Jaechang Nam, Junjie Wang, Song Wang

摘要:

解释软件缺陷预测模型的预测结果是一项具有挑战性和实用性的任务,它可以为开发人员提供有用的信息,以了解和修复预测的错误。为了解决这个问题,最近,Jiarpakdee等人提出使用{两种最先进的}模型不可知技术(即,LIME和BreakDown)来解释缺陷预测模型的预测结果。他们的实验表明,这些工具可以生成有希望的结果,生成的解释可以帮助开发人员理解预测结果。然而,事实上,LIME和BreakDown仅在单个软件缺陷预测模型设置上进行了检查,这使得人们对它们在具有各种设置的软件缺陷预测模型中的一致性和可靠性提出了质疑。在本文中,我们着手研究基于模型不可知技术的解释生成方法(即,LIME和BreakDown)对具有不同设置的软件缺陷预测模型的影响,例如,不同的数据采样技术、不同的机器学习分类器和不同的预测场景。具体来说,我们使用LIME和BreakDown来生成具有不同设置的软件缺陷预测模型下的相同实例的解释,然后检查实例的生成解释的一致性。在我们的实验中,我们重用了来自Jiarpakdee等人的相同缺陷数据。结果表明,对于相同的测试实例,在不同的软件缺陷预测设置下,LIME和BreakDown产生的解释不一致,这使得它们产生的解释不可靠。总的来说,通过这项研究,我们呼吁在可解释的软件缺陷预测方面进行更多的研究,以实现一致和可靠的解释。

英文摘要:

Explaining the prediction results of software defect prediction models is a challenging while practical task, which can provide useful information for developers to understand and fix the predicted bugs. To address this issue, recently, Jiarpakdee et al. proposed to use {two state-of-the-art} model-agnostic techniques (i.e., LIME and BreakDown) to explain the prediction results of bug prediction models. Their experiments show these tools can generate promising results and the generated explanations can assist developers understand the prediction results. However, the fact that LIME and BreakDown were only examined on a single software defect prediction model setting calls into question about their consistency and reliability across software defect prediction models with various settings. In this paper, we set out to investigate the consistency and reliability of model-agnostic technique based explanation generation approaches (i.e., LIME and BreakDown) on software defect prediction models with different settings , e.g., different data sampling techniques, different machine learning classifiers, and different prediction scenarios. Specifically, we use both LIME and BreakDown to generate explanations for the same instance under software defect prediction models with different settings and then check the consistency of the generated explanations for the instance. We reused the same defect data from Jiarpakdee et al. in our experiments. The results show that both LIME and BreakDown generate inconsistent explanations under different software defect prediction settings for the same test instances, which makes them unreliable for explanation generation. Overall, with this study, we call for more research in explainable software defect prediction towards achieving consistent and reliable explanation generation.

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

↑