Boosting Video-Text Retrieval with Explicit High-Level Semantics

Haoran Wang, Di Xu, Dongliang He, Fu Li, Zhong Ji, Jungong Han, Errui Ding · DOI

Introduction

Video-Text Retrieval (VTR) is a cornerstone of cross-modal information retrieval, requiring models to accurately match video sequences with natural language descriptions. The fundamental challenge in VTR is the "modality gap": videos (pixel-based sequences) and text (token-based sequences) reside in disparate mathematical spaces. While large-scale pre-trained models like CLIP have significantly improved alignment through joint embedding spaces, they often operate as "black boxes," failing to capture the structured, high-level semantic understanding that humans use to interpret scenes.

To address this, the HiSE (High-level SEmantic aided) framework introduces Explicit High-level Semantics (EHS). By decomposing information into discrete entities and holistic events, HiSE bridges the modality gap using structured reasoning and hierarchical alignment.

Methodology

Hierarchical Semantic Decomposition

The core innovation of HiSE is the explicit extraction and alignment of shared semantic structures across both modalities. This is achieved through a two-level hierarchy:

  1. Discrete Semantics (Local Level): This level focuses on individual entities and their specific actions.
  2. Visual Branch: Employs a bottom-up attention mechanism to detect objects and attributes within video frames.
  3. Textual Branch: Uses a semantic role parser to identify nouns (entities) and verbs (actions) within the query.
  4. Holistic Semantics (Global Level): This level captures the overall event or occurrence.
  5. Visual Branch: Utilizes a pre-trained video captioning model to generate a natural language summary of the video content.
  6. Textual Branch: Treats the entire input sentence as a single "occurrence" node.

Architecture and Reasoning

HiSE utilizes CLIP (ViT-B/32) as its foundational backbone for video and text encoding. To process the relationships between extracted semantic nodes, the model employs Graph Convolutional Networks (GCNs). Specifically, a Relational GCN (R-GCN) models the dependencies between actions and entities in text, while a standard GCN captures spatial and conceptual associations between detected objects in the video.

The final representation is a "convex combination"—a weighted blend—of the raw CLIP features and these structured high-level semantic features.

Optimization

The model is trained using a Hubness-Aware Contrastive Loss (HAL), designed to mitigate the "hubness" problem common in high-dimensional retrieval. To stabilize learning and provide a diverse set of negative samples, HiSE maintains momentum memory banks (similar to the MoCo framework), allowing for more robust contrastive learning across large batches.

Experimental Results

HiSE was evaluated on three primary benchmarks: MSR-VTT, MSVD, and DiDeMo. The model achieved state-of-the-art (SOTA) performance across all metrics:

  • MSR-VTT: Achieved a Recall@1 (R@1) of 45.0% for text-to-video retrieval, surpassing previous leaders such as CLIP4Clip and CenterCLIP.
  • MSVD: Reached an R@1 of 45.9%. Notably, the model showed a 15.5% improvement in R@Sum (the sum of all recall metrics) compared to the second-best non-CLIP-based methods.
  • DiDeMo: Demonstrated significant gains in video-paragraph retrieval, with the R@Sum increasing by 8.5% over the strongest CLIP4Clip baseline.

Ablation studies confirmed that both discrete and holistic semantic components are vital; removing either level of the hierarchy resulted in a measurable drop in retrieval accuracy.

Key Insights

Semantics as a Homogeneous Bridge

By converting raw video data into labels and captions, HiSE creates a "homogeneous" representation. Aligning "text-like" features derived from video with actual text queries is inherently more efficient than attempting to align raw pixels with abstract tokens. This explicit translation acts as a bridge that simplifies the cross-modal matching task.

Mimicking Human Cognition

The hierarchical approach—modeling local entities and global events separately before reasoning about their relationships—mimics human scene understanding. This structured approach allows the model to move beyond simple keyword matching toward a more nuanced understanding of "who is doing what" in a scene.

Limitations and Future Directions

Despite its success, HiSE introduces additional computational complexity due to its reliance on multiple off-the-shelf components, such as semantic role parsers and object detectors. This multi-stage pipeline can lead to error propagation, where inaccuracies in the initial captioning or detection phase negatively impact the final retrieval.

Future research may focus on end-to-end training of these semantic extractors alongside the retrieval objective, potentially reducing inference time and allowing the semantic modules to adapt more specifically to the retrieval task.

Summary updated

BibTeX
@inproceedings{wang2022boosting,
  author = {Haoran Wang and Di Xu and Dongliang He and Fu Li and Zhong Ji and Jungong Han and Errui Ding},
  title = {{Boosting Video-Text Retrieval with Explicit High-Level Semantics}},
  booktitle = {ACM Multimedia},
  year = {2022},
  doi = {10.1145/3503161.3548010},
}
Figure