Contrastive Localized Language-Image Pre-Training

Hong-You Chen, Zhengfeng Lai, Haotian Zhang, Xinze Wang, Marcin Eichner +5 more
10/3/2024
cs.CVcs.LG

No official code found. Best implementation: clip-italian/clip-italian (185 stars, PyTorch, last commit 2023-05-11).

Abstract

Contrastive Language-Image Pre-training (CLIP) has been a celebrated method for training vision encoders to generate image/text representations facilitating various applications. Recently, CLIP has been widely adopted as the vision backbone of multimodal large language models (MLLMs) to connect image inputs for language interactions. The success of CLIP as a vision-language foundation model relies on aligning web-crawled noisy text annotations at image levels. Nevertheless, such criteria may become insufficient for downstream tasks in need of fine-grained vision representations, especially when region-level understanding is demanding for MLLMs. In this paper, we improve the localization capability of CLIP with several advances. We propose a pre-training method called Contrastive Localized Language-Image Pre-training (CLOC) by complementing CLIP with region-text contrastive loss and modules. We formulate a new concept, promptable embeddings, of which the encoder produces image embeddings easy to transform into region representations given spatial hints. To support large-scale pre-training, we design a visually-enriched and spatially-localized captioning framework to effectively generate region-text pseudo-labels at scale. By scaling up to billions of annotated images, CLOC enables high-quality regional embeddings for image region recognition and retrieval tasks, and can be a drop-in replacement of CLIP to enhance MLLMs, especially on referring and grounding tasks.

View on arXivView PDF

Code Implementations(1)

PyTorch

CLIP (Contrastive Language–Image Pre-training) for Italian

18517Shell, PythonJul 7, 20213 years ago
clipcontrastive-lossdatasethuggingfacetransformers+1 more

Similar Papers

Cite this paper

@article{chen2024contrastive,
  title  = {Contrastive Localized Language-Image Pre-Training},
  author = {Hong-You Chen and Zhengfeng Lai and Haotian Zhang and Xinze Wang and Marcin Eichner and Keen You and Meng Cao and Bowen Zhang and Yinfei Yang and Zhe Gan},
  year   = {2024},
  eprint = {2410.02746},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.02746v2},
  journal = {ICML 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/2410.02746.svg)](https://codeofpaper.com/paper/2410.02746)

Discussion