TL;DR
This paper tackles the challenge of identifying and classifying actions in videos when you only have a few examples (few-shot) or no examples at all (zero-shot) of the target actions during training. They achieve this by using multi-modal prompting with foundation models like CLIP, enriching action descriptions with detailed language and visual cues to overcome ambiguous category names and improve localization accuracy.
What Problem Does This Paper Address?
Temporal Action Localization (TAL) is the task of finding and labeling specific actions within long, untrimmed videos. Most existing methods assume a "closed-set" scenario, meaning the actions seen during training are the only ones that can be detected during testing. This is a major limitation for real-world applications where new or unseen actions might appear. This paper addresses the more challenging "open-vocabulary" TAL problem, specifically focusing on low-shot (zero-shot and few-shot) scenarios. A key challenge here is that category names themselves can be ambiguous (e.g., "fencing" can refer to a sport or an enclosure), making it hard for models to distinguish between visually similar but semantically different actions.
Methods
The authors propose a two-stage Transformer-based architecture.
- Category-Agnostic Action Proposal: This stage focuses on detecting potential action segments without knowing their specific category. They improve upon existing methods by explicitly aligning embeddings from RGB (visual appearance), optical flow (motion), and text modalities. This is crucial for capturing temporal motion information, which is often overlooked in low-shot TAL.
- Open-Vocabulary Action Classification: This stage classifies the proposed action segments into categories, including those not seen during training. To combat lexical ambiguity, they introduce two novel prompting strategies:
- Language Descriptions: They use large language models (LLMs) like GPT-3 to generate detailed attribute descriptions for action categories (e.g., "what tools are needed for skiing?", "where does skiing take place?"). These richer descriptions, when fed to a pre-trained text encoder like CLIP's, create more discriminative classifiers.
- Vision-Conditional Prompting: For cases where detailed text descriptions are difficult to obtain, they propose a vision-conditional prompt module. This module takes RGB and optical flow features from a video segment and generates instance-specific prompt vectors. These vectors are then used to condition the text encoder, allowing it to learn from the visual context of the action.
Finally, they align these multi-modal features into a shared embedding space for effective localization and classification.
Datasets
The authors evaluate their method on two standard benchmarks:
- THUMOS14: Contains 413 untrimmed videos with 20 action categories.
- ActivityNet1.3: A larger dataset with 20,000 videos and 200 action categories.
They use standard zero-shot splits (75:25 and 50:50, where percentages refer to the ratio of seen to unseen categories) and also introduce N-shot evaluation settings for few-shot scenarios.
Key Insights and Ideas
- Lexical Ambiguity is a Major Hurdle: The paper strongly emphasizes that relying solely on category names for classification is insufficient due to their inherent ambiguity. This insight drives the core of their proposed solutions.
- Multi-Modal Fusion for Temporal Understanding: Explicitly aligning RGB, optical flow, and text embeddings is critical. Optical flow, in particular, provides essential motion cues that significantly improve both action proposal and classification.
- LLMs as Powerful Description Generators: Leveraging LLMs to generate detailed, attribute-based descriptions for actions is a highly effective way to create more discriminative text classifiers, overcoming the limitations of simple category names.
- Vision-Conditional Prompting for Visual Context: When text descriptions are insufficient, using visual information (RGB and flow) to generate instance-specific prompts for the text encoder offers a powerful alternative for learning action semantics.
- Freezing Foundation Models is Key for Generalization: Keeping the pre-trained vision and language encoders frozen during training and only optimizing the downstream modules (like the prompt module and classifier) prevents overfitting to the base categories and improves generalization to unseen actions.
Key Results
- State-of-the-Art Performance: The proposed method significantly outperforms existing state-of-the-art approaches in low-shot temporal action localization, achieving substantial gains (e.g., over 10% average mAP on THUMOS14 in some cases).
- RGB + Flow Synergy: Adding optical flow to the RGB modality consistently boosts performance, demonstrating the effectiveness of tri-modal alignment.
- Language Descriptions Outperform Vanilla Names: Using detailed language descriptions for classification yields significant improvements (around 10.5% average mAP and 6.0% accuracy gains) over using only category names.
- Vision-Conditional Prompts are Effective: The vision-conditional prompt module also shows considerable gains, especially when combined with RGB and Flow modalities.
- Comparable to Closed-Set Methods: In zero-shot settings, their RGB-Flow results are competitive with some earlier closed-set methods, highlighting the strength of their approach.
Limitations and Future Work
- Annotation Costs for Few-Shot: While few-shot learning offers better performance than zero-shot, it comes with increased annotation costs, as more examples are needed for novel categories.
- Prompt Length Variance: The paper notes that prompt length has only a slight effect on performance, suggesting that finding the optimal length is not overly sensitive. They choose 32 prompt vectors for a good trade-off.
- Shared Backbone Trade-off: While sharing visual backbones for RGB and Flow can be efficient, it slightly harms performance compared to using separate networks, possibly due to premature fusion.
- Future Work: The authors suggest that their approach is applicable to other foundation models and could be extended to other video understanding tasks. The effectiveness of optical flow suggests further exploration of motion-based features.
Summary updated