M2-CLIP: A Multimodal, Multi-task Adapting Framework for Video Action Recognition
Introduction
Adapting large-scale vision-language models (VLMs) like CLIP to the video domain is a critical frontier in computer vision. While models like CLIP excel at understanding static scenes, they lack the temporal reasoning necessary for action recognition. Existing Parameter-Efficient Fine-Tuning (PEFT) methods typically focus on unimodal adaptation—adding adapters only to the visual branch. While effective for supervised tasks, this often degrades the model's zero-shot generalization by neglecting or freezing the text branch. Conversely, multimodal fine-tuning approaches often struggle to match the supervised accuracy of their unimodal counterparts. M2-CLIP addresses this "performance disparity" by jointly adapting both modalities and employing a multi-task learning strategy.
Methodology
M2-CLIP's architecture is built upon two core components: Multimodal Adapters and a Multi-Task Decoder.
1. Multimodal Adapters
To capture temporal dynamics, M2-CLIP introduces the Visual TED-Adapter. This module combines Temporal Enhancement (TE), using 1D convolutions for global temporal aggregation, and temporal Difference (D) modeling, using 2D convolutions to capture fine-grained motion between adjacent frames. Simultaneously, a lightweight Text Adapter is integrated into the text encoder to refine the semantic representations of action labels, which are often brief and potentially ambiguous for the original CLIP model.
2. Multi-Task Decoder
During training, M2-CLIP utilizes a decoder with four distinct heads to learn robust representations:
- Contrastive Head: Maintains the standard alignment between video and text features.
- Cross-Modal Classification (CMC): A parameter-free head treating similarity scores as a classification task.
- Cross-Modal Masked Language Modeling (CMLM): Forces the text branch to predict masked words in labels based on video features, strengthening cross-modal links.
- Visual Classification (VC): A linear classifier on visual features to enhance supervised discriminative power.
Key Results and Performance
M2-CLIP demonstrates exceptional efficiency and performance across multiple benchmarks. With only 16 million tunable parameters—a fraction of the 142 million used by ActionCLIP—the model achieves 84.1% Top-1 accuracy on Kinetics-400.
Crucially, M2-CLIP bridges the gap between supervised and zero-shot performance. As shown in the performance comparison above, it occupies the top-right quadrant of the trade-off graph, setting new state-of-the-art benchmarks for zero-shot transfer with 78.7% on UCF101 and 47.1% on HMDB51. Ablation studies confirm that both the TED-Adapter and the multi-task decoder are vital; for instance, removing the TED-Adapter results in a significant drop in Kinetics-400 performance from 83.4% to 56.5% in baseline tests.
Conclusion
M2-CLIP provides a robust and efficient framework for adapting VLMs to video. By balancing multimodal adaptation with a diverse set of training objectives, it preserves the zero-shot strengths of CLIP while achieving high-tier supervised accuracy. This "plug-and-play" adapter approach offers a promising direction for other video-related tasks like video retrieval or temporal action localization.
Summary updated