Source-linked AI summary
RegionCLIP: Region-based Language-Image Pretraining
Yiwu Zhong, Jianwei Yang, Pengchuan Zhang, Chunyuan Li, Noel Codella, Liunian Harold Li, Luowei Zhou, Xiyang Dai, Lu Yuan, Yin Li, Jianfeng Gao
TL;DR
Image-level CLIP lacks fine-grained alignment between image regions and text, limiting its use for object detection. RegionCLIP learns region-level representations by aligning regions with text descriptions, reporting a 37.7% relative gain over published state of the art in AP50 for novel categories on COCO and promising zero-shot detection results.
Problem
Image-level vision-language models lack alignment between local image regions and text tokens, limiting their ability to precisely ground textual concepts to regions.
Source: §1 · p. 2Method
RegionCLIP uses a pretrained vision-language model to associate image regions with generated descriptions, then trains a visual encoder to match those region-text pairs.
Source: §1 · p. 2, §3.1 · p. 3Results
37.7% relative gain over published state of the art in AP50 for novel categories on COCO; the model also establishes new state-of-the-art results on COCO and LVIS and outperforms baselines in zero-shot inference.
Source: §1 · p. 2Takeaways & Limitations
Region-level vision-language pretraining is a promising direction for visual region understanding.
Source: §5 · p. 10The method focuses on object concepts and does not explicitly model object attributes or relationships, which can benefit tasks such as visual grounding.
Source: §4.4 · p. 9
Abstract
from arXiv · showhide
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. 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.
1. Introduction
RegionCLIP addresses CLIP’s difficulty recognizing image regions by bootstrapping region-text alignment from a pretrained vision-language model and pretraining region representations. The paper reports gains on open-vocabulary object detection and promising zero-shot inference.
1. Introduction
- CLIP’s LVIS classification accuracy falls from 60% on ImageNet to 19%, and its proposal scores often fail to capture localization quality.These results use a similar number of classes and show the degradation when applying pretrained CLIP to object detection.Source: §1 · p. 1
- Image-level image-text training does not teach alignment between local image regions and text tokens, limiting precise grounding of concepts to regions.Cropping regions for matching also ignores surrounding visual context and incurs high computational cost.Source: §1 · p. 2
- RegionCLIP explicitly aligns image regions and text tokens, bootstrapping from a pretrained vision-language model to address missing fine-grained labels and incomplete image descriptions.Image-text pairs lack region-token alignments, and paired descriptions often omit many regions.Source: §1 · p. 2
- It generates region descriptions by filling corpus-parsed object concepts into templates, then uses pretrained CLIP to assign pseudo-labels to candidate regions.Candidate regions come from object proposals or dense sliding windows; the scalable description-generation approach needs no human annotations and is not limited to text paired with an image.Source: §1 · p. 2
- RegionCLIP pretrains with pseudo region-text pairs and ground-truth image-text pairs using contrastive learning and knowledge distillation.The authors report that noisy pseudo-pairs still provide useful information for learning region representations.Source: §1 · p. 2
- On COCO novel categories, RegionCLIP achieves a 37.7% relative gain over published SoTA in AP50 and outperforms baselines in zero-shot inference.The paper also reports strong results after transfer to open-vocabulary object detection on COCO and LVIS.Source: §1 · p. 2
2. Related Work
Related work spans image-level vision-language pretraining, region representation learning, and zero-shot or open-vocabulary detection. RegionCLIP shifts vision-language pretraining to image regions to support region reasoning.
Visual representation learning for images
Visual representation learning for image regions
- Annotation-based region methods rely on expensive labels and predefined categories, while self-supervised region methods maximize similarity across augmented region views.Prior work also used pseudo-labels from detectors and object-attribute annotations to improve region representations.Source: §2 · p. 2
Zero-shot and open-vocabulary object detection
- Earlier zero-shot detectors matched cropped-region features to word embeddings [2], modeled background and semantic clusters, or synthesized novel-class features.These detectors usually relied on pretrained word-embedding semantic spaces.Source: §2 · pp. 2–3
- OVR [59] pretrains visual encoders on image-text pairs for broad object concepts, whereas ViLD [18] distills visual features from pretrained CLIP [37] to train zero-shot detectors.These approaches also use visual-semantic representations learned through vision-language pretraining.Source: §2 · p. 3
- Unlike OVR [59] and ViLD [18], RegionCLIP learns region representations from CLIP-generated pseudo region-text pairs without requiring the particular text paired with an image.Its regional representations support both zero-shot inference and transfer learning.Source: §2 · p. 3
3. Method
RegionCLIP separates region localization from recognition and trains a visual encoder to align image regions with language representations. It creates region–text supervision with a pretrained teacher, then supports zero-shot recognition and transfer to open-vocabulary object detection.
3.1. Problem Definition
- RegionCLIP separates localization from recognition, using existing region localizers while learning a regional visual-semantic space without heavy human annotation.Its goal is to match a region representation to a language representation describing that region.Source: §3.1 · p. 3
3.2. Region-based Language-Image Pretraining
- RegionCLIP creates region–text pairs by matching teacher-encoded image regions to concept descriptions, then trains its visual encoder with contrastive learning and concept distillation.The approach also uses Internet image–text pairs during pretraining.Source: §3.1 · p. 3, §3.2.2 · pp. 4–5
3.2.1 Visual and Semantic Region Representation
- Visual regions are proposed by an RPN by default and represented using pooled encoder features, while concept embeddings come from parsed concepts inserted into prompt templates.The visual encoder is initialized from the teacher; the concept pool can be customized and scaled using the language encoder, and localization can use different candidate-region extraction methods.Source: §3.2.1 · p. 4
3.2.2 Visual-Semantic Alignment for Regions
- The teacher links each region to its highest-scoring concept, and the student learns from those pairs with contrastive loss and KL-divergence distillation over all concepts.Region-level contrastive learning uses unmatched concepts as negatives; at zero-shot inference, region features are matched to target-class embeddings and fused with RPN objectness scores by geometric mean.Source: §3.2.2 · pp. 4–5
3.3. Transfer Learning for Object Detection
- For open-vocabulary detection, the pretrained encoder initializes detector backbones, which recognize RPN-localized regions by matching visual features to target-class embeddings.Detectors train on base-category annotations; classwise weighted cross-entropy uses focal scaling for base categories and a fixed all-zero embedding with a predefined weight for background regions.Source: §3.3 · p. 5
4. Experiments
Experiments evaluate transfer learning and zero-shot object detection on COCO and LVIS, reporting AP and AP50 across novel, base, and all-category settings. They also test fully supervised detection and ablate pretraining choices.
4.1. Transfer Learning for Object Detection
- Transfer-learning detectors train on base categories and are evaluated on base and novel categories, with separate results also reported for fully supervised training.The COCO split uses 48 base and 17 novel categories; LVIS uses 866 base and 337 novel categories.Source: §4.1 · p. 6, §4.1.1 · p. 6
4.1.1 Open-Vocabulary Object Detection
- On COCO, RegionCLIP improves over OVR on all metrics, including 31.4 vs. 22.8 on novel categories; on LVIS, it beats ViLD by +2.2 APr and +3.6 mAP.On COCO novel categories, it also gains +17.2 AP50 over the CLIP backbone; the results use a single pretrained backbone, standard augmentation, and a 1x schedule.Source: §4.1.1 · pp. 6–7, Table 1 · p. 6, Table 2 · p. 6
4.1.2 Fully Supervised Object Detection
- At a 1x schedule, RegionCLIP initialization improves fully supervised detection by +2.4 mAP on COCO and +2.8 mAP on LVIS over ImageNet- and CLIP-initialized baselines.The study reports faster convergence; with RN50x4 teacher and student backbones, performance rises from 38.8 to 42.7 mAP on COCO and 29.0 to 32.5 on LVIS.Source: §4.1.2 · p. 7, Table 3 · p. 7
4.2. Zero-shot Inference for Object Detection
- Without detection fine-tuning, RegionCLIP outperforms CLIP with ground-truth or RPN proposals, including 61.4 vs. 58.3 All AP50 on COCO with ground-truth boxes.It also exceeds OVR with RPN proposals, reaching 26.8 vs. 19.6 and 25.5 on COCO, and 9.6 vs. 9.2 on LVIS; the RN50x4 model improves results further.Source: §4.2 · pp. 7–8, Table 4 · p. 7
4.3. Ablation Study
- Adding image-text supervision to region-text pretraining improves zero-shot GT-box AP50 by +2.4 and transfer Novel AP50 by +5.4; random regions reduce zero-shot GT-box AP50 by 2.0.Random regions retain comparable transfer performance (46.9 vs. 47.5 All AP50), indicating proposal quality matters less for transfer than for zero-shot inference.Source: §4.3 · p. 8, Table 5 · p. 8, Table 6 · p. 8
- COCO Cap or COCO concepts improve zero-shot GT-box AP50 over CC3M (62.8 vs. 61.4 vs. 60.8), while CC3M raises transfer All AP50 to 50.4 from 47.5.Using both contrastive and distillation losses gives 62.8 AP50 with GT boxes, close to 63.1 for distillation alone, and the best transfer result, 26.8 Novel AP50.Source: §4.3 · p. 8, Table 7 · p. 8, Table 8 · p. 8
- A stronger teacher improves zero-shot GT-box AP50 by +4.2, while replacing the student with RN50x4 boosts transfer All AP50 by +5.3; focal scaling balances novel and base performance.The study attributes zero-shot results more to teacher capacity and transfer results more to student capacity; focal scaling is intended to mitigate overfitting to COCO’s 48 base categories.Source: §4.3 · pp. 8–9, Table 9 · p. 9, Table 10 · p. 9
4.4. Discussion
- Visualizations show more precise region recognition than CLIP, including predictions across 1,203 LVIS categories; the method does not model object attributes or relationships and keeps the language encoder fixed.The paper identifies comprehensive region representations and potentially unfreezing the language encoder as future directions.Source: §4.4 · p. 9, Figure 3 · p. 9, Figure 4 · p. 10
5. Conclusion
RegionCLIP learns region–description alignment through scalable region-text association without human annotation, improving open-vocabulary detection and showing promising zero-shot object-detection results.
- The pretrained model established new state of the art when transferred to open-vocabulary object detection on COCO and LVIS.Source: §5 · p. 10
- RegionCLIP learns to match image regions with descriptions using a scalable approach to associate region-text pairs beyond paired-text tokens, without human annotation.Source: §5 · p. 10
- The pretrained model also demonstrated promising results for zero-shot inference in object detection.Source: §5 · p. 10
Related papers
This paper cites
- Learning Transferable Visual Models From Natural Language Supervision2021
- Very Deep Convolutional Networks for Large-Scale Image Recognition2014
- Microsoft COCO: Common Objects in Context2014
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale2020
- Going Deeper with Convolutions2014
- A Simple Framework for Contrastive Learning of Visual Representations2020
Cited by
- Mitigating Saliency Collapse: Robust Saliency-Aware Long-Text Image-Text Alignment2026
- UniRAP: Towards Unified Part-level Physical Affordance Reasoning and Actionable Perception2026
- APED-CXR: Adaptive Privileged Evidence Distillation for Chest X-Ray Grounding with Image-Only Inference2026
- VTrajEmbed: Aligning Text with Video Object Trajectories via Spatiotemporal Embeddings2026
- Flow-CLIP: Image-Conditioned Residual Scoring for CompositionalImage-Text Matching2026
- What Really Works for Universal Multimodal Embeddings? A Controlled Study of Contrastive Training Strategies2026