Skip to main content
QUICK REVIEW

[Paper Review] Training Neural Networks with Local Error Signals

Arild Nøkland, Lars Hiller Eidnes|arXiv (Cornell University)|Jan 20, 2019
Domain Adaptation and Few-Shot LearningComputer Science130 citations
TL;DR

The paper shows that layer-wise local loss signals, combining a local prediction loss and a similarity-matching loss, can approach or match global backpropagation on multiple image datasets, including a backprop-free variant that outperforms previous biologically plausible methods.

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

Motivation & Objective

  • Motivate and investigate layer-wise training with locally generated errors as an alternative to global backpropagation.
  • Demonstrate that combining a local prediction loss with a similarity-matching loss improves optimization and generalization.
  • Evaluate local loss training on a range of datasets and architectures to assess scalability and practicality.
  • Assess the potential for biologically plausible learning by removing or reducing backpropagation requirements.

Proposed method

  • Propose two single-layer sub-networks per hidden layer to generate local learning signals: a local cross-entropy (prediction) loss and a similarity matching loss.
  • Define the similarity matching loss as the squared Frobenius norm between the adjusted cosine similarity (or correlation) matrices of hidden activations and target labels.
  • Train hidden layers with these local losses in a decoupled fashion, allowing updates during the forward pass and avoiding backward locking.
  • Introduce backprop-free variants by replacing the gradient-based paths with direct feature statistics and random target projections (sim-bpf and pred-bpf).
  • Combine the local losses with a weighting factor to form predsim (and predsim-bpf) losses for joint optimization.

Experimental results

Research questions

  • RQ1Can layer-wise local losses (prediction and similarity matching) match or approach global backpropagation on standard vision datasets?
  • RQ2Does combining local losses improve performance beyond what either loss achieves alone?
  • RQ3Do backpropagation-free variants (using random target projections or Hebbian-like signals) yield competitive results, and under what conditions?
  • RQ4How do local losses impact convergence, generalization, and efficiency (memory, parallelism) compared to end-to-end training?
  • RQ5Are VGG-like architectures particularly amenable to local loss training across diverse datasets?

Key findings

  • Layer-wise training with local losses can approach or match global backpropagation on several datasets.
  • The combination predsim (prediction plus similarity matching) consistently improves performance over either loss alone.
  • Backprop-free variants with random target projections (sim-bpf, pred-bpf) achieve strong results, surpassing several previously reported biologically plausible methods.
  • Across many datasets, predsim often yields the best test error among local loss variants, and can rival end-to-end training on architectures like VGG-style networks.
  • Local losses can reduce memory requirements and enable parallel or greedy layer-wise training while maintaining competitive accuracy.

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.