PRVR: Partially Relevant Video Retrieval

Xianke Chen, Daizong Liu, Xun Yang, Xirong Li, Jianfeng Dong, Meng Wang, Xun Wang

TL;DR

This paper introduces "Partially Relevant Video Retrieval" (PRVR), a more realistic scenario for text-to-video retrieval where videos are untrimmed and only contain a relevant moment for a given query. They propose a novel Multi-Scale Similarity Learning (MS-SL++) network that leverages both clip-level and frame-level features to effectively identify these partially relevant videos.

What Problem Does This Paper Address?

Traditional text-to-video retrieval (T2VR) assumes that retrieved videos are perfectly trimmed and fully relevant to the text query. This is an oversimplification of real-world scenarios where videos found online are often untrimmed and may only contain a specific segment that matches a query, with the rest being irrelevant. This gap between idealized T2VR and practical video retrieval necessitates a new task that accounts for this partial relevance. The authors term this new task Partially Relevant Video Retrieval (PRVR).

Methods

The core of the proposed solution is the Multi-Scale Similarity Learning (MS-SL++) network. This network tackles the PRVR problem by:

  • Multiple Instance Learning (MIL) Formulation: The untrimmed video is treated as a "bag" of instances (clips and frames), and the task is to determine if any of these instances are relevant to the query.
  • Multi-Scale Video Representation: The network encodes videos at two granularities:
  • Clip-scale: It extracts features from video clips of varying lengths using sliding windows. To manage redundancy and improve efficiency, a length-aware clustering module is introduced to select representative clips, considering both semantic similarity and clip length.
  • Frame-scale: It captures fine-grained temporal details by processing individual frames.
  • Coarse-to-Fine Similarity Learning: The MS-SL++ network first uses the clip-scale features to identify a "key clip" that is most likely relevant to the query. This key clip then guides the frame-scale similarity learning, allowing for a more precise correlation at the frame level.
  • Joint Similarity Measurement: The final video-query relevance score is a combination of the clip-scale and frame-scale similarities, providing a comprehensive assessment.
  • Sentence Representation: A Transformer-based encoder is used to generate a robust sentence representation for the query.
  • Training Objectives: The model is trained using a combination of triplet ranking loss and infoNCE loss to effectively learn from positive and negative video-query pairs.

Datasets

The authors re-purpose three datasets commonly used for Video Moment Retrieval (VMR) tasks, as these datasets contain untrimmed videos with natural language queries that are often associated with specific moments:

  • TVshow Retrieval (TVR): Originally for video corpus moment retrieval, with videos paired with subtitles.
  • ActivityNet-Captions: Originally for dense video captioning, now widely used for SVMR.
  • Charades-STA: A dataset for video moment retrieval.

Crucially, for the PRVR task, the authors do not use the moment annotations provided by these datasets. Instead, they focus on retrieving the entire video that contains a relevant moment.

Key Insights and Ideas

  • Realism in Video Retrieval: The paper convincingly argues that PRVR is a more practical and challenging task than traditional T2VR, better reflecting real-world scenarios.
  • Multi-Scale is Key: The success of the MS-SL++ model highlights the importance of considering video content at multiple temporal granularities (clips and frames) for effective retrieval when relevance is partial.
  • Length-Aware Clustering: Introducing length awareness into clip clustering is a novel approach to reduce redundancy while preserving diversity in representative clips, leading to improved efficiency and performance.
  • Key Clip Guidance: Using a detected "key clip" to guide frame-level similarity learning is an effective coarse-to-fine strategy for pinpointing relevant moments within untrimmed videos.
  • PRVR as a Foundation: The paper positions PRVR as a crucial intermediate step for downstream tasks like Video Corpus Moment Retrieval (VCMR) and Single Video Moment Retrieval (SVMR), simplifying their initial video retrieval stage.

Key Results

  • State-of-the-Art Performance: The proposed MS-SL++ model achieves state-of-the-art results on the TVR, ActivityNet-Captions, and Charades-STA datasets for the PRVR task, outperforming both T2VR and VCMR models.
  • Significant Improvement: On the TVR dataset, the model achieves a SumR of 174.4, a substantial improvement over existing methods.
  • Efficiency Gains: The length-aware clustering module significantly reduces retrieval time (by over 60%) and feature storage (by about 75%) compared to a previous version of their model, making it more practical for deployment.
  • Robustness: The model demonstrates robustness to added noise in videos.
  • Generalization: The model shows good generalization ability on unseen datasets.
  • VCMR Enhancement: When used as the first stage for VCMR models (XML and ReLoCLNet), the proposed method consistently improves their performance.

Limitations and Future Work

  • Dataset Limitations: While the authors re-purpose existing datasets, the ideal PRVR dataset would have untrimmed videos with explicit "partially relevant" labels, which are not available.
  • Computational Cost: Despite efficiency improvements, the multi-scale processing can still be computationally intensive.
  • Future Work: The authors suggest that their PRVR task can serve as a stepping stone for more advanced video understanding tasks. Further research could explore more sophisticated multi-scale representations and attention mechanisms. The paper also hints at the potential for using their model in more complex video retrieval scenarios.

Summary updated

BibTeX
@article{chen2025prvr,
  author = {Xianke Chen and Daizong Liu and Xun Yang and Xirong Li and Jianfeng Dong and Meng Wang and Xun Wang},
  title = {{PRVR: Partially Relevant Video Retrieval}},
  journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year = {2025},
  doi = {10.1109/tpami.2025.3614169},
}
Figure