This paper, presented at IJCNN 2020, explores how to bridge the gap between high-performance deep learning and the energy-efficient world of neuromorphic computing. The researchers provide a roadmap for taking a standard neural network, training it on event-based camera data, and deploying it onto Intel’s Loihi research chip for real-time gesture recognition.
The Challenge: Efficiency at the Edge
Traditional Deep Neural Networks (DNNs) are the gold standard for image recognition, but their computational and power demands make them difficult to deploy on "edge" devices like wearables or small robots.
Spiking Neural Networks (SNNs) offer a biologically inspired alternative that mimics how the human brain processes information—using discrete "spikes" of activity rather than continuous numbers. While SNNs are incredibly energy-efficient on specialized hardware like Intel’s Loihi, they are notoriously difficult to train from scratch. Furthermore, standard cameras capture frames at fixed intervals, which doesn't take advantage of the asynchronous nature of SNNs. This paper tackles the challenge of efficiently training an SNN using data from a Dynamic Vision Sensor (DVS)—a camera that only records changes in light (events) rather than full frames.
Methodology: Train-then-Convert
The researchers employed a "train-then-convert" strategy. Instead of training the SNN directly, they trained a standard DNN and then converted its weights and biases into an SNN format. Their approach involved three main pillars:
- Systematic Parameter Analysis: They analyzed how specific SNN settings—like the "Reset Mode" (how a neuron behaves after it fires) and the "Desired Threshold to Input Ratio" (DThIR)—affect accuracy when moving from a mathematical DNN to a physical Loihi chip.
- DVS Pre-processing: Since standard DNNs cannot be trained on raw streams of asynchronous events, the authors developed a method to accumulate DVS events into "frames." They used overlapping time windows and multiple channels to preserve the temporal information of the gestures.
- Hardware Optimization: The final model was mapped onto the Intel Loihi chip, ensuring the architecture stayed within the physical constraints of the hardware, such as the number of axons and compartments per neurocore.
Key Insights and Results
- The "Soft Reset" Advantage: Using a "Soft Reset" (where a neuron's voltage is reduced by the threshold amount after firing) significantly preserves information compared to resetting to zero, leading to higher accuracy on complex datasets.
- Temporal Preservation: To make DVS data work for DNN training, they used an "overlap factor" of 2. Slicing gestures into 300ms windows that start every 150ms effectively doubled the training data and preserved the gesture's rhythm.
- High Performance on Loihi: The converted SNN achieved 89.64% accuracy on the IBM DvsGesture dataset, a drop of only 0.82% from the original DNN. The system achieved a classification latency of 11.43ms per frame and fit onto just 37 Loihi neurocores.
Conclusion and Future Work
This work demonstrates that high-performance vision doesn't require massive hardware footprints. While the results are impressive, the authors note that hardware constraints still limit the complexity of supported architectures. Future work will focus on "SNN-aware" training to further close the accuracy gap and moving toward training SNNs directly on raw, asynchronous event streams to fully leverage the speed of DVS sensors.
Summary updated