Unsupervised Learning of a Hierarchical Spiking Neural Network for Optical Flow Estimation: From Events to Global Motion Perception

Federico Paredes-Vallés, Kirk Y. W. Scheper, Guido C. H. E. de Croon · DOI

Abstract

The combination of spiking neural networks and event-based vision sensors holds the potential of highly efficient and high-bandwidth optical flow estimation. This paper presents the first hierarchical spiking architecture in which motion (direction and speed) selectivity emerges in an unsupervised fashion from the raw stimuli generated with an event-based camera. A novel adaptive neuron model and stable spike-timing-dependent plasticity formulation are at the core of this neural network governing its spike-based processing and learning, respectively. After convergence, the neural architecture exhibits the main properties of biological visual motion systems, namely feature extraction and local and global motion perception. Convolutional layers with input synapses characterized by single and multiple transmission delays are employed for feature and local motion perception, respectively; while global motion selectivity emerges in a final fully-connected layer. The proposed solution is validated using synthetic and real event sequences. Along with this paper, we provide the cuSNN library, a framework that enables GPU-accelerated simulations of large-scale spiking neural networks.

Introduction

Traditional computer vision relies on frame-based cameras that capture snapshots at fixed intervals, often leading to motion blur or redundant data. Event-based sensors, such as the Dynamic Vision Sensor (DVS), mimic biological retinas by only reporting asynchronous pixel-level brightness changes, or "events."

Comparison between traditional frame-based capture and the asynchronous event stream produced by DVS sensors.

While event cameras are ideal for high-speed motion estimation, processing their sparse, asynchronous data efficiently is a significant challenge. Spiking Neural Networks (SNNs) are the natural fit for this data, but training them to perceive complex features like optical flow without human-labeled data has remained an open problem. This research introduces a hierarchical SNN that learns to estimate optical flow in a completely unsupervised manner.

Methodology

The authors propose a multi-layer hierarchical SNN architecture designed to mimic the biological visual pathway. Key technical innovations include:

Adaptive LIF Neuron Model

The standard Leaky Integrate-and-Fire (LIF) neuron was modified to include a "homeostasis parameter." This allows neurons to adapt their excitability based on the input firing rate, ensuring the network remains responsive whether the scene is moving slowly or very quickly.

The adaptive LIF neuron model receiving multiple spike inputs and its corresponding membrane potential dynamics.

Stable Multiplicative STDP

Spike-Timing-Dependent Plasticity (STDP) is a biological learning rule where connection strength changes based on spike timing. The authors developed a new multiplicative formulation that is inherently stable, meaning synaptic weights naturally converge to an equilibrium without needing manual clipping. This stability is mathematically proven using Lyapunov theory.

Hierarchical Pipeline

  1. SS-Conv: Extracts basic spatial features like edges.
  2. Merge: Combines ON and OFF event polarities.
  3. MS-Conv: Perceives local motion using temporal delays. By using synapses with varying transmission delays, the network transforms temporal motion into spatial matching problems.
  4. Pooling/Dense: Aggregates local estimates into a global perception of ego-motion.

Key Results and Insights

The network was evaluated on both synthetic checkerboard patterns and real-world natural scenes from the Event Camera Dataset.

  • Emergent Selectivity: Motion selectivity is not programmed; neurons self-organize to represent specific directions and speeds simply by being exposed to moving stimuli.
  • Global Perception: The final dense layer successfully specialized into groups of neurons representing global directions (Up, Down, Left, Right) and different speeds.
  • Performance: The local motion estimates produced by the unsupervised MS-Conv layer closely resemble the output of state-of-the-art supervised deep learning models like EV-FlowNet.

Conclusion

This work demonstrates that complex motion perception can emerge from unsupervised learning in SNNs. By combining adaptive neuron models with stable plasticity rules, the architecture achieves a high degree of biological plausibility and efficiency. To support the community, the authors released cuSNN, a GPU-accelerated library for large-scale SNN simulations. Future work will focus on producing dense optical flow and deploying these models on neuromorphic hardware for ultra-low-power applications.

Summary updated

BibTeX
@article{paredesvalles2018unsupervised,
  author = {Federico Paredes-Vallés and Kirk Y. W. Scheper and Guido C. H. E. de Croon},
  title = {{Unsupervised Learning of a Hierarchical Spiking Neural Network for Optical Flow Estimation: From Events to Global Motion Perception}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2018},
  doi = {10.1109/tpami.2019.2903179},
}
Figure