arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.10780cs.LGcs.NE
收藏

相关性正在破坏你的梯度下降

Correlations Are Ruining Your Gradient Descent

Department of Machine Learning and Neural Computing(机器学习与神经计算系);Donders Institute for Brain, Cognition and Behaviour(脑、认知与行为donders研究所)

Joshua Offergeld, Nasir Ahmad

AI总结:

本文将自然梯度下降、数据去相关与反向传播近似方法结合讨论,提出神经网络各层输入去相关方法,显著提升训练速度及反向传播近似方法性能,为相关领域提供新方向。

摘要:

本文将(自然)梯度下降、数据去相关和反向传播的近似方法纳入共同讨论。自然梯度下降阐明了通过考虑损失景观的局部曲率,如何改进指向最陡下降方向的梯度向量。我们扩展这一视角,表明要完全解决神经网络中自然梯度所揭示的问题,必须认识到任何线性变换下的数据相关性(包括神经网络每一层的节点响应)会导致模型参数间形成非正交归一关系。解决该问题需要一种在神经网络各层对输入进行去相关的方法。我们描述了一系列已提出的节点输出去相关和白化方法,并在此基础上扩展,提出一种特别适用于分布式计算和计算神经科学的新方法。在多层神经网络中实现去相关后,我们发现不仅反向传播训练速度显著加快,过去表现极差的现有反向传播近似方法在准确性和收敛速度上也得到显著提升。这为先前被摒弃的近似梯度下降方法、模拟和神经形态硬件的训练方法提供了前进路线,并可能为大脑中去相关过程的有效性和实用性提供见解。

英文摘要:

Natural gradient descent, and the preconditioned optimizers which have followed from it, correct gradient descent by estimating curvature and applying its inverse to the gradient. For any single layer of a deep neural network, this correction can be shown to approximately separate into two factors: one which accounts for correlations in the gradient signal, and one which accounts for correlations in the data arriving at that layer. Herein we show that this second factor can be expressed as a change of basis rather than of curvature and, considered thus, it can be removed from the optimizer entirely and placed within the network itself. Specifically, we show that, once forward weights are corrected, right-sided natural gradient descent can be implemented in a form which has three exactly equivalent forms: a gradient preconditioner, a decorrelating linear transform in the forward pass, or a set of recurrent dynamics in which all updates are Hebbian and rely only upon locally available signals. The (recurrent) decorrelation method we discover aligns closely with proposed methods for inhibitory learning and homeostatic plasticity in the brain. Notably, our transform requires no matrix inverse, no matrix decomposition, and no information beyond that which is available at an individual synapse. It can therefore be applied in distributed and physically constrained systems, including neuromorphic hardware and nervous systems, where existing preconditioners cannot. We demonstrate its effectiveness empirically in convolutional and residual network models while significantly improving a range of approximate biologically plausible methods for credit assignment.

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

↑