神经网络训练中的随机性:表征工具的影响
Randomness In Neural Network Training: Characterizing The Impact of Tooling
摘要:
对机器学习中确定性的追求不成比例地集中在描述算法设计选择引入的噪声的影响上。在这项工作中,我们解决了一个不太好理解和研究的问题:我们的工具选择如何将随机性引入深度神经网络训练。我们在不同类型的硬件、加速器、最先进的网络和开源数据集上进行大规模实验,以表征工具选择如何影响系统中的非确定性水平、所述非确定性的影响以及消除不同噪声源的成本。我们的发现令人惊讶,并表明非决定论的影响是微妙的。虽然顶级指标(如top-1准确性)不会受到明显影响,但数据分布某些部分的模型性能对随机性的引入更为敏感。我们的研究结果表明,确定性工具对AI安全至关重要。然而,我们也发现,确保确定性的成本在神经网络架构和硬件类型之间变化很大,例如,相对于非确定性训练,在广泛使用的GPU加速器架构的范围上具有高达$746\%$、$241\%$和$196\%$的开销。本文中使用的源代码可以在https://github.com/usyd-fsalab/NeuralNetworkRandomness上获得。
英文摘要:
The quest for determinism in machine learning has disproportionately focused on characterizing the impact of noise introduced by algorithmic design choices. In this work, we address a less well understood and studied question: how does our choice of tooling introduce randomness to deep neural network training. We conduct large scale experiments across different types of hardware, accelerators, state of art networks, and open-source datasets, to characterize how tooling choices contribute to the level of non-determinism in a system, the impact of said non-determinism, and the cost of eliminating different sources of noise. Our findings are surprising, and suggest that the impact of non-determinism in nuanced. While top-line metrics such as top-1 accuracy are not noticeably impacted, model performance on certain parts of the data distribution is far more sensitive to the introduction of randomness. Our results suggest that deterministic tooling is critical for AI safety. However, we also find that the cost of ensuring determinism varies dramatically between neural network architectures and hardware types, e.g., with overhead up to $746\%$, $241\%$, and $196\%$ on a spectrum of widely used GPU accelerator architectures, relative to non-deterministic training. The source code used in this paper is available at https://github.com/usyd-fsalab/NeuralNetworkRandomness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。