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.
B-PL-PINN: Stabilizing PINN Training with Bayesian Pseudo Labeling
Institute of Human-Centred Computing, Graz University of Technology, Graz, Austria(以人为中心计算研究所,格拉茨技术大学,格拉茨,奥地利);Know Center Research GmbH, Graz, Austria(格拉茨know研究中心有限责任公司,格拉茨,奥地利);Signal Processing and Speech Communication Laboratory, Graz University of Technology, Graz, Austria(信号处理与语音通信实验室,格拉茨技术大学,格拉茨,奥地利)
Numerical influence of ReLU'(0) on backpropagation
IRT Saint Exupéry(圣埃克苏佩里研究所);ISAE-SUPAERO(法国国立高等航空航天学院);ANITI(图卢兹人工智能跨学科研究所);Toulouse School of Economics(图卢兹经济学院);Université Toulouse 1 Capitole(图卢兹第一大学);Institut de Mathématiques de Toulouse(图卢兹数学研究所);CNRS(法国国家科学研究中心);IRIT, Université Paul Sabatier(图卢兹计算机科学研究所,保罗·萨巴捷大学)
MGUP: A Momentum-Gradient Alignment Update Policy for Stochastic Optimization
Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Shenzhen University of Advanced Technology(深圳理工大学);Pengcheng Laboratory(鹏城实验室);University of Chinese Academy of Sciences(中国科学院大学)
Revisiting Recursive Least Squares for Training Deep Neural Networks
Hainan University(海南大学);Yangtze Normal University(长江师范学院)
递归最小二乘(Recursive Least Squares,RLS)算法由于其快速收敛性曾被广泛用于训练小规模神经网络。然而,以前的RLS算法不适合训练深度神经网络(DNN),因为它们具有高计算复杂性和太多的先决条件。为了克服这些缺点,本文提出了三种新的RLS优化算法,分别用于训练前馈神经网络、卷积神经网络和递归神经网络(包括长短期记忆网络),算法采用误差反向传播和我们的平均逼近RLS方法,并结合线性最小二乘损失函数关于隐层线性输出的等效梯度。与以往的RLS优化算法相比,我们的算法是简单和优雅的。它们可以被看作是一种改进的随机梯度下降(SGD)算法,它使用每层的逆自相关矩阵作为自适应学习率。它们的时间和空间复杂度仅是SGD的几倍。它们只要求损失函数是均方误差,输出层的激活函数是可逆的。事实上,我们的算法也可以与其他一阶优化算法结合使用,而不需要这两个先决条件。此外,我们提出了两个改进的方法,我们的算法。最后,我们在MNIST,CIFAR-10和IMDB数据集上证明了它们与Adam算法的有效性,并通过实验研究了它们的超参数的影响。