Temporally-Adaptive Models for Efficient Video Understanding

Ziyuan Huang, Shiwei Zhang, Liang Pan, Zhiwu Qing, Yingya Zhang +2 more
8/10/2023
cs.CV

Official code: alibaba-mmai-research/TAdaConv (246 stars, Apache-2.0, PyTorch, last commit 2023-08-23).

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.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

[ICLR 2022] TAda! Temporally-Adaptive Convolutions for Video Understanding. This codebase provides solutions for video classification, video representation learning and temporal detection.

24634PythonJun 23, 20213 years agoApache-2.0
action-localizationaction-recognitionpytorchself-supervised-learningtadaconv+2 more

Cite this paper

@article{huang2023temporallyadaptive,
  title  = {Temporally-Adaptive Models for Efficient Video Understanding},
  author = {Ziyuan Huang and Shiwei Zhang and Liang Pan and Zhiwu Qing and Yingya Zhang and Ziwei Liu and Marcelo H. Ang},
  year   = {2023},
  eprint = {2308.05787},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.05787v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.05787.svg)](https://codeofpaper.com/paper/2308.05787)

Discussion