Skip to main content
QUICK REVIEW

[Paper Review] Scaling Forward Gradient With Local Losses

Mengye Ren, Simon Kornblith|arXiv (Cornell University)|Oct 7, 2022
Domain Adaptation and Few-Shot LearningComputer Science12 citations
TL;DR

This paper proposes a biologically plausible deep learning method using forward gradient learning with activity perturbations and local greedy losses to reduce gradient variance and improve scalability. By applying perturbations to activations rather than weights and using a novel LocalMixer architecture with grouped, localized losses, the method achieves performance comparable to backprop on MNIST and CIFAR-10 and significantly outperforms prior backprop-free methods on ImageNet.

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.

Motivation & Objective

  • Address the high variance and poor scalability of standard forward gradient learning in large deep networks.
  • Develop a biologically plausible alternative to backpropagation that avoids symmetric backward weight transport and global synchronization.
  • Improve training stability and performance by reducing gradient variance through activation perturbation and localized loss functions.
  • Design a new architecture, LocalMixer, optimized for local learning and model-parallel computation.
  • Demonstrate practical performance on standard vision benchmarks (MNIST, CIFAR-10, ImageNet) without relying on backpropagation.

Proposed method

  • Apply forward-mode automatic differentiation to compute directional gradients using perturbations on activations instead of weights, reducing gradient variance.
  • Introduce a large number of local greedy loss functions, each involving only a small subset of parameters, to isolate learning and reduce variance.
  • Design the LocalMixer architecture inspired by MLPMixer, featuring linear token mixing and grouped channel operations for better compatibility with local learning.
  • Use stop-gradient operations to decouple local predictions from the main network, enabling independent local optimization.
  • Apply normalization layers (BatchNorm, LayerNorm, LocalNorm) at strategic points to stabilize training and improve generalization.
  • Implement a multi-stage training pipeline with local and global prediction heads to enable both local and global signal propagation.

Experimental results

Research questions

  • RQ1Can forward gradient learning with activation perturbations achieve lower variance than weight perturbation in large-scale deep networks?
  • RQ2How do local greedy loss functions with grouped and patch-wise structures affect training stability and performance in backprop-free learning?
  • RQ3Can a new architecture like LocalMixer enable effective local learning and scale to ImageNet-level benchmarks without backpropagation?
  • RQ4What is the impact of normalization schemes (BN, LN, LocalNorm) on the performance of local forward gradient training?
  • RQ5Does the combination of activation perturbation, local losses, and a specialized architecture outperform existing backprop-free methods on standard vision benchmarks?

Key findings

  • Activity perturbation yields significantly lower-variance gradient estimates than weight perturbation, enabling more stable training in high-dimensional settings.
  • On MNIST and CIFAR-10, the proposed Local Forward Gradient (LG-FG-A) method achieves test accuracy comparable to backprop (e.g., 33.48% test error on CIFAR-10 with LN, vs. 30.55% for BP).
  • On ImageNet, the method outperforms all prior backprop-free algorithms, achieving 37.41% top-1 accuracy with LayerNorm and 36.24% with LocalNorm, significantly better than existing alternatives.
  • Adding more groups in the local loss functions reduces training error by up to 10% in forward gradient training, indicating reduced gradient variance and improved optimization.
  • The LocalMixer architecture with grouped, local learning components enables effective model-parallel training and achieves strong performance even with limited global signal.
  • Normalization schemes like LocalNorm significantly improve generalization, reducing test error by up to 5% compared to no normalization in forward gradient training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.