Revitalize Region Feature for Democratizing Video-Language Pre-training of Retrieval

Guanyu Cai, Yixiao Ge, Binjie Zhang, Alex Jinpeng Wang, Rui Yan, Xudong Lin, Ying Shan, Lianghua He, Xiaohu Qie, Jianping Wu, Mike Zheng Shou

Video-Language Pre-training (VLP) has seen explosive growth, but it has come at a steep price. Modern state-of-the-art models often require massive datasets and thousands of GPU hours, creating a "compute wall" that prevents many researchers from exploring the field. A new paper, "Revitalize Region Feature for Democratizing Video-Language Pre-training of Retrieval," proposes a way to tear down this wall by revisiting an older idea—region features—and supercharging it with a novel alignment strategy.

TL;DR

This paper introduces an efficient VLP framework that achieves state-of-the-art results while using 80% less data and 85% less pre-training time than previous leading methods. By combining sparse temporal sampling with compact spatial region features and a novel bidirectional alignment loss, the authors "democratize" VLP research, making it accessible to those without massive compute clusters.

What Problem Does This Paper Address?

Currently, the most successful VLP methods are "end-to-end," meaning they learn directly from raw video pixels. While powerful, these models are incredibly "data-hungry" and computationally expensive because they process a massive amount of redundant information.

Previous attempts to use "offline" features (pre-extracted by separate models) were largely abandoned because they performed poorly. Researchers assumed these features were "disconnected" from the target domain or language modality. This paper argues that the problem wasn't the features themselves, but rather how they were aligned with text. The authors aim to prove that by removing both temporal and spatial redundancy, we can achieve better performance with a fraction of the cost.

Methods

The authors propose two main strategies to reduce redundancy and one novel regularization technique to ensure high performance:

  1. Dual Redundancy Reduction:
    • Temporal: Instead of dense video processing, they use sparse sampling (often just 1 frame during pre-training), noting that adjacent frames are highly similar.
  2. Spatial: Instead of processing every pixel or dense grid patches, they use an off-the-shelf object detector (Faster R-CNN) to extract ~30 salient region features per frame. This significantly reduces the input size for the Transformer-based video encoder.
Figure 2: Comparison of conventional VLP visual sampling and our method. We introduce region feature to the VLP pipeline to achieve sparse sampling and accelerate the pre-training period.
  1. Bidirectional Region-Word Alignment (RWA): To fix the "disconnection" issue of offline features, they introduce RWA. This fine-grained regularization builds bidirectional connections between extracted visual regions and specific words in a sentence (e.g., matching the bounding box of a "bicycle" to the word "bicycle").

  2. Region $\rightarrow$ Word: Calculates how well each visual region matches the entire sentence by attending to the most relevant words.

  3. Word $\rightarrow$ Region: Measures how well each word matches the video by attending to the most relevant visual regions.
  4. Semantic Refinement: They refine the alignment by focusing on "concrete" words (nouns, verbs, adjectives) and filtering out noisy, abstract words like prepositions that lack clear visual counterparts.

Datasets

The model was pre-trained on two large-scale datasets:

  • WebVid2.5M: 2.5 million video-caption pairs from the web.
  • Google Conceptual Captions (CC3M): 3.3 million image-caption pairs.

For evaluation, they tested on four major text-to-video retrieval benchmarks: MSRVTT, DiDeMo, LSMDC, and MSVD. They also extended their evaluation to Video Question Answering and Video Captioning tasks.

Key Insights and Ideas

  • "Less is More": The paper demonstrates that a single frame can be effectively represented by just ~30 objects. This sparse representation allows the Transformer's self-attention mechanism (which has $O(N^2)$ complexity) to run much faster and handle larger model capacities within the same compute budget.
  • Alignment Overcomes Disconnection: The "inferiority" of offline features was a training objective problem, not a feature problem. Fine-grained, local alignment (RWA) is the key to unlocking the potential of pre-extracted features.
  • Universal Applicability: Interestingly, the authors found that their RWA loss isn't just for region features—it can also be "plugged in" to boost the performance of standard end-to-end pixel-based models like Frozen.

Key Results

The efficiency gains are the headline story here. As shown in Figure 1, the proposed method (Ours) achieves significantly higher retrieval accuracy (R@1) on MSRVTT while requiring a tiny fraction of the GPU hours compared to models like Frozen or UniVL.

Figure 1: Our main motivation and results. (a) Our motivation is to reason the detailed correspondence between salient regions and words. (b) and (c) demonstrate that our method significantly improves text-to-video retrieval while reducing pre-training time to a large extent.
  • Efficiency: Compared to ClipBERT (previously the most efficient VLP), this method uses 85% less pre-training time and 80% less data to achieve competitive results.
  • Performance: On MSRVTT retrieval, it achieves a 36.0 R@1, a substantial jump over Frozen (31.0) and ClipBERT (22.0).
  • Zero-Shot Prowess: The model generalizes exceptionally well, outperforming many fully fine-tuned models even in a zero-shot setting.

Limitations and Future Work

The primary limitation acknowledged by the authors is the reliance on a pre-trained offline detector. While this saves time during VLP, the initial feature extraction step still carries a computational cost and requires a high-quality detector trained on a large dataset like Visual Genome.

For future work, the authors suggest using knowledge distillation to allow the model to learn these region-based representations in an end-to-end manner, potentially removing the need for the separate detector while maintaining the efficiency of sparse region-based processing.

Summary updated

Abstract

Recent dominant methods for video-language pre-training (VLP) learn transferable representations from the raw pixels in an end-to-end manner to achieve advanced performance on downstream video-language retrieval. Despite the impressive results, VLP research becomes extremely expensive with the need for massive data and a long training time, preventing further explorations. In this work, we revitalize region features of sparsely sampled video clips to significantly reduce both spatial and temporal visual redundancy towards democratizing VLP research at the same time achieving state-of-the-art results. Specifically, to fully explore the potential of region features, we introduce a novel bidirectional region-word alignment regularization that properly optimizes the fine-grained relations between regions and certain words in sentences, eliminating the domain/modality disconnections between pre-extracted region features and text. Extensive results of downstream video-language retrieval tasks on four datasets demonstrate the superiority of our method on both effectiveness and efficiency, \textit{e.g.}, our method achieves competing results with 80\% fewer data and 85\% less pre-training time compared to the most efficient VLP method so far \cite{lei2021less}. The code will be available at \url{https://github.com/showlab/DemoVLP}.
BibTeX
@inproceedings{cai2023revitalize,
  author = {Guanyu Cai and Yixiao Ge and Binjie Zhang and Alex Jinpeng Wang and Rui Yan and Xudong Lin and Ying Shan and Lianghua He and Xiaohu Qie and Jianping Wu and Mike Zheng Shou},
  title = {{Revitalize Region Feature for Democratizing Video-Language Pre-training of Retrieval}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=8JRQza2MaO4},
}
Figure