Training Neural Networks with Local Error Signals

Arild Nøkland, Lars Hiller Eidnes
1/20/2019
stat.MLcs.CVcs.LG

Official code: anokland/local-loss (168 stars, last commit 2019-10-19).

Abstract

Supervised training of neural networks for classification is typically performed with a global loss function. The loss function provides a gradient for the output layer, and this gradient is back-propagated to hidden layers to dictate an update direction for the weights. An alternative approach is to train the network with layer-wise loss functions. In this paper we demonstrate, for the first time, that layer-wise training can approach the state-of-the-art on a variety of image datasets. We use single-layer sub-networks and two different supervised loss functions to generate local error signals for the hidden layers, and we show that the combination of these losses help with optimization in the context of local learning. Using local errors could be a step towards more biologically plausible deep learning because the global error does not have to be transported back to hidden layers. A completely backprop free variant outperforms previously reported results among methods aiming for higher biological plausibility. Code is available https://github.com/anokland/local-loss

View on arXivView PDF

Code Implementations(1)

PyTorch code for training neural networks without global back-propagation

16837Shell, PythonJan 8, 20197 years ago

Similar Papers

Cite this paper

@article{nkland2019training,
  title  = {Training Neural Networks with Local Error Signals},
  author = {Arild Nøkland and Lars Hiller Eidnes},
  year   = {2019},
  eprint = {1901.06656},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.06656}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1901.06656.svg)](https://codeofpaper.com/paper/1901.06656)

Discussion