SODFormer: Streaming Object Detection with Transformer Using Events and Frames

Dianze Li, Jianing Li, Yonghong Tian · DOI

Abstract

Standard frame-based cameras face significant challenges in high-speed and low-light environments due to motion blur and limited dynamic range. Event cameras offer a high-temporal-resolution alternative but struggle with static scenes. This paper introduces SODFormer, a novel streaming object detector that fuses asynchronous event streams with standard video frames using a spatiotemporal Transformer. By employing a Temporal Deformable Transformer Encoder (TDTE) and an attention-based fusion module, SODFormer leverages the complementary strengths of both modalities. We also present PKU-DAVIS-SOD, a large-scale multimodal dataset for training and evaluation. Experimental results demonstrate that SODFormer achieves state-of-the-art performance, particularly in challenging scenarios where unimodal sensors fail.

1. Introduction

Traditional computer vision relies heavily on frame-based cameras, which are limited by physical constraints such as exposure time and frame rate. In dynamic environments, these sensors often suffer from motion blur or lose detail in extreme lighting conditions. Event cameras, which record pixel-level intensity changes asynchronously, provide a solution with microsecond resolution and high dynamic range. However, they are ineffective in static scenes. The phenomenon of "unimodal degradation"—where a single sensor type fails due to environmental conditions—necessitates a hybrid approach that combines the strengths of both sensors.

Unimodal degradation in frames vs. events across different scenarios including motion blur and low light.

2. Methodology

SODFormer is an end-to-end architecture designed to process continuous multimodal data streams. The architecture consists of three primary components:

  • Event Representation: Continuous event streams are discretized into temporal bins and transformed into 2D embeddings, such as voxel grids, to facilitate processing by neural networks.
  • Temporal Deformable Transformer Encoder (TDTE): To capture long-range temporal dependencies, the model utilizes a TDTE equipped with Temporal Deformable Multi-head Self-Attention (TDMSA). This allows the detector to aggregate features across multiple timestamps, maintaining a "memory" of object locations over time.
  • Asynchronous Attention-Based Fusion: This module dynamically weights features from both frames and events. By learning pixel-wise masks, the model prioritizes the sensor with the most reliable signal. This asynchronous design allows for high-frequency detection queries, even between standard video frames, by leveraging the high-frequency event data.

3. The PKU-DAVIS-SOD Dataset

To support the development of multimodal detectors, the authors introduced PKU-DAVIS-SOD, a large-scale multimodal neuromorphic dataset. It contains over 1080.1k manual labels across 220 hybrid driving sequences captured with a DAVIS346 camera. The dataset features three object classes (car, pedestrian, and two-wheeler) and specifically includes challenging scenarios like high-speed motion and low-light conditions.

Comprehensive statistics of the PKU-DAVIS-SOD dataset, detailing category diversity, object scale, velocity, and light intensity.

4. Results and Discussion

SODFormer achieves a state-of-the-art 0.504 mAP50 on the PKU-DAVIS-SOD dataset, outperforming both single-modality baselines and previous multimodal fusion methods. Notably, in motion blur scenarios, the model maintains a high mAP50 of 0.432, compared to 0.419 for frame-only models. In low-light conditions, it achieves 0.374 mAP50. The model is efficient, with an inference time of approximately 39.7ms on an NVIDIA V100 GPU, making it suitable for near-real-time applications.

5. Conclusion

SODFormer demonstrates the power of fusing event and frame data through a spatiotemporal Transformer. While it significantly improves robustness, challenges remain in static, low-light scenes where both sensors provide limited information. Future work will explore pure Transformer backbones, explicit motion trajectory modeling, and further optimization for edge device deployment.

Summary updated

BibTeX
@article{li2023sodformer,
  author = {Dianze Li and Jianing Li and Yonghong Tian},
  title = {{SODFormer: Streaming Object Detection with Transformer Using Events and Frames}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2023.3298925},
}
Figure