Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Implicit Temporal Modeling with Learnable Alignment for Video Recognition

About

Contrastive language-image pretraining (CLIP) has demonstrated remarkable success in various image tasks. However, how to extend CLIP with effective temporal modeling is still an open and crucial problem. Existing factorized or joint spatial-temporal modeling trades off between the efficiency and performance. While modeling temporal information within straight through tube is widely adopted in literature, we find that simple frame alignment already provides enough essence without temporal attention. To this end, in this paper, we proposed a novel Implicit Learnable Alignment (ILA) method, which minimizes the temporal modeling effort while achieving incredibly high performance. Specifically, for a frame pair, an interactive point is predicted in each frame, serving as a mutual information rich region. By enhancing the features around the interactive point, two frames are implicitly aligned. The aligned features are then pooled into a single token, which is leveraged in the subsequent spatial self-attention. Our method allows eliminating the costly or insufficient temporal self-attention in video. Extensive experiments on benchmarks demonstrate the superiority and generality of our module. Particularly, the proposed ILA achieves a top-1 accuracy of 88.7% on Kinetics-400 with much fewer FLOPs compared with Swin-L and ViViT-H. Code is released at https://github.com/Francis-Rings/ILA .

Shuyuan Tu, Qi Dai, Zuxuan Wu, Zhi-Qi Cheng, Han Hu, Yu-Gang Jiang• 2023

Related benchmarks

TaskDatasetResultRank
Action RecognitionSomething-Something v2 (val)
Top-1 Accuracy67.8
535
Video Action RecognitionKinetics-400
Top-1 Acc84
184
Video ClassificationSomething-Something v2 (test)
Top-1 Acc0.702
169
Video Action RecognitionUCF101
Top-1 Acc94.2
153
Video Action ClassificationSomething-Something v2
Top-1 Acc65
139
Video ClassificationSomething-Something v2 (val)
Top-1 Acc67.8
69
Video RecognitionKinetics-400
Top-1 Acc88.7
54
Video Action RecognitionEpic Kitchens 100
Top-1 Acc60.8
12
Video Action RecognitionKinetics-GYM
Top-1 Accuracy82.7
12
Video RecognitionTemporal Understanding Benchmark Temporal-50 Static-50
Top-1 Acc (Temporal-50)0.819
3
Showing 10 of 10 rows

Other info

Code

Follow for update