BlocTrain: Block-Wise Conditional Training and Inference for Efficient Spike-Based Deep Learning
Open Access
- 29 October 2021
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Neuroscience
- Vol. 15
Abstract
Spiking neural networks (SNNs), with their inherent capability to learn sparse spike-based input representations over time, offer a promising solution for enabling the next generation of intelligent autonomous systems. Nevertheless, end-to-end training of deep SNNs is both compute- and memory-intensive because of the need to backpropagate error gradients through time. We propose BlocTrain, which is a scalable and complexity-aware incremental algorithm for memory-efficient training of deep SNNs. We divide a deep SNN into blocks, where each block consists of few convolutional layers followed by a classifier. We train the blocks sequentially using local errors from the classifier. Once a given block is trained, our algorithm dynamically figures out easy vs. hard classes using the class-wise accuracy, and trains the deeper block only on the hard class inputs. In addition, we also incorporate a hard class detector (HCD) per block that is used during inference to exit early for the easy class inputs and activate the deeper blocks only for the hard class inputs. We trained ResNet-9 SNN divided into three blocks, using BlocTrain, on CIFAR-10 and obtained 86.4% accuracy, which is achieved with up to 2.95× lower memory requirement during the course of training, and 1.89× compute efficiency per inference (due to early exit strategy) with 1.45× memory overhead (primarily due to classifier weights) compared to end-to-end network. We also trained ResNet-11, divided into four blocks, on CIFAR-100 and obtained 58.21% accuracy, which is one of the first reported accuracy for SNN trained entirely with spike-based backpropagation on CIFAR-100.Keywords
This publication has 38 references indexed in Scilit:
- Training Deep Spiking Neural Networks Using BackpropagationFrontiers in Neuroscience, 2016
- Unsupervised regenerative learning of hierarchical features in Spiking Deep Networks for object recognition2016
- Unsupervised learning of digit recognition using spike-timing-dependent plasticityFrontiers in Computational Neuroscience, 2015
- A million spiking-neuron integrated circuit with a scalable communication network and interfaceScience, 2014
- A 128$\times$128 120 dB 15 $\mu$s Latency Asynchronous Temporal Contrast Vision SensorIEEE Journal of Solid-State Circuits, 2008
- Unsupervised Learning of Visual Features through Spike Timing Dependent PlasticityPLOS Computational Biology, 2007
- Reducing the Dimensionality of Data with Neural NetworksScience, 2006
- A Fast Learning Algorithm for Deep Belief NetsNeural Computation, 2006
- Networks of spiking neurons: The third generation of neural network modelsNeural Networks, 1997
- A desicion-theoretic generalization of on-line learning and an application to boosting1995