Random feedback weights support learning in deep neural networks

Timothy P. Lillicrap, Daniel Cownden, Douglas B. Tweed, Colin J. AkermanarXiv 2014

Introduction

In modern artificial intelligence, backpropagation is the ubiquitous algorithm for training deep neural networks. To update a hidden neuron, backpropagation calculates its contribution to the final error by multiplying the error signal by the transpose of the downstream synaptic weights ($W^T$). However, this requirement poses a significant challenge for biological plausibility, known as the Weight Transport Problem. In biological brains, synapses are unidirectional, and there is no known mechanism for a neuron to "know" the exact strength of synapses located further downstream. This paper investigates whether deep networks can learn effectively if these precisely calculated feedback weights are replaced with a simpler, fixed alternative.

Methods: Feedback Alignment

The authors propose Feedback Alignment (FA), a remarkably simple modification to the standard training process. In FA, the precisely calculated transpose of the forward weights ($W^T$) used in the backward pass is replaced by a fixed matrix of random weights ($B$).

Figure 4: Comparison of Backpropagation and Feedback Alignment. (a-c) Structural diagrams showing how FA replaces the weight transpose $W^T$ with a fixed random matrix $B$. (d) Error reduction performance across different algorithms. (e) The alignment of the FA update signal with the true backprop gradient over time.

During the forward pass, data flows through the network normally via weights $W$. During the backward pass, the output error $e$ is multiplied by the random matrix $B$ to generate the update signal for hidden layers ($\Delta h = Be$). Crucially, while the forward weights $W$ are updated to minimize error, the feedback weights $B$ remain unchanged throughout training. This architecture decouples the feedback path from the forward path, potentially resolving the biological weight transport issue.

Key Insights: The "Learning to Learn" Phenomenon

The most profound discovery of this work is that the network "learns to learn." Initially, the random matrix $B$ provides nonsensical error signals. However, as the forward weights $W$ evolve to reduce the output error, they naturally align themselves with the fixed feedback matrix $B$.

Figure 1: Alignment of the feedback signal over time. The angle between the Feedback Alignment update ($\Delta h_{FA}$) and the true backpropagation gradient ($\Delta h_{BP}$) starts near 90 degrees (orthogonal) and rapidly decreases, settling well below 45 degrees.

As shown in Figure 1, the angle between the FA update signal and the true gradient calculated by backpropagation decreases significantly during training. Eventually, the condition $e^T W B e > 0$ is satisfied, meaning the feedback signal points in a direction that successfully reduces error. The authors demonstrate mathematically that FA encourages $W$ to act as a local pseudoinverse of $B$, effectively approximating a second-order Gauss-Newton optimization process.

Results and Performance

The researchers evaluated Feedback Alignment on several benchmarks, including linear function approximation and the MNIST handwritten digit dataset.

  • Performance Parity: On MNIST, FA achieved a 2.1% error rate, comparable to (and in some tests, slightly better than) the 2.4% achieved by standard backpropagation.
  • Efficiency: FA reduces loss almost as rapidly as backpropagation, significantly outperforming other biologically plausible alternatives like reinforcement learning or shallow learning (where only the final layer is trained).
  • Depth and Robustness: The algorithm successfully trained 4-layer networks, proving its ability to solve the credit assignment problem in deeper architectures. It also remained robust even when 50% of the connections were randomly removed, mirroring the sparsity of biological neural circuits.

Conclusion and Future Work

Feedback Alignment demonstrates that the brain does not need a perfectly choreographed system to communicate weight values backward. As long as the feedback signal is "good enough"—within 90 degrees of the true gradient—the network can adapt its forward path to utilize it. While this study proves the principle on MNIST and synthetic tasks, future work is needed to determine if FA scales to more complex modern architectures like Transformers or massive datasets like ImageNet. Additionally, the specific biological implementation of this global error signal remains an open question for neuroscientific investigation.

Summary updated

BibTeX
@misc{lillicrap2014random,
  author = {Timothy P. Lillicrap and Daniel Cownden and Douglas B. Tweed and Colin J. Akerman},
  title = {{Random feedback weights support learning in deep neural networks}},
  year = {2014},
  eprint = {1411.0247},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1411.0247},
}
Figure