Dual Learning with Dynamic Knowledge Distillation for Partially Relevant Video Retrieval

Jianfeng Dong, Minsong Zhang, Zheng Zhang, Xianke Chen, Daizong Liu, Xiaoye Qu, Xun Wang, Baolong Liu

Abstract

Traditional text-to-video retrieval (T2VR) typically assumes that videos are short and pre-trimmed to match specific queries. However, real-world video content is often long and untrimmed, where only a small segment may be relevant to a user's search. This paper introduces DL-DKD, a framework designed for Partially Relevant Video Retrieval (PRVR). By using a dual-branch student network that dynamically distills knowledge from a large-scale teacher model while simultaneously exploring task-specific data, the authors achieve state-of-the-art performance on major video retrieval benchmarks.

Introduction to PRVR

In the real world, videos are long and untrimmed. A user searching for "a man opens the door" might be looking for a five-second moment hidden inside a ten-minute vlog. This is the core challenge of Partially Relevant Video Retrieval (PRVR).

The PRVR task involves identifying specific relevant moments within long, untrimmed videos from a gallery.

The challenge with PRVR is twofold. First, there is a significant domain gap: large-scale vision-language models like CLIP are primarily trained on image-text pairs and struggle with the temporal complexities and "background noise" of long videos. Second, there is the issue of teacher mediocrity: if a student model simply distills knowledge from a teacher that performs poorly on a specific domain, it will inherit those weaknesses.

Methodology: DL-DKD

The proposed Dual Learning framework with Dynamic Knowledge Distillation (DL-DKD) consists of a teacher (CLIP) and a student with two distinct branches:

  • The Inheritance Branch: Designed to "absorb" the general knowledge of the teacher using KL divergence to match video-query similarity distributions.
  • The Exploration Branch: Learns directly from PRVR training data using standard ranking losses (Triplet and InfoNCE), capturing domain-specific nuances the teacher might miss.
  • Dynamic Knowledge Distillation (DKD): This mechanism uses a decay strategy (Exponential, Linear, or Sigmoid). Early in training, the student relies heavily on the teacher. As training progresses, the teacher's influence fades, allowing the exploration branch to take the lead.

At inference time, the similarities from both branches are fused to produce the final retrieval ranking.

Experimental Results

The model was evaluated on two primary PRVR benchmarks: ActivityNet Captions (avg. length 118s) and TVR (avg. length 76s). These videos are significantly longer than those in "mainstream" T2VR datasets like MSR-VTT or MSVD, which typically average only 10-15 seconds.

Comparison of SumR performance on ActivityNet and TVR benchmarks, showing DL-DKD's improvement over vanilla CLIP and previous SOTA.

The DL-DKD model achieved state-of-the-art (SOTA) results across both datasets. On ActivityNet, it achieved a SumR of 147.6 (outperforming the previous best of 140.1). On TVR, it reached 179.9, a significant jump over the previous SOTA of 172.4. Notably, on the TVR dataset where vanilla CLIP performs poorly, the framework still showed a ~12% relative gain, proving its robustness to "teacher noise."

Conclusion

DL-DKD addresses the limitations of standard knowledge distillation in the context of long-form video retrieval. By balancing inheritance from a general teacher with independent exploration of domain-specific data, the model effectively bridges the gap between image-based pre-training and complex temporal video understanding.

Summary updated

BibTeX
@inproceedings{dong2023dual,
  author = {Jianfeng Dong and Minsong Zhang and Zheng Zhang and Xianke Chen and Daizong Liu and Xiaoye Qu and Xun Wang and Baolong Liu},
  title = {{Dual Learning with Dynamic Knowledge Distillation for Partially Relevant Video Retrieval}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.01038},
}
Figure