[Paper Review] Self-Supervised Learning of Event-Based Optical Flow with Spiking Neural Networks
This paper presents a self-supervised framework to train deep spiking neural networks (SNNs) for dense event-based optical flow estimation, achieving on-par performance with state-of-the-art ANN methods while exploring surrogate gradients and adaptive spiking mechanisms.
The field of neuromorphic computing promises extremely low-power and low-latency sensing and processing. Challenges in transferring learning algorithms from traditional artificial neural networks (ANNs) to spiking neural networks (SNNs) have so far prevented their application to large-scale, complex regression tasks. Furthermore, realizing a truly asynchronous and fully neuromorphic pipeline that maximally attains the abovementioned benefits involves rethinking the way in which this pipeline takes in and accumulates information. In the case of perception, spikes would be passed as-is and one-by-one between an event camera and an SNN, meaning all temporal integration of information must happen inside the network. In this article, we tackle these two problems. We focus on the complex task of learning to estimate optical flow from event-based camera inputs in a self-supervised manner, and modify the state-of-the-art ANN training pipeline to encode minimal temporal information in its inputs. Moreover, we reformulate the self-supervised loss function for event-based optical flow to improve its convexity. We perform experiments with various types of recurrent ANNs and SNNs using the proposed pipeline. Concerning SNNs, we investigate the effects of elements such as parameter initialization and optimization, surrogate gradient shape, and adaptive neuronal mechanisms. We find that initialization and surrogate gradient width play a crucial part in enabling learning with sparse inputs, while the inclusion of adaptivity and learnable neuronal parameters can improve performance. We show that the performance of the proposed ANNs and SNNs are on par with that of the current state-of-the-art ANNs trained in a self-supervised manner.
Motivation & Objective
- Demonstrate a self-supervised learning (SSL) framework for event-based optical flow using deep SNNs.
- Reformulate input representations to minimize temporal encoding in inputs, aligning with fully asynchronous neuromorphic processing.
- Investigate how neuron models, initialization, surrogate gradients, and adaptive mechanisms affect learning on sparse event data.
- Evaluate whether deep SNNs can reach state-of-the-art SSL performance on standard event-based optical flow benchmarks.
Proposed method
- Represent input as per-pixel, per-polarity event counts over small non-overlapping partitions to minimize input temporal information.
- Use a reformulated contrast maximization SSL loss for motion compensation that improves convexity and supports backward/forward warping of events.
- Define an input training partition buffer that enables backpropagation through time for sparse events and temporal smoothing of flow estimates.
- Compare multiple spiking neuron models (LIF, ALIF, PLIF, XLIF) with various adaptive mechanisms, using surrogate gradients (aTan prime) and energy-aware considerations.
- Use ConvGRU-based recurrent architectures (EV-FlowNet and FireNet variants) adapted for SNNs, with learned TanH decoders to output dense optical flow maps.
- Train and evaluate on MVSEC and other event datasets, performing ablations on initialization, surrogate gradient width, and adaptation schemes.
Experimental results
Research questions
- RQ1Can deep SNNs trained with SSL estimate per-pixel optical flow from event streams without explicit input temporal encoding?
- RQ2How do spiking neuron adaptations (ALIF, PLIF, XLIF) and surrogate gradient choices impact learning and accuracy on sparse event data for dense regression?
- RQ3Does reformulating the SSL loss to improve convexity and using a training-time temporal buffer enable effective learning in deep SNNs for optical flow?
- RQ4How do recurrent SNN architectures compare to recurrent ANNs in self-supervised event-based optical flow tasks across standard datasets?
Key findings
- The proposed SSL pipeline enables deep SNNs to achieve competitive accuracy with state-of-the-art ANN SSL methods on self-supervised event-based optical flow tasks.
- Initialization and surrogate gradient width critically influence learning with sparse inputs; inappropriate settings can hinder learning or convergence.
- Presynaptic adaptation mechanisms (PLIF/XLIF) generally perform better or comparable to postsynaptic adaptation (ALIF) for fast-changing event data, with XLIF offering robust gradient flow.
- SNN variants with ConvGRUs and spiking layers perform close to non-recurrent ANNs, indicating the promise of fully neuromorphic, asynchronous pipelines for this task.
- Explicit recurrence in SNNs is essential to close the gap with ANN baselines on dense regression tasks like optical flow from event streams.
- The study demonstrates the feasibility of training the first set of deep SNNs to solve a real-world, large-scale event-based optical flow problem in a self-supervised setting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.