Enhanced Partially Relevant Video Retrieval through Inter- and Intra-Sample Analysis with Coherence Prediction

Junlong Ren, Gangjian Zhang, Yu Hu, Jian Shu, Hui Xiong, Hao WangarXiv 2025

TL;DR

This paper introduces a novel framework for Partially Relevant Video Retrieval (PRVR) that effectively addresses the semantic asymmetry between long, untrimmed videos and short text queries. By systematically exploiting inter-sample correlations (forming pseudo-positive pairs) and intra-sample redundancy (mining hard negatives), combined with a self-supervised temporal coherence task, the proposed method achieves new state-of-the-art results while remaining highly efficient and model-agnostic.

What Problem Does This Paper Address?

Traditional Text-to-Video Retrieval (T2VR) typically assumes a clean, one-to-one mapping where a short, pre-trimmed video clip perfectly matches a textual description. However, real-world video search is rarely that clean. Instead, we often look for specific moments hidden inside long, untrimmed videos—a task known as Partially Relevant Video Retrieval (PRVR).

The core challenge here is semantic asymmetry. A long video contains a wealth of visual information, only a fraction of which is relevant to a user's specific query. Prior methods coarsely aligned the entire video with the text query, which introduces significant noise and overlooks what the authors call the cross-modal dual nature of PRVR:

  1. Inter-sample correlation: Background moments irrelevant to the paired query might perfectly match an unpaired query from a completely different video in the dataset.
  2. Intra-sample redundancy: Most moments in a video act as redundant background noise relative to the target query, which can actively hinder proper alignment if not handled carefully.
The cross-modal dual nature of PRVR, illustrating inter-sample correlation and intra-sample redundancy.

Methods

To exploit these characteristics, the authors propose a framework consisting of three main components built on top of a standard dual-encoder base model (using RoBERTa for text and I3D/ResNet for video):

  • Inter Correlation Enhancement (ICE) Module: This module scans a mini-batch to find video moments and unpaired text queries that exhibit high mutual similarity. By applying a bi-directional maximum selection strategy and a strict similarity threshold, it flags these as high-confidence "pseudo-positive" pairs, enriching the cross-modal semantic space during training.
  • Intra Redundancy Mining (IRM) Module: To handle background noise within the same video, the IRM isolates redundant features. It does this through semantic subtraction—subtracting the key query-relevant moment feature from the global video feature in the latent space. These isolated redundant features are then treated as hard negatives, forcing the model to learn sharper boundaries between what is relevant and what is just background.
  • Temporal Coherence Prediction (TCP) Module: A self-supervised auxiliary task designed to boost fine-grained temporal reasoning. The video sequence is divided into distinct groups, and a portion (25%) of the frames are randomly shuffled. The model is then tasked with predicting the original group labels of the shuffled frames, helping it better grasp causality and event ordering.
Figure 2. Overview of the proposed framework. We systematically leverage the cross-modal dual nature in PRVR, namely inter-sample correlation and intra-sample redundancy, complemented by temporal coherence prediction, to construct a more discriminative cross-modal semantic space. The framework comprises three key components: (a) Inter Correlation Enhancement Module: This component analyzes cross-modal correlations by identifying high-similarity pairs between video moments and unpaired text queries. These pseudo-positive pairs are incorporated during training to enrich the semantic space construction. (b) Intra Redundancy Mining Module: The module extracts redundant video moments. By learning to distinguish these redundant moments and query-relevant moments, the model develops enhanced capability to focus on query-relevant visual semantics. (c) Temporal Coherence Prediction Module: Designed to complement the other components, this module improves discrimination of fine-grained moment-level semantics through a self-supervised sequence prediction task, where the model predicts the original temporal order of shuffled video frames/moments.

Datasets

The framework was evaluated on three widely recognized benchmarks for untrimmed video analysis:

  • TVR: 21.8K videos from six TV shows with 109K queries (each video averages 5 descriptions of different moments).
  • ActivityNet Captions: 20K YouTube videos of human activities, averaging 3.7 moments per video.
  • Charades-STA: 16,128 moment annotations across indoor activity videos.

Crucially, in line with the PRVR problem formulation, no moment-level timestamp annotations were used during the training of the model.

Key Insights and Ideas

  • Turning Noise into Signal: Instead of treating all unpaired data within a batch as negative samples, the ICE module recognizes that long videos naturally contain multi-thematic content that can serve as valuable pseudo-positive supervision.
  • Latent Space Subtraction: The IRM module elegantly exploits the linear structure of shared embedding spaces. By subtracting the target moment or query representation from the global video representation, it successfully isolates query-irrelevant background noise to create challenging negative pairs.
  • Grouped Labeling for Shuffling: Rather than forcing the model to solve an overly complex permutation puzzle across a long sequence (which introduces noise), the TCP module simplifies the task into a grouped classification problem ($g=8$), balancing task difficulty with robust feature learning.
  • Model-Agnostic Enhancement: The framework acts as a plug-and-play enhancement. The authors demonstrated its universality by swapping out their base model for existing architectures (like MS-SL and GMMFormer) and consistently boosting their performance.

Key Results

The proposed method achieved state-of-the-art (SOTA) performance across all three datasets, outperforming specialized PRVR methods and even massive Large Multimodal Models (LMMs).

  • Quantitative Boosts: On the TVR dataset, adding the modules to a standard base model improved the Recall@1 (R@1) from 13.8% to 17.5%. When plugged into the competitive GMMFormer architecture, it pushed R@1 to 18.6%, comfortably outperforming the massive InternVideo2 model (13.8%).
  • Efficiency: Despite the performance gains, the model remains highly lightweight. With only 4.65M learnable parameters, it trains faster and boasts lower inference latency than heavier models like SDM (25.73M) and HLFormer (28.43M).
  • Qualitative Alignment: As shown via t-SNE visualizations, the full model forces text and video features to become tightly interleaved in well-separated semantic regions, validating its superior cross-modal alignment capability.
Figure 6. t-SNE visualization [30] of text and video features on Charades-STA. (a) is the base model trained with only Lbase. (b) shows the full model trained with the full setup.

Limitations and Future Work

The authors do not explicitly detail limitations or future directions in the paper. However, the ablation studies reveal a sensitivity to hyperparameters: performance noticeably degrades if the temporal coherence group number ($g$) is set too high (e.g., $g > 8$), as the self-supervised task becomes overly difficult and introduces noise. Future work could explore adaptive thresholding strategies for pseudo-label assignment or extending this dual-nature analysis to zero-shot retrieval scenarios.

Summary updated

BibTeX
@misc{ren2025enhanced,
  author = {Junlong Ren and Gangjian Zhang and Yu Hu and Jian Shu and Hui Xiong and Hao Wang},
  title = {{Enhanced Partially Relevant Video Retrieval through Inter- and Intra-Sample Analysis with Coherence Prediction}},
  year = {2025},
  eprint = {2504.19637},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.19637},
}
Figure