mlsanityData to 14 Oct 2026

Explore In-Context Segmentation via Latent Diffusion Models

arXiv 2403.09616 ↗First posted 14 Mar 2024cs.CVcited by 12

On the map: Diffusion models → Medical imaging and segmentation

Abstract (arXiv)

In-context segmentation has drawn increasing attention with the advent of vision foundation models. Its goal is to segment objects using given reference images. Most existing approaches adopt metric learning or masked image modeling to build the correlation between visual prompts and input image queries. This work approaches the problem from a fresh perspective - unlocking the capability of the latent diffusion model (LDM) for in-context segmentation and investigating different design choices. Specifically, we examine the problem from three angles: instruction extraction, output alignment, and meta-architectures. We design a two-stage masking strategy to prevent interfering information from leaking into the instructions. In addition, we propose an augmented pseudo-masking target to ensure the model predicts without forgetting the original images. Moreover, we build a new and fair in-context segmentation benchmark that covers both image and video datasets. Experiments validate the effectiveness of our approach, demonstrating comparable or even stronger results than previous specialist or visual foundation models. We hope our work inspires others to rethink the unification of segmentation and generation.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 98 of its 108 references that are in the map. First posted on arXiv 14 Mar 2024.

Builds on

98 of 108 references.

Closest ancestors · 11

Same direction, newest first

  1. 2024A Simple Latent Diffusion Approach for Panoptic Segmentation and Mask Inpainting18 Jan
  2. 2023UniGS: Unified Representation for Image Generation and Segmentation4 Dec
  3. 2023MosaicFusion: Diffusion Models as Data Augmenters for Large Vocabulary Instance Segmentation22 Sep
  4. 2023SLiMe: Segment Like Me6 Sep
  5. 2023DifFSS: Diffusion Model for Few-Shot Semantic Segmentation3 Jul
  6. 2023MaskDiff: Modeling Mask Distribution with Diffusion Probabilistic Model for Few-Shot Instance Segmentation9 Mar
  7. 2023Open-Vocabulary Panoptic Segmentation with Text-to-Image Diffusion Models8 Mar
  8. 2023Open-vocabulary Object Segmentation with Diffusion Models12 Jan
  9. 2022DiffusionInst: Diffusion Model for Instance Segmentation6 Dec
  10. 2021Label-Efficient Semantic Segmentation with Diffusion Models6 Dec
  11. 2021SegDiff: Image Segmentation with Diffusion Probabilistic Models1 Dec

Other references · 87

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  6. 2020Denoising Diffusion Implicit Modelscited by 9,781
  7. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  8. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  9. 2023Segment Anythingcited by 8,234
  10. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  11. 2020Scaling Laws for Neural Language Modelscited by 6,586
  12. 2022Scalable Diffusion Models with Transformerscited by 6,054
38 more
  1. 2022Classifier-Free Diffusion Guidancecited by 5,847
  2. 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,503
  3. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
  4. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  6. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  7. 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,611
  8. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
  9. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  10. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
  11. 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,937
  12. 2021Image Super-Resolution via Iterative Refinementcited by 1,511
  13. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,430
  14. 2021Palette: Image-to-Image Diffusion Modelscited by 1,300
  15. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
  16. 2021Cascaded Diffusion Models for High Fidelity Image Generationcited by 1,163
  17. 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
  18. 2022OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Frameworkcited by 745
  19. 2021Diffusion Probabilistic Models for 3D Point Cloud Generationcited by 735
  20. 2022LION: Latent Point Diffusion Models for 3D Shape Generationcited by 553
  21. 20213D Shape Generation and Completion through Point-Voxel Diffusioncited by 516
  22. 2019PANet: Few-Shot Image Semantic Segmentation with Prototype Alignmentcited by 449
  23. 2022Unified-IO: A Unified Model for Vision, Language, and Multi-Modal Taskscited by 421
  24. 2022DiffusionDet: Diffusion Model for Object Detectioncited by 354
  25. 2020Parameter-Efficient Transfer Learning with Diff Pruningcited by 352
  26. 2017One-Shot Learning for Semantic Segmentationcited by 337
  27. 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 318
  28. 2022Flexible Diffusion Modeling of Long Videoscited by 294
  29. 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 274
  30. 2020Prior Guided Feature Enrichment Network for Few-Shot Segmentationcited by 271
  31. 2023Unleashing Text-to-Image Diffusion Models for Visual Perceptioncited by 269
  32. 2021DatasetGAN: Efficient Labeled Data Factory with Minimal Human Effortcited by 264
  33. 2022Visual Prompting via Image Inpaintingcited by 250
  34. 2023Personalize Segment Anything Model with One Shotcited by 250
  35. 2022Diffusion Probabilistic Modeling for Video Generationcited by 238
  36. 2023MOSE: A New Dataset for Video Object Segmentation in Complex Scenescited by 234
  37. 2023MeViS: A Large-scale Benchmark for Video Segmentation with Motion Expressionscited by 228
  38. 2021Adaptive Prototype Learning and Allocation for Few-Shot Segmentationcited by 207

50 most cited of 87 All 87 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 5; 2026: 4.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Zero-Shot Video Semantic Segmentation based on Pre-Trained Diffusion Models
  2. 2023Denoising Diffusion Semantic Segmentation with Mask Prior Modeling
  3. 2025G4Seg: Generation for Inexact Segmentation Refinement with Diffusion Models
  4. 2025Stable Diffusion Models are Secretly Good at Visual In-Context Learning
  5. 2023LD-ZNet: A Latent Diffusion Approach for Text-Based Image Segmentation
  6. 2025SeeDiff: Off-the-Shelf Seeded Mask Generation from Diffusion Models
  7. 2023Prompting Diffusion Representations for Cross-Domain Semantic Segmentation
  8. 2026Diffusion Model as a Generalist Segmentation Learner