Papers › Open-Vocabulary Semantic Segmentation with Image Embedding Balancing

Open-Vocabulary Semantic Segmentation with Image Embedding Balancing

14 Jun 2024CVPR 2024 1arXiv:2406.09829archive 2025-07-28

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

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.09829")

Code

Syntology Ran 3 of 12 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 3 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

slonetime/ebseg officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 3 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran
9unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from slonetime/EBSeg. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_predefined_templates slonetime/EBSeg/ebseg/model/clip_utils/utils.py official repository ran MIT (permissive) · c266c766b74bafca · report
mask_pooling slonetime/EBSeg/ebseg/model/additional_modules/mask_pooling.py official repository ran fingerprinted MIT (permissive) · f1a802d7256b1438 · report
resize_pos_embed2d slonetime/EBSeg/ebseg/model/clip_utils/clip_surgery_visual.py official repository ran MIT (permissive) · a03c560e737da2c5 · report
batch_dice_loss slonetime/EBSeg/ebseg/model/matcher.py official repository unverified MIT (permissive) · bc2cb481a75c370d · report
batch_sigmoid_ce_loss slonetime/EBSeg/ebseg/model/matcher.py official repository unverified MIT (permissive) · 1edd24985036b0bf · report
build_sam_vit_b slonetime/EBSeg/ebseg/model/segment_anything/build_sam.py official repository unverified MIT (permissive) · 91c965b9c51a37f7 · report
build_sam_vit_h slonetime/EBSeg/ebseg/model/segment_anything/build_sam.py official repository unverified MIT (permissive) · 8590c79b1c4f7609 · report
build_sam_vit_l slonetime/EBSeg/ebseg/model/segment_anything/build_sam.py official repository unverified MIT (permissive) · dfc513fa0096086b · report
calculate_uncertainty slonetime/EBSeg/ebseg/model/criterion.py official repository unverified MIT (permissive) · 2dcb8123d89bb1ff · report
dice_loss slonetime/EBSeg/ebseg/model/criterion.py official repository unverified MIT (permissive) · 89f75e54ff128be0 · report
downsample2d slonetime/EBSeg/ebseg/model/clip_utils/clip_surgery_visual.py official repository unverified MIT (permissive) · 5d474b8fcf4cfbb2 · report
sigmoid_ce_loss slonetime/EBSeg/ebseg/model/criterion.py official repository unverified MIT (permissive) · d0c61e8dba511aa3 · report

Tasks

DecoderOpen Vocabulary Semantic SegmentationOpen-Vocabulary Semantic SegmentationSemantic Segmentation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Open Vocabulary Semantic Segmentation ADE20K-150 EBSeg-L mIoU 32.8 #13 of 23 Archive leaderboard report
Open Vocabulary Semantic Segmentation ADE20K-847 EBSeg-L mIoU 13.7 #13 of 19 Archive leaderboard report
Open Vocabulary Semantic Segmentation PASCAL Context-459 EBSeg-L mIoU 21.0 #9 of 15 Archive leaderboard report
Open Vocabulary Semantic Segmentation PASCAL Context-59 EBSeg-L mIoU 60.2 #9 of 24 Archive leaderboard report
Open Vocabulary Semantic Segmentation PascalVOC-20 EBSeg-L mIoU 96.4 #7 of 20 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

CLIPSAM

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections