Event-based Optical Flow on Neuromorphic Processor: ANN vs. SNN Comparison based on Activation Sparsification
Yingfu Xu, Guangzhi Tang, Amirreza Yousefzadeh, Guido de Croon, Manolis Sifalakis
TL;DR
This work tackles the fairness gap in comparing ANN and SNN performance for event-based optical flow by training both networks with activation sparsification on a unified neuromorphic platform, SENECA. The authors introduce trainable FATReLU thresholds and sparsification regularizers to drive activation densities down to roughly 5% without sacrificing accuracy, enabling an apples-to-apples hardware comparison. Hardware experiments show the SNN achieves about 62.5% of the time and 75.2% of the energy of the ANN, with a substantially lower pixel-level spike density (43.5% vs. 66.5%), primarily due to sparser activations. The results demonstrate that, on a fair hardware platform, SNNs can outperform ANNs in time and energy for regression tasks on event-based vision, aided by event-driven processing and data reuse strategies intrinsic to neuromorphic processors.
Abstract
Spiking neural networks (SNNs) for event-based optical flow are claimed to be computationally more efficient than their artificial neural networks (ANNs) counterparts, but a fair comparison is missing in the literature. In this work, we propose an event-based optical flow solution based on activation sparsification and a neuromorphic processor, SENECA. SENECA has an event-driven processing mechanism that can exploit the sparsity in ANN activations and SNN spikes to accelerate the inference of both types of neural networks. The ANN and the SNN for comparison have similar low activation/spike density (~5%) thanks to our novel sparsification-aware training. In the hardware-in-loop experiments designed to deduce the average time and energy consumption, the SNN consumes 44.9ms and 927.0 microjoules, which are 62.5% and 75.2% of the ANN's consumption, respectively. We find that SNN's higher efficiency attributes to its lower pixel-wise spike density (43.5% vs. 66.5%) that requires fewer memory access operations for neuron states.
