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

使用改进型Adam优化器稳定16位神经网络训练中的反向传播

Stabilizing Backpropagation in 16-bit Neural Training with Modified Adam Optimizer

Stony Brook University, Department of Computer Science, United States(石溪大学计算机科学系, 美国);OpenNN Lab, MODULABS, Republic of Korea(开放神经网络实验室, MODULABS, 韩国)

Juyoung Yun

AI总结:

本研究针对16位神经网络训练中Adam优化器存在的数值不稳定问题,发现epsilon超参数是主要诱因,提出微调epsilon的改进方法以稳定训练,为低精度计算下的可靠模型部署提供支撑。

摘要:

本研究针对机器学习模型16位计算中观测到的数值不稳定性这一关键问题展开研究。这类不稳定性在使用Adam等主流优化算法时尤为突出,往往会导致深度神经网络训练不稳定,不仅会干扰学习过程,还会给可靠模型在实际应用中的部署带来重大挑战。我们经研究发现,epsilon超参数是导致该不稳定性的主要来源。细致探究表明,在16位计算中对epsilon进行微调可提升Adam的数值稳定性,从而实现更稳定的16位神经网络训练。我们提出了一种新颖可靠的方法,利用Adam优化器的更新来增强学习过程的稳定性。本研究成果深化了对低精度计算中优化挑战的认知,为保障深度神经网络训练稳定性提供了解决方案,为其在各类应用中的可靠使用铺平了道路。

英文摘要:

In this research, we address critical concerns related to the numerical instability observed in 16-bit computations of machine learning models. Such instability, particularly when employing popular optimization algorithms like Adam, often leads to unstable training of deep neural networks. This not only disrupts the learning process but also poses significant challenges in deploying dependable models in real-world applications. Our investigation identifies the epsilon hyperparameter as the primary source of this instability. A nuanced exploration reveals that subtle adjustments to epsilon within 16-bit computations can enhance the numerical stability of Adam, enabling more stable training of 16-bit neural networks. We propose a novel, dependable approach that leverages updates from the Adam optimizer to bolster the stability of the learning process. Our contributions provide deeper insights into optimization challenges in low-precision computations and offer solutions to ensure the stability of deep neural network training, paving the way for their dependable use in various applications.

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

↑