Concept Guidance: Precise, Training-Free Latent Control for Text-to-Image Generation

Nikolai Röhrich, Isabell Hans, Felix Krause, Björn Ommer
8/14/2026
cs.CVcs.AIcs.LG

Official code: CompVis/concept_guidance (7 stars, Python, last commit 2026-08-13).

Abstract

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

70PythonAug 12, 20263 months ago

Similar Papers

Cite this paper

@article{rhrich2026concept,
  title  = {Concept Guidance: Precise, Training-Free Latent Control for Text-to-Image Generation},
  author = {Nikolai Röhrich and Isabell Hans and Felix Krause and Björn Ommer},
  year   = {2026},
  eprint = {2608.14172},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.14172v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.14172.svg)](https://codeofpaper.com/paper/2608.14172)

Discussion