TL;DR
This paper tackles the "candidate prior bias" in text-video retrieval using large language models (LLMs). They introduce a novel framework, BLiM, that leverages both query and candidate likelihoods to improve retrieval accuracy. Additionally, they propose a simple yet effective module, Candidate Prior Normalization (CPN), to further mitigate this bias, achieving state-of-the-art results across multiple benchmarks.
What Problem Does This Paper Address?
Text-video retrieval aims to find the most relevant text description for a given video, or vice versa. Recent advancements have leveraged multi-modal large language models (MLLMs) to process query-candidate pairs more deeply, leading to better performance, especially for complex queries. However, the authors identify a critical issue: when MLLMs are trained to simply maximize the likelihood of a candidate given a query (e.g., predicting text from video), they tend to favor candidates that are inherently more probable or common (i.e., have a higher "prior probability"). This "candidate prior bias" means that even if a candidate is semantically relevant, it might be overlooked if it's less common than a more generic, but less relevant, option. This bias is also observed in other multi-modal tasks like visual question answering and captioning, where models can rely too heavily on textual priors.
Methods
The core of the proposed solution is Bidirectional Likelihood Estimation with MLLM (BLiM). Instead of just estimating the likelihood of a text candidate given a video query ($P(\text{text}|\text{video})$), BLiM also estimates the likelihood of video features given a text query ($P(\text{video}|\text{text})$). During inference, the final retrieval score is a combination of these two likelihoods. This bidirectional approach helps to balance the influence of candidate priors by considering how well the query itself is represented by the candidate.
To further combat the candidate prior bias, the authors introduce Candidate Prior Normalization (CPN). This is a training-free score calibration module that modifies the candidate likelihood score. CPN essentially down-weights candidates with high prior probabilities, making the model less susceptible to their inherent popularity. The formula involves a hyperparameter $\alpha$ that controls the strength of this normalization.
The BLiM framework is built upon a pre-trained Video MLLM (VideoChat-Flash 7B), with fine-tuning applied to the linear projection layer and using LoRA for parameter efficiency. The training objective involves maximizing both the video-grounded text generation and text-grounded video feature generation.
Datasets
The paper evaluates its methods on four standard Text-Video Retrieval benchmarks:
- DiDeMo
- ActivityNet
- LSMDC
- MSRVTT
They also report results on Text-Image Retrieval datasets:
- Flickr30k
- COCO
Additionally, CPN's effectiveness is demonstrated on various multi-modal understanding benchmarks, including MME, MMBench, SeedBench, MVBench, VideoMME, MLVU, and NExT-QA.
Key Insights and Ideas
- Candidate Prior Bias is a Real Problem: The paper convincingly demonstrates that simply maximizing candidate likelihood in MLLMs leads to a significant bias towards common or repetitive text/video candidates, hindering true semantic relevance.
- Bidirectionality is Key: Considering both $P(\text{text}|\text{video})$ and $P(\text{video}|\text{text})$ is crucial for mitigating this bias. It forces the model to consider how well the query is represented by the candidate, not just how likely the candidate is in general.
- CPN is a Simple Yet Powerful Fix: The Candidate Prior Normalization module is a surprisingly effective, training-free method to directly address the prior bias. Its plug-and-play nature makes it highly adaptable.
- Broader Applicability: The insights and techniques (especially CPN) extend beyond retrieval to other multi-modal tasks like visual captioning, improving generation quality by reducing hallucinations.
Key Results
- State-of-the-Art Performance: BLiM with CPN significantly outperforms previous state-of-the-art models on four Text-Video Retrieval benchmarks, achieving an average improvement of 6.4 in R@1.
- Zero-Shot Improvement: Even without fine-tuning (using BLiM with CPN but only $P(\text{text}|\text{video})$), the model surpasses existing methods, showing the power of CPN alone.
- Text-Image Retrieval Gains: BLiM also achieves state-of-the-art results on Text-Image Retrieval tasks, demonstrating the generalizability of the bidirectional approach.
- Efficiency: The paper highlights a two-stage retrieval pipeline that significantly speeds up inference (e.g., 307 times faster on ActivityNet) by using a smaller model for initial retrieval and BLiM for reranking.
- Qualitative Improvements: Examples show that BLiM successfully retrieves ground-truth text that candidate likelihood alone would miss due to high prior probability.
Limitations and Future Work
-
Computational Cost: While BLiM is efficient due to the two-stage pipeline, it still involves a large MLLM, leading to higher computational costs compared to simpler dual-encoder models. The paper provides a detailed analysis of computational cost in Tab. 4.
-
Hyperparameter Tuning: The CPN module introduces a hyperparameter $\alpha$ that needs to be tuned. The paper mentions a sensitivity study of $\alpha$ in the supplement.
- Future Work: The authors suggest that CPN can be extended to various multi-modal tasks, and their work highlights the potential for further research into mitigating biases in MLLMs for improved performance and reliability. They also note the broad applicability of their approach beyond retrieval.
Summary updated