arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.06968cs.LGcs.CVcs.NEstat.ML
收藏

前向梯度能否匹配反向传播?

Can Forward Gradient Match Backpropagation?

Sorbonne Université(索邦大学);CNRS(法国国家科学研究中心);Flatiron Institute(熨斗研究院);MILA(蒙特利尔学习算法研究所);Concordia University(康考迪亚大学)

Louis Fournier, Stéphane Rivaud, Eugene Belilovsky, Michael Eickenberg, Edouard Oyallon

AI总结:

针对前向梯度训练神经网络需猜测高维步长方向的难题,提出用小型局部辅助网络反馈偏置梯度猜测方向,实验验证该方法可大幅提升前向梯度效果。

摘要:

前向梯度(Forward Gradients)是在正向微分模式下使用方向导数的思路,近期研究表明其可用于神经网络训练,同时能避免反向传播梯度计算通常存在的问题,如锁定与内存需求。其代价是需要猜测步长方向,这在高维场景中难度很大。当前解决方案依赖各向同性猜测向量分布的加权平均,而我们提出让梯度猜测朝着更具潜力的方向大幅偏移,例如来自小型局部辅助网络的反馈。针对标准计算机视觉神经网络,我们开展了严谨研究,系统覆盖了多种梯度目标与梯度猜测的组合,包括文献中已提出的组合。我们发现,使用局部损失得到的梯度作为候选方向,能大幅提升前向梯度方法相较于随机噪声的效果。

英文摘要:

Forward Gradients - the idea of using directional derivatives in forward differentiation mode - have recently been shown to be utilizable for neural network training while avoiding problems generally associated with backpropagation gradient computation, such as locking and memorization requirements. The cost is the requirement to guess the step direction, which is hard in high dimensions. While current solutions rely on weighted averages over isotropic guess vector distributions, we propose to strongly bias our gradient guesses in directions that are much more promising, such as feedback obtained from small, local auxiliary networks. For a standard computer vision neural network, we conduct a rigorous study systematically covering a variety of combinations of gradient targets and gradient guesses, including those previously presented in the literature. We find that using gradients obtained from a local loss as a candidate direction drastically improves on random noise in Forward Gradient methods.

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

↑