HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Temporally-Adaptive Models for Efficient Video Understanding

Ziyuan Huang Shiwei Zhang Liang Pan Zhiwu Qing Yingya Zhang Ziwei Liu Marcelo H. Ang Jr

Temporally-Adaptive Models for Efficient Video Understanding

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.

Code Repositories

alibaba-mmai-research/TAdaConv
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
action-classification-on-kinetics-400TAdaConvNeXtV2-B
Acc@1: 86.4
action-classification-on-kinetics-400TAdaFormer-L/14
Acc@1: 89.9
action-recognition-in-videos-on-somethingTAdaConvNeXtV2-B
Top-1 Accuracy: 71.1
action-recognition-in-videos-on-somethingTAdaFormer-L/14
Top-1 Accuracy: 73.6
action-recognition-in-videos-on-something-1TAdaConvNeXtV2-B
Top 1 Accuracy: 60.7
action-recognition-in-videos-on-something-1TAdaFormer-L/14
Top 1 Accuracy: 63.7
action-recognition-on-epic-kitchens-100TAdaConvNeXtV2-S
Action@1: 48.9
Noun@1: 60.2
Verb@1: 71.0
action-recognition-on-epic-kitchens-100TAdaFormer-L/14
Action@1: 51.8
Noun@1: 64.1
Verb@1: 71.7

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp