[Paper Review] Fine-tuned CLIP Models are Efficient Video Learners
This paper proposes ViFi-CLIP, a simple yet effective baseline that fine-tunes both vision and text encoders of CLIP on video data, achieving competitive performance across zero-shot, few-shot, and fully supervised video benchmarks without adding parametric modules. The method implicitly models temporal dynamics through frame-level feature aggregation and pooling, outperforming complex architectures in generalization and efficiency.
Large-scale multi-modal training with image-text pairs imparts strong generalization to CLIP model. Since training on a similar scale for videos is infeasible, recent approaches focus on the effective transfer of image-based CLIP to the video domain. In this pursuit, new parametric modules are added to learn temporal information and inter-frame relationships which require meticulous design efforts. Furthermore, when the resulting models are learned on videos, they tend to overfit on the given task distribution and lack in generalization aspect. This begs the following question: How to effectively transfer image-level CLIP representations to videos? In this work, we show that a simple Video Fine-tuned CLIP (ViFi-CLIP) baseline is generally sufficient to bridge the domain gap from images to videos. Our qualitative analysis illustrates that the frame-level processing from CLIP image-encoder followed by feature pooling and similarity matching with corresponding text embeddings helps in implicitly modeling the temporal cues within ViFi-CLIP. Such fine-tuning helps the model to focus on scene dynamics, moving objects and inter-object relationships. For low-data regimes where full fine-tuning is not viable, we propose a `bridge and prompt' approach that first uses fine-tuning to bridge the domain gap and then learns prompts on language and vision side to adapt CLIP representations. We extensively evaluate this simple yet strong baseline on zero-shot, base-to-novel generalization, few-shot and fully supervised settings across five video benchmarks. Our code is available at https://github.com/muzairkhattak/ViFi-CLIP.
Motivation & Objective
- To investigate whether simple fine-tuning of image-based CLIP models is sufficient to bridge the domain gap between images and videos.
- To address the limitation of existing video adaptation methods that rely on complex, task-specific modules which hinder generalization.
- To develop an efficient adaptation strategy for low-data regimes where full fine-tuning is infeasible.
- To evaluate the generalization capacity of fine-tuned CLIP across zero-shot, few-shot, and base-to-novel generalization settings.
Proposed method
- Proposes ViFi-CLIP, a simple baseline that fine-tunes both the vision and text encoders of CLIP on video datasets like Kinetics-400 to adapt image representations to video.
- Employs frame-level feature processing followed by temporal feature pooling and contrastive loss with text embeddings to implicitly model inter-frame relationships.
- Introduces a two-stage 'bridge and prompt' method: first fine-tuning CLIP on video data to bridge the modality gap, then applying vision-language (VL) prompt learning with learnable vectors in both vision and language branches.
- Applies prompts at deeper layers of both encoders to capture hierarchical representations, improving adaptation without fine-tuning the backbone.
- Uses a contrastive learning objective during fine-tuning to align video and text embeddings, enhancing temporal and semantic alignment.
- Evaluates the method across five video benchmarks under zero-shot, few-shot, and base-to-novel generalization settings to assess robustness and generalization.
![Figure 1 : This work explores the capability of a simple baseline called ViFi-CLIP (Video Fintuned CLIP) for adapting image pretrained CLIP [ 33 ] to video domain. The figure compares the zero-shot performance of vanilla CLIP and several of its variants adapted for videos (trained on Kinetics-400, e](https://ar5iv.labs.arxiv.org/html/2212.03640/assets/x1.png)
Experimental results
Research questions
- RQ1Can a simple fine-tuning of CLIP’s vision and text encoders effectively adapt image-based representations to video tasks without adding parametric modules?
- RQ2Does full fine-tuning of CLIP degrade its generalization capacity, or does it enhance it across diverse video benchmarks?
- RQ3How effective is vision-language prompt learning in low-data regimes when combined with a video-fine-tuned CLIP backbone?
- RQ4Can a simple baseline outperform complex architectures with dedicated temporal modeling components in terms of performance and efficiency?
Key findings
- ViFi-CLIP achieves state-of-the-art performance on UCF-101 and HMDB-51 in zero-shot settings, with 93.0% and 95.0% accuracy respectively, outperforming XCLIP and ActionCLIP.
- In few-shot learning with K=2, VL prompting achieves 95.9% accuracy on UCF-101 and 96.4% on HMDB-51, surpassing XCLIP by 2.5% and 2% respectively.
- The 'bridge and prompt' approach achieves 77.1% accuracy on HMDB-51 base-to-novel generalization, outperforming vanilla CLIP (53.3%) and matching fine-tuned models like XCLIP (75.8%).
- VL prompting achieves 71.6 throughput (TP) with only 287 GFLOPs, outperforming ActionCLIP (67.8 TP) and XCLIP (58.5 TP) in efficiency despite comparable FLOPs.
- t-SNE visualizations show that ViFi-CLIP embeddings are more separable than vanilla CLIP, indicating better learned video-specific inductive biases.
- The method consistently improves generalization on novel classes while maintaining strong performance on base classes, demonstrating robustness across transfer settings.
![Figure 2 : Frequency plot of K400 [ 19 ] and SSv2 [ 14 ] .](https://ar5iv.labs.arxiv.org/html/2212.03640/assets/Figures_compressed/freq_plot.png)
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.