Vita-CLIP: Video and text adaptive CLIP via Multimodal Prompting

Syed Talal Wasim, Muzammal Naseer, Salman H. Khan, Fahad Shahbaz Khan, Mubarak Shah

Abstract

Adapting large-scale vision-language models like CLIP for video recognition typically involves a trade-off between supervised accuracy and zero-shot generalization. Vita-CLIP addresses this by introducing a multimodal prompting scheme that keeps the CLIP backbone frozen while adding lightweight learnable prompts to both vision and text encoders. This unified architecture achieves state-of-the-art zero-shot performance and highly efficient supervised results, bridging the gap between specialized and general-purpose video models.

Introduction

The emergence of Contrastive Language-Image Pre-training (CLIP) has revolutionized various computer vision tasks by providing a robust foundation for zero-shot learning. However, extending CLIP to video recognition remains a significant challenge. Researchers generally face a binary choice: fine-tune the model to achieve high accuracy on specific datasets (like Kinetics-400), which often degrades the model's original zero-shot capabilities, or freeze the model to preserve generalization, which typically results in poor supervised performance due to a lack of temporal reasoning.

Vita-CLIP is designed to resolve this tension. By employing a multimodal prompting strategy, it enables the model to learn temporal dynamics and dataset-specific distributions without altering the underlying pre-trained weights. This approach results in a single, unified model that excels in both supervised and zero-shot settings while maintaining high computational efficiency.

Methodology

The core innovation of Vita-CLIP lies in its multimodal prompting mechanism. Instead of updating the millions of parameters within the CLIP backbone, the authors insert a small set of learnable "prompt" tokens into the frozen architecture.

Vision-Side Prompting

To adapt the vision encoder for the complexities of video data, Vita-CLIP utilizes three distinct types of prompts:

  1. Summary Tokens: These tokens act as message passers across frames. They aggregate discriminative information from the entire video sequence, allowing the model to capture temporal relationships that are otherwise missing in static image encoders.
  2. Global Video-Level Prompts: These learnable vectors help the model adapt to the overall distribution of a specific dataset, such as common lighting conditions, camera angles, or general motion styles.
  3. Local Frame-Level Prompts: Conditioned on individual frames, these prompts provide per-frame discriminative features, helping the model focus on unique details within specific moments of a video.

Text-Side Prompting

Standard CLIP often relies on hand-crafted text prompts (e.g., "a video of a person [label]"). Vita-CLIP replaces these with Class-Specific Context (CSC). This involves learning a set of continuous vectors for each class label, allowing the text encoder to better represent the semantic nuances of complex video actions, which are often more descriptive and dynamic than static image labels.

Experimental Evaluation

The authors evaluated Vita-CLIP across several standard benchmarks to test both supervised and zero-shot performance.

Zero-Shot Performance

Vita-CLIP achieved significant improvements over previous state-of-the-art methods like X-CLIP. Specifically, it demonstrated a 4.0% improvement on HMDB-51, a 3.0% gain on UCF-101, and a 2.2% increase on Kinetics-600. These results underscore the effectiveness of keeping the CLIP backbone frozen to preserve general visual knowledge.

Supervised Efficiency

When trained on Kinetics-400, Vita-CLIP performed on par with much larger, fully fine-tuned models (such as Swin-B). Crucially, it achieved this while using 2-3x fewer GFLOPs. The model is highly parameter-efficient, training only approximately 38.88M parameters compared to the 131.5M parameters typically updated in competing end-to-end methods.

Discussion and Insights

The Power of Frozen Backbones

The success of Vita-CLIP suggests that the general visual knowledge contained within CLIP is sufficient for video tasks if the right adaptation mechanism is used. By avoiding full fine-tuning, the model avoids "catastrophic forgetting" of its pre-trained zero-shot capabilities.

Temporal Modeling via Attention

Visualization through Attention Rollout indicates that Vita-CLIP’s prompts effectively guide the model's focus toward relevant spatio-temporal regions—such as the specific movement of an object or a person's interaction with an environment—more accurately than the baseline CLIP model.

Limitations on Motion-Heavy Data

Despite its successes, Vita-CLIP faces challenges with datasets like Something-Something-V2 (SSv2), where the direction and sequence of motion (e.g., "pushing something left to right") are the primary discriminators. While Vita-CLIP outperformed other frozen-backbone methods on SSv2 by over 10%, it still trails behind models that are fully fine-tuned for motion-centric tasks. This suggests that while prompting is powerful, some tasks may still require deeper architectural updates to fully capture complex temporal logic.

Conclusion

Vita-CLIP demonstrates that multimodal prompting is a highly effective and efficient way to adapt image-text foundation models for video recognition. By balancing supervised accuracy with zero-shot generalization, it provides a versatile framework for future research in video-language understanding.

Summary updated

BibTeX
@inproceedings{wasim2023vita,
  author = {Syed Talal Wasim and Muzammal Naseer and Salman H. Khan and Fahad Shahbaz Khan and Mubarak Shah},
  title = {{Vita-CLIP: Video and text adaptive CLIP via Multimodal Prompting}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure