Skip to main content
QUICK REVIEW

[Paper Review] The dynamics of learning with feedback alignment.

Maria Refinetti, Stéphane d’Ascoli|arXiv (Cornell University)|Nov 24, 2020
Neural Networks and ApplicationsComputer Science32 references8 citations
TL;DR

This paper proposes a theory explaining the success and failure of Feedback Alignment (FA) in training deep networks. It identifies a two-phase learning process—alignment followed by memorization—that breaks degeneracy in loss landscapes, favoring solutions with high gradient alignment. The key insight is that the conditioning of alignment matrices determines training success, explaining FA’s failure on convolutional networks.

ABSTRACT

Direct Feedback Alignment (DFA) is emerging as an efficient and biologically plausible alternative to the ubiquitous backpropagation algorithm for training deep neural networks. Despite relying on random feedback weights for the backward pass, DFA successfully trains state-of-the-art models such as Transformers. On the other hand, it notoriously fails to train convolutional networks. An understanding of the inner workings of DFA to explain these diverging results remains elusive. Here, we propose a theory for the success of DFA. We first show that learning in shallow networks proceeds in two steps: an alignment phase, where the model adapts its weights to align the approximate gradient with the true gradient of the loss function, is followed by a memorisation phase, where the model focuses on fitting the data. This two-step process has a degeneracy breaking effect: out of all the low-loss solutions in the landscape, a network trained with DFA naturally converges to the solution which maximises gradient alignment. We also identify a key quantity underlying alignment in deep linear networks: the conditioning of the alignment matrices. The latter enables a detailed understanding of the impact of data structure on alignment, and suggests a simple explanation for the well-known failure of DFA to train convolutional neural networks. Numerical experiments on MNIST and CIFAR10 clearly demonstrate degeneracy breaking in deep non-linear networks and show that the align-then-memorize process occurs sequentially from the bottom layers of the network to the top.

Motivation & Objective

  • To understand why Direct Feedback Alignment (DFA) succeeds in training Transformers but fails in convolutional neural networks.
  • To identify the underlying mechanism driving DFA's convergence to specific solutions in deep networks.
  • To explain the role of gradient alignment in determining training success and failure in DFA.
  • To characterize how data structure and network architecture influence the conditioning of alignment matrices.
  • To provide a theoretical framework for degeneracy breaking in DFA training dynamics.

Proposed method

  • Proposes a two-phase learning process: first alignment of the approximate gradient with the true gradient, followed by data memorization.
  • Analyzes shallow and deep linear networks to identify the role of alignment matrix conditioning in determining training success.
  • Introduces a theoretical framework linking the conditioning of alignment matrices to the ability of DFA to converge to low-loss solutions.
  • Uses numerical experiments on MNIST and CIFAR10 to validate the sequential emergence of the align-then-memorize process from bottom to top layers.
  • Employs gradient alignment metrics to quantify the degree of alignment between approximate and true gradients during training.
  • Applies matrix conditioning analysis to explain the failure of DFA in convolutional networks due to poor alignment matrix conditioning.

Experimental results

Research questions

  • RQ1Why does Feedback Alignment successfully train Transformers but fail to train convolutional neural networks?
  • RQ2What dynamical process underlies the convergence of DFA to specific solutions in deep networks?
  • RQ3How does gradient alignment evolve during training, and what role does it play in determining model performance?
  • RQ4What structural or architectural factors determine the conditioning of alignment matrices in deep networks?
  • RQ5To what extent does the align-then-memorize process occur sequentially across network layers?

Key findings

  • DFA training proceeds in two distinct phases: an initial alignment phase where the model aligns its approximate gradient with the true gradient, followed by a memorization phase focused on fitting the data.
  • The degeneracy in the loss landscape is broken by the alignment process, favoring solutions that maximize gradient alignment.
  • In deep linear networks, the conditioning of the alignment matrices is a key determinant of whether DFA can successfully train the network.
  • Numerical experiments on MNIST and CIFAR10 show that the align-then-memorize process occurs sequentially from lower to upper layers in deep non-linear networks.
  • The failure of DFA in convolutional networks is explained by poor conditioning of the alignment matrices, which hinders effective gradient alignment.
  • The theory provides a mechanistic explanation for the divergent performance of DFA across different architectures based on data structure and layer-wise dynamics.

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.