Temporal Pyramid Network for Action Recognition

Ceyuan Yang, Yinghao Xu, Jianping Shi, Bo Dai, Bolei Zhou

Abstract

Action recognition in video is fundamentally challenged by the diversity of "visual tempo"—the varying speeds and rhythms at which actions occur. Traditional approaches address this by processing multiple raw video streams at different frame rates, which is computationally expensive. We propose the Temporal Pyramid Network (TPN), a generic and efficient "plug-and-play" module that constructs a temporal pyramid at the feature level. TPN modulates features across spatial and temporal dimensions to capture tempo variations within a single backbone network. Our experiments demonstrate that TPN consistently improves performance across various backbones and datasets, including Kinetics-400 and Something-Something, while maintaining high efficiency.

Introduction: The Challenge of Visual Tempo

A primary difficulty in video understanding is that the same action can be performed at vastly different speeds. For instance, "walking" looks different for an elderly person versus a sprinter. This variation, termed visual tempo, exists both within a single action class (intra-class) and across different categories (inter-class).

Visual tempo variations within and across action categories.

As shown in the figure above, actions like "Somersaulting" exhibit high variance in tempo, whereas others like "Shearing sheep" are more consistent. Existing models often use "input-level frame pyramids," feeding multiple versions of a video into parallel network branches. While effective, this approach scales poorly due to the high computational cost of running multiple backbones.

Methods: Feature-Level Modulation

The Temporal Pyramid Network (TPN) shifts the focus from the input level to the feature level. It processes features extracted from a standard backbone (e.g., ResNet) through three key stages:

The TPN architecture, illustrating spatial and temporal modulation followed by information flow.
  1. Spatial Semantic Modulation: Features at different depths of a CNN have varying spatial resolutions and semantic richness. TPN uses a series of convolutions to align these features to a consistent spatial scale and semantic depth. Auxiliary classification heads are used during training to ensure lower-level features retain strong semantic information.
  2. Temporal Rate Modulation: To explicitly capture tempo, TPN downsamples features along the temporal dimension at multiple rates. This creates a hierarchy where the network can simultaneously observe the action at various speeds.
  3. Information Flow: The modulated features are integrated to share context. Among several explored configurations (Top-down, Bottom-up, Cascade), the Parallel flow—which combines both top-down semantic context and bottom-up temporal detail—proved most effective.

Experimental Results

TPN was evaluated on several large-scale benchmarks, demonstrating its versatility as a module for both 2D and 3D architectures.

  • Kinetics-400: Integrating TPN into a 3D ResNet-50 backbone resulted in a 2% absolute improvement in top-1 accuracy.
  • Something-Something (V1 & V2): On these datasets where temporal order is critical, TPN pushed a TSM (Temporal Shift Module) backbone to 62.0% accuracy on V2, highlighting its ability to model complex temporal dynamics.
  • Epic-Kitchens: In egocentric video tasks, TPN showed a remarkable 12.9% improvement in verb classification over the baseline.

Crucially, TPN achieves these gains with significantly less computational overhead than multi-branch methods like SlowFast, as it operates on intermediate features rather than raw pixels across multiple streams.

Conclusion

The Temporal Pyramid Network provides an efficient solution for capturing visual tempo in action recognition. By moving the pyramid construction from the input level to the feature level, TPN offers a scalable, plug-and-play enhancement for existing video models. Future work may extend this multi-tempo feature representation to tasks such as temporal action localization and video object detection.

Summary updated

BibTeX
@inproceedings{yang2020temporal,
  author = {Ceyuan Yang and Yinghao Xu and Jianping Shi and Bo Dai and Bolei Zhou},
  title = {{Temporal Pyramid Network for Action Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00067},
}
Figure