Adaptive-SpikeNet: Event-based Optical Flow Estimation using Spiking Neural Networks with Learnable Neuronal Dynamics

Adarsh Kumar Kosta, Kaushik Roy

TL;DR

Adaptive-SpikeNet introduces a fully-spiking neural network (SNN) framework for real-time optical flow estimation that overcomes the "vanishing spike" problem in deep SNNs. By making neuronal dynamics (leak and threshold) learnable, the model achieves ~13% better accuracy than state-of-the-art analog networks while being up to 10x more energy-efficient and 48x smaller in parameter count.

What Problem Does This Paper Address?

Event-based cameras (like the Dynamic Vision Sensor) are revolutionary because they don't capture frames; instead, they asynchronously report pixel-level intensity changes with microsecond resolution. This makes them ideal for high-speed robotics and low-power edge devices.

However, standard Analog Neural Networks (ANNs) struggle with this data. They typically collapse event streams into "pseudo-frames," discarding precious temporal information and performing power-hungry, stateless computations. Spiking Neural Networks (SNNs) are the "natural" language for event data, but they are notoriously difficult to train. As SNNs get deeper, the "vanishing spike" problem occurs—neuronal activity dies out before reaching the final layers, making it nearly impossible for deep architectures to learn complex regression tasks like optical flow.

Methods

The authors propose Adaptive-SpikeNet, which utilizes three key strategies to bridge the gap between SNN efficiency and ANN performance:

  1. Learnable Neuronal Dynamics: Unlike traditional SNNs where the "leak" factor ($\lambda$) and "firing threshold" ($v^{th}$) are fixed hyperparameters, Adaptive-SpikeNet treats them as trainable parameters. This allows the network to self-regulate its activity levels, ensuring spikes propagate through deep layers.
  2. Fully-Spiking Architectures: They implement two main architectures: an encoder-decoder (U-Net style) for multi-scale estimation and a lightweight single-scale version based on Fire-FlowNet.
  3. Surrogate Gradient Training: To handle the non-differentiable nature of spikes, they use Backpropagation Through Time (BPTT) with an inverse tangent surrogate function, allowing the model to be trained from scratch on event data.

The model processes a 4-channel discretized event volume (split into former and latter event groups) to capture both short-term and long-term temporal correlations.

Datasets

The researchers evaluated their approach on two primary benchmarks:

  • MVSEC (Multi-Vehicle Stereo Event-Camera): Used for self-supervised learning. It includes indoor flying and outdoor driving sequences.
  • DSEC-Flow: A newer, higher-resolution (VGA) dataset with more accurate ground truth, used here for supervised learning.

Key Insights and Ideas

  • Implicit Recurrence is Enough: SNNs possess "implicit recurrence" through their membrane potential. The authors argue that if you let the neuron dynamics adapt, you don't need the explicit, heavy recurrent units (like GRUs) often found in hybrid models.
  • The "SNN Advantage" Scales Down: One of the most interesting findings is that as you shrink the model size (from "Base" to "Pico"), the performance gap between SNNs and ANNs actually widens. SNNs are significantly more robust at the extreme edge.
  • Energy Efficiency via Sparsity: Because SNNs only perform computations when a spike occurs, they replace dense "Multiply-and-Accumulate" (MAC) operations with sparse "Accumulate" (AC) operations. In 45nm CMOS technology, an AC operation is roughly 5.1x more energy-efficient than a MAC.

Key Results

  • Accuracy: On the MVSEC dataset, Adaptive-SpikeNet reduced the Average Endpoint Error (AEE) by ~13% compared to similarly sized ANNs.
  • Efficiency: Compared to state-of-the-art ANN implementations, the SNN offered a 48.3x reduction in parameters and a 10.2x reduction in computational energy.
  • DSEC-Flow Performance: The model outperformed the popular EV-FlowNet by ~30%, showing that fully-spiking models can handle high-resolution, complex driving data.
  • Optimal Trade-off: The "Nano-SNN" variant was highlighted as a "sweet spot," offering 10.2x lower energy than the baseline while maintaining high accuracy.

Limitations and Future Work

While Adaptive-SpikeNet outperforms standard ANNs, it still trails behind E-RAFT, a state-of-the-art model that uses explicit recurrence and iterative refinement (though at a much higher computational cost).

The authors suggest that future work should focus on:

  • Integrating these adaptive SNNs into full robotic control loops (e.g., obstacle avoidance and path planning).
  • Exploring more complex neuronal models beyond the Leaky-Integrate-and-Fire (LIF) model used here.
  • Testing the framework on neuromorphic hardware (like Intel's Loihi) to measure real-world power savings beyond theoretical estimates.

Summary updated

BibTeX
@inproceedings{kosta2023adaptive,
  author = {Adarsh Kumar Kosta and Kaushik Roy},
  title = {{Adaptive-SpikeNet: Event-based Optical Flow Estimation using Spiking Neural Networks with Learnable Neuronal Dynamics}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10160551},
}
Figure