Skip to main content
QUICK REVIEW

[Paper Review] TAda! Temporally-Adaptive Convolutions for Video Understanding

Ziyuan Huang, Shiwei Zhang|arXiv (Cornell University)|Oct 12, 2021
Human Pose and Action RecognitionComputer Science59 references31 citations
TL;DR

TAdaConv adds temporally adaptive calibration weights to 2D convolutions, enabling frame-wise temporal modeling that is efficient and compatible with pre-trained models, improving video classification and localization. It can be plugged into existing backbones like ResNet/ConvNeXt and TAda2D TAdaConvNeXt, achieving competitive or state-of-the-art results on multiple datasets.

ABSTRACT

Spatial convolutions are widely 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 modelling complex temporal dynamics in videos. Specifically, TAdaConv empowers the spatial convolutions with temporal modelling abilities by calibrating the convolution weights for each frame according to its local and global temporal context. Compared to previous temporal modelling operations, 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, the kernel calibration brings an increased model capacity. We construct TAda2D and TAdaConvNeXt networks by replacing the 2D convolutions in ResNet and ConvNeXt with TAdaConv, which leads to at least on par or better performance compared to state-of-the-art approaches on multiple video action recognition and localization benchmarks. We also demonstrate that as a readily plug-in operation with negligible computation overhead, TAdaConv can effectively improve many existing video models with a convincing margin.

Motivation & Objective

  • Motivate relaxing temporal invariance in convolutions to better capture temporal dynamics in videos.
  • Introduce TAdaConv that factorizes the per-frame kernel as W_t = alpha_t * W_b and generates alpha_t from temporal context.
  • Demonstrate that TAdaConv can serve as a plug-in replacement for 2D convolutions and improve existing video models with low overhead.
  • Showcase TAda2D and TAdaConvNeXt with strong results on action classification and localization benchmarks.

Proposed method

  • Factorize the convolution weight for frame t as W_t = alpha_t * W_b where W_b is a shared base weight and alpha_t is a frame-specific calibration vector.
  • Generate calibration weights alpha_t from temporal context using frame descriptors via global average pooling and local temporal context with 1D convolutions plus a global descriptor g (via FC); include linear or non-linear weight generation and optionally global context.
  • Initialize TAdaConv to reproduce standard convolution by setting alpha_t = 1 at start to leverage pre-trained weights.
  • Replace 2D convolutions in backbones (ResNet-based TAda2D; ConvNeXt-based TAdaConvNeXt) and add a temporal feature aggregation module after TAdaConv for 2D networks.
  • Calibrate along the channel dimension (C_in) for effectiveness and efficiency; analyze different calibration dimensionalities.

Experimental results

Research questions

  • RQ1Can temporally adaptive, frame-wise calibration of convolution kernels improve temporal modeling in video tasks without prohibitive computational cost?
  • RQ2How does TAdaConv compare to traditional temporal convolutions and other dynamic filters in terms of parameters, FLOPs, and performance on action recognition and localization datasets?
  • RQ3What initialization, calibration dimension, and temporal context settings maximize TAdaConv’s benefit when plugged into existing backbones?
  • RQ4Does TAdaConv maintain compatibility with pre-trained weights and provide consistent gains across different architectures (ResNet, ConvNeXt) and tasks (classification, localization)?

Key findings

  • TAdaConv improves performance when plugged into existing models, with negligible computation overhead relative to baseline 2D/3D convolutions.
  • TAdaConv achieves on-par or better results than state-of-the-art approaches on multiple video action recognition benchmarks.
  • TAda2D and TAdaConvNeXt variants show strong results on Kinetics-400, Something-Something-V2, Epic-Kitchens-100, and action localization datasets like HACS and Epic-Kitchens-100.
  • Calibration weight generation benefits from including local temporal context and a global temporal descriptor, with larger temporal kernels (e.g., (3,3)) providing larger gains.
  • Calibrating on the input channel dimension (C_in) yields better performance gains and efficiency than calibrating other dimensions.
  • Using TAdaConv across multiple stages yields increasing improvements, with later stages contributing more to final accuracy.

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.