SDformerFlow: Spatiotemporal swin spikeformer for event-based optical flow estimation

Yi Tian, Juan Andrade-Cetto
9/6/2024
cs.CVcs.AI

No official code found. Best implementation: yitian97/SDformerFlow (19 stars, MIT, last commit 2024-12-10).

Abstract

Event cameras generate asynchronous and sparse event streams capturing changes in light intensity. They offer significant advantages over conventional frame-based cameras, such as a higher dynamic range and an extremely faster data rate, making them particularly useful in scenarios involving fast motion or challenging lighting conditions. Spiking neural networks (SNNs) share similar asynchronous and sparse characteristics and are well-suited for processing data from event cameras. Inspired by the potential of transformers and spike-driven transformers (spikeformers) in other computer vision tasks, we propose two solutions for fast and robust optical flow estimation for event cameras: STTFlowNet and SDformerFlow. STTFlowNet adopts a U-shaped artificial neural network (ANN) architecture with spatiotemporal shifted window self-attention (swin) transformer encoders, while SDformerFlow presents its fully spiking counterpart, incorporating swin spikeformer encoders. Furthermore, we present two variants of the spiking version with different neuron models. Our work is the first to make use of spikeformers for dense optical flow estimation. We conduct end-to-end training for all models using supervised learning. Our results yield state-of-the-art performance among SNN-based event optical flow methods on both the DSEC and MVSEC datasets, and show significant reduction in power consumption compared to the equivalent ANNs.

View on arXivView PDF

Code Implementations(1)

MIT

Code for paper Spatiotemporal swin spikeformer for event-based optical flow estimation

195PythonApr 2, 20241 years agoMIT

Similar Papers

Cite this paper

@article{tian2024sdformerflow,
  title  = {SDformerFlow: Spatiotemporal swin spikeformer for event-based optical flow estimation},
  author = {Yi Tian and Juan Andrade-Cetto},
  year   = {2024},
  eprint = {2409.04082},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.04082v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.04082.svg)](https://codeofpaper.com/paper/2409.04082)

Discussion