paper-with-me

홈 › Papers

CenterCLIP: Token Clustering for Efficient Text-Video Retrieval

2022-05-02 · Shuai Zhao, Linchao Zhu, Xiaohan Wang, Yi Yang

Recently, large-scale pre-training methods like CLIP have made great progress in multi-modal research such as text-video retrieval. In CLIP, transformers are vital for modeling complex multi-modal relations. However, in the vision transformer of CLIP, the essential visual tokenization process, which produces discrete visual token sequences, generates many homogeneous tokens due to the redundancy nature of consecutive and similar frames in videos. This significantly increases computation costs and hinders the deployment of video retrieval models in web applications. In this paper, to reduce the number of redundant video tokens, we design a multi-segment token clustering algorithm to find the most representative tokens and drop the non-essential ones. As the frame redundancy occurs mostly in consecutive frames, we divide videos into multiple segments and conduct segment-level clustering. Center tokens from each segment are later concatenated into a new sequence, while their original spatial-temporal relations are well maintained. We instantiate two clustering algorithms to efficiently find deterministic medoids and iteratively partition groups in high dimensional space. Through this token clustering and center selection procedure, we successfully reduce computation costs by removing redundant visual tokens. This method further enhances segment-level semantic alignment between video and text representations, enforcing the spatio-temporal interactions of tokens from within-segment frames. Our method, coined as CenterCLIP, surpasses existing state-of-the-art by a large margin on typical text-video benchmarks, while reducing the training memory cost by 35\% and accelerating the inference speed by 14\% at the best case. The code is available at \href{{https://github.com/mzhaoshuai/CenterCLIP}}{{https://github.com/mzhaoshuai/CenterCLIP}}.

📄 PDF Abstract BibTeX arXiv:2205.00823

Code (1)

mzhaoshuai/CenterCLIP 공식 구현 pytorch

Tasks

ClusteringRetrievalVideo Retrieval

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Residual Connection 설명 없음
Multi-Head Attention 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

Multi-Vector Index Compression in Any Modality

2026-02-24 · Hanxiang Qin, Alexander Martin, Rohan Jha, Chunsheng Zuo 외 arxiv

We study efficient multi-vector retrieval for late interaction in any modality. Late interaction has emerged as a dominant paradigm for information retrieval in text, images, visual documents, and videos, but its computa…

Information Retrieval

TS2-Net: Token Shift and Selection Transformer for Text-Video Retrieval

2022-07-16 · Yuqi Liu, Pengfei Xiong, Luhui Xu, Shengming Cao 외

Text-Video retrieval is a task of great practical value and has received increasing attention, among which learning spatial-temporal video representation is one of the research hotspots. The video encoders in the state-o…

RetrievalVideo Retrieval

Cluster-Wise Spatio-Temporal Masking for Efficient Video-Language Pretraining

2026-03-24 · Weijun Zhuang, Yuqing Huang, Weikang Meng, Xin Li 외 arxiv

Large-scale video-language pretraining enables strong generalization across multimodal tasks but often incurs prohibitive computational costs. Although recent advances in masked visual modeling help mitigate this issue, …

Video Question AnsweringVideo-Text RetrievalVideo Captioning

Empower Words: DualGround for Structured Phrase and Sentence-Level Temporal Grounding

2025-10-23 · Minseok Kang, Minhyeok Lee, Minjung Kim, Donghyeong Kim 외 arxiv

Video Temporal Grounding (VTG) aims to localize temporal segments in long, untrimmed videos that align with a given natural language query. This task typically comprises two subtasks: Moment Retrieval (MR) and Highlight …

Highlight DetectionMoment RetrievalVideo Grounding

PIDRo: Parallel Isomeric Attention with Dynamic Routing for Text-Video Retrieval

2023-01-01 · ICCV 2023 1 · Peiyan Guan, Renjing Pei, Bin Shao, Jianzhuang Liu 외

Text-video retrieval is a fundamental task with high practical value in multi-modal research. Inspired by the great success of pre-trained image-text models with large-scale data, such as CLIP, many methods are propo…

Representation LearningRetrievalSentenceVideo Alignment+2