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

Open Vocabulary Semantic Segmentation with Patch Aligned Contrastive Learning

About

We introduce Patch Aligned Contrastive Learning (PACL), a modified compatibility function for CLIP's contrastive loss, intending to train an alignment between the patch tokens of the vision encoder and the CLS token of the text encoder. With such an alignment, a model can identify regions of an image corresponding to a given text input, and therefore transfer seamlessly to the task of open vocabulary semantic segmentation without requiring any segmentation annotations during training. Using pre-trained CLIP encoders with PACL, we are able to set the state-of-the-art on the task of open vocabulary zero-shot segmentation on 4 different segmentation benchmarks: Pascal VOC, Pascal Context, COCO Stuff and ADE20K. Furthermore, we show that PACL is also applicable to image-level predictions and when used with a CLIP backbone, provides a general improvement in zero-shot classification accuracy compared to CLIP, across a suite of 12 image classification datasets.

Jishnu Mukhoti, Tsung-Yu Lin, Omid Poursaeed, Rui Wang, Ashish Shah, Philip H.S. Torr, Ser-Nam Lim• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy74.43
3518
Image ClassificationCIFAR-10 (test)
Accuracy95.13
3381
Image ClassificationImageNet-1k (val)--
1453
Semantic segmentationADE20K
mIoU31.4
936
Image ClassificationImageNet A
Top-1 Acc59.13
553
Image ClassificationFood-101
Accuracy93.2
494
Image ClassificationImageNet V2
Top-1 Acc72.88
487
Image ClassificationStanford Cars
Accuracy74.2
477
Image ClassificationImageNet-R
Top-1 Acc85.6
474
Image ClassificationImageNet-Sketch
Top-1 Accuracy63.23
360
Showing 10 of 27 rows

Other info

Follow for update