调查基于深度学习的软件故障预测的可复现性
Investigating Reproducibility in Deep Learning-Based Software Fault Prediction
AI总结:
本研究系统回顾2019-2022年56篇顶级会议论文,发现软件故障预测领域虽多数提供模型代码,但基线、预处理和调参代码缺失,可复现性不足,呼吁改进研究实践。
摘要:
在过去几年中,深度学习方法已被应用于广泛的软件工程(SE)任务,特别是自动预测和定位软件故障这一重要任务。然而,随着日益复杂的机器学习模型的快速采用,学者们越来越难以复现文献中报告的结果。当所应用的深度学习模型和评估方法未被适当记录,且代码和数据未共享时,情况尤其如此。鉴于最近在其他应用机器学习领域中关于可复现性和进展的一些非常令人担忧的发现,本工作的目标是分析软件工程领域,特别是软件故障预测领域,在多大程度上受到类似问题的困扰。因此,我们对当前文献进行了系统性回顾,并检查了2019年至2022年间在顶级软件工程会议上发表的56篇研究文章的可复现性水平。我们的分析显示,学者们显然普遍意识到可复现性问题,约三分之二的论文为其提出的深度学习模型提供了代码。然而,事实证明,在绝大多数情况下,可复现性的关键要素缺失,如比较基线的代码、数据预处理代码或超参数调优代码。在这些情况下,精确复现当前研究文献中的结果仍然具有挑战性。总体而言,我们的元分析呼吁改进研究实践,以确保基于机器学习的研究的可复现性。
英文摘要:
Over the past few years, deep learning methods have been applied for a wide range of Software Engineering (SE) tasks, including in particular for the important task of automatically predicting and localizing faults in software. With the rapid adoption of increasingly complex machine learning models, it however becomes more and more difficult for scholars to reproduce the results that are reported in the literature. This is in particular the case when the applied deep learning models and the evaluation methodology are not properly documented and when code and data are not shared. Given some recent -- and very worrying -- findings regarding reproducibility and progress in other areas of applied machine learning, the goal of this work is to analyze to what extent the field of software engineering, in particular in the area of software fault prediction, is plagued by similar problems. We have therefore conducted a systematic review of the current literature and examined the level of reproducibility of 56 research articles that were published between 2019 and 2022 in top-tier software engineering conferences. Our analysis revealed that scholars are apparently largely aware of the reproducibility problem, and about two thirds of the papers provide code for their proposed deep learning models. However, it turned out that in the vast majority of cases, crucial elements for reproducibility are missing, such as the code of the compared baselines, code for data pre-processing or code for hyperparameter tuning. In these cases, it therefore remains challenging to exactly reproduce the results in the current research literature. Overall, our meta-analysis therefore calls for improved research practices to ensure the reproducibility of machine-learning based research.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。