FLAIR: VLM with Fine-grained Language-informed Image Representations

Rui Xiao, Sanghwan Kim, Mariana-Iuliana Georgescu, Zeynep Akata, Stephan Alaniz
2/9/2026

No official code found. Best implementation: ExplainableML/flair (150 stars, last commit 2026-03-12).

Abstract

CLIP has shown impressive results in aligning images and texts at scale. However, its ability to capture detailed visual features remains limited because CLIP matches images and texts at a global level. To address this issue, we propose FLAIR, Fine-grained Language-informed Image Representations, an approach that utilizes long and detailed image descriptions to learn localized image embeddings. By sampling diverse sub-captions that describe fine-grained details about an image, we train our vision-language model to produce not only global embeddings but also text-specific image representations. Our model introduces text-conditioned attention pooling on top of local image tokens to produce fine-grained image representations that excel at retrieving detailed image content. We achieve state-of-the-art performance on both, existing multimodal retrieval benchmarks, as well as, our newly introduced fine-grained retrieval task which evaluates vision-language models’ ability to retrieve partial image content. Furthermore, our experiments demonstrate the effectiveness of FLAIR trained on 30M image-text pairs in capturing fine-grained visual information, including zero-shot semantic segmentation, outperforming models trained on billions of pairs. Code is available at https://github.com/ExplainableML/flair.

View on arXivView PDF

Code Implementations(1)

ExplainableML/flairCommunity100%

[CVPR 2025] FLAIR: VLM with Fine-grained Language-informed Image Representations

1507Shell, PythonDec 2, 20247 months ago
clipcontrastive-learningmulti-modal-learningvision-language-model

Similar Papers

Cite this paper

@article{xiao2026flair,
  title  = {FLAIR: VLM with Fine-grained Language-informed Image Representations},
  author = {Rui Xiao and Sanghwan Kim and Mariana-Iuliana Georgescu and Zeynep Akata and Stephan Alaniz},
  year   = {2026},
  eprint = {2412.03561},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.03561},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.03561.svg)](https://codeofpaper.com/paper/2412.03561)

Discussion