Temporally-Adaptive Models for Efficient Video Understanding

10 Aug 2023  ·  Ziyuan Huang, Shiwei Zhang, Liang Pan, Zhiwu Qing, Yingya Zhang, Ziwei Liu, Marcelo H. Ang Jr ·

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.

PDF Abstract

Results from the Paper


Ranked #3 on Action Recognition on EPIC-KITCHENS-100 (using extra training data)

     Get a GitHub badge
Task Dataset Model Metric Name Metric Value Global Rank Uses Extra
Training Data
Result Benchmark
Action Recognition EPIC-KITCHENS-100 TAdaFormer-L/14 Action@1 51.8 # 3
Verb@1 71.7 # 6
Noun@1 64.1 # 3
Action Recognition EPIC-KITCHENS-100 TAdaConvNeXtV2-S Action@1 48.9 # 8
Verb@1 71.0 # 8
Noun@1 60.2 # 10
Action Classification Kinetics-400 TAdaFormer-L/14 Acc@1 89.9 # 11
Action Classification Kinetics-400 TAdaConvNeXtV2-B Acc@1 86.4 # 41
Action Recognition Something-Something V1 TAdaConvNeXtV2-B Top 1 Accuracy 60.7 # 9
Action Recognition Something-Something V1 TAdaFormer-L/14 Top 1 Accuracy 63.7 # 5
Action Recognition Something-Something V2 TAdaConvNeXtV2-B Top-1 Accuracy 71.1 # 31
Action Recognition Something-Something V2 TAdaFormer-L/14 Top-1 Accuracy 73.6 # 19

Methods