Emergent Open-Vocabulary Semantic Segmentation from Off-the-Shelf Vision-Language Models
Abstract
From image-text pairs large-scale vision-language models (VLMs) learn to implicitly associate image regions with words which prove effective for tasks like visual question answering. However leveraging the learned association for open-vocabulary semantic segmentation remains a challenge. In this paper we propose a simple yet extremely effective training-free technique Plug-and-Play Open-Vocabulary Semantic Segmentation (PnP-OVSS) for this task. PnP-OVSS leverages a VLM with direct text-to-image cross-attention and an image-text matching loss. To balance between over-segmentation and under-segmentation we introduce Salience Dropout; by iteratively dropping patches that the model is most attentive to we are able to better resolve the entire extent of the segmentation mask. PnP-OVSS does not require any neural network training and performs hyperparameter tuning without the need for any segmentation annotations even for a validation set. PnP-OVSS demonstrates substantial improvements over comparable baselines (+29.4% mIoU on Pascal VOC +13.2% mIoU on Pascal Context +14.0% mIoU on MS COCO +2.4% mIoU on COCO Stuff) and even outperforms most baselines that conduct additional network training on top of pretrained VLMs. Our codebase is at https://github.com/letitiabanana/PnP-OVSS.
Cite
Text
Luo et al. "Emergent Open-Vocabulary Semantic Segmentation from Off-the-Shelf Vision-Language Models." Conference on Computer Vision and Pattern Recognition, 2024. doi:10.1109/CVPR52733.2024.00386Markdown
[Luo et al. "Emergent Open-Vocabulary Semantic Segmentation from Off-the-Shelf Vision-Language Models." Conference on Computer Vision and Pattern Recognition, 2024.](https://mlanthology.org/cvpr/2024/luo2024cvpr-emergent/) doi:10.1109/CVPR52733.2024.00386BibTeX
@inproceedings{luo2024cvpr-emergent,
title = {{Emergent Open-Vocabulary Semantic Segmentation from Off-the-Shelf Vision-Language Models}},
author = {Luo, Jiayun and Khandelwal, Siddhesh and Sigal, Leonid and Li, Boyang},
booktitle = {Conference on Computer Vision and Pattern Recognition},
year = {2024},
pages = {4029-4040},
doi = {10.1109/CVPR52733.2024.00386},
url = {https://mlanthology.org/cvpr/2024/luo2024cvpr-emergent/}
}