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

Dual-path Adaptation from Image to Video Transformers

About

In this paper, we efficiently transfer the surpassing representation power of the vision foundation models, such as ViT and Swin, for video understanding with only a few trainable parameters. Previous adaptation methods have simultaneously considered spatial and temporal modeling with a unified learnable module but still suffered from fully leveraging the representative capabilities of image transformers. We argue that the popular dual-path (two-stream) architecture in video models can mitigate this problem. We propose a novel DualPath adaptation separated into spatial and temporal adaptation paths, where a lightweight bottleneck adapter is employed in each transformer block. Especially for temporal dynamic modeling, we incorporate consecutive frames into a grid-like frameset to precisely imitate vision transformers' capability that extrapolates relationships between tokens. In addition, we extensively investigate the multiple baselines from a unified perspective in video understanding and compare them with DualPath. Experimental results on four action recognition benchmarks prove that pretrained image transformers with DualPath can be effectively generalized beyond the data domain.

Jungin Park, Jiyoung Lee, Kwanghoon Sohn• 2023

Related benchmarks

TaskDatasetResultRank
Action RecognitionSomething-Something v2 (val)
Top-1 Accuracy70.3
535
Action RecognitionSomething-Something v2 (test)
Top-1 Acc72.2
333
Action RecognitionHMDB51 (test)
Accuracy0.756
249
Action RecognitionKinetics 400 (test)
Top-1 Accuracy87.7
245
Action RecognitionSomething-Something v2 (test val)
Top-1 Accuracy72.2
187
Video Action RecognitionKinetics-400
Top-1 Acc85.4
184
Video Action RecognitionKinetics 400 (val)
Top-1 Acc85.4
151
Video Action ClassificationSomething-Something v2
Top-1 Acc69.6
139
Action RecognitionDiving-48 (test)
Top-1 Acc88.7
81
Action RecognitionSS Full v2
1-shot Accuracy64.5
21
Showing 10 of 10 rows

Other info

Code

Follow for update