Text-Video Retrieval with Global-Local Semantic Consistent Learning

Haonan Zhang, Pengpeng Zeng, Lianli Gao, Jingkuan Song, Yihang Duan +2 more
5/21/2024
cs.CV

Official code: zchoi/GLSCL (16 stars, Apache-2.0, last commit 2025-05-12).

Abstract

Adapting large-scale image-text pre-training models, e.g., CLIP, to the video domain represents the current state-of-the-art for text-video retrieval. The primary approaches involve transferring text-video pairs to a common embedding space and leveraging cross-modal interactions on specific entities for semantic alignment. Though effective, these paradigms entail prohibitive computational costs, leading to inefficient retrieval. To address this, we propose a simple yet effective method, Global-Local Semantic Consistent Learning (GLSCL), which capitalizes on latent shared semantics across modalities for text-video retrieval. Specifically, we introduce a parameter-free global interaction module to explore coarse-grained alignment. Then, we devise a shared local interaction module that employs several learnable queries to capture latent semantic concepts for learning fine-grained alignment. Furthermore, an Inter-Consistency Loss (ICL) is devised to accomplish the concept alignment between the visual query and corresponding textual query, and an Intra-Diversity Loss (IDL) is developed to repulse the distribution within visual (textual) queries to generate more discriminative concepts. Extensive experiments on five widely used benchmarks (i.e., MSR-VTT, MSVD, DiDeMo, LSMDC, and ActivityNet) substantiate the superior effectiveness and efficiency of the proposed method. Remarkably, our method achieves comparable performance with SOTA as well as being nearly 220 times faster in terms of computational cost. Code is available at: https://github.com/zchoi/GLSCL.

View on arXivView PDF

Code Implementations(1)

zchoi/GLSCLOfficial100%
Apache-2.0

[TIP25] Code for "Text-Video Retrieval with Global-Local Semantic Consistent Learning"

160Shell, PythonJan 23, 20241 years agoApache-2.0
clipconsistent-learningquery-optimizationtext-video-retrieval

Similar Papers

Cite this paper

@article{zhang2024textvideo,
  title  = {Text-Video Retrieval with Global-Local Semantic Consistent Learning},
  author = {Haonan Zhang and Pengpeng Zeng and Lianli Gao and Jingkuan Song and Yihang Duan and Xinyu Lyu and Hengtao Shen},
  year   = {2024},
  eprint = {2405.12710},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.12710v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.12710.svg)](https://codeofpaper.com/paper/2405.12710)

Discussion