SOTAVerified

Open-Vocabulary Semantic Segmentation with Image Embedding Balancing

2024-06-14CVPR 2024Code Available1· sign in to hype

Xiangheng Shan, Dongyue Wu, Guilin Zhu, Yuanjie Shao, Nong Sang, Changxin Gao

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

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.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
ADE20K-150EBSeg-LmIoU32.8Unverified
ADE20K-847EBSeg-LmIoU13.7Unverified
PASCAL Context-459EBSeg-LmIoU21Unverified
PASCAL Context-59EBSeg-LmIoU60.2Unverified
PascalVOC-20EBSeg-LmIoU96.4Unverified

Reproductions