atlas

Research map / Detection and segmentation / Open-set and few-shot detection

Unleashing the Potential of the Diffusion Model in Few-shot Semantic Segmentation

NeurIPS 2024 · Detection and segmentation › Open-set and few-shot detection · approach: Few-shot segmentation · 11 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Adapts Stable Diffusion 2.1 into a one-step image-to-mask generator for few-shot and in-context semantic segmentation via KV-fusion self-attention, support-mask concatenation, and white-on-black query mask supervision (DiffewS).

Problem

Few-shot semantic segmentation (FSS) and in-context segmentation need models that generalize to unseen categories while preserving fine-grained mask prediction; prior diffusion-based approaches add decoder heads or break the UNet priors.

Approach

Keep the Latent Diffusion UNet essentially unchanged: query image attends to support image via KV fusion in self-attention, support mask is concatenated as latent input, and the UNet directly regresses the query mask latent in one step (OI2M) with white-foreground/black-background supervision.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DiffewS instead of FPTransCOCO-20^i in-context one-shot segmentation · COCO-20^imIoU: 56.5 -> 71.3Helped
Use DiffewS instead of SegGPTPASCAL-5^i in-context few-shot segmentation · PASCAL-5^imIoU: 89.8 -> 87.8Hurt
Use DiffewS instead of DCAMAstrict one-shot segmentation · COCO-20^i meanmIoU: 50.9 -> 51.2Helped
Use DiffewS instead of DCAMAstrict five-shot segmentation · COCO-20^i meanmIoU: 58.3 -> 56.0Hurt
Train with randomly selected 1 to N support samples (ablation)DiffewS · COCO-20^i strict 5-shot meanmIoU: 56.0 -> 60.7Helped
Increase MI2M variance from β¹=(0.00085, 0.012) to β²=(0.0272, 0.384) (ablation)DiffewS generation process · COCO-20^i fold-0mIoU: +23.3% mIoUHelped
Use MI2M instead of MN2M (ablation)DiffewS generation process · COCO-20^i fold-0mIoU: +4.7% mIoUHelped
Use OI2M instead of multi-step generation (ablation)DiffewS generation process · COCO-20^i fold-0mIoUHelped
Use white foreground and black background for query-mask supervision (ablation)DiffewS · Few-shot segmentation experimentsmIoUHelped
Apply support-mask multiplication in RGB rather than latent space (ablation)DiffewS multiplication injection · COCO-20^i fold-0mIoU: 32.14 -> 33.12Helped
Use KV fusion rather than QKV fusion (ablation)DiffewS self-attention · COCO-20^i fold-0mIoU: 46.61 -> 46.64No clear effect
Sample support keys and values during inference (ablation)DiffewS · COCO in-context 5-shotmIoU: 72.2 -> 74.7Helped

Surprising findings

Limitations

Experimental setup

Datasets: COCO-20i COCO2014 ADE20K PASCAL VOC PASCAL-5i LVIS-92i

Benchmarks: COCO-20i PASCAL-5i LVIS-92i

Metrics: mIoU

Baselines: HSNet VAT FPTrans Painter SegGPT PerSAM-F Matcher CyCTR BAM DCAMA HDMNet

Builds on: Latent Diffusion Model Marigold DMP SegGPT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy