SFMViT: SlowFast Meet ViT in Chaotic World

Jiaying Lin, Jiajun Wen, Mengyuan Liu, Jinfu Liu, Baiqiao Yin, Yue Li

TL;DR

SFMViT is a new dual-stream architecture that combines the global reasoning of Vision Transformers (ViT) with the temporal precision of SlowFast networks to master spatiotemporal action localization. By pairing this hybrid backbone with a novel "Confidence Pruning Strategy" for object anchors, the researchers achieved a massive performance leap on the challenging "Chaotic World" dataset, outperforming previous state-of-the-art models by over 10% mAP.

What Problem Does This Paper Address?

Spatiotemporal action localization—the task of identifying who is doing what and where in a video—is notoriously difficult in "chaotic" environments. Think of a crowded protest, a busy hospital ward, or a disaster relief scene. In these contexts, traditional models often fail because they either miss the global context of the scene or struggle to track fine-grained temporal movements amidst the noise.

Furthermore, most modern localization pipelines use a two-stage approach: first, a detector finds people (anchors), and then a backbone classifies their actions. However, standard detectors often produce a flood of redundant or low-quality anchors in crowded scenes. This "anchor bloat" wastes computational resources and introduces noise that degrades final accuracy.

Methods

The authors introduce a two-pronged solution: a hybrid backbone called SFMViT and a Confidence Pruning Strategy.

1. The SFMViT Backbone

Instead of picking one architecture, the team built a dual-stream system to get the best of both worlds:

  • Vision Transformer (ViT) Stream: Leverages global attention to understand complex scenes and maintain robustness.
  • SlowFast Stream: Uses a "Slow" pathway to capture spatial semantics and a "Fast" pathway to capture high-frequency motion signals.
  • Fusion: Features from both streams are aligned and concatenated, allowing the model to reason about an action using both broad context and specific motion rhythms.
Fig. 1. Framework of our proposed SFMViT. The left yellow background box diagram shows the architecture flow of our entire spatiotemporal action localization task, and the right orange background box diagram shows the details of the SFMViT module we propose. The 32-frame input video clip goes through the ViT and SlowFast dual-stream networks to obtain spa- tiotemporal context features. The coordinate axes illustrate the changes in the spatial size and channel dimensions of the feature maps in the SlowFast branch. Anchors are obtained by YOLO series object detectors based on the detection results at keyframes to get individual features from context features. These features of the target individuals go through high-order relation reasoning by the ACAR module [12] and our proposed Confidence Pruning Strategy before the final action category classification.

2. Confidence Pruning Strategy

To handle the "anchor bloat" problem, the authors developed an iterative pruning method. Instead of keeping every box the detector finds, they use a maximum heap to store only the top-$k$ most confident anchors per frame. Crucially, they don't just guess a value for $k$; they use a multi-threaded iterative approach (Algorithm 1 in the paper) to find the optimal "capacity" for a specific dataset and model.

Datasets

The primary benchmark for this study is the Chaotic World dataset. It is significantly more complex than standard datasets like AVA, featuring 50 action categories (including destructive and lifesaving behaviors) across nearly 300,000 annotated instances. The model was also pre-trained on large-scale datasets including Kinetics-400/700, AVA v2.2, and WiderPerson (for the detector).

Key Insights and Ideas

  • Complementary Strengths: The researchers found that ViT and SlowFast are truly complementary. ViT is excellent at recognizing actions that are more about posture and trajectory (like "throwing"), while SlowFast excels at capturing the temporal "beat" of an action.
  • The "Goldilocks" Anchor Count: Figure 3 illustrates a fascinating "hump" in performance. If you keep too few anchors, you miss the actors; if you keep too many, the "noise" from false positives drowns out the signal. The optimal capacity for SFMViT was found to be 1599 anchors.
  • Robustness in Chaos: Traditional models like I3D or SlowFast alone saw their performance crater when moved to the Chaotic World dataset. The dual-stream approach proved much more resilient to environmental disruptions.
Fig. 3. Curve of mAP with capacity for SFMViT and ViT*. The envelope outside the curve is centered on the curve, with the curve value ± standard deviation at that point as the upper and lower limits.

Key Results

The results on the Chaotic World dataset were definitive:

  • New SOTA: SFMViT achieved a 26.62% mAP, shattering the previous record held by IntelliCare (16.25%).
  • Ablation Success: Removing the SlowFast stream dropped performance to 18.25%, while removing the ViT stream caused it to plummet to 9.88%, proving the necessity of the dual-stream design.
  • Upper Bound: When tested with "Ground Truth" anchors (perfect person detection), the SFMViT backbone reached a staggering 42.28% mAP, suggesting that as person detectors improve, this backbone will perform even better.
Comparison of SFMViT against other models shows a significant lead in mAP.

Limitations and Future Work

While highly effective, the authors acknowledge two main areas for improvement:

  1. Simplistic Fusion: Currently, the model simply concatenates features from the two streams. More sophisticated fusion techniques (like cross-attention) might unlock even higher performance.
  2. Detector Dependency: The model's real-world performance is still heavily gated by the quality of the initial person detector (YOLO).

Future work will focus on optimizing these fusion methods and exploring ways to make the localization less dependent on the initial detection stage.

Summary updated

BibTeX
@inproceedings{lin2024sfmvit,
  author = {Jiaying Lin and Jiajun Wen and Mengyuan Liu and Jinfu Liu and Baiqiao Yin and Yue Li},
  title = {{SFMViT: SlowFast Meet ViT in Chaotic World}},
  booktitle = {Workshops @ ICME},
  year = {2024},
}
Figure