Abstract
Due to the resource-intensive nature of training vision-language models on expansive video data, a majority of studies have centered on adapting pre-trained image-language models to the video domain. Dominant pipelines propose to tackle the visual discrepancies with additional temporal learners while overlooking the substantial discrepancy for web-scaled descriptive narratives and concise action category names, leading to less distinct semantic space and potential performance limitations. In this work, we prioritize the refinement of text knowledge to facilitate generalizable video recognition. To address the limitations of the less distinct semantic space of category names, we prompt a large language model (LLM) to augment action class names into Spatio-Temporal Descriptors thus bridging the textual discrepancy and serving as a knowledge base for general recognition. Moreover, to assign the best descriptors with different video instances, we propose Optimal Descriptor Solver, forming the video recognition problem as solving the optimal matching flow across frame-level representations and descriptors. Comprehensive evaluations in zero-shot, few-shot, and fully supervised video recognition highlight the effectiveness of our approach. Our best model achieves a state-of-the-art zero-shot accuracy of 75.1% on Kinetics-600.
Introduction
Modern video recognition often relies on adapting image-language models like CLIP. While significant effort has been directed toward bridging the "visual gap" through temporal learners, the "textual gap" remains largely unaddressed. CLIP is pre-trained on rich, descriptive web narratives, whereas video datasets typically utilize concise category names like "ski jumping." These brief labels result in a crowded semantic space where distinct actions (e.g., "playing cello" vs. "playing violin") become difficult to differentiate due to shared vocabulary and a lack of descriptive context.
The OST (Optimal Spatio-Temporal Descriptor) framework addresses this discrepancy by enriching text knowledge. By expanding simple labels into detailed descriptors and employing an adaptive matching mechanism, OST enhances the discriminative power of the text domain for video recognition, ensuring that the model captures both the "what" (spatial) and the "how" (temporal) of an action.
The OST Framework
The OST pipeline introduces two core innovations designed to refine text knowledge and improve video-text alignment.
1. Spatio-Temporal Descriptors via LLMs
Instead of relying on a single class label, OST leverages Large Language Models (LLMs) to generate a set of descriptive attributes for each category. These are categorized into two distinct types:
- Spatio Descriptors: These focus on static visual elements such as background settings, common objects, and environmental cues (e.g., for "ski jumping": "ski ramp," "snow-covered mountain").
- Temporal Descriptors: These decompose the action into a chronological sequence of steps or sub-actions (e.g., "prepare for the jump," "take off from the ramp," "perform aerial maneuvers").
This disentanglement enriches the semantic space, making it more separable and informative for the model's text encoder.
2. Optimal Descriptor Solver (OD Solver)
A significant challenge in using multiple descriptors is that not every descriptor applies to every video instance. LLMs may generate irrelevant attributes, or a specific clip might only capture a portion of an action's full sequence. To handle this, the authors propose the OD Solver, which treats video-text matching as an Optimal Transport (OT) problem.
Using the Sinkhorn algorithm, the OD Solver calculates an "optimal matching flow" between frame-level visual features and the generated text descriptors. This allows the model to adaptively focus on the most relevant descriptors for a given video while mitigating the impact of noisy or missing information. This shift from global averaging to adaptive matching is a key differentiator for OST.
Experimental Results
The effectiveness of OST was validated across several major benchmarks, including Kinetics-400/600, UCF-101, HMDB-51, and Something-Something V2 (SSv2).
- Zero-Shot Performance: OST achieved a state-of-the-art Top-1 accuracy of 75.1% on Kinetics-600, outperforming existing methods like MAXI and ViFi-CLIP. This demonstrates the model's strong generalizability to unseen classes.
- Few-Shot Generalization: In low-data regimes (e.g., 2 or 4 samples per class), OST showed significant gains, particularly on the HMDB-51 dataset, where it outperformed baselines by up to 6.8%.
- Robustness and Efficiency: Qualitative analysis via attention maps demonstrated that OST maintains focus on salient action cues even in unusual or synthetic contexts. Furthermore, the OD Solver is computationally efficient, adding only approximately 0.1x to training time with a negligible (2%) impact on inference throughput.
Conclusion and Future Work
OST demonstrates that refining the text knowledge base is a high-leverage strategy for improving video recognition. By bridging the textual discrepancy between pre-training and downstream tasks through LLM-generated descriptors and an Optimal Transport-based solver, OST achieves superior performance across various recognition settings.
While highly effective, the framework's performance is currently tied to the quality of the LLM's internal knowledge. Future work may explore adaptive descriptor counts tailored to category complexity and further optimization of LLM prompting strategies to minimize hallucinations and maximize discriminative power.
Summary updated