Partially Relevant Video Retrieval

Jianfeng Dong, Xianke Chen, Minsong Zhang, Xun Yang, Shujie Chen, Xirong Li, Xun Wang · DOI

TL;DR

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

What Problem Does This Paper Address?

Current text-to-video retrieval (T2VR) methods often assume that videos are pre-trimmed and fully relevant to a given text query. This is a significant simplification that doesn't reflect real-world scenarios where videos are often untrimmed and may only contain a specific segment that matches a query. This gap makes existing T2VR models less effective in practical applications. The authors introduce PRVR to bridge this gap, focusing on retrieving untrimmed videos that contain any relevant moment, even if the rest of the video is irrelevant. This is presented as a crucial intermediate step for tasks like Video Corpus Moment Retrieval (VCMR) and Single Video Moment Retrieval (SVMR).

Methods

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

  • Multiple Instance Learning (MIL) Formulation: The authors frame the problem as MIL, treating each video as a "bag" of clips and frames. A video is considered partially relevant if any of its "instances" (clips or frames) are relevant to the query.
  • Multi-Scale Video Representation: The network encodes videos at two granularities:
  • Clip-scale: This captures coarser temporal information by processing segments (clips) of the video.
  • Frame-scale: This captures finer temporal details by processing individual frames.
  • Length-Aware Clustering: To efficiently handle the large number of clips generated by sliding windows, they introduce a "length-aware clustering" module. This module selects representative clips while considering their temporal length, aiming for more diverse and informative selections than standard clustering.
  • Key Clip Guided Attention (KCGA): For frame-scale similarity, they use a mechanism that leverages a "key clip" identified from the clip-scale analysis. This key clip guides the attention mechanism to focus on frames that are semantically similar to it, enhancing fine-grained correlation.
  • Joint Similarity Learning: The final video-query similarity is a combination of the clip-scale and frame-scale similarities, allowing for a comprehensive assessment of partial relevance.
  • Training Objective: The model is trained using a combination of triplet ranking loss and infoNCE loss, which are standard in retrieval tasks, to learn effective video and text embeddings.

Datasets

The authors re-purpose three datasets commonly used for Video Corpus Moment Retrieval (VCMR) for their PRVR task:

  • TVR (TVshow Retrieval): Contains videos from TV shows with subtitles.
  • ActivityNet-Captions: A large dataset of YouTube videos with dense captions.
  • Charades-STA: Focuses on human actions with temporal annotations.

Crucially, for PRVR, they do not use the precise moment annotations but rather treat the provided sentences as queries for potentially partially relevant videos.

Key Insights and Ideas

  • Realism in T2VR: The paper highlights a significant disconnect between current T2VR benchmarks and real-world video retrieval scenarios, where videos are rarely perfectly trimmed and relevant.
  • Coarse-to-Fine Retrieval: The MS-SL++ network's multi-scale approach (clip-level for coarse relevance, frame-level for fine-grained detail) is a powerful strategy for tackling the ambiguity of partial relevance.
  • The Importance of Clip Selection: The introduction of "length-aware clustering" addresses a practical challenge in MIL for video: efficiently selecting representative clips without losing crucial temporal diversity.
  • PRVR as a Foundation: The authors convincingly argue that PRVR is not just an academic exercise but a necessary precursor for more complex tasks like VCMR and SVMR, providing a more robust starting point.

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.
  • Significant Improvement over Baselines: On the TVR dataset, their model achieved a SumR of 174.4, outperforming previous T2VR models by a significant margin (e.g., 38.9 points over RIVRL).
  • Efficiency Gains: The length-aware clustering module significantly reduces retrieval time (by over 60%) and feature storage (by about 75%) compared to previous versions, making it more practical.
  • Robustness: The model demonstrates robustness to added noise in test videos.
  • Generalization: The model shows good generalization ability on unseen data when trained on one dataset and tested on another.
  • VCMR Improvement: When used as the first stage for VCMR, the MS-SL++ model consistently improves the performance of existing VCMR methods.

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 currently available.
  • Computational Cost: Despite optimizations, the multi-scale approach still involves significant computation, especially for very long videos.
  • Future Work: The authors suggest that their PRVR task can serve as a stepping stone for further research in video understanding and retrieval, particularly in improving moment localization and cross-modal alignment. The effectiveness of the MS-SL++ architecture also opens avenues for exploring more advanced multi-scale fusion techniques.

Summary updated

BibTeX
@inproceedings{dong2022partially,
  author = {Jianfeng Dong and Xianke Chen and Minsong Zhang and Xun Yang and Shujie Chen and Xirong Li and Xun Wang},
  title = {{Partially Relevant Video Retrieval}},
  booktitle = {ACM Multimedia},
  year = {2022},
  doi = {10.1145/3503161.3547976},
}
Figure