Unleashing the Power of CNN and Transformer for Balanced RGB-event Video Recognition

Xiao Wang, Yao Rong, Shiao Wang, Yuan Chen, Zhe Wu, Bo Jiang, Yonghong Tian, Jin Tang

TL;DR

This paper introduces TSCFormer, a novel, lightweight CNN-Transformer framework for RGB-Event video recognition. It effectively balances accuracy and model complexity by combining temporal shift CNNs for local features with a novel BridgeFormer module for global context, achieving state-of-the-art results on challenging benchmarks.

What Problem Does This Paper Address?

Event-based cameras offer significant advantages like high dynamic range and low power consumption, making them ideal for capturing fast-moving objects and challenging lighting conditions. However, they produce sparse, asynchronous data that lacks rich texture information. Traditional RGB cameras, while providing dense, textured information, struggle with high dynamic range and temporal resolution. Recognizing the complementary nature of these modalities, this paper tackles the challenge of effectively fusing RGB and Event data for robust video recognition. Existing methods often fail to strike a good balance between recognition accuracy and model parameter count, leading to either high performance with massive models or lower performance with more efficient ones.

Methods

The proposed TSCFormer framework integrates Convolutional Neural Networks (CNNs) and Transformers to leverage their respective strengths.

  • Backbone: A temporal shift CNN (specifically ResNet50) is used as the backbone to encode both RGB and Event data. The temporal shift operation allows for efficient exchange of information between neighboring frames, mimicking the benefits of 3D CNNs while maintaining 2D CNN complexity.
  • Global Feature Extraction: A novel "BridgeFormer" module is introduced. It randomly initializes a set of global tokens and fuses them with local CNN features using cross-attention. This module is designed to capture long-range global relations efficiently.
  • Feature Fusion: The framework employs F2E (Feature-to-Event) and F2V (Feature-to-Vision) modules to interactively fuse enhanced features back into the RGB and Event CNN blocks. This allows for adaptive fusion and local-global feature enhancement across different resolutions.
  • Lightweight Design: The BridgeFormer module is designed to be lightweight, contributing to the overall efficiency of the model.

Datasets

The paper evaluates the proposed TSCFormer on two large-scale RGB-Event benchmark datasets:

  • HARDVS: This dataset focuses on recognizing human activities like walking, running, and crouching. It comprises 96,908 RGB-Event samples across 300 classes.
  • PokerEvent: This dataset is designed for recognizing character patterns in poker cards, with 24,415 RGB-Event samples across 114 classes.

Key Insights and Ideas

  • Synergy of CNNs and Transformers: The paper demonstrates that combining the local feature extraction capabilities of CNNs with the global context modeling of Transformers is crucial for high-performance RGB-Event recognition.
  • The Power of Temporal Shift: Temporal shift operations in CNNs are effective for capturing temporal dynamics in video data without significantly increasing computational cost.
  • BridgeFormer for Efficient Global Context: The novel BridgeFormer module offers an efficient way to incorporate global contextual information by using initialized global tokens, contributing to a better accuracy-parameter tradeoff.
  • Interactive Fusion is Key: The F2E and F2V modules enable a more effective interaction and fusion of local and global features, leading to improved performance.
  • Late-Stage Fusion Benefits: Injecting the BridgeFormer module in later stages of the CNN backbone yields better results, suggesting that high-level semantic features are more suitable for global relation mining.

Key Results

  • State-of-the-Art Performance: TSCFormer achieves state-of-the-art results on both HARDVS (53.04% top-1 accuracy) and PokerEvent (57.70% top-1 accuracy) datasets.
  • Improved Accuracy-Parameter Tradeoff: The proposed model achieves superior performance compared to existing methods while maintaining a significantly lower parameter count, as visualized in Figure 1.
  • Effectiveness of Components: Ablation studies confirm that each component of TSCFormer (Temporal Shift CNN, BridgeFormer, F2E/F2V modules) contributes to the overall performance.
  • Multi-modal Advantage: Experiments show that combining RGB and Event data yields significantly better results than using either modality alone.

Limitations and Future Work

  • Pre-trained Model Benefits: The authors note that their framework, while using a ResNet backbone initialized with ImageNet weights, did not fully leverage the benefits of pre-trained large models, suggesting potential for improvement.
  • Semantic Gaps: The paper acknowledges the existence of semantic gaps between RGB and Event modalities, which can hinder recognition performance.
  • Future Directions:
    • Further improving the framework by better utilizing pre-trained large models.
  • Developing strategies to bridge the semantic gaps between modalities, potentially inspired by models like BLIP-2 that use Q-Former.
  • Exploring large-scale pre-training techniques.

Summary updated

BibTeX
@inproceedings{wang2023unleashing,
  author = {Xiao Wang and Yao Rong and Shiao Wang and Yuan Chen and Zhe Wu and Bo Jiang and Yonghong Tian and Jin Tang},
  title = {{Unleashing the Power of CNN and Transformer for Balanced RGB-event Video Recognition}},
  booktitle = {Mach. Intell. Res},
  year = {2023},
}
Figure