Open-Vocabulary Semantic Segmentation with Image Embedding Balancing

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Shan, Xiangheng, Wu, Dongyue, Zhu, Guilin, Shao, Yuanjie, Sang, Nong, Gao, Changxin
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913391205941248
author Shan, Xiangheng
Wu, Dongyue
Zhu, Guilin
Shao, Yuanjie
Sang, Nong
Gao, Changxin
author_facet Shan, Xiangheng
Wu, Dongyue
Zhu, Guilin
Shao, Yuanjie
Sang, Nong
Gao, Changxin
contents Open-vocabulary semantic segmentation is a challenging task, which requires the model to output semantic masks of an image beyond a close-set vocabulary. Although many efforts have been made to utilize powerful CLIP models to accomplish this task, they are still easily overfitting to training classes due to the natural gaps in semantic information between training and new classes. To overcome this challenge, we propose a novel framework for openvocabulary semantic segmentation called EBSeg, incorporating an Adaptively Balanced Decoder (AdaB Decoder) and a Semantic Structure Consistency loss (SSC Loss). The AdaB Decoder is designed to generate different image embeddings for both training and new classes. Subsequently, these two types of embeddings are adaptively balanced to fully exploit their ability to recognize training classes and generalization ability for new classes. To learn a consistent semantic structure from CLIP, the SSC Loss aligns the inter-classes affinity in the image feature space with that in the text feature space of CLIP, thereby improving the generalization ability of our model. Furthermore, we employ a frozen SAM image encoder to complement the spatial information that CLIP features lack due to the low training image resolution and image-level supervision inherent in CLIP. Extensive experiments conducted across various benchmarks demonstrate that the proposed EBSeg outperforms the state-of-the-art methods. Our code and trained models will be here: https://github.com/slonetime/EBSeg.
format Preprint
id arxiv_https___arxiv_org_abs_2406_09829
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Open-Vocabulary Semantic Segmentation with Image Embedding Balancing
Shan, Xiangheng
Wu, Dongyue
Zhu, Guilin
Shao, Yuanjie
Sang, Nong
Gao, Changxin
Computer Vision and Pattern Recognition
Open-vocabulary semantic segmentation is a challenging task, which requires the model to output semantic masks of an image beyond a close-set vocabulary. Although many efforts have been made to utilize powerful CLIP models to accomplish this task, they are still easily overfitting to training classes due to the natural gaps in semantic information between training and new classes. To overcome this challenge, we propose a novel framework for openvocabulary semantic segmentation called EBSeg, incorporating an Adaptively Balanced Decoder (AdaB Decoder) and a Semantic Structure Consistency loss (SSC Loss). The AdaB Decoder is designed to generate different image embeddings for both training and new classes. Subsequently, these two types of embeddings are adaptively balanced to fully exploit their ability to recognize training classes and generalization ability for new classes. To learn a consistent semantic structure from CLIP, the SSC Loss aligns the inter-classes affinity in the image feature space with that in the text feature space of CLIP, thereby improving the generalization ability of our model. Furthermore, we employ a frozen SAM image encoder to complement the spatial information that CLIP features lack due to the low training image resolution and image-level supervision inherent in CLIP. Extensive experiments conducted across various benchmarks demonstrate that the proposed EBSeg outperforms the state-of-the-art methods. Our code and trained models will be here: https://github.com/slonetime/EBSeg.
title Open-Vocabulary Semantic Segmentation with Image Embedding Balancing
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2406.09829