arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.15403cs.LGcs.NEmath.OC
收藏

硬件兼容的扰动训练算法的扩展性

Scaling of hardware-compatible perturbative training algorithms

National Institute of Standards and Technology(美国国家标准与技术研究院);Department of Physics, University of Colorado(科罗拉多大学物理系)

Bakhrom G. Oripov, Andrew Dienstfrey, Adam N. McCaughan, Sonia M. Buckley

AI总结:

本研究提出多路复用梯度下降(MGD)这一硬件兼容的扰动零阶训练方法,扩展了权重与节点扰动框架,发现其达到目标精度的时间不随网络规模线性增加,且能与动量等优化加速器兼容,为神经形态计算系统提供了实用解决方案。

摘要:

在本研究中,我们探讨了多路复用梯度下降(MGD)的能力,这是一种可扩展且高效的扰动零阶训练方法,用于在硬件中估计损失函数的梯度并通过随机梯度下降进行训练。我们将该框架扩展为包含权重扰动和节点扰动,并讨论了每种方法的优缺点。我们研究了使用MGD训练网络的时间与网络规模和任务复杂度之间的函数关系。先前的研究表明,扰动训练方法在大型问题上扩展性不佳,因为这些方法估计梯度的时间与网络参数数量呈线性关系。然而,在本研究中,我们表明达到目标精度(即真正解决感兴趣的问题)的时间并不遵循这种不理想的线性扩展,事实上往往会随网络规模增加而减少。此外,我们证明MGD可用于计算随机梯度下降中梯度的直接替代品,因此诸如动量等优化加速器可与MGD一起使用,确保与现有机器学习实践的兼容性。我们的结果表明,MGD能够在硬件上高效训练大型网络,达到与反向传播相当的精度,从而为未来的神经形态计算系统提供了一种实用解决方案。

英文摘要:

In this work, we explore the capabilities of multiplexed gradient descent (MGD), a scalable and efficient perturbative zeroth-order training method for estimating the gradient of a loss function in hardware and training it via stochastic gradient descent. We extend the framework to include both weight and node perturbation, and discuss the advantages and disadvantages of each approach. We investigate the time to train networks using MGD as a function of network size and task complexity. Previous research has suggested that perturbative training methods do not scale well to large problems, since in these methods the time to estimate the gradient scales linearly with the number of network parameters. However, in this work we show that the time to reach a target accuracy--that is, actually solve the problem of interest--does not follow this undesirable linear scaling, and in fact often decreases with network size. Furthermore, we demonstrate that MGD can be used to calculate a drop-in replacement for the gradient in stochastic gradient descent, and therefore optimization accelerators such as momentum can be used alongside MGD, ensuring compatibility with existing machine learning practices. Our results indicate that MGD can efficiently train large networks on hardware, achieving accuracy comparable to backpropagation, thus presenting a practical solution for future neuromorphic computing systems.

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

↑