Dual-path Adaptation from Image to Video Transformers

Jungin Park, Jiyoung Lee, Kwanghoon Sohn
3/17/2023
cs.CVcs.LG

No official code found. Best implementation: park-jungin/DualPath (49 stars, last commit 2022-11-12).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

492Python, Jupyter NotebookNov 12, 20223 years ago

Cite this paper

@article{park2023dualpath,
  title  = {Dual-path Adaptation from Image to Video Transformers},
  author = {Jungin Park and Jiyoung Lee and Kwanghoon Sohn},
  year   = {2023},
  eprint = {2303.09857},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.09857v1},
  journal = {CVPR 2023 2023}
}

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/2303.09857.svg)](https://codeofpaper.com/paper/2303.09857)

Discussion