NxTF: An API and Compiler for Deep Spiking Neural Networks on Intel Loihi
Authors:
Open Access
- 29 January 2022
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Journal on Emerging Technologies in Computing Systems
- Vol. 18 (3) , 1-22
Abstract
Spiking Neural Networks (SNNs) is a promising paradigm for efficient event-driven processing of spatio-temporally sparse data streams. Spiking Neural Networks (SNNs) have inspired the design of and can take advantage of the emerging class of neuromorphic processors like Intel Loihi. These novel hardware architectures expose a variety of constraints that affect firmware, compiler, and algorithm development alike. To enable rapid and flexible development of SNN algorithms on Loihi, we developed NxTF: a programming interface derived from Keras and compiler optimized for mapping deep convolutional SNNs to the multi-core Intel Loihi architecture. We evaluate NxTF on Deep Neural Networks (DNNs) trained directly on spikes as well as models converted from traditional DNNs, processing both sparse event-based and dense frame-based datasets. Further, we assess the effectiveness of the compiler to distribute models across a large number of cores and to compress models by exploiting Loihi’s weight-sharing features. Finally, we evaluate model accuracy, energy, and time-to-solution compared to other architectures. The compiler achieves near-optimal resource utilization of 80% across 16 Loihi chips for a 28-layer, 4M parameter MobileNet model with input size 128×128. In addition, we report the lowest error rate of 8.52% for the CIFAR-10 dataset on neuromorphic hardware, using an off-the-shelf MobileNet.Keywords
All Related Versions
Funding Information
- SNSF (CRSII5 177255)
- Samsung Advanced Institute of Technology
- National Science Foundation Graduate Research Fellowship (DGE 1752814)
This publication has 21 references indexed in Scilit:
- SpiNNTools: The Execution Engine for the SpiNNaker PlatformFrontiers in Neuroscience, 2019
- Programming Spiking Neural Networks on Intel’s LoihiComputer, 2018
- Loihi: A Neuromorphic Manycore Processor with On-Chip LearningIEEE Micro, 2018
- A Low Power, Fully Event-Based Gesture Recognition System2017
- Convolutional networks for fast, energy-efficient neuromorphic computingProceedings of the National Academy of Sciences of the United States of America, 2016
- Converting Static Image Datasets to Spiking Neuromorphic Datasets Using SaccadesFrontiers in Neuroscience, 2015
- A million spiking-neuron integrated circuit with a scalable communication network and interfaceScience, 2014
- Cognitive computing programming paradigm: A Corelet Language for composing networks of neurosynaptic cores2013
- Overview of the SpiNNaker System ArchitectureIEEE Transactions on Computers, 2012
- Backpropagation Applied to Handwritten Zip Code RecognitionNeural Computation, 1989