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

神经网络优化中的不确定性和不稳定性

Nondeterminism and Instability in Neural Network Optimization

University of Auckland(奥克兰大学)

Cecilia Summers, Michael J. Dinneen

摘要:

神经网络优化中的不确定性会产生性能的不确定性,使得小的改进难以从运行间的变化中辨别出来。虽然可以通过训练多个模型副本来减少不确定性,但这样做既耗时又昂贵,而且会损害再现性。在这项工作中,我们建立了一个实验协议,了解优化的非确定性模型多样性的影响,使我们能够隔离各种来源的非确定性的影响。令人惊讶的是,我们发现,所有来源的非确定性模型多样性的措施有类似的影响。为了解释这个有趣的事实,我们将模型训练的不稳定性作为一个端到端的过程,作为关键的决定因素。我们表明,即使是一位的初始参数的变化导致模型收敛到截然不同的值。最后,我们提出了两种方法来减少不稳定性运行到运行的变异性的影响。

英文摘要:

Nondeterminism in neural network optimization produces uncertainty in performance, making small improvements difficult to discern from run-to-run variability. While uncertainty can be reduced by training multiple model copies, doing so is time-consuming, costly, and harms reproducibility. In this work, we establish an experimental protocol for understanding the effect of optimization nondeterminism on model diversity, allowing us to isolate the effects of a variety of sources of nondeterminism. Surprisingly, we find that all sources of nondeterminism have similar effects on measures of model diversity. To explain this intriguing fact, we identify the instability of model training, taken as an end-to-end procedure, as the key determinant. We show that even one-bit changes in initial parameters result in models converging to vastly different values. Last, we propose two approaches for reducing the effects of instability on run-to-run variability.

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

↑