Scaling of hardware-compatible perturbative training algorithms

Bakhrom G. Oripov, Andrew Dienstfrey, Adam N. McCaughan, Sonia M. Buckley
1/26/2025
cs.LGcs.NEmath.OC

No official code found. Best implementation: bakhromtjk/mgd_scaling (0 stars, GPL-2.0, last commit 2025-01-16).

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.

View on arXivView PDF

Code Implementations(1)

GPL-2.0

Code accompanying "Scaling of hardware-compatible perturbative training1 algorithms" paper

00JuliaDec 19, 20241 years agoGPL-2.0

Similar Papers

Cite this paper

@article{oripov2025scaling,
  title  = {Scaling of hardware-compatible perturbative training algorithms},
  author = {Bakhrom G. Oripov and Andrew Dienstfrey and Adam N. McCaughan and Sonia M. Buckley},
  year   = {2025},
  eprint = {2501.15403},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.15403v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.15403.svg)](https://codeofpaper.com/paper/2501.15403)

Discussion