Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

FineLIP: Extending CLIP's Reach via Fine-Grained Alignment with Longer Text Inputs

About

As a pioneering vision-language model, CLIP (Contrastive Language-Image Pre-training) has achieved significant success across various domains and a wide range of downstream vision-language tasks. However, the text encoders in popular CLIP models are limited to processing only 77 text tokens, which constrains their ability to effectively handle longer, detail-rich captions. Additionally, CLIP models often struggle to effectively capture detailed visual and textual information, which hampers their performance on tasks that require fine-grained analysis. To address these limitations, we present a novel approach, \textbf{FineLIP}, that extends the capabilities of CLIP. FineLIP enhances cross-modal text-image mapping by incorporating \textbf{Fine}-grained alignment with \textbf{L}onger text input within the CL\textbf{IP}-style framework. FineLIP first extends the positional embeddings to handle longer text, followed by the dynamic aggregation of local image and text tokens. The aggregated results are then used to enforce fine-grained token-to-token cross-modal alignment. We validate our model on datasets with long, detailed captions across two tasks: zero-shot cross-modal retrieval and text-to-image generation. Quantitative and qualitative experimental results demonstrate the effectiveness of FineLIP, outperforming existing state-of-the-art approaches. Furthermore, comprehensive ablation studies validate the benefits of key design elements within FineLIP.

Mothilal Asokan, Kebin Wu, Fatima Albreiki• 2025

Related benchmarks

TaskDatasetResultRank
Text-to-Image RetrievalFlickr30K
R@136.66
460
Image-to-Text RetrievalFlickr30K
R@153.49
379
Text-to-Image RetrievalCOCO
Recall@141.18
130
Image-to-Text RetrievalCOCO
R@159.14
123
Image-to-Text RetrievalDCI
R@165.58
68
Text-to-Image RetrievalDCI
R@166.13
68
Image-to-Text RetrievalUrban-1K
R@190.7
34
Text-to-Image RetrievalUrban-1K
R@189.3
34
Text-to-Image RetrievalSV-1k
R@189.3
33
Image-to-Text RetrievalDOCCI
R@594.6
28
Showing 10 of 20 rows

Other info

Follow for update