atlas

Research map / Image generation / Autoregressive and latent generation

Explore In-Context Segmentation via Latent Diffusion Models

AAAI 2025 · Image generation › Autoregressive and latent generation · approach: Latent diffusion with learned tokenizers · 8 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.

Turns Stable Diffusion 1.5 into an in-context segmenter (LDIS) that takes visual prompts (via Alpha-CLIP prompt encoder with two-stage masking) and outputs masks via one-step or multi-step latent diffusion, trained on PASCAL, COCO, DAVIS-16 and VSPW.

Problem

In-context segmentation: segmenting query-image objects specified only by reference image-mask prompts, without text prompts or auxiliary decoders, using latent diffusion models.

Approach

Reframes in-context segmentation as conditional mask generation with a minimal SD backbone, conditioned only on visual instructions extracted by a prompt encoder with two-stage (pre- and post-) masking, and trained with pseudo-mask targets augmented by the query image; proposes LDIS-1 (one-step, pixel-space loss) and LDIS-n (multi-step noise prediction).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LDIS-1 instead of the strongest listed baselinePASCAL · PASCALmIoU: 77.0 -> 85.3Helped
Use LDIS-1 instead of the strongest listed baselineCOCO · COCOmIoU: 52.1 -> 62.6Helped
Use LDIS-1 instead of SegGPTvideo segmentation · DAVIS-16J&F: 80.5 -> 67.8Hurt
Use LDIS-1 instead of SegGPTvideo semantic segmentation · VSPWmIoU: 61.7 -> 41.6Hurt
Increase visual prompts from 1 to 10 (ablation)LDIS-n · COCOmIoU: 49.7 -> 56.7Helped
Increase visual prompts from 10 to 20 (ablation)LDIS-n · COCOmIoU: 56.7 -> 55.7Hurt
Add pre-masking to post-masking (ablation)LDIS-n instruction extraction · COCOmIoU: 49.7 -> 52.6Helped
Add post-masking to pre-masking (ablation)LDIS-n instruction extraction · COCOmIoU: 43.8 -> 52.6Helped
Add uniform perturbation to vanilla pseudo-masks (ablation)LDIS-n output alignment · COCOmIoU: 39.4 -> 48.7Helped
Fuse the query image into the pseudo-mask target (ablation)LDIS-n output alignment · COCOmIoU: 48.7 -> 49.7Helped
Use pixel-space instead of latent-space optimization (ablation)LDIS-1 with LoRA rank 4 · COCOmIoU: 53.2 -> 55.6Helped
Train all parameters instead of LoRA rank 4 (ablation)LDIS-1 · COCOmIoU: 53.2 -> 61.3Helped

Surprising findings

Limitations

Experimental setup

Datasets: PASCAL COCO DAVIS-16 VSPW

Benchmarks: PASCAL COCO DAVIS-16 VSPW COCO-20i

Metrics: mIoU FB-IoU J&F fwIoU

Baselines: PFENet SVF VTM DCAMA VPD Painter SegGPT PerSAM Prompt Diffusion

Builds on: Stable Diffusion classifier-free guidance Alpha-CLIP LoRA

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