Papers › Learning Mask-aware CLIP Representations for Zero-Shot Segmentation

Learning Mask-aware CLIP Representations for Zero-Shot Segmentation

30 Sep 2023NeurIPS 2023 11arXiv:2310.00240archive 2025-07-28

Siyu Jiao, Yunchao Wei, YaoWei Wang, Yao Zhao, Humphrey Shi

Recently, pre-trained vision-language models have been increasingly used to tackle the challenging zero-shot segmentation task. Typical solutions follow the paradigm of first generating mask proposals and then adopting CLIP to classify them. To maintain the CLIP's zero-shot transferability, previous practices favour to freeze CLIP during training. However, in the paper, we reveal that CLIP is insensitive to different mask proposals and tends to produce similar predictions for various mask proposals of the same image. This insensitivity results in numerous false positives when classifying mask proposals. This issue mainly relates to the fact that CLIP is trained with image-level supervision. To alleviate this issue, we propose a simple yet effective method, named Mask-aware Fine-tuning (MAFT). Specifically, Image-Proposals CLIP Encoder (IP-CLIP Encoder) is proposed to handle arbitrary numbers of image and mask proposals simultaneously. Then, mask-aware loss and self-distillation loss are designed to fine-tune IP-CLIP Encoder, ensuring CLIP is responsive to different mask proposals while not sacrificing transferability. In this way, mask-aware representations can be easily learned to make the true positives stand out. Notably, our solution can seamlessly plug into most existing methods without introducing any new parameters during the fine-tuning process. We conduct extensive experiments on the popular zero-shot benchmarks. With MAFT, the performance of the state-of-the-art methods is promoted by a large margin: 50.4% (+ 8.2%) on COCO, 81.8% (+ 3.2%) on Pascal-VOC, and 8.7% (+4.3%) on ADE20K in terms of mIoU for unseen classes. The code is available at https://github.com/jiaosiyu1999/MAFT.git.

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="2310.00240")

Code

Syntology Ran 1 of 7 code samples harvested from 2 repositories linked to this paper; 6 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 2 samples from 1 repository, 1 ran; community (archive-listed): 5 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jiaosiyu1999/maft officialmentioned in papermentioned on GitHubpytorch report
jiaosiyu1999/MAFT-Plus mentioned on GitHubpytorchMIT 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

7 samples harvested; 1 ran; 0 honoured the contract we drafted; 6 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.

1ran
6unverified

Licence: 2 of the 7 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

loadAde20K jiaosiyu1999/MAFT/datasets/prepare_ade20k_full_sem_seg.py official repository ran no licence file found · pointer only · 6935590148878098 · report
generate_labels jiaosiyu1999/MAFT/datasets/prepare_pascal_ctx_sem_seg.py official repository unverified no licence file found · pointer only · cb6dcd02dbb95f73 · report
batch_dice_loss jiaosiyu1999/MAFT-Plus/maft/modeling/matcher.py community (archive-listed) unverified MIT (permissive) · bc2cb481a75c370d · report
batch_sigmoid_ce_loss jiaosiyu1999/MAFT-Plus/maft/modeling/matcher.py community (archive-listed) unverified MIT (permissive) · 1edd24985036b0bf · report
calculate_uncertainty jiaosiyu1999/MAFT-Plus/maft/modeling/criterion.py community (archive-listed) unverified MIT (permissive) · 2dcb8123d89bb1ff · report
dice_loss jiaosiyu1999/MAFT-Plus/maft/modeling/criterion.py community (archive-listed) unverified MIT (permissive) · 89f75e54ff128be0 · report
sigmoid_ce_loss jiaosiyu1999/MAFT-Plus/maft/modeling/criterion.py community (archive-listed) unverified MIT (permissive) · d0c61e8dba511aa3 · report

Tasks

Open Vocabulary Semantic SegmentationZero Shot Segmentation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Open Vocabulary Semantic Segmentation ADE20K-150 MAFT-ViTL mIoU 32.0 #14 of 23 Archive leaderboard report
Open Vocabulary Semantic Segmentation ADE20K-847 MAFT-ViTL mIoU 12.1 #15 of 19 Archive leaderboard report
Open Vocabulary Semantic Segmentation PASCAL Context-459 MAFT-ViTL mIoU 15.7 #12 of 15 Archive leaderboard report
Open Vocabulary Semantic Segmentation PASCAL Context-59 MAFT-ViTL mIoU 58.5 #12 of 24 Archive leaderboard report
Open Vocabulary Semantic Segmentation PascalVOC-20 MAFT-ViTL mIoU 92.1 #11 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

CLIP

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