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

CorrCLIP: Reconstructing Patch Correlations in CLIP for Open-Vocabulary Semantic Segmentation

About

Open-vocabulary semantic segmentation aims to assign semantic labels to each pixel without being constrained by a predefined set of categories. While Contrastive Language-Image Pre-training (CLIP) excels in zero-shot classification, it struggles to align image patches with category embeddings because of its incoherent patch correlations. This study reveals that inter-class correlations are the main reason for impairing CLIP's segmentation performance. Accordingly, we propose CorrCLIP, which reconstructs the scope and value of patch correlations. Specifically, CorrCLIP leverages the Segment Anything Model (SAM) to define the scope of patch interactions, reducing inter-class correlations. To mitigate the problem that SAM-generated masks may contain patches belonging to different classes, CorrCLIP incorporates self-supervised models to compute coherent similarity values, suppressing the weight of inter-class correlations. Additionally, we introduce two additional branches to strengthen patch features' spatial details and semantic representation. Finally, we update segmentation maps with SAM-generated masks to improve spatial consistency. Based on the improvement across patch correlations, feature representations, and segmentation maps, CorrCLIP achieves superior performance across eight benchmarks. Codes are available at: https://github.com/zdk258/CorrCLIP.

Dengke Zhang, Fagui Liu, Quan Tang• 2024

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K
mIoU30.7
936
Semantic segmentationCityscapes
mIoU51.1
578
Semantic segmentationCOCO Stuff
mIoU0.34
195
Semantic segmentationADE20K A-150
mIoU30.7
188
Semantic segmentationPascal Context 59
mIoU50.8
164
Semantic segmentationLoveDA
mIoU36.9
142
Semantic segmentationPascal VOC 20
mIoU91.8
105
Semantic segmentationPascal VOC 21 classes (val)
mIoU76.7
103
Semantic segmentationVaihingen
mIoU47
95
Semantic segmentationPascal Context 60
mIoU4.49e+3
81
Showing 10 of 43 rows

Other info

Code

Follow for update