Abstract
LocVTP is a novel video-text pre-training framework designed to bridge the gap between global video retrieval and fine-grained temporal localization. By introducing clip-word alignment and a "context warping" pretext task, it enables models to recognize not only the content of a video but also its temporal structure. LocVTP achieves state-of-the-art results across both retrieval and localization benchmarks, addressing the "anti-localization" bias found in standard pre-training methods.
Introduction: The Localization Gap
Most existing Video-Text Pre-training (VTP) methods, such as MIL-NCE or Frozen, are optimized for retrieval-based tasks. In these scenarios, the objective is to match an entire video to a complete sentence. While effective for retrieval, these models often struggle with localization-based tasks like temporal grounding—identifying a specific clip within a video based on a query—or action segmentation.
The authors identify two primary hurdles:
- Coarse Alignment: Standard VTP aligns one video to one sentence. However, a single sentence (e.g., "The man hits the ball then bends down") often describes multiple distinct actions that must be mapped to specific timestamps.
- Lack of Temporal Reasoning: Retrieval models typically favor "temporal invariance," focusing on object recognition regardless of timing. In contrast, localization requires "temporal awareness"—an understanding of how actions sequence over time.
Surprisingly, the authors found that some popular VTP models actually performed worse on localization tasks than simple models trained on single modalities, proving that standard pre-training can actually hurt a model's ability to "see" time.
Methods: Fine-Grained Alignment and Context Warping
LocVTP introduces two key innovations to the standard contrastive learning pipeline to address these issues:
Fine-grained Clip-Word Alignment
Instead of matching global video features to global text features, LocVTP discovers correspondences between individual video clips and specific words. Since large-scale datasets lack these granular labels, the model utilizes its learned latent space to identify the top-$K$ most similar words for every clip, enforcing a fine-grained contrastive loss.
Context Warping for Temporal Reasoning
To instill an understanding of temporal flow, the authors proposed a "Context Warping" pretext task. A dedicated head attempts to reconstruct the features of a specific clip by analyzing a neighboring clip and the temporal distance between them. This "warped" feature is then required to match the corresponding text query, forcing the model to learn how actions evolve and relate across time.
Experimental Results
The model was pre-trained on a massive scale using datasets including HowTo100M, WebVid-2M, and Google Conceptual Captions. Evaluation spanned six diverse datasets covering retrieval, temporal grounding, action step localization, and action segmentation.
LocVTP demonstrated significant performance gains:
- Temporal Grounding: On ActivityNet Captions, LocVTP achieved 48.2% R@1 (IoU=0.5), significantly outperforming MIL-NCE (41.8%).
- Action Step Localization: On the CrossTask dataset, it reached an average recall (CTR) of 51.7%, a 4.4% absolute improvement over the previous state-of-the-art, VideoClip.
- Video Retrieval: Despite its localization focus, it remains highly competitive, achieving 46.3% R@1 on MSR-VTT when using a CLIP-initialized backbone.
Discussion and Future Work
The most striking insight is the "Anti-Localization" bias: standard VTP can be detrimental to localization by encouraging models to ignore temporal distinctions. By using words as anchors and treating time as a feature through context warping, LocVTP develops a "mental map" of video progression.
While successful, the approach faces challenges such as ASR noise in instructional videos and high computational costs (requiring 64 V100 GPUs). Future directions include exploring more complex temporal reasoning heads or integrating LocVTP with even larger vision-language models.
Summary updated