Seg2Any: Open-set Segmentation-Mask-to-Image Generation with Precise Shape and Semantic Control
On the map: Diffusion models → Medical imaging and segmentation
Abstract (arXiv)
Despite recent advances in diffusion models, top-tier text-to-image (T2I) models still struggle to achieve precise spatial layout control, i.e. accurately generating entities with specified attributes and locations. Segmentation-mask-to-image (S2I) generation has emerged as a promising solution by incorporating pixel-level spatial guidance and regional text prompts. However, existing S2I methods fail to simultaneously ensure semantic consistency and shape consistency. To address these challenges, we propose Seg2Any, a novel S2I framework built upon advanced multimodal diffusion transformers (e.g. FLUX). First, to achieve both semantic and shape consistency, we decouple segmentation mask conditions into regional semantic and high-frequency shape components. The regional semantic condition is introduced by a Semantic Alignment Attention Mask, ensuring that generated entities adhere to their assigned text prompts. The high-frequency shape condition, representing entity boundaries, is encoded as an Entity Contour Map and then introduced as an additional modality via multi-modal attention to guide image spatial structure. Second, to prevent attribute leakage across entities in multi-entity scenarios, we introduce an Attribute Isolation Attention Mask mechanism, which constrains each entity's image tokens to attend exclusively to themselves during image self-attention. To support open-set S2I generation, we construct SACap-1M, a large-scale dataset containing 1 million images with 5.9 million segmented entities and detailed regional captions, along with a SACap-Eval benchmark for comprehensive S2I evaluation. Extensive experiments demonstrate that Seg2Any achieves state-of-the-art performance on both open-set and closed-set S2I benchmarks, particularly in fine-grained spatial and attribute control of entities.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 55 of its 66 references that are in the map. First posted on arXiv 31 May 2025.
Builds on
55 of 66 references.
References · 55
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2023GPT-4 Technical Reportcited by 18,396
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2023Segment Anythingcited by 8,234
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,503
- 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,234
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
- 2024SAM 2: Segment Anything in Images and Videoscited by 2,863
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,351
- 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,161
- 2024Depth Anything V2cited by 1,422
38 more
- 2023T2I-Adapter: Learning Adapters to Dig out More Controllable Ability for Text-to-Image Diffusion Modelscited by 1,351
- 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,217
- 2023ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generationcited by 1,045
- 2023Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generationcited by 977
- 2016COCO-Stuff: Thing and Stuff Classes in Contextcited by 864
- 2023PixArt-α: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesiscited by 864
- 2023GLIGEN: Open-Set Grounded Text-to-Image Generationcited by 781
- 2023GLaMM: Pixel Grounding Large Multimodal Modelcited by 455
- 2024OminiControl: Minimal and Universal Control for Diffusion Transformercited by 340
- 2023LayoutDiffusion: Controllable Diffusion Model for Layout-to-image Generationcited by 259
- 2023PixelLM: Pixel Reasoning with Large Multimodal Modelcited by 222
- 2022SpaText: Spatio-Textual Representation for Controllable Image Generationcited by 217
- 2023UniControl: A Unified Diffusion Model for Controllable Visual Generation In the Wildcited by 200
- 2024InstanceDiffusion: Instance-level Control for Image Generationcited by 175
- 2023Dense Text-to-Image Generation with Attention Modulationcited by 163
- 2023Osprey: Pixel Understanding with Visual Instruction Tuningcited by 159
- 2024ControlNet++: Improving Conditional Controls with Efficient Consistency Feedbackcited by 154
- 2023PACO: Parts and Attributes of Common Objectscited by 146
- 2024MIGC: Multi-Instance Generation Controller for Text-to-Image Synthesiscited by 124
- 2022GRiT: A Generative Region-to-text Transformer for Object Understandingcited by 121
- 2024StableAnimator: High-Quality Identity-Preserving Human Image Animationcited by 88
- 2025SimpleAR: Pushing the Frontier of Autoregressive Visual Generation through Pretraining, SFT, and RLcited by 86
- 2023Ranni: Taming Text-to-Image Diffusion for Accurate Instruction Followingcited by 77
- 2024Be Yourself: Bounded Attention for Multi-Subject Text-to-Image Generationcited by 69
- 2023Freestyle Layout-to-Image Synthesiscited by 67
- 2024CreatiLayout: Siamese Multimodal Diffusion Transformer for Creative Layout-to-Image Generationcited by 60
- 2022SceneComposer: Any-Level Semantic Image Synthesiscited by 43
- 2024HiCo: Hierarchical Controllable Diffusion Model for Layout-to-image Generationcited by 41
- 20243DIS: Depth-Driven Decoupled Instance Synthesis for Text-to-Image Generationcited by 37
- 2025CreatiDesign: A Unified Multi-Conditional Diffusion Transformer for Creative Graphic Designcited by 36
- 2025EliGen: Entity-Level Controlled Image Generation with Regional Attentioncited by 33
- 2025UniGen: Enhanced Training & Test-Time Strategies for Unified Multimodal Understanding and Generationcited by 32
- 2025DreamRenderer: Taming Multi-Instance Attribute Control in Large-Scale Text-to-Image Modelscited by 28
- 2024NoiseCollage: A Layout-Aware Text-to-Image Diffusion Model Based on Noise Cropping and Mergingcited by 25
- 2023Learning Disentangled Identifiers for Action-Customized Text-to-Image Generationcited by 24
- 2024GrounDiT: Grounding Diffusion Transformers via Noisy Patch Transplantationcited by 24
- 20253DIS-FLUX: simple and efficient multi-instance generation with DiT renderingcited by 21
- 2023LAW-Diffusion: Complex Scene Generation by Diffusion with Layoutscited by 20
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026RefineAnything: Multimodal Region-Specific Refinement for Perfect Local Detailscited by 5
- 20263D Space as a Scratchpad for Editable Text-to-Image Generationcited by 1
- 2026OcclusionFormer: Arranging Z-Order for Layout-Grounded Image Generationcited by 1
- 2026To Blend In, First Decouple: Rethinking Camouflage Image Generation via Context-Decoupled Representationscited by 1
- 2026Agentic Visual Generation: From Generative Models to Agentic Controlcited by 1
- 2026COLLAR: Cascaded Object-Level Latent Refinement for High-Fidelity Conditional Generationcited by 0
- 2026InstanceControl: Controllable Complex Image Generation without Instance Labelingcited by 0
- 2026PhysMirror: Physics-Aware Mirror Object Generationcited by 0
- 2026Appearance Pointers -- Multimodal Region Control of Diffusion Transformerscited by 0
- 2026OccluRank: Controllable Occlusion-Aware Layout-to-Image Generation by Adding Just an Ordinal Rankcited by 0
- 2026Agentic Visual Generation: From Generative Models to Agentic Control6 Sep 2026
- 2026OccluRank: Controllable Occlusion-Aware Layout-to-Image Generation by Adding Just an Ordinal Rank21 Aug 2026
- 2026Appearance Pointers -- Multimodal Region Control of Diffusion Transformers21 Jul 2026
- 2026To Blend In, First Decouple: Rethinking Camouflage Image Generation via Context-Decoupled Representations20 Jul 2026
- 2026PhysMirror: Physics-Aware Mirror Object Generation3 Jul 2026
- 2026InstanceControl: Controllable Complex Image Generation without Instance Labeling30 Jun 2026
- 2026COLLAR: Cascaded Object-Level Latent Refinement for High-Fidelity Conditional Generation31 May 2026
- 2026OcclusionFormer: Arranging Z-Order for Layout-Grounded Image Generation20 May 2026
- 2026RefineAnything: Multimodal Region-Specific Refinement for Perfect Local Details8 Apr 2026
- 20263D Space as a Scratchpad for Editable Text-to-Image Generation21 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025Seg4Diff: Unveiling Open-Vocabulary Segmentation in Text-to-Image Diffusion Transformers
- 2026Diffuse2Seg: Diffusion Models Can Segment Anything Without Supervision
- 2024Free-Mask: A Novel Paradigm of Integration Between the Segmentation Diffusion Model and Image Editing
- 2023Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Models
- 2025CAM-Seg: A Continuous-valued Embedding Approach for Semantic Image Generation
- 2024Box It to Bind It: Unified Layout Control and Attribute Binding in T2I Diffusion Models
- 2023Diffusion Model is Secretly a Training-free Open Vocabulary Semantic Segmenter
- 2023DiffuMask: Synthesizing Images with Pixel-level Annotations for Semantic Segmentation Using Diffusion Models