Video-text representation learning has shown promising capabilities in many multi-modal applications. Current methods follow the de-facto vision-text alignment during pre-training, allowing a shared representation. However, video-text alignment methods train on coarse-grained text description, resulting in weak representations for detailed, fine-grained descriptions. While some approaches tried to incorporate long captions for learning fine-grained representations, they only rely on a global video-text alignment, failing to effectively capture such fine-grained details. To address this issue, we propose ViFCLIP, a video-text model trained with fine-grained video-text alignment. Our model integrates learnable frame-tokens, allowing a fine-grained visual representation beyond the global video representation. We also adopt a subcaption sampling strategy that generates diverse and multi-granular fine-grained textual supervision extracted from detailed captions. Finally, our fine-grained alignment method relies on a token-to-token interaction where each subcaption is aligned with its most similar frame-token. Our model shows SOTA results on many zero-shot text-to-video retrieval datasets against prior video-text dual encoders and MLLM models.
We extend ViCLIP to learn from multiple summary and detailed captions per video, with a global video-text alignment.
We add learnable frame and register tokens, temporal attention blocks and subcaption sampling. Each subcaption is aligned with its most relevant token through MaxSim.
State-of-the-art results on coarse-grained, fine-grained and long-context benchmarks, against video-text dual encoders and MLLM-based models.
ViFCLIP keeps the global video-text alignment and adds a fine-grained one.
Learnable frame tokens add a localized representation beyond the global [CLS]. Register tokens capture what doesn't belong to a single frame. Attention masking sets what each token sees.
Detailed captions are split into sentences, then randomly combined into diverse, multi-granular subcaptions, giving rich textual supervision from a single video.
Each subcaption is aligned with its most relevant visual token without requiring explicit temporal supervision. A subcaption spanning several moments goes to a register token.
ViFCLIP-L sets a new SOTA on 9 of 15 zero-shot text-to-video retrieval benchmarks and is top-2 on 11 of 15, against both video-text dual encoders and MLLM-based models.
| Method | MSRVTT | DiDeMo | ANet | MSVD | LSMDC | CRB-G |
|---|---|---|---|---|---|---|
| MLLM-based | ||||||
| GME-2B | 37.9 | 30.2 | 35.1 | 49.6 | 19.8 | 73.2 |
| UNITE-2B | 43.8 | 37.3 | 43.1 | 50.8 | 22.3 | 79.4 |
| VLM2Vec-V2 | 29.0 | 30.9 | 22.0 | 39.1 | 16.3 | 80.6 |
| BGE-VL | 40.0 | 37.0 | 35.3 | 49.9 | 21.4 | 86.5 |
| GVE-3B | 43.0 | 38.9 | 41.9 | 50.5 | 19.4 | 85.0 |
| CLIP-style | ||||||
| CLIP4Clip | 32.8 | 29.7 | 25.5 | 40.3 | 16.7 | 50.7 |
| ViCLIP-L | 38.4 | 32.8 | 25.8 | 51.0 | 19.1 | 45.0 |
| VideoCLIP-XL | 43.9 | 40.4 | 47.2 | 53.5 | 20.7 | 82.9 |
| UMT-L | 32.9 | 31.3 | 24.0 | 46.0 | 17.8 | 44.8 |
| LanguageBind | 47.8 | 40.1 | 44.8 | 55.0 | 20.4 | 71.5 |
| InternVideo2-1B | 45.1 | 42.8 | 45.6 | 58.2 | 24.2 | 58.7 |
| Ours | ||||||
| LongViCLIP-B | 43.3 | 50.2 | 48.5 | 52.9 | 19.3 | 86.6 |
| ViFCLIP-B | 43.9 | 53.5 | 49.5 | 55.1 | 21.2 | 88.6 |
| LongViCLIP-L | 46.9 | 52.5 | 55.2 | 57.2 | 24.3 | 88.1 |
| ViFCLIP-L | 48.8 | 56.3 | 55.1 | 58.1 | 25.7 | 91.5 |
Zero-shot text-to-video retrieval, R@1. Bold: best, underline: second best. Same evaluation protocol for all models.
| Spatial | Temporal | Partially rel. | Long-context | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Method | CRB-S | VDC-O | CRB-T | CMRB | DREAM-E | LoVR-TH | PEV-K | LoVR-V | VDC-D |
| MLLM-based | |||||||||
| GME-2B | 76.8 | 72.7 | 42.9 | 26.7 | 25.2 | 40.7 | 36.9 | 19.0 | 85.3 |
| UNITE-2B | 80.9 | 76.3 | 47.0 | 30.3 | 27.6 | 49.2 | 36.4 | 82.0 | 83.1 |
| VLM2Vec-V2 | 79.8 | 76.9 | 30.2 | 27.5 | 23.3 | 47.8 | 24.0 | 63.0 | 87.7 |
| BGE-VL | 86.5 | 76.6 | 44.8 | 31.2 | 25.2 | 47.9 | 30.4 | 73.0 | 85.8 |
| GVE-3B | 83.9 | 76.5 | 47.4 | 36.2 | 27.7 | 56.4 | 33.8 | 67.0 | 91.0 |
| CLIP-style | |||||||||
| CLIP4Clip | 49.6 | 62.3 | 30.4 | 27.6 | 19.8 | 34.8 | 17.9 | 32.0 | 55.3 |
| ViCLIP-L | 44.3 | 54.0 | 35.6 | 23.4 | 24.1 | 21.3 | 7.7 | 23.0 | 38.2 |
| VideoCLIP-XL | 84.0 | 72.9 | 48.7 | 27.3 | 26.7 | 43.7 | 22.7 | 38.0 | 81.7 |
| UMT-L | 44.1 | 57.2 | 34.0 | 32.6 | 21.4 | 23.3 | 4.0 | 26.0 | 47.0 |
| LanguageBind | 71.3 | 76.8 | 46.2 | 30.2 | 28.8 | 42.6 | 30.3 | 58.0 | 66.1 |
| InternVideo2-1B | 57.4 | 64.2 | 46.7 | 36.0 | 24.3 | 30.6 | 2.7 | 26.0 | 47.9 |
| Ours | |||||||||
| LongViCLIP-B | 85.6 | 76.5 | 54.5 | 31.1 | 29.5 | 41.0 | 16.2 | 42.0 | 78.3 |
| ViFCLIP-B | 89.0 | 81.9 | 58.4 | 32.4 | 34.8 | 55.3 | 10.8 | 60.0 | 87.1 |
| LongViCLIP-L | 87.8 | 82.3 | 60.8 | 32.4 | 34.1 | 48.9 | 20.8 | 49.0 | 76.9 |
| ViFCLIP-L | 90.9 | 83.1 | 62.1 | 34.2 | 38.7 | 60.7 | 8.4 | 65.0 | 84.0 |
Zero-shot text-to-video retrieval, R@1 (R@10 for CMRB and LoVR-TH). Bold: best, underline: second best. Same evaluation protocol for all models.
| Method | K400 | K600 | K700 |
|---|---|---|---|
| CLIP4Clip | 49.6 | 47.0 | 38.0 |
| ViCLIP-L | 59.9 | 57.9 | 49.9 |
| VideoCLIP-XL | 63.4 | 61.2 | 53.5 |
| Ours | |||
| LongViCLIP-L | 65.2 | 62.6 | 55.2 |
| ViFCLIP-L (CLS only) | 65.3 | 63.6 | 56.0 |
Zero-shot action classification, top-1 accuracy using the [CLS] token. Bold: best, underline: second best.
@article{Farach2026ViFCLIP,
title = {{ViFCLIP}: Video-text Representation Learning with Fine-grained Video-text Alignment},
author = {Farach, Hamza and Vandeghen, Renaud and Thoker, Fida Mohammad and Ghanem, Bernard and Cioppa, Anthony},
journal = {arXiv preprint},
year = {2026}
}