CenterCLIP: Token Clustering for Efficient Text-Video Retrieval
Shuai Zhao, Linchao Zhu, Xiaohan Wang, Yi Yang
Abstract
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 https://github.com/mzhaoshuai/CenterCLIP https://github.com/mzhaoshuai/CenterCLIP.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
54 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention cites Reformer: The Efficient Transformer
- UATVR: Uncertainty-Adaptive Text-Video Retrieval cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- UATVR: Uncertainty-Adaptive Text-Video Retrieval cites Learning Transferable Visual Models From Natural Language Supervision
- Spectrum-guided Multi-granularity Referring Video Object Segmentation cites Learning Transferable Visual Models From Natural Language Supervision
- Partially Relevant Video Retrieval cites Learning Transferable Visual Models From Natural Language Supervision
- Revisiting Classifier: Transferring Vision-Language Models for Video Recognition cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Revisiting Classifier: Transferring Vision-Language Models for Video Recognition cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Revisiting Classifier: Transferring Vision-Language Models for Video Recognition cites Learning Transferable Visual Models From Natural Language Supervision
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites Learning Transferable Visual Models From Natural Language Supervision
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Learning Transferable Visual Models From Natural Language Supervision
- Progressive Spatio-Temporal Prototype Matching for Text-Video Retrieval cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Progressive Spatio-Temporal Prototype Matching for Text-Video Retrieval cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers54
- Revisiting Classifier: Transferring Vision-Language Models for Video RecognitionWenhao Wu, Zhun Sun, Wanli OuyangAAAI 2023 · 141 citations
- UATVR: Uncertainty-Adaptive Text-Video RetrievalBo Fang, Wenhao Wu, Chang Liu, Yu Zhou et al.ICCV 2023 · 98 citations
- Spectrum-guided Multi-granularity Referring Video Object SegmentationBo Miao, Mohammed Bennamoun, Yongsheng Gao, Ajmal MianICCV 2023 · 75 citations
- Partially Relevant Video RetrievalJianfeng Dong, Xianke Chen, Minsong Zhang, Xun Yang et al.ACM MM 2022 · 65 citations
- Progressive Spatio-Temporal Prototype Matching for Text-Video RetrievalPandeng Li, Chen-Wei Xie, Liming Zhao, Hongtao Xie et al.ICCV 2023 · 62 citations
Builds on25
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen et al.ICML 2021 · 5,401 citations
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 citations
- Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 citations
Related papers
- TempMe: Video Temporal Token Merging for Efficient Text-Video RetrievalLeqi Shen, Tianxiang Hao, Tao He, Sicheng Zhao et al.ICLR 2025
- Cluster-Wise Spatio-Temporal Masking for Efficient Video-Language PretrainingWeijun Zhuang, Yuqing Huang, Weikang Meng, Xin Li et al.CVPR 2026 · 3 citations
- SMAUG: Sparse Masked Autoencoder for Efficient Video-Language Pre-trainingYuanze Lin, Chen Wei, Huiyu Wang, Alan L. Yuille et al.ICCV 2023 · 18 citations
- RaP: Redundancy-aware Video-language Pre-training for Text-Video RetrievalXing Wu, Chaochen Gao, Zijia Lin, Zhongyuan Wang et al.EMNLP Findings 2022 · 9 citations
- Unified Spatiotemporal Token Compression for Video-LLMs at Ultra-Low RetentionJunhao Du, Jialong Xue, Anqi Li, Jincheng Dai et al.CVPR 2026 · 7 citations
