Forward Learning with Top-Down Feedback: Empirical and Analytical Characterization

Ravi Srinivasan, Francesca Mignacco, Martino Sorbaro, Maria Refinetti, Avi Cooper, Gabriel Kreiman, Giorgia Dellaferrera

TL;DR

This paper provides a rigorous analytical and empirical characterization of "forward-only" machine learning algorithms, which eliminate the biologically unrealistic backward pass of backpropagation. By demonstrating that the PEPITA algorithm acts as an adaptive form of Feedback Alignment, the authors bridge the gap between alternative learning rules and introduce key enhancements like Weight Mirroring to scale forward-only learning to deeper networks.

What Problem Does This Paper Address?

Backpropagation (BP) is the undisputed engine of modern deep learning, but it has two major drawbacks. First, it is biologically implausible: the brain cannot easily transport symmetric weight gradients across long chains of neurons or lock its activity during a distinct backward pass. Second, this "backward locking" creates high memory and power overheads, making BP challenging to implement on resource-constrained neuromorphic hardware.

To solve this, researchers have proposed "forward-only" algorithms like Geoffrey Hinton’s Forward-Forward (FF) framework and PEPITA (Present the Error to Perturb the Input To modulate the Activity). These methods replace the backward pass with a second forward pass containing modified data. However, these algorithms have remained poorly understood analytically, suffer from a performance gap compared to BP, and have historically struggled to scale beyond shallow networks. This paper aims to provide the missing theoretical foundation and architectural enhancements needed to make forward-only learning practical and scalable.

Methods

The authors dissect and enhance forward-only learning through several novel techniques:

  • Adaptive Feedback Alignment (AFA) Approximation: Using a mathematical Taylor expansion, the authors prove that PEPITA's second forward pass can be closely approximated as a Direct Feedback Alignment (DFA)-like update, where a random feedback matrix is dynamically modulated by the network's own forward weights.
  • Analytical ODE Framework: Borrowing tools from statistical physics, they derive a closed set of ordinary differential equations (ODEs) to track the online learning dynamics and generalization error of this approximation within a high-dimensional teacher-student setup.
  • Factorized Weight Mirroring (WM): To improve weight alignment without violating locality constraints, the authors propose factorizing the global feedback matrix $F$ into layer-wise components ($F = \prod_{\ell=1}^L F_\ell$). This allows them to apply the Weight Mirroring algorithm to dynamically align feedback paths with forward paths during training.
  • Time-Local Reformulation: They split the PEPITA update rule into distinct Hebbian and anti-Hebbian phases (PEPITA-TL), removing the requirement to store the first pass's activations in memory until the second pass occurs.
Figure 1: Different error transportations and WM configurations. Green arrows mark forward paths and orange arrows indicate error paths. (a) Feedback alignment (FA). (b) Present the Error to Perturb the Input To modulate Activity (PEPITA). (c) PEPITA with WM. (d) Forward-Forward (FF).

Datasets

The enhanced algorithms were evaluated on standard image classification benchmarks and synthetic data:

  • MNIST
  • CIFAR-10
  • CIFAR-100
  • Synthetic Gaussian Inputs: Used to validate the high-dimensional theoretical curves in the teacher-student regression analysis.

Key Insights and Ideas

  • The Unifying Principle: The paper reveals a beautiful mathematical connection between two seemingly disparate forward-only methods. Under a standard ReLU activation function, the weight updates derived from Hinton's Forward-Forward "goodness" function are functionally equivalent to the Hebbian/anti-Hebbian approximation of PEPITA.
  • The "Align, Then Memorize" Phase Change: The analytical curves show that learning initially stalls at a plateau. During this time, the network isn't reducing error; it is aligning its forward weights with the top-down feedback connections. Once this alignment occurs, the error drops sharply.
  • Pre-Mirroring Speeds Up Convergence: Aligning the feedback weights before training data arrives (pre-mirroring) significantly accelerates the initial learning phase, confirming that good feedback pathways are crucial for rapid feature learning.

Key Results

  • Scaling to Deeper Networks: While the original PEPITA paper only demonstrated success on 1-hidden-layer networks, this work successfully trains fully connected networks with up to 5 hidden layers by incorporating activation normalization and weight decay.
  • Performance Boosts: On the challenging CIFAR-100 dataset, vanilla PEPITA achieves 24.69% accuracy. Adding Weight Mirroring boosts this to 27.07%, significantly narrowing the gap with Feedback Alignment (22.75%) and closing in on Backpropagation (29.36%).
  • CIFAR-10 Improvements: Combining Weight Mirroring with activation normalization yields a top accuracy of 53.80% on CIFAR-10, outperforming vanilla PEPITA (52.45%).

Limitations and Future Work

Despite these advances, the authors acknowledge several limitations:

  • The Absolute Performance Gap: Forward-only algorithms still lag behind standard Backpropagation in absolute accuracy and scalability on highly complex datasets.
  • Biological Plausibility of Enhancements: While PEPITA itself is highly bio-plausible, the layer-wise matrix factorization required to implement the modified Weight Mirroring algorithm does not yet have a clear biological analog in actual brain tissue.
  • Extension to Deep Theory: The analytical ODE framework is currently restricted to shallow (two-layer) networks. Extending this rigorous mathematical tracking to deep architectures remains an open theoretical challenge.

Summary updated

BibTeX
@inproceedings{srinivasan2024forward,
  author = {Ravi Srinivasan and Francesca Mignacco and Martino Sorbaro and Maria Refinetti and Avi Cooper and Gabriel Kreiman and Giorgia Dellaferrera},
  title = {{Forward Learning with Top-Down Feedback: Empirical and Analytical Characterization}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=My7lkRNnL9},
}
Figure