Introduction
Few-Shot Learning (FSL) aims to recognize novel categories from a limited number of labeled examples. While significant progress has been made in static image recognition, few-shot video classification remains a formidable challenge. Videos are high-dimensional and temporally complex, often exhibiting high intra-class variation. For instance, the action "digging something out of something" can appear vastly different depending on the tools and environment involved.
Traditional methods often attempt to bridge this gap through enhanced temporal modeling or data augmentation. However, they frequently overlook the rich semantic information provided by natural language. Humans often use linguistic instructions to learn new tasks; similarly, this paper proposes leveraging textual descriptions as "privileged information" to guide the learning process. The resulting framework, TNT (Text-Conditioned Network with Transductive Inference), uses language to modulate visual features and unlabeled test data to refine class representations.
The TNT Framework
The TNT architecture is composed of three primary, interconnected modules designed to align visual features with semantic task descriptions and leverage the structure of the query set.
1. Task Conditioner ($\Psi$)
The Task Conditioner acts as the system's semantic core. It utilizes a pre-trained RoBERTa language model to encode textual descriptions of the support (labeled) videos. From these embeddings, it generates modulation parameters ($\gamma, \beta$) via a FiLM (Feature-wise Linear Modulation) generator. These parameters are used to adapt the visual encoder to the specific nuances of the current task.
2. Task-Conditioned Video Encoder ($g$)
This module employs a standard ResNet backbone enhanced with FiLM layers. These layers dynamically adjust visual feature maps based on the task-specific parameters provided by the Task Conditioner. By conditioning on text, the encoder can prioritize relevant visual cues—such as a specific object or a particular motion stream—while suppressing irrelevant background information.
3. Task-Conditioned Transductive Classifier ($h$)
Unlike standard inductive few-shot models that rely solely on support samples to form class prototypes, TNT adopts a transductive approach. It considers the unlabeled query (test) samples simultaneously. A Dynamic Prototype Module uses cross-attention to identify query instances likely belonging to a specific class, using them to "rectify" and strengthen the class prototypes. This effectively treats unlabeled data as a multiplier for the scarce labeled samples.
Experimental Setup and Benchmarks
The authors evaluated TNT on four major benchmarks, categorized by the depth of their textual metadata:
- Rich Textual Descriptions: Something-Something-100 (SS-100) and a newly introduced benchmark, Epic-Kitchens-92 (EK-92), which features narrated, spontaneous kitchen actions.
- Short Class-Level Descriptions: MetaUCF-101 and Kinetics-100, which provide only brief class labels.
Key Results and Insights
TNT achieved state-of-the-art (SOTA) performance across all tested datasets, demonstrating particular strength in fine-grained action recognition:
- Epic-Kitchens-92: Achieved 46.13% (1-shot) and 59.00% (5-shot) accuracy, significantly outperforming the TSN++ baseline.
- Something-Something-100: Reached 50.44% (1-shot), surpassing previous SOTA methods like TAM (42.8%) and TRN++ (38.6%).
- MetaUCF-101: Achieved a high of 94.14% (5-shot) accuracy.
Key Findings:
- Language as a Superior Signal: Ablation studies comparing text-based conditioning to video-based conditioning (using C3D) found that language provides a cleaner, more structured signal for task adaptation.
- Visual Grounding: Qualitative analysis using Class Activation Maps (CAMs) revealed that text conditioning successfully shifts the model's attention toward objects explicitly mentioned in the descriptions.
- Transductive Benefit: The use of unlabeled query data was found to be most impactful in 1-shot scenarios, where labeled data is most scarce.
Conclusion
The TNT framework demonstrates that natural language is a powerful tool for overcoming the data scarcity inherent in few-shot video classification. By integrating text-based feature modulation with transductive inference, TNT effectively bridges the semantic gap between raw pixels and high-level actions. Future work may involve integrating self-supervised video-language models to further reduce the reliance on manual narrations.
Summary updated