Open Vocabulary Semantic Segmentation with Patch Aligned Contrastive Learning
Jishnu Mukhoti, Tsung-Yu Lin, Omid Poursaeed, Rui Wang, Ashish Shah,, Philip H.S. Torr, Ser-Nam Lim

TL;DR
This paper presents Patch Aligned Contrastive Learning (PACL), a novel method that aligns vision patch tokens with text tokens in CLIP, enabling open vocabulary semantic segmentation and improving zero-shot classification without additional annotations.
Contribution
PACL introduces a new compatibility function for CLIP that aligns patch and text tokens, enabling open vocabulary segmentation and enhancing zero-shot classification performance.
Findings
Achieves state-of-the-art zero-shot segmentation on four benchmarks.
Improves zero-shot classification accuracy across 12 datasets.
Enables segmentation without segmentation annotations during training.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Multimodal Machine Learning Applications · COVID-19 diagnosis using AI
MethodsContrastive Language-Image Pre-training · Contrastive Learning
