TL;DR
Most video-text retrieval models assume a simple one-to-one mapping between a video and its caption, but real-world videos often contain multiple distinct events. This paper introduces the Multi-event Video-Text Retrieval (MeVTR) task and proposes Me-Retriever, a model that uses key-event clustering and a specialized loss function to prevent "textual feature collapse" and improve retrieval accuracy in complex, multi-event scenarios.
What Problem Does This Paper Address?
Traditional Video-Text Retrieval (VTR) operates on a bijective assumption: one video corresponds to one textual description. However, in the real world, a single video (like a YouTube vlog or a movie clip) often contains a sequence of unrelated events. Conversely, a user query is usually specific to just one of those events.
When standard models are trained on these multi-event videos, they suffer from textual feature collapse. Because the model tries to align one video representation with multiple different captions, it inadvertently pushes the embeddings of those distinct captions closer together. This destroys the semantic nuances of the text, leading to significant performance drops when the model is asked to find a specific event within a complex video.
Methods
The authors propose Me-Retriever, a framework built upon the CLIP (Contrastive Language-Image Pre-training) architecture, designed to handle the "one-to-many" nature of multi-event videos.
- Key Event Video Representation: Instead of averaging all frames or using global pooling, Me-Retriever uses a Key Event Selection module. It employs K-Medoids clustering on the frame embeddings to select the $K$ most representative frames (medoids). This mimics human memory, which tends to retain discrete, distinctive moments rather than a continuous stream of every detail.
- MeVTR Loss: The authors introduce a new objective function to replace standard cross-entropy.
- Disentangling Positives: In the Video-to-Text (v2t) loss, when calculating the similarity for one specific caption, the model discards other positive captions for the same video from the softmax denominator. This prevents the model from penalizing itself for distinguishing between different events in the same video.
- Dynamic Weighting: Because the scales of Video-to-Text and Text-to-Video losses differ due to sample asymmetry, the model uses a dynamic coefficient ($\alpha$) to balance the two objectives during training.
Datasets
The study utilizes two primary datasets adapted for the MeVTR setting:
- ActivityNet Captions: A large-scale dataset of 20,000 videos. The authors treat each time-interval-annotated description as a separate event within the video.
- Charades-Event: Derived from the Charades dataset of indoor activities, filtered to interpret multiple text annotations as distinct events.
Key Insights and Ideas
- The Bijective Failure: Standard models like CLIP4Clip show massive performance degradation (e.g., Median Rank jumping from 2.0 to 53.0) when moved from simple VTR to the MeVTR setting.
- Preventing Feature Collapse: By visualizing average cosine similarity between captions, the authors proved that Me-Retriever maintains more diverse textual features than baseline models. Baselines tend to "blur" the meanings of different captions for the same video together.
- Granularity Matters: Representing a video as a "bag of key events" rather than a single vector allows the model to match specific queries to specific segments more effectively.
Key Results
Me-Retriever establishes a new state-of-the-art baseline for the MeVTR task:
- Video-to-Text (ActivityNet): Me-Retriever (avg) achieved a Recall@1-Average of 8.52%, significantly outperforming the best baseline, CenterCLIP (6.93%).
- Text-to-Video (Charades-Event): Me-Retriever (max) achieved a Median Rank of 112.0, compared to 131.0 for CenterCLIP and 136.0 for CLIP4Clip.
- Stability: The dynamic weighting strategy in the MeVTR loss was shown to be more stable and effective across different metrics than any fixed weighting coefficient.
Limitations and Future Work
- Dataset Bias: The current benchmarks (ActivityNet, Charades) focus heavily on human activities. The authors suggest that future work should involve more general and diverse video categories.
- Fixed Event Count: The model currently uses a fixed number of key events ($K=16$). In reality, videos vary in complexity; a more flexible approach that adapts the number of key events to the video content could be a promising next step.
- Computational Cost: Clustering frames for every video adds an extra step to the pipeline, though the authors argue the performance gains justify the overhead.
Summary updated