TL;DR
CLIP-CPM$^2$C enhances few-shot action recognition by bridging the "information gap" between labeled support videos and unlabeled query videos. By using "fake" text prompts and explicit motion compensation, the model leverages the multi-modal power of CLIP to achieve state-of-the-art performance across major video benchmarks.
What Problem Does This Paper Address?
Few-shot action recognition (FSAR) aims to classify novel video actions using only a handful of examples (the "support set"). While large-scale models like CLIP have revolutionized this field by combining visual and textual data, two major hurdles remain:
- The Information Imbalance: In a typical few-shot setup, we have labels for the support videos but not for the query video we are trying to identify. Previous multi-modal methods used these labels to build "prototypes" for the support set, but the query video was left as a visual-only entity. This creates a mismatch in the "amount of information" the model processes for each.
- The "Action" in Action Recognition: Many CLIP-based models treat videos as a sequence of static images, often ignoring the explicit motion dynamics (how pixels move over time) that are crucial for distinguishing similar actions (e.g., "opening a box" vs. "closing a box").
Methods
The authors introduce CLIP-CPM$^2$C (Consistency Prototype Module and Motion Compensation), which consists of three main innovations:
- Consistency Prototype Module (CPM): To solve the information imbalance, the authors introduce "fake prompts." During training, the model learns to generate features using both real text labels and random "fake" vectors. A Consistency Loss forces the model to ensure that the features generated with the fake prompt are as close as possible to those generated with the real label. At test time, since we don't know the query's label, we use this learned "fake" vector to balance the query's representation against the support prototypes.
- Motion Compensation (MC) Module: Instead of relying on expensive 3D convolutions, the model explicitly calculates the difference between adjacent frames in both forward and backward directions. These "differential features" are aggregated into a global motion representation and fused with the standard visual features to provide the network with explicit temporal dynamics.
- Domain Adaptation Module (DAM): This module fine-tunes the pre-trained CLIP model for the specific task of video-text matching, ensuring the visual features from video frames align well with the semantic space of the action labels.
Datasets
The model was evaluated on five standard FSAR benchmarks:
- Kinetics-400: A large-scale dataset of diverse human actions.
- Something-Something v2 (SSv2) Full & Small: Focused on fine-grained human-object interactions where motion direction is critical.
- UCF101 & HMDB51: Classic, smaller-scale action recognition datasets.
Key Insights and Ideas
- The "Fake it 'til you make it" Approach: The most novel idea is using a random vector as a placeholder for a missing label. By training the network to treat this noise as a valid "textual" input via Consistency Loss, the query video can "mimic" the multi-modal structure of the support prototypes.
- Motion as a Supplement, Not a Replacement: The authors found that motion features alone are workable, but they perform best when used to "compensate" for what static frames miss.
- Visualizing Consistency: Attention maps show that without the Consistency Loss, the model often gets distracted by background clutter. Adding the loss helps the model "focus" its attention on the primary object performing the action.
Key Results
The proposed method consistently outperformed or competed with the previous state-of-the-art (SOTA), specifically CLIP-FSAR:
- HMDB51: Achieved 81.2% (5-shot) compared to CLIP-FSAR's 80.7%.
- Kinetics: Reached 93.1% (5-shot), a 1.1% improvement over the baseline.
- SSv2-Full: Showed a significant jump to 64.0% (5-shot), proving that the motion compensation module is particularly effective for datasets where temporal order matters.
- Qualitative Gain: t-SNE visualizations demonstrate that CLIP-CPM$^2$C produces much tighter, more distinct clusters for different action classes compared to visual-only or standard CLIP approaches.
Limitations and Future Work
- 1-Shot Noise: The authors noted that in 1-shot settings (where only one example is provided), the accuracy is sometimes slightly lower than the baseline. They attribute this to the "noise" introduced by the fake-labeled query occasionally outweighing the informational benefit when data is extremely scarce.
- Heuristic Motion: The motion compensation relies on simple frame differences. While efficient, more complex temporal modeling (like optical flow or specialized transformers) might yield even higher accuracy at the cost of computational overhead.
- Future Direction: Exploring more sophisticated ways to generate the "fake prompt" beyond random Gaussian vectors could further stabilize the training process.
Summary updated