Layer-Wise Feedback Alignment is Conserved in Deep Neural Networks

Zachary Robertson, Sanmi KoyejoLLW @ ICML 2023

TL;DR

This paper reveals surprising conservation laws in Feedback Alignment (FA), a biologically plausible alternative to backpropagation. These laws demonstrate that FA exhibits implicit biases similar to Gradient Descent (GD), suggesting they are more alike than previously thought and paving the way for more efficient and biologically realistic deep learning.

What Problem Does This Paper Address?

Training deep neural networks typically relies on backpropagation, a powerful but computationally complex and biologically implausible algorithm. Its backward pass involves intricate communication bottlenecks and requires precise weight matching between forward and backward passes. Feedback Alignment (FA) offers a compelling alternative by replacing the backward pass with fixed random matrices, simplifying computation and improving biological plausibility. However, the theoretical understanding of FA, especially in deep networks, has been limited, leaving its underlying learning dynamics and biases largely unexplored. This paper aims to bridge this gap by uncovering fundamental conservation laws governing FA's learning process and revealing its relationship with Gradient Descent.

Methods

The authors introduce a set of conservation laws for the learning dynamics of FA. These laws are derived by analyzing the flow of layer weights under FA, particularly in the context of ReLU networks with differentiable loss functions. A key technique involves using trace properties of matrices and integration by parts to establish invariant quantities. These conservation laws are then used to derive implications for layer-wise alignment with feedback matrices and to analyze the convergence properties of two-layer linear networks trained with FA. The theoretical analysis is complemented by experimental validation.

Datasets

Not discussed in the paper. The experiments use synthetic data generated from a multivariate normal distribution for training and evaluating two-layer linear and ReLU networks.

Key Insights and Ideas

  • FA and GD are More Alike Than Different: The core finding is that FA, despite its random feedback matrices, exhibits implicit biases that are remarkably similar to those of Gradient Descent. This challenges the prevailing view that they are fundamentally distinct learning algorithms.
  • Conservation Laws as the Unifying Principle: The paper identifies specific conservation laws that govern the learning dynamics of FA. These laws are not just theoretical curiosities; they directly explain the observed layer-wise alignment and provide insights into the implicit biases.
  • Implicit Bias Towards Generalization: The conservation laws imply that FA, like GD, favors solutions that generalize well. In over-parameterized two-layer linear networks, this translates to convergence to the minimum-norm solution, a known characteristic of GD that promotes generalization.
  • Sufficient Conditions for Alignment: The derived conservation laws provide concrete conditions under which layer-wise alignment with feedback matrices can be guaranteed, offering a path towards more robust FA implementations.

Key Results

  • Theorem 5.1: Establishes a conservation law for the learning dynamics of FA in scalar output ReLU networks. This law states that a specific combination of layer weight norms and inner products with feedback matrices remains invariant throughout training.
  • Layer-Wise Alignment: The conservation law provides sufficient conditions for layer-wise alignment with feedback matrices, particularly in initialization schemes.
  • Theorem 5.2: Demonstrates that over-parameterized two-layer linear networks trained with FA converge to a global optimum, specifically the minimum-norm solution, under certain conditions.
  • Experimental Validation: Figures 1 and 2 show empirical evidence supporting the conservation law and the convergence of the loss function for both linear and ReLU networks trained with FA. The ratio in Figure 1 remains nearly constant, validating Theorem 5.1.

Limitations and Future Work

  • Non-linear Networks and Alignment: While the paper shows conservation laws for non-linear (ReLU) networks, it explicitly states that layer-wise alignment is not proven to be sufficient for convergence in the non-linear setting. Future work aims to extend these results to non-linear models more broadly.
  • Generalization in Wide Networks: The authors suggest that the findings on layer-wise alignment and convergence in linear models could be extended to analyze learning dynamics in wide neural networks, a setting where GD has been successfully analyzed.
  • Broader Applicability of Conservation Laws: The paper focuses on specific network architectures and loss functions. Future research could explore the generality of these conservation laws across a wider range of network types and learning tasks.
  • Practical Implications: While FA offers computational and biological advantages, further research is needed to fully leverage these findings for developing more efficient and biologically plausible deep learning systems.

Summary updated

BibTeX
@inproceedings{robertson2023layer,
  author = {Zachary Robertson and Sanmi Koyejo},
  title = {{Layer-Wise Feedback Alignment is Conserved in Deep Neural Networks}},
  booktitle = {LLW @ ICML},
  year = {2023},
  url = {https://openreview.net/forum?id=fS4pAOkHr4},
}
Figure