Unsupervised Optical Flow Estimation with Dynamic Timing Representation for Spike Camera

Lujie Xia, Ziluo Ding, Rui Zhao, Jiyuan Zhang, Lei Ma, Zhaofei Yu, Tiejun Huang, Ruiqin Xiong

Introduction

Traditional frame-based cameras often fail in high-speed scenarios, resulting in significant motion blur due to limited frame rates. Spike cameras, a neuromorphic sensing technology, address this by asynchronously recording light intensity as a high-frequency spike stream (up to 40kHz). Despite their potential, spike-based optical flow estimation faces two critical challenges: the "window dilemma"—where fixed temporal windows lead to either noise or blur—and the "labeling gap," as obtaining ground-truth flow for ultra-high-speed real-world scenes is extremely difficult.

The USFlow Framework

To overcome these hurdles, researchers have developed USFlow, the first unsupervised learning framework for spike-based optical flow estimation. USFlow eliminates the need for labeled data by leveraging a novel representation of spike timing and a physics-informed unsupervised loss function. By using a novel "Dynamic Timing Representation" that adapts to different motion speeds, the method achieves up to a 19% error reduction over previous supervised state-of-the-art models while remaining significantly more parameter-efficient.

Overview of the USFlow framework, illustrating the pipeline from spike stream input through the TMR and Layer Attention modules to the unsupervised loss calculation.

Dynamic Timing Representation (DTR)

The core of USFlow is the Dynamic Timing Representation (DTR), which replaces fixed-window processing with a multi-scale temporal approach. This allows the network to "see" across multiple temporal scales (different "shutter speeds") simultaneously.

Temporal Multi-dilated Representation (TMR)

The TMR module employs 1D dilated convolutions along the temporal axis of the spike stream for each pixel. By using varying dilation rates across six levels, the network effectively samples the spike data at multiple temporal resolutions. This allows the model to capture both fine-grained temporal details for fast motion and integrated information for slower motion or low-light conditions.

The Temporal Multi-dilated Representation (TMR) module processes pixel-wise spike streams through hierarchical dilated convolutions to capture multi-scale temporal features.

Layer Attention (LA)

Following the TMR, a Layer Attention module dynamically weights the features from different dilation levels. This adaptive fusion ensures that the most relevant temporal scale is prioritized based on the local motion characteristics of the scene. This representation module is highly efficient, utilizing only 0.05M parameters, compared to 0.23M in previous works like SCFlow.

Spike-Based Unsupervised Loss

Training is guided by a spike-based unsupervised loss that enforces illuminance consistency. The framework reconstructs light intensity from spikes using two complementary strategies:

  • Low-Speed Regions: Spikes are counted over longer windows to ensure robust intensity estimation.
  • High-Speed Regions: Intensity is derived from the precise inter-spike intervals to maintain sharp edges and avoid blur.

The model's own estimated optical flow is used to weight these strategies spatially, creating a self-correcting feedback loop between motion estimation and light reconstruction.

Datasets and Evaluation

The model was evaluated on standard benchmarks and a newly introduced dataset:

  • SPIFT & PHM: Standard benchmarks for spike-based vision.
  • SSES (Spike-based Synthetic validation dataset for Extreme Scenarios): A newly introduced dataset built using the CARLA simulator. It focuses on autonomous driving "corner cases" like vehicle collisions and pedestrian near-misses, providing a rigorous test for high-speed robustness.

Key Results

USFlow demonstrates significant improvements over existing supervised methods:

  • Superior Accuracy: On the PHM dataset, USFlow achieved a 15% to 19% error reduction compared to the previous state-of-the-art supervised model, SCFlow.
  • Real-World Generalization: As an unsupervised method, USFlow can be fine-tuned on unlabeled real-world street scenes, allowing it to outperform supervised models that suffer from the domain gap between synthetic training data and real hardware.

Conclusion

USFlow represents a significant step forward in neuromorphic vision. By combining a multi-scale temporal representation with a flow-guided unsupervised loss, it achieves superior accuracy and robustness in high-speed scenarios while maintaining a lightweight architecture. Future work will focus on enhancing performance in extremely low-light environments where spike sparsity presents unique challenges.

Summary updated

BibTeX
@inproceedings{xia2023unsupervised,
  author = {Lujie Xia and Ziluo Ding and Rui Zhao and Jiyuan Zhang and Lei Ma and Zhaofei Yu and Tiejun Huang and Ruiqin Xiong},
  title = {{Unsupervised Optical Flow Estimation with Dynamic Timing Representation for Spike Camera}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=7gbjsgcN5p},
}
Figure