[Paper Review] Making Training-Free Diffusion Segmentors Scale with the Generative Power
The paper identifies two gaps between cross-attention maps and semantic correlation in training-free diffusion segmentors and introduces auto aggregation (head- and layer-wise) and per-pixel rescaling (GoCA) to enable better scaling with stronger diffusion models, achieving significant performance gains on standard benchmarks and improving integration with generative techniques.
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 what 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.
Motivation & Objective
- Identify why training-free diffusion segmentors fail to scale with stronger diffusion models.
- Propose auto aggregation and per-pixel rescaling to bridge gaps between cross-attention maps and semantic correlation.
- Demonstrate improved segmentation performance across benchmarks with stronger diffusion models.
- Showcase integration with generative techniques to validate broader applicability.
- Highlight ablation and qualitative results to support method effectiveness.
Proposed method
- Decompose multi-head and multi-layer cross-attention into per-head and per-layer contributions to form an automatic aggregation weight.
- Use head-wise and layer-wise aggregation to produce a unified global attention map from per-head and per-layer maps.
- Introduce pseudo self-attention-based layer weighting via a dense diffusion feature to estimate layer contributions.
- Apply per-pixel rescaling by excluding semantic special tokens and normalizing attention scores per pixel across content-word tokens, followed by per-token normalization.
- Multiply refined attention maps by self-attention maps for post-processing segmentation.
- Optionally integrate GoCA with generative techniques like S-CFG to improve generation quality.

Experimental results
Research questions
- RQ1Why do existing training-free diffusion segmentors fail to scale when using stronger diffusion models?
- RQ2How can aggregated cross-attention maps be made more reflective of global semantic correlations for reliable segmentation?
- RQ3Can auto aggregation and per-pixel rescaling enable stronger diffusion models to achieve better segmentation results?
- RQ4Does GoCA improve segmentation across standard benchmarks and enhance integration with generative techniques?
Key findings
- Stronger diffusion models (SD XL, PixArt-Sigma, Flux) benefit from GoCA-based aggregation, surpassing SD v1.5 in segmentation performance.
- GoCA (auto aggregation + per-pixel rescaling) outperforms Vanilla and Baseline methods across VOC, Context, COCO-Object, Cityscapes, and ADE20K benchmarks.
- Layer-wise auto aggregation achieves results comparable to manually tuned layer weights, and full GoCA yields the best performance.
- Ablation shows both auto aggregation components (head- and layer-wise) and per-pixel rescaling contribute to gains, with combined GoCA delivering the largest improvements.
- GoCA-enhanced segmentation improves generative techniques like S-CFG, delivering better FID and CLIP scores across CFG strengths.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.