Rethinking Spatiotemporal Feature Learning: Speed-Accuracy Trade-offs in Video Classification

Saining Xie, Chen Sun, Jonathan Huang, Zhuowen Tu, Kevin Murphy

Abstract

While 3D convolutional neural networks (CNNs) have become the standard for video classification, their high computational cost and tendency to overfit present significant challenges. This paper systematically re-evaluates the design of spatiotemporal feature learners. By performing "network surgery" on the I3D architecture, the authors demonstrate that 3D convolutions are most effective when placed in the higher layers of a network. Furthermore, they introduce S3D, which factorizes 3D convolutions into separate spatial and temporal components, and S3D-G, which adds a lightweight gating mechanism. These innovations result in models that are faster, more parameter-efficient, and more accurate than standard 3D CNNs.

Introduction

The success of 2D CNNs in image recognition naturally led to the adoption of 3D CNNs for video. However, simply adding a temporal dimension to filters introduces massive computational overhead and increases the risk of overfitting on smaller datasets. A critical unanswered question in video architecture design was where temporal modeling is most beneficial: at the low-level pixel stage or the high-level semantic stage?

Methods: Optimizing Temporal Modeling

The authors investigated the optimal placement and structure of 3D convolutions through several architectural modifications to the Inflated 3D (I3D) model.

Top-Heavy vs. Bottom-Heavy Architectures

To determine where temporal modeling matters most, the researchers compared "Bottom-Heavy" models (3D convolutions in early layers) with "Top-Heavy" models (3D convolutions in later layers). By varying the point at which the network transitions from 2D to 3D convolutions, they identified the most efficient configurations for capturing motion.

Architectural variants of I3D used to evaluate the placement of temporal modeling.

Separable 3D Convolutions (S3D)

To improve efficiency, the authors replaced standard $k \times k \times k$ 3D filters with a factorized version. This "S3D" approach uses a $1 \times k \times k$ spatial convolution followed by a $k \times 1 \times 1$ temporal convolution. This factorization reduces computation while providing a form of regularization that helps prevent overfitting.

Evolution of the Inception block from 2D to 3D and finally to the Separable (S3D) design.

Spatio-temporal Gating (S3D-G)

Building on S3D, the authors introduced a self-attention-like gating mechanism. After the temporal convolution, a gating branch applies global average pooling and a sigmoid activation to re-weight feature channels based on the global context of the video clip, allowing the model to focus on the most relevant temporal features.

Key Insights

  • 3D Convolutions Belong at the Top: "Top-Heavy" models consistently outperformed "Bottom-Heavy" ones. Analysis of learned weights revealed that early-layer 3D filters often become "lazy," effectively acting as 2D filters by focusing only on the center frame. Temporal modeling is more critical for high-level semantic understanding than for low-level motion detection.
  • Factorization as Regularization: Separating spatial and temporal convolutions (S3D) improved accuracy over standard I3D. The reduced parameter count helps prevent overfitting, especially on datasets where temporal order is less critical.
  • Capturing the "Arrow of Time": On datasets like "Something-Something," which require fine-grained temporal understanding (e.g., "pushing something from left to right"), the S3D-G architecture proved essential. Unlike on Kinetics, where reversing frames has a minimal impact, reversing frames on "Something-Something" significantly degraded performance, confirming the model's temporal sensitivity.

Experimental Results

The proposed models were evaluated on Kinetics, Something-Something, UCF101, and HMDB-51.

  • Efficiency: S3D reduced the computational cost of I3D from 107.9 GFLOPS to 66.4 GFLOPS while improving Top-1 accuracy on Kinetics from 71.1% to 72.2%.
  • Performance: The gated S3D-G model achieved 74.7% on Kinetics, setting a new state-of-the-art for efficient video classification.
  • Temporal Reasoning: On the "Something-Something" dataset, S3D-G reached 48.2% Top-1 accuracy, a significant improvement over the 45.8% achieved by the much heavier I3D model.

Conclusion

This work demonstrates that spatiotemporal modeling does not require dense 3D convolutions throughout the entire network. By prioritizing temporal modeling in higher layers and utilizing separable convolutions with gating, researchers can build video classification models that are both more accurate and significantly more efficient.

Summary updated

BibTeX
@inproceedings{xie2018rethinking,
  author = {Saining Xie and Chen Sun and Jonathan Huang and Zhuowen Tu and Kevin Murphy},
  title = {{Rethinking Spatiotemporal Feature Learning: Speed-Accuracy Trade-offs in Video Classification}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01267-0\_19},
}
Figure