Introduction
Traditional Text-to-Video Retrieval (T2VR) systems typically assume that videos are short, pre-trimmed clips where every frame aligns perfectly with a textual description. However, real-world video data is often untrimmed and contains significant amounts of irrelevant content. This discrepancy gives rise to the Partially Relevant Video Retrieval (PRVR) challenge, where a query might only correspond to a small segment of a much longer video.
Existing approaches to PRVR often suffer from two primary issues. First, the "CLIP Gap": while models like CLIP provide strong zero-shot capabilities, they are trained on static images and lack temporal awareness, leading to performance drops in specific video domains. Second, the "Binary Trap": standard systems use hard binary labels (0 or 1) for relevance, which fails to account for the varying degrees of partial relevance inherent in untrimmed videos.
The DL-DKD++ Framework
To address these challenges, we present DL-DKD++, a Dual Learning framework with Dynamic Knowledge Distillation. This architecture employs a teacher-student paradigm to bridge the domain gap and capture temporal nuances.
The framework consists of three main components:
- Teacher Model: A frozen, large-scale vision-language model (e.g., CLIP or BLIP-2) provides high-level semantic guidance.
- Dual-Branch Student: The student network is split into an Inheritance Branch, which absorbs general knowledge from the teacher, and an Exploration Branch, which learns task-specific patterns and temporal information directly from the PRVR data.
- Dynamic Knowledge Distillation: A decay-based strategy is used to balance these branches. Early in training, the student relies heavily on the teacher's inheritance. As training progresses, the weight of the teacher's guidance decreases, allowing the exploration branch to specialize in the target dataset.
Soft Alignment for Partial Relevance
A core innovation of DL-DKD++ is the move away from rigid binary targets. By implementing Dynamic Soft-Target Construction, the model generates adaptive labels that combine ground-truth annotations with predicted similarity scores.
As shown in the figure above, a video might contain only a small percentage of relevant content (e.g., 11% or 80%). Hard targets treat these as binary matches, whereas soft targets allow the model to learn a continuous scale of relevance. This enables the system to distinguish between videos that are highly relevant and those that are only tangentially related to the query.
Experimental Results
The DL-DKD++ model was evaluated on three major untrimmed video benchmarks: TVR, ActivityNet Captions, and Charades-STA. The results demonstrate that the dual-branch approach effectively mitigates the domain gap. For instance, while vanilla CLIP performs well on ActivityNet, it struggles on the TVR dataset; DL-DKD++ overcomes this by leveraging its exploration branch to learn domain-specific features.
The model achieved state-of-the-art (SOTA) performance across all metrics:
- TVR: Achieved a SumR of 184.8, surpassing previous benchmarks.
- ActivityNet: Reached a SumR of 149.9.
- Charades-STA: Achieved a SumR of 71.1.
Qualitative analysis further confirms that the model can accurately identify relevant segments even when they constitute a very small portion of the total video duration.
Conclusion
DL-DKD++ represents a significant step forward in making video retrieval systems more robust for real-world, untrimmed data. By combining the broad semantic knowledge of large-scale teachers with a dual-branch student capable of task-specific exploration and soft-target alignment, the framework effectively addresses the complexities of partially relevant video retrieval. Future work may involve exploring multi-teacher ensembles to further enhance the model's generalizability.
Summary updated