arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.03991cs.SEcs.LG
收藏

可重复性ML的挑战:关于缺陷影响的实证研究

The challenge of reproducible ML: an empirical study on the impact of bugs

Polytechnique Montreal(蒙特利尔理工学院)

Emilio Rivera-Landos, Foutse Khomh, Amin Nikanjam

摘要:

在科学研究中,复制是一项至关重要的要求。当研究结果和科学论文被发现很难或不可能复制时,我们面临着一个被称为再现性危机的挑战。虽然在文献中承认了机器学习(ML)中对再现性的需求,但主要障碍是ML训练和推理中固有的非确定性。在本文中,我们建立了ML系统中导致非确定性的基本因素。一个框架,ReproduceML,然后介绍了确定性评估ML实验在一个真实的,受控的环境。ReproduceML允许研究人员研究软件配置对ML训练和推理的影响。使用ReproduceML,我们运行了一个案例研究:调查ML库内部的错误对ML实验性能的影响。这项研究试图量化流行的ML框架PyTorch中错误的发生对训练模型性能的影响。为此,提出了一种全面的方法来收集ML库的错误版本,并使用ReproduceML运行确定性ML实验。我们的初步发现是,基于我们有限的数据集,没有证据表明PyTorch中发生的错误确实会影响训练模型的性能。所提出的方法以及ReproduceML可用于对非确定性和错误的进一步研究。

英文摘要:

Reproducibility is a crucial requirement in scientific research. When results of research studies and scientific papers have been found difficult or impossible to reproduce, we face a challenge which is called reproducibility crisis. Although the demand for reproducibility in Machine Learning (ML) is acknowledged in the literature, a main barrier is inherent non-determinism in ML training and inference. In this paper, we establish the fundamental factors that cause non-determinism in ML systems. A framework, ReproduceML, is then introduced for deterministic evaluation of ML experiments in a real, controlled environment. ReproduceML allows researchers to investigate software configuration effects on ML training and inference. Using ReproduceML, we run a case study: investigation of the impact of bugs inside ML libraries on performance of ML experiments. This study attempts to quantify the impact that the occurrence of bugs in a popular ML framework, PyTorch, has on the performance of trained models. To do so, a comprehensive methodology is proposed to collect buggy versions of ML libraries and run deterministic ML experiments using ReproduceML. Our initial finding is that there is no evidence based on our limited dataset to show that bugs which occurred in PyTorch do affect the performance of trained models. The proposed methodology as well as ReproduceML can be employed for further research on non-determinism and bugs.

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

↑