RegionCLIP: Region-based Language-Image Pretraining

Yiwu Zhong, Jianwei Yang, Pengchuan Zhang, Chunyuan Li, Noel Codella +6 more
12/16/2021
1,040 citations
cs.CVcs.AIcs.LG

Official code: microsoft/RegionCLIP (820 stars, Python, Apache-2.0, last commit 2024-03-20).

Abstract

Contrastive language-image pretraining (CLIP) using image-text pairs has achieved impressive results on image classification in both zero-shot and transfer learning settings. However, we show that directly applying such models to recognize image regions for object detection leads to poor performance due to a domain shift: CLIP was trained to match an image as a whole to a text description, without capturing the fine-grained alignment between image regions and text spans.

Show full abstract

To mitigate this issue, we propose a new method called RegionCLIP that significantly extends CLIP to learn region-level visual representations, thus enabling fine-grained alignment between image regions and textual concepts. Our method leverages a CLIP model to match image regions with template captions and then pretrains our model to align these region-text pairs in the feature space. When transferring our pretrained model to the open-vocabulary object detection tasks, our method significantly outperforms the state of the art by 3.8 AP50 and 2.2 AP for novel categories on COCO and LVIS datasets, respectively. Moreoever, the learned region representations support zero-shot inference for object detection, showing promising results on both COCO and LVIS datasets. Our code is available at https://github.com/microsoft/RegionCLIP.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[CVPR 2022] Official code for "RegionCLIP: Region-based Language-Image Pretraining"

82060Python, CudaMar 18, 20222 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhong2021regionclip,
  title  = {RegionCLIP: Region-based Language-Image Pretraining},
  author = {Yiwu Zhong and Jianwei Yang and Pengchuan Zhang and Chunyuan Li and Noel Codella and Liunian Harold Li and Luowei Zhou and Xiyang Dai and Lu Yuan and Yin Li and Jianfeng Gao},
  year   = {2021},
  eprint = {2112.09106},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.09106}
}

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/2112.09106.svg)](https://codeofpaper.com/paper/2112.09106)

Discussion