cs.CVMar 6, 2026

Making Training-Free Diffusion Segmentors Scale with the Generative Power

Authors: Benyuan Meng, Qianqian Xu, Zitai Wang, Xiaochun Cao, Longtao Huang, Qingming Huang

Organizations: Institute of Information Engineering, CAS · School of Cyber Security, University of Chinese Academy of Sciences · State Key Laboratory of AI Safety, Institute of Computing Technology, CAS · Beijing Academy of Artificial Intelligence · 

Abstract

As powerful generative models, text-to-image diffusion models have recently been explored for discriminative tasks. A line of research focuses on adapting a pre-trained diffusion model to semantic segmentation without any further training, leading to training-free diffusion segmentors. These methods typically rely on cross-attention maps from the model's attention layers, which are assumed to capture semantic relationships between image pixels and text tokens. Ideally, such approaches should benefit from more powerful diffusion models, i.e., stronger generative capability should lead to better segmentation. However, we observe that existing methods often fail to scale accordingly. To understand this issue, we identify two underlying gaps: (i) cross-attention is computed across multiple heads and layers, but there exists a discrepancy between these individual attention maps and a unified global representation. (ii) Even when a global map is available, it does not directly translate to accurate semantic correlation for segmentation, due to score imbalances among different text tokens. To bridge these gaps, we propose two techniques: auto aggregation and per-pixel rescaling, which together enable training-free segmentation to better leverage generative capability. We evaluate our approach on standard semantic segmentation benchmarks and further integrate it into a generative technique, demonstrating both improved performance broad applicability. Codes are at https://github.com/Darkbblue/goca.

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Diffusion Model as a Generalist Segmentation Learner

    Apr 27, 2026Haoxiao Wang, Antao Xiang, Haiyang Sun +8Image SegmentationText-Guided Image Segmentation

  2. From Diffusion to Rectified Flow: Rethinking Text-Based Segmentation

    May 6, 2026Zishen Qu, Xuesong Li, Haijian Gu +5Image SegmentationText-Guided Image Segmentation

  3. SEGA: Spectral-Energy Guided Attention for Resolution Extrapolation in Diffusion Transformers

    May 21, 2026Javad Rajabi, Kimia Shaban, Koorosh Roohi +2Rotary Positional EmbeddingsDiffusion Model Guidance