[Paper Review] AIM: Adapting Image Models for Efficient Video Action Recognition
AIM freezes pre-trained image transformers and adds lightweight adapters to achieve spatiotemporal video understanding with far fewer tunable parameters, matching or exceeding prior state-of-the-art on multiple benchmarks.
Recent vision transformer based video models mostly follow the ``image pre-training then finetuning" paradigm and have achieved great success on multiple video benchmarks. However, full finetuning such a video model could be computationally expensive and unnecessary, given the pre-trained image transformer models have demonstrated exceptional transferability. In this work, we propose a novel method to Adapt pre-trained Image Models (AIM) for efficient video understanding. By freezing the pre-trained image model and adding a few lightweight Adapters, we introduce spatial adaptation, temporal adaptation and joint adaptation to gradually equip an image model with spatiotemporal reasoning capability. We show that our proposed AIM can achieve competitive or even better performance than prior arts with substantially fewer tunable parameters on four video action recognition benchmarks. Thanks to its simplicity, our method is also generally applicable to different image pre-trained models, which has the potential to leverage more powerful image foundation models in the future. The project webpage is \url{https://adapt-image-models.github.io/}.
Motivation & Objective
- Motivate reducing cost of video model training by leveraging pre-trained image models.
- Propose a parameter-efficient adaptation framework for spatiotemporal reasoning in videos.
- Show that freezing image backbones plus lightweight adapters can reach or surpass state-of-the-art on video benchmarks.
- Demonstrate compatibility with multiple image pre-trained models and quantify efficiency gains.
Proposed method
- Freeze a pre-trained image transformer backbone.
- Insert spatial adapters after self-attention layers to enable spatial adaptation.
- Reuse the image model's self-attention for temporal modeling (T-MSA) with a temporal adapter for temporal adaptation.
- Add a joint adapter in parallel to the MLP for joint spatiotemporal adaptation with a scaling factor in the final fusion.
- Train only the newly added adapters while keeping the backbone frozen.
Experimental results
Research questions
- RQ1Can a frozen image transformer backbone, augmented with lightweight adapters, achieve competitive video action recognition performance?
- RQ2How much performance gain is achieved by adding spatial, temporal, and joint adapters sequentially?
- RQ3Is the AIM approach compatible with different image pre-trained models and backbones while offering data and compute efficiency?
Key findings
- AIM achieves competitive or better performance than full finetuned video models with substantially fewer tunable parameters (e.g., 38M tunable params for ViT-L/14 with CLIP pretraining achieving 87.5% on K400).
- Spatial adaptation alone yields comparable results to full finetuned space-only baselines while using far fewer tunable parameters (3.7M vs 86M).
- Temporal adaptation significantly improves performance, reaching 61.2% top-1 on Something-Something-v2 with frozen spatial backbones.
- Joint adaptation further closes the gap to full finetuned space-time models and yields higher accuracy (62.0% top-1 on SSv2), with only 14.3M tunable parameters.
- AIM with CLIP-pretrained backbones often outperforms TimeSformer and matches or exceeds several state-of-the-art models across K400, K700, SSv2, and Diving-48 datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.