VTD-CLIP: Video-to-Text Discretization via Prompting CLIP

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhu, Wencheng, Wang, Yuexin, Li, Hongxuan, Zhu, Pengfei, Hu, Qinghua
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916661759574016
author Zhu, Wencheng
Wang, Yuexin
Li, Hongxuan
Zhu, Pengfei
Hu, Qinghua
author_facet Zhu, Wencheng
Wang, Yuexin
Li, Hongxuan
Zhu, Pengfei
Hu, Qinghua
contents Vision-language models bridge visual and linguistic understanding and have proven to be powerful for video recognition tasks. Existing approaches primarily rely on parameter-efficient fine-tuning of image-text pre-trained models, yet they often suffer from limited interpretability and poor generalization due to inadequate temporal modeling. To address these, we propose a simple yet effective video-to-text discretization framework. Our method repurposes the frozen text encoder to construct a visual codebook from video class labels due to the many-to-one contrastive alignment between visual and textual embeddings in multimodal pretraining. This codebook effectively transforms temporal visual data into textual tokens via feature lookups and offers interpretable video representations through explicit video modeling. Then, to enhance robustness against irrelevant or noisy frames, we introduce a confidence-aware fusion module that dynamically weights keyframes by assessing their semantic relevance via the codebook. Furthermore, our method incorporates learnable text prompts to conduct adaptive codebook updates. Extensive experiments on HMDB-51, UCF-101, SSv2, and Kinetics-400 have validated the superiority of our approach, achieving more competitive improvements over state-of-the-art methods. The code will be publicly available at https://github.com/isxinxin/VTD-CLIP.
format Preprint
id arxiv_https___arxiv_org_abs_2503_18407
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle VTD-CLIP: Video-to-Text Discretization via Prompting CLIP
Zhu, Wencheng
Wang, Yuexin
Li, Hongxuan
Zhu, Pengfei
Hu, Qinghua
Computer Vision and Pattern Recognition
Vision-language models bridge visual and linguistic understanding and have proven to be powerful for video recognition tasks. Existing approaches primarily rely on parameter-efficient fine-tuning of image-text pre-trained models, yet they often suffer from limited interpretability and poor generalization due to inadequate temporal modeling. To address these, we propose a simple yet effective video-to-text discretization framework. Our method repurposes the frozen text encoder to construct a visual codebook from video class labels due to the many-to-one contrastive alignment between visual and textual embeddings in multimodal pretraining. This codebook effectively transforms temporal visual data into textual tokens via feature lookups and offers interpretable video representations through explicit video modeling. Then, to enhance robustness against irrelevant or noisy frames, we introduce a confidence-aware fusion module that dynamically weights keyframes by assessing their semantic relevance via the codebook. Furthermore, our method incorporates learnable text prompts to conduct adaptive codebook updates. Extensive experiments on HMDB-51, UCF-101, SSv2, and Kinetics-400 have validated the superiority of our approach, achieving more competitive improvements over state-of-the-art methods. The code will be publicly available at https://github.com/isxinxin/VTD-CLIP.
title VTD-CLIP: Video-to-Text Discretization via Prompting CLIP
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.18407