mlsanityData to 14 Oct 2026

MagicSeg: Open-World Segmentation Pretraining via Counterfactural Diffusion-Based Auto-Generation

arXiv 2603.19575 ↗First posted 20 Mar 2026cs.CVcited by 0

On the map: Diffusion models → Medical imaging and segmentation

Abstract (arXiv)

Open-world semantic segmentation presently relies significantly on extensive image-text pair datasets, which often suffer from a lack of fine-grained pixel annotations on sufficient categories. The acquisition of such data is rendered economically prohibitive due to the substantial investments of both human labor and time. In light of the formidable image generation capabilities of diffusion models, we introduce a novel diffusion model-driven pipeline for automatically generating datasets tailored to the needs of open-world semantic segmentation, named "MagicSeg". Our MagicSeg initiates from class labels and proceeds to generate high-fidelity textual descriptions, which in turn serve as guidance for the diffusion model to generate images. Rather than only generating positive samples for each label, our process encompasses the simultaneous generation of corresponding negative images, designed to serve as paired counterfactual samples for contrastive training. Then, to provide a self-supervised signal for open-world segmentation pretraining, our MagicSeg integrates an open-vocabulary detection model and an interactive segmentation model to extract object masks as precise segmentation labels from images based on the provided category labels. By applying our dataset to the contrastive language-image pretraining model with the pseudo mask supervision and the auxiliary counterfactual contrastive training, the downstream model obtains strong performance on open-world semantic segmentation. We evaluate our model on PASCAL VOC, PASCAL Context, and COCO, achieving SOTA with performance of 62.9%, 26.7%, and 40.2%, respectively, demonstrating our dataset's effectiveness in enhancing open-world semantic segmentation capabilities. Project website: https://github.com/ckxhp/magicseg.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 52 of its 60 references that are in the map. First posted on arXiv 20 Mar 2026.

Builds on

52 of 60 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023DiffuMask: Synthesizing Images with Pixel-level Annotations for Semantic Segmentation Using Diffusion Models21 Mar
  2. 2023Open-Vocabulary Panoptic Segmentation with Text-to-Image Diffusion Models8 Mar

Other references · 50

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  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. 2023Segment Anythingcited by 8,234
  6. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
  7. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  8. 2022Generative Adversarial Networkscited by 5,627
  9. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
  10. 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,332
  11. 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,217
  12. 2014NICE: Non-linear Independent Components Estimationcited by 1,058
38 more
  1. 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 705
  2. 2021Extract Free Dense Labels from CLIPcited by 583
  3. 2022Open-Vocabulary Semantic Segmentation with Mask-adapted CLIPcited by 565
  4. 2022GroupViT: Semantic Segmentation Emerges from Text Supervisioncited by 531
  5. 2021Scaling Open-Vocabulary Image Segmentation with Image-Level Labelscited by 473
  6. 2023Synthetic Data from Diffusion Models Improves ImageNet Classificationcited by 327
  7. 2022Is synthetic data from generative models ready for image recognition?cited by 320
  8. 2021Towards Open World Object Detectioncited by 297
  9. 2023Effective Data Augmentation With Diffusion Modelscited by 283
  10. 2021DatasetGAN: Efficient Labeled Data Factory with Minimal Human Effortcited by 264
  11. 2014Towards Open World Recognitioncited by 226
  12. 2022MaskCLIP: Masked Self-Distillation Advances Contrastive Language-Image Pretrainingcited by 187
  13. 2022ZegCLIP: Towards Adapting CLIP for Zero-shot Semantic Segmentationcited by 178
  14. 2022Fake it till you make it: Learning transferable representations from synthetic ImageNet clonescited by 172
  15. 2023SCLIP: Rethinking Self-Attention for Dense Vision-Language Inferencecited by 170
  16. 2022SegCLIP: Patch Aggregation with Learnable Centers for Open-Vocabulary Semantic Segmentationcited by 164
  17. 2021Unidentified Video Objects: A Benchmark for Dense, Open-World Segmentationcited by 133
  18. 2022Learning to Generate Text-grounded Mask for Open-world Semantic Segmentation from Only Image-Text Pairscited by 130
  19. 2023DatasetDM: Synthesizing Data with Perception Annotations Using Diffusion Modelscited by 123
  20. 2023Dataset Diffusion: Diffusion-based Synthetic Dataset Generation for Pixel-Level Semantic Segmentationcited by 112
  21. 2022BigDatasetGAN: Synthesizing ImageNet with Pixel-wise Annotationscited by 99
  22. 2023Learning Open-vocabulary Semantic Segmentation Models From Natural Language Supervisioncited by 99
  23. 2023Leaving Reality to Imagination: Robust Classification via Generated Datasetscited by 91
  24. 2023Grounding Everything: Emerging Localization Properties in Vision-Language Transformerscited by 91
  25. 2022Perceptual Grouping in Contrastive Vision-Language Modelscited by 82
  26. 2023FreeMask: Synthetic Images with Dense Annotations Make Stronger Segmentation Modelscited by 61
  27. 2023DiffusionSeg: Adapting Diffusion Towards Unsupervised Object Discoverycited by 54
  28. 2023ViewCo: Discovering Text-Supervised Segmentation Masks via Multi-View Semantic Consistencycited by 51
  29. 2023CLIP-DIY: CLIP Dense Inference Yields Open-Vocabulary Semantic Segmentation For-Freecited by 39
  30. 2022Exploring Visual Interpretability for Contrastive Language-Image Pre-trainingcited by 30
  31. 2022Neural-Sim: Learning to Generate Training Data with NeRFcited by 27
  32. 2022From colouring-in to pointillism: revisiting semantic segmentation supervisioncited by 22
  33. 2023Generative Prompt Model for Weakly Supervised Object Localizationcited by 20
  34. 2023MixReorg: Cross-Modal Mixed Patch Reorganization is a Good Mask Learner for Open-World Semantic Segmentationcited by 18
  35. 2022ImaginaryNet: Learning Object Detectors without Real Images and Annotationscited by 16
  36. 2022Synthetic Data Supervised Salient Object Detectioncited by 15
  37. 2019Incremental Class Discovery for Semantic Segmentation with RGBD Sensingcited by 13
  38. 2023FlowText: Synthesizing Realistic Scene Text Video with Optical Flow Estimationcited by 10

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Diffuse2Seg: Diffusion Models Can Segment Anything Without Supervision
  2. 2025FA-Seg: A Fast and Accurate Diffusion-Based Method for Open-Vocabulary Segmentation
  3. 2023Diffusion Model is Secretly a Training-free Open Vocabulary Semantic Segmenter
  4. 2023Diffusion Models for Open-Vocabulary Segmentation
  5. 2025GS: Generative Segmentation via Label Diffusion
  6. 2024FreeSeg-Diff: Training-Free Open-Vocabulary Segmentation with Diffusion Models
  7. 2023Towards Training-free Open-world Segmentation via Image Prompt Foundation Models
  8. 2026Diffusion Model as a Generalist Segmentation Learner