Concept Guidance: Precise, Training-Free Latent Control for Text-to-Image Generation
Authors: Nikolai Röhrich, Isabell Hans, Felix Krause, Björn Ommer
Organizations: LMU Munich, Germany · Konrad Zuse School of Excellence in Reliable AI (relAI), Germany · Munich Center for Machine Learning (MCML), Germany
Text-to-image diffusion models have two major drawbacks that severely limit their practical utility: (1) standard models lack an intrinsic mechanism for continuous, concept-specific guidance (e.g., for precisely controlling how aesthetically pleasing an image looks), and (2) they lack reliability for tasks requiring high local coherence (e.g., generating text or human hands). To tackle these issues, we introduce a novel notion of concept-wise mutual information and find large, concept-dependent differences between individual layers, demonstrating that the generation of specific structures is localized in distinct parts of the network. We exploit this insight by reinforcing the impact of concept-relevant layers in Concept Guidance (CoG), a precise, target-specific guidance method that works for models out-of-the-box without additional training, external models, gradients, or prompt engineering. CoG first quantifies each layer's concept-specific impact and then guides denoising using a weighted combination of predictions generated with concept-relevant layers skipped. We demonstrate performance increases across various targets and popular models like PixArt-alpha, SD3, SD3.5, and FLUX.1-dev. Code is available at https://github.com/CompVis/concept_guidance
Figures & tables
Figure 1: Concept Guidance (CoG) improves arbitrary quantifiable concepts across a variety of T2I models. CoG enables models to recover from classical failure modes while also delivering better generative quality for abstract concepts.
Figure 2: Concept Guidance precisely approximates the target direction by combining per-layer skip predictions using concept-relevant layers ( α,β,γ ). It computes individual skip-layer noise predictions ( ϵ[θ∖α],ϵ[θ∖β],ϵ[θ∖γ] ) and extrapolates over them to precisely estimate the target direction.
Figure 3: Different concepts concentrate in different layers, enabling concept-specific layer selection for guidance. Bar plots report per-layer mutual information in (a) FLUX.1-dev and (b) PixArt- α , revealing strong, concept-dependent variation.
Figure 4: Concept Guidance Workflow. Left: In a one-time profiling stage, each layer is skipped individually, generations are scored, and top- k layers are selected. Right: At inference, per-layer skipped predictions are aggregated into a performance-weighted negative prediction; CoG then extrapolates from beyond the standard prediction.
Figure 5: Optimizing aesthetics with CoG improves perceptual quality. Side-by-side examples compare CFG vs. CoG.
Figure 6: CoG improves fine-grained local coherence for hard failure cases like visible text and hands. Side-by-side examples compare CFG vs. CoG.
Table 7
Figure 7: Multi-target Concept Guidance simultaneously improves multiple concepts on FLUX.1-dev compared to CFG.
Table 9
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
Model
Task
k
Skipped Layers ( K )
Weights ( Ω )
PixArt- α
Human Hands
[4]
[3, 23, 8, 18]
[1.00, 0.88, 0.73, 0.63]
Aesthetics
[3]
[9, 20, 5]
[1.00, 0.28, 0.12]
SD3
Visible Text
[3]
[7, 11, 4]
[1.00, 0.55, 0.45]
Human Hands
[4]
[9, 6, 5, 10]
[1.00, 0.48, 0.45, 0.21]
Aesthetics
[3]
[6, 7, 8]
[1.00, 0.71, 0.70]
SD3.5
Visible Text
[2]
[15, 10]
[1.00, 0.49]
Appendix
Table 6: Layer Configurations. Top- k skipped layers ( K ) and their corresponding weights ( Ω ) for all evaluated models and target concepts.
Figure 8: Comparison of Classifier-Free Guidance [ 16 ] and Concept Guidance for additional targets where layers are profiled using a VLM ( InternVL3-14B ).
Model
Method
Text (↑)
Hands (↑)
Aesthetics (↑)
PixArt- α
STG [ 21 ]
-
0.384
6.502
CoG single
-
0.478 ▲ 24.48%
6.606 ▲ 1.6%
SD3
STG [ 21 ]
0.441
0.662
6.359
CoG single
0.462 ▲ 4.8%
0.664 ▲ 0.3%
6.359 ▲ 0.0%
SD3.5
STG [ 21 ]
0.531
0.540
6.297
CoG single
0.564 ▲ 6.2%
0.603 ▲ 11.7%
6.344 ▲ 0.7%
Appendix
Table 7: Leveraging per-concept layer information yields significant gains over guiding with a fixed layer as is the case in Spatio-Temporal Skip-Guidance.
Table 13Figure 14
Model
CFG [ 16 ]
CoG single ( k =1)
CoG multi ( k =2)
+Sec / Layer
PixArt- α
3.5
3.9
4.3
0.4
Stable Diffusion 3
4.4
6.2
8
1.8
Stable Diffusion 3.5
5.9
7.7
9.5
1.8
FLUX.1-dev
12.9
25.3
37.7
12.4
Appendix
Table 10: Inference time (s) on an A100 GPU.
Model
Metric
Guidance Scale ( λ )
1.25
1.50
1.75
2.00
2.25
2.50
2.75
3.00
PixArt- α †
Text ( ↑ )
-
-
-
-
-
-
-
-
Hands ( ↑ )
0.396
0.373
0.418
0.504
0.503
0.496
0.492
0.468
Aesthetics ( ↑ )
6.647
6.678
6.695
6.723
6.716
6.759
6.740
6.734
SD3
Text ( ↑ )
0.482
0.472
0.486
0.489
0.506
0.481
0.480
0.474
Hands ( ↑ )
0.602
0.631
0.660
0.670
0.640
0.662
0.605
0.629
Appendix
Table 11: CoG Guidance Scale Sweep. For most models and tasks, the optimal guidance scale falls in the range between 2.0 and 2.5 . † PixArt- α does not generate any visible text.
Figure 11: Prompt Samples for Text Generation.
Figure 12: Prompt Samples for Hand Generation.
Figure 13: Prompt Samples for Aesthetics.
Figure 14: Uncurated Comparison of Classifier-Free Guidance (CFG) [ 16 ] , Naive Skip-Guidance as found in Stable Diffusion 3 [ 42 ] , Spatio-Temporal Skip Guidance [ 21 ] and Concept Guidance for Text Generation (FLUX.1-dev).
Figure 15: Uncurated Comparison of Classifier-Free Guidance (CFG) [ 16 ] , Naive Skip-Guidance as found in Stable Diffusion 3 [ 42 ] , Spatio-Temporal Skip Guidance [ 21 ] and Concept Guidance for Aesthetics (FLUX.1-dev).
Glasgow College, University of Electronic Science and Technology of China · School of Mathematical Sciences, University of Electronic Science and Technology of China