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

CLIPSelf: Vision Transformer Distills Itself for Open-Vocabulary Dense Prediction

About

Open-vocabulary dense prediction tasks including object detection and image segmentation have been advanced by the success of Contrastive Language-Image Pre-training (CLIP). CLIP models, particularly those incorporating vision transformers (ViTs), have exhibited remarkable generalization ability in zero-shot image classification. However, when transferring the vision-language alignment of CLIP from global image representation to local region representation for the open-vocabulary dense prediction tasks, CLIP ViTs suffer from the domain shift from full images to local image regions. In this paper, we embark on an in-depth analysis of the region-language alignment in CLIP models, which is essential for downstream open-vocabulary dense prediction tasks. Subsequently, we propose an approach named CLIPSelf, which adapts the image-level recognition ability of CLIP ViT to local image regions without needing any region-text pairs. CLIPSelf empowers ViTs to distill itself by aligning a region representation extracted from its dense feature map with the image-level representation of the corresponding image crop. With the enhanced CLIP ViTs, we achieve new state-of-the-art performance on open-vocabulary object detection, semantic segmentation, and panoptic segmentation across various benchmarks. Models and code are released at https://github.com/wusize/CLIPSelf.

Size Wu, Wenwei Zhang, Lumin Xu, Sheng Jin, Xiangtai Li, Wentao Liu, Chen Change Loy• 2023

Related benchmarks

TaskDatasetResultRank
Object DetectionCOCO (val)--
613
Object DetectionLVIS v1.0 (val)--
518
Text-to-Image RetrievalFlickr30K
R@135
460
Semantic segmentationPASCAL Context (val)
mIoU62.3
323
Object DetectionOV-COCO
AP50 (Novel)44.3
97
Semantic segmentationADE20K A-847 (val)
mIoU12.4
70
Object DetectionObjects365 (val)
mAP19.5
48
Semantic segmentationDv 19-class (val)
ACDC-19 Score51.1
46
Semantic segmentationDv 58-class (val)
ACDC-4161.3
46
Text-to-Image RetrievalMSCOCO (5K)
R@116.1
42
Showing 10 of 37 rows

Other info

Code

Follow for update