Abstract
Our goal in this paper is the adaptation of image-text models for long video retrieval. Recent works have demonstrated state-of-the-art performance in video retrieval by adopting CLIP, effectively hitchhiking on the image-text representation for video tasks. However, there has been limited success in learning temporal aggregation that outperform mean-pooling the image-level representations extracted per frame by CLIP. We find that the simple yet effective baseline of weighted-mean of frame embeddings via query-scoring is a significant improvement above all prior temporal modelling attempts and mean-pooling. In doing so, we provide an improved baseline for others to compare to and demonstrate state-of-the-art performance of this simple baseline on a suite of long video retrieval benchmarks.
Introduction
Retrieving specific long-form videos—such as movie scenes or multi-minute clips—based on text descriptions presents a unique challenge compared to short-clip retrieval. Long videos are characterized by high redundancy, containing many "boring" frames and only a few highly informative ones. Current state-of-the-art approaches often "hitchhike" on OpenAI’s CLIP, an image-text model trained on 400 million pairs. While CLIP provides powerful frame-level features, the optimal way to aggregate these features over time remains an open question. Standard methods like mean-pooling treat all frames equally, while complex temporal layers often overfit due to the scarcity of large-scale video-text training data.
Methodology: Temporal Aggregation via Scoring
The authors propose a "weighted-mean" approach where the final video embedding is a sum of frame embeddings weighted by their relevance. They explore three scoring mechanisms:
- Query-Scoring (The Winner): A parameter-free method where frame weights are determined by their cosine similarity to the text query. This allows the model to focus dynamically on frames that match the user's description.
- Self-Attention Scoring: A small Transformer predicts frame saliency based solely on visual cues, independent of the text query.
- Joint-Attention Scoring: A Transformer processes both frame sequences and the text query to determine relevance.
By using these scores to weight original CLIP embeddings, the model remains grounded in CLIP’s robust representation space while gaining the ability to filter out redundant temporal information.
Experimental Setup
The method was evaluated across several benchmarks with varying video lengths:
- MSR-VTT: Standard short-form retrieval (avg. 15s).
- Condensed Movies Dataset (CMD): Long-form movie scenes (avg. 132s).
- ActivityNet Captions: Long YouTube action videos (avg. 180s).
- Charades: Action recognition (avg. 30s) to test generalization.
Results and Insights
The simple Query-scoring baseline achieved state-of-the-art results on long-form benchmarks, specifically ActivityNet Captions (44.0 R@1) and Condensed Movies (27.0 R@1).
Key takeaways include:
- Efficiency: Query-scoring outperforms complex models like Clip2Video (19M parameters) while requiring zero learned parameters for aggregation.
- Robustness: The method excels in zero-shot settings, as it doesn't rely on dataset-specific temporal training.
- Complexity is a Trap: In the low-data regime of long video retrieval, adding millions of parameters for temporal modeling often leads to overfitting. A simple query-similarity score outperforms them because it requires zero learned parameters for the aggregation itself.
Conclusion
This work demonstrates that for long video retrieval, simple query-dependent weighting is more effective than complex temporal modeling in the current data-limited regime. While query-scoring introduces some retrieval complexity (as embeddings are query-dependent), it sets a new, high-performance baseline for the field. Future work may involve scaling video-text datasets to a point where more complex temporal architectures can finally realize their potential.
Summary updated