Scaling Forward Gradient With Local Losses
Mengye Ren, Simon Kornblith, Renjie Liao, Geoffrey Hinton
TL;DR
Forward-gradient learning is explored as a biologically plausible alternative to backpropagation, addressing high variance in high-dimensional settings by perturbing activations and introducing many local greedy losses via a LocalMixer architecture. The approach also employs replicated local losses across block, patch, and group dimensions with carefully designed feature aggregators and normalization to maintain a global-informed learning signal locally. Theoretical analyses establish unbiasedness of the estimators and quantify variance, while extensive experiments show that activity-perturbed FG with local losses matches BP on MNIST and CIFAR and outperforms prior backprop-free methods on ImageNet, highlighting scalability and practical potential for biologically plausible, model-parallel learning. Overall, the work demonstrates a viable path toward scalable, local-learning-based deep nets that approach backprop performance on standard vision benchmarks and suggests design principles for future biologically inspired learning systems.
Abstract
Forward gradient learning computes a noisy directional gradient and is a biologically plausible alternative to backprop for learning deep neural networks. However, the standard forward gradient algorithm, when applied naively, suffers from high variance when the number of parameters to be learned is large. In this paper, we propose a series of architectural and algorithmic modifications that together make forward gradient learning practical for standard deep learning benchmark tasks. We show that it is possible to substantially reduce the variance of the forward gradient estimator by applying perturbations to activations rather than weights. We further improve the scalability of forward gradient by introducing a large number of local greedy loss functions, each of which involves only a small number of learnable parameters, and a new MLPMixer-inspired architecture, LocalMixer, that is more suitable for local learning. Our approach matches backprop on MNIST and CIFAR-10 and significantly outperforms previously proposed backprop-free algorithms on ImageNet.
