HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Training Neural Networks with Local Error Signals

Arild Nøkland; Lars Hiller Eidnes

Training Neural Networks with Local Error Signals

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

Code Repositories

ai-tech-research-lab/nitro-d
Mentioned in GitHub
anokland/local-loss
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-classification-on-cifar-10VGG11B(2x) + LocalLearning + CO
Percentage correct: 96.4
image-classification-on-cifar-100VGG11B(3x) + LocalLearning
Percentage correct: 79.9
image-classification-on-fashion-mnistVGG8B(2x) + LocalLearning + CO
Percentage error: 4.14
image-classification-on-kuzushiji-mnistVGG8B(2x) + LocalLearning + CO
Accuracy: 99.01
Error: 0.99
image-classification-on-mnistVGG8B + LocalLearning + CO
Percentage error: 0.26
image-classification-on-stl-10VGG8B + LocalLearning + CO
Percentage correct: 80.75
image-classification-on-svhnVGG8B + LocalLearning + CO
Percentage error: 1.65

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp