Scaling of hardware-compatible perturbative training algorithms
Bakhrom G. Oripov, Andrew Dienstfrey, Adam N. McCaughan, Sonia M. Buckley
TL;DR
This paper introduces multiplexed gradient descent (MGD), a scalable, hardware-friendly perturbative method for estimating gradients without full backpropagation, extended to both weight and node perturbations. It demonstrates that the gradient-estimation time grows with network size, but the time to reach a specified accuracy does not necessarily scale linearly and can even improve for larger networks, enabling training of networks with over a million parameters on neuromorphic hardware. By proving that the MGD gradient estimator is unbiased and compatible with momentum and Adam, the authors show that standard optimization practices can be applied in a zero-order, hardware-centric setting, achieving accuracy comparable to backpropagation. The work provides a practical pathway toward efficient, in-situ training of large-scale neural networks on neuromorphic and analog hardware, with hardware-aware tunings like the perturbation time constant $\tau_\theta$ and perturbation type (weight vs node) to balance update costs and convergence speed.
Abstract
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.
