Skip to main content
QUICK REVIEW

[Paper Review] Temporally-Adaptive Models for Efficient Video Understanding

Ziyuan Huang, Shiwei Zhang|arXiv (Cornell University)|Aug 10, 2023
Human Pose and Action RecognitionComputer Science7 citations
TL;DR

This paper proposes Temporally-Adaptive Convolutions (TAdaConv), a plug-in module that enhances spatial convolutions with dynamic temporal modeling by adaptively calibrating kernel weights per frame using local and global temporal context. TAdaConv improves efficiency and performance, enabling models like TAdaConvNeXtV2 and TAdaFormer to achieve state-of-the-art results on action recognition and localization benchmarks with reduced computation and strong generalization.

ABSTRACT

Spatial convolutions are extensively used in numerous deep video models. It fundamentally assumes spatio-temporal invariance, i.e., using shared weights for every location in different frames. This work presents Temporally-Adaptive Convolutions (TAdaConv) for video understanding, which shows that adaptive weight calibration along the temporal dimension is an efficient way to facilitate modeling complex temporal dynamics in videos. Specifically, TAdaConv empowers spatial convolutions with temporal modeling abilities by calibrating the convolution weights for each frame according to its local and global temporal context. Compared to existing operations for temporal modeling, TAdaConv is more efficient as it operates over the convolution kernels instead of the features, whose dimension is an order of magnitude smaller than the spatial resolutions. Further, kernel calibration brings an increased model capacity. Based on this readily plug-in operation TAdaConv as well as its extension, i.e., TAdaConvV2, we construct TAdaBlocks to empower ConvNeXt and Vision Transformer to have strong temporal modeling capabilities. Empirical results show TAdaConvNeXtV2 and TAdaFormer perform competitively against state-of-the-art convolutional and Transformer-based models in various video understanding benchmarks. Our codes and models are released at: https://github.com/alibaba-mmai-research/TAdaConv.

Motivation & Objective

  • To address the inefficiency and limited temporal modeling capacity of standard spatial convolutions in video understanding.
  • To enable dynamic, frame-specific kernel adaptation without sacrificing pre-trained weights or introducing high computational cost.
  • To improve temporal modeling in both convolutional and Transformer-based video models by incorporating local and global temporal context into kernel calibration.
  • To achieve competitive performance with state-of-the-art models while maintaining efficiency and scalability.
  • To demonstrate strong zero-shot and few-shot generalization through large-scale pre-training and post-pre-training.

Proposed method

  • TAdaConv factorizes the convolution kernel for each frame as $\mathbf{W}_t = \bm{\alpha}_t \cdot \mathbf{W}_b$, where $\mathbf{W}_b$ is a learnable base weight and $\bm{\alpha}_t$ is a temporal calibration weight.
  • The calibration weight $\bm{\alpha}_t$ is generated from frame descriptors of adjacent frames and a global video descriptor using multi-head self-attention to capture long-range temporal dependencies.
  • TAdaBlocks are introduced as enhanced building blocks that integrate TAdaConv with efficient temporal feature aggregation for both ConvNeXt and Vision Transformer architectures.
  • TAdaConvV2 improves the original TAdaConv by optimizing the calibration mechanism and introducing a more effective attention-based global context encoder.
  • The models TAdaConvNeXtV2 and TAdaFormer are trained using ImageNet pre-training and further post-trained on Kinetics-710 for improved zero-shot and few-shot performance.
  • The method is designed as a drop-in replacement, preserving pre-trained weights and enabling efficient adaptation to video tasks without retraining from scratch.

Experimental results

Research questions

  • RQ1Can adaptive kernel calibration along the temporal dimension improve video understanding efficiency and accuracy compared to fixed-weight convolutions?
  • RQ2Can a kernel-level adaptation mechanism preserve pre-trained weights while enabling strong temporal modeling in video models?
  • RQ3How does TAdaConv compare to standard 1D temporal convolutions and other dynamic filtering methods in terms of computation cost and performance?
  • RQ4To what extent can TAdaConv enhance both convolutional and Transformer-based video models in action recognition and localization tasks?
  • RQ5Does large-scale pre-training and post-pre-training further boost the zero-shot generalization of TAda-based models on downstream video benchmarks?

Key findings

  • TAdaConvNeXtV2-S with 32 frames outperforms Swin-B by 1.3% on Kinetics-400 with only 57% of the computation, demonstrating high efficiency and accuracy.
  • TAdaConvNeXt-B achieves 3.9% and 2.9% higher accuracy than TDN-R101 on Something-Something-V1 and V2, respectively, under similar pre-training conditions.
  • TAdaFormer-L/14 outperforms UniFormerV2-L/14 by 0.8% and 0.5% on SSV1 and SSV2, respectively, showing strong performance on temporal modeling tasks.
  • TAdaFormer-B/16 achieves superior zero-shot accuracy on UCF101 and HMDB51 compared to fine-tuned CLIP ViFi-CLIP, with further gains from model scaling and post-pre-training.
  • On HACS and Epic-Kitchens-100, TAdaConvNeXtV2 and TAdaFormer produce strong features for action localization, outperforming BMN baselines and achieving competitive results with ViViT and SlowFast.
  • TAdaConvNeXtV2 and TAdaFormer demonstrate strong scalability, with performance gains from larger model sizes and larger-scale pre-training, including post-pre-training on Kinetics-710.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.