Abstract
Abstract
Feedback alignment algorithms are an alternative to backpropagation to train neural networks, whereby some of the partial derivatives that are required to compute the gradient are replaced by random terms. This essentially transforms the update rule into a random walk in weight space. Surprisingly, learning still works with those algorithms, including training of deep neural networks. The performance of FA is generally attributed to an alignment of the update of the random walker with the true gradient—the eponymous gradient alignment—which drives an approximate gradient descent. The mechanism that leads to this alignment remains unclear, however. In this paper, we use mathematical reasoning and simulations to investigate gradient alignment. We observe that the feedback alignment update rule has fixed points, which correspond to extrema of the loss function. We show that gradient alignment is a stability criterion for those fixed points. It is only a necessary criterion for algorithm performance. Experimentally, we demonstrate that high levels of gradient alignment can lead to poor algorithm performance and that the alignment is not always driving the gradient descent.
Funder
Engineering and Physical Sciences Research Council
Reference22 articles.
1. Learning representations by back-propagating errors;Rumelhart;Nature,1986
2. MNIST handwritten digit database;LeCun,2010
3. Direct feedback alignment scales to modern deep learning tasks and architectures;Launay,2020
4. Decoupled parallel backpropagation with convergence guarantee;Huo,2018
5. Direct feedback alignment with sparse connections for local learning;Crafton;Front. Neurosci.,2019