Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion Models
Authors: Tuomas Kynkäänniemi, Miika Aittala, Tero Karras, Samuli Laine, Timo Aila, Jaakko Lehtinen
Abstract
Guidance is a crucial technique for extracting the best performance out of image-generating diffusion models. Traditionally, a constant guidance weight has been applied throughout the sampling chain of an image. We show that guidance is clearly harmful toward the beginning of the chain (high noise levels), largely unnecessary toward the end (low noise levels), and only beneficial in the middle. We thus restrict it to a specific range of noise levels, improving both the inference speed and result quality. This limited guidance interval improves the record FID in ImageNet-512 significantly, from 1.81 to 1.40. We show that it is quantitatively and qualitatively beneficial across different sampler parameters, network architectures, and datasets, including the large-scale setting of Stable Diffusion XL. We thus suggest exposing the guidance interval as a hyperparameter in all diffusion models that use guidance.
The papers around it, by date and closeness
Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper
Papers around this one
Ranked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
A Noise is Worth Diffusion GuidanceDonghoon Ahn, Jiwon Kang, Sanghyun Lee et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 60 times · Not summarized yet
A Noise is Worth Diffusion Guidance maps Gaussian noise to guidance-free noise, removing guidance rather than restricting it to selected noise levels.
Abstract
Diffusion models excel in generating high-quality images. However, current diffusion models struggle to produce reliable images without guidance methods, such as classifier-free guidance (CFG). Are guidance methods truly necessary? Observing that noise obtained via diffusion inversion can reconstruct high-quality images without guidance, we focus on the initial noise of the denoising pipeline. By mapping Gaussian noise to `guidance-free noise', we uncover that small low-magnitude low-frequency components significantly enhance the denoising process, removing the need for guidance and thus improving both inference throughput and memory. Expanding on this, we propose \ours, a novel method that …
-
Guiding a Diffusion Model with a Bad Version of ItselfT. Karras, M. Aittala, Tuomas Kynkäänniemi et al. · 2024 · Neural Information Processing Systems · cited 370 times · Not summarized yet
Guiding a Diffusion Model with a Bad Version of Itself uses a smaller, less-trained model to control image quality while preserving variation.
Abstract
The primary axes of interest in image-generating diffusion models are image quality, the amount of variation in the results, and how well the results align with a given condition, e.g., a class label or a text prompt. The popular classifier-free guidance approach uses an unconditional model to guide a conditional model, leading to simultaneously better prompt alignment and higher-quality images at the cost of reduced variation. These effects seem inherently entangled, and thus hard to control. We make the surprising observation that it is possible to obtain disentangled control over image quality without compromising the amount of variation by guiding generation using a smaller, less-trained…
-
Improving Diffusion Generalization with Weak-to-Strong Segmented GuidanceLiang-Yu Yuan, Yu-Fei Huang, Ming Lei et al. · 2026 · arXiv.org · preprint, not peer reviewed · cited 2 times · Not summarized yet
Improving Diffusion Generalization with Weak-to-Strong Segmented Guidance cites this paper and examines guidance regimes to improve generalization.
Abstract
Diffusion models generate synthetic images through an iterative refinement process. However, the misalignment between the simulation-free objective and the iterative process often causes accumulated gradient error along the sampling trajectory, which leads to unsatisfactory results and a failure to generalize. Guidance techniques like Classifier Free Guidance (CFG) and AutoGuidance (AG) alleviate this by extrapolating between the main and inferior signal for stronger generalization. Despite empirical success, the effective operational regimes of prevalent guidance methods are still under-explored, leading to ambiguity when selecting the appropriate guidance method given a precondition. In th…
-
Adaptive Diffusion Guidance via Stochastic Optimal ControlI. Azangulov, Peter Potaptchik, Qin-Yu Li et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 11 times · Not summarized yet
Adaptive Diffusion Guidance via Stochastic Optimal Control cites this paper and replaces heuristic guidance scheduling with adaptive optimization.
Abstract
Guidance is a cornerstone of modern diffusion models, playing a pivotal role in conditional generation and enhancing the quality of unconditional samples. However, current approaches to guidance scheduling--determining the appropriate guidance weight--are largely heuristic and lack a solid theoretical foundation. This work addresses these limitations on two fronts. First, we provide a theoretical formalization that precisely characterizes the relationship between guidance strength and classifier confidence. Second, building on this insight, we introduce a stochastic optimal control framework that casts guidance scheduling as an adaptive optimization problem. In this formulation, guidance str…
-
Improving Classifier-Free Guidance in Masked Diffusion: Low-Dim Theoretical Insights with High-Dim ImpactKevin Rojas, Ye He, Chieh-Hsin Lai et al. · 2025 · cited 11 times · Not summarized yet
Improving Classifier-Free Guidance in Masked Diffusion cites this paper and analyzes how guidance timing affects generation quality in masked diffusion.
Abstract
Classifier-Free Guidance (CFG) is a widely used technique for conditional generation and improving sample quality in continuous diffusion models, and its extensions to discrete diffusion has recently started to be investigated. In order to improve the algorithms in a principled way, this paper starts by analyzing the exact effect of CFG in the context of a low-dimensional masked diffusion model, with a special emphasis on the guidance schedule. Our analysis shows that high guidance early in sampling (when inputs are heavily masked) harms generation quality, while late-stage guidance improves it. These findings provide a theoretical explanation for empirical observations in recent studies on …
-
Learn to Guide Your Diffusion ModelAlexandre Galashov, A. Pokle, Arnaud Doucet et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 16 times · Not summarized yet
Learn to Guide Your Diffusion Model cites this paper and learns guidance weights that vary with conditioning and denoising time.
Abstract
Classifier-free guidance (CFG) is a widely used technique for improving the perceptual quality of samples from conditional diffusion models. It operates by linearly combining conditional and unconditional score estimates using a guidance weight $\omega$. While a large, static weight can markedly improve visual results, this often comes at the cost of poorer distributional alignment. In order to better approximate the target conditional distribution, we instead learn guidance weights $\omega_{c,(s,t)}$, which are continuous functions of the conditioning $c$, the time $t$ from which we denoise, and the time $s$ towards which we denoise. We achieve this by minimizing the distributional mismatch…
-
Enhancing Diffusion Model Guidance through Calibration and RegularizationSeyed Alireza Javid, A. Bagheri, Nuria González-Prelcic · 2025 · arXiv.org · preprint, not peer reviewed · cited 2 times · Not summarized yet
Enhancing Diffusion Model Guidance through Calibration and Regularization addresses classifier overconfidence during early denoising and proposes calibration and sampling changes.
Abstract
Classifier-guided diffusion models have emerged as a powerful approach for conditional image generation, but they suffer from overconfident predictions during early denoising steps, causing the guidance gradient to vanish. This paper introduces two complementary contributions to address this issue. First, we propose a differentiable calibration objective based on the Smooth Expected Calibration Error (Smooth ECE), which improves classifier calibration with minimal fine-tuning and yields measurable improvements in Frechet Inception Distance (FID). Second, we develop enhanced sampling guidance methods that operate on off-the-shelf classifiers without requiring retraining. These include tilted …
-
Eliminating Oversaturation and Artifacts of High Guidance Scales in Diffusion ModelsSeyedmorteza Sadat, O. Hilliges, Romann M. Weber · 2024 · International Conference on Learning Representations · cited 134 times · Not summarized yet
Eliminating Oversaturation and Artifacts of High Guidance Scales cites this paper and modifies classifier-free guidance to reduce artifacts from high scales.
Abstract
Classifier-free guidance (CFG) is crucial for improving both generation quality and alignment between the input condition and final output in diffusion models. While a high guidance scale is generally required to enhance these aspects, it also causes oversaturation and unrealistic artifacts. In this paper, we revisit the CFG update rule and introduce modifications to address this issue. We first decompose the update term in CFG into parallel and orthogonal components with respect to the conditional model prediction and observe that the parallel component primarily causes oversaturation, while the orthogonal component enhances image quality. Accordingly, we propose down-weighting the parallel…
Prior work it builds on
-
Elucidating the Design Space of Diffusion-Based Generative ModelsTero Karras, Miika Aittala, Timo Aila et al. · 2022 · Computer Vision and Pattern Recognition · cited 4,167 times · AI summary available
Elucidating the Design Space of Diffusion-Based Generative Models reports sampling and training design choices and results that this paper cites.
Abstract
We argue that the theory and practice of diffusion-based generative models are currently unnecessarily convoluted and seek to remedy the situation by presenting a design space that clearly separates the concrete design choices. This lets us identify several changes to both the sampling and training processes, as well as preconditioning of the score networks. Together, our improvements yield new state-of-the-art FID of 1.79 for CIFAR-10 in a class-conditional setting and 1.97 in an unconditional setting, with much faster sampling (35 network evaluations per image) than prior designs. To further demonstrate their modular nature, we show that our design changes dramatically improve both the eff…
-
Adaptive Guidance: Training-free Acceleration of Conditional Diffusion ModelsÁngela Castillo, J. Kohler, Juan C. P'erez et al. · 2023 · AAAI Conference on Artificial Intelligence · cited 36 times · Not summarized yet
Adaptive Guidance cites this paper and searches for efficient policies that omit redundant classifier-free guidance steps during denoising.
Abstract
This paper presents a comprehensive study on the role of Classifier-Free Guidance (CFG) in text-conditioned diffusion models from the perspective of inference efficiency. In particular, we relax the default choice of applying CFG in all diffusion steps and instead propose to search for more efficient guidance policies. We formulate the discovery of such policies in the framework of differentiable neural architecture search. Our findings suggest that, as denoising progresses, the updates produced by CFG become increasingly aligned with simple conditional steps, which renders CFG's additional neural network evaluation redundant, especially in the second half of the denoising process. Building …
-
Analyzing and Improving the Training Dynamics of Diffusion ModelsT. Karras, M. Aittala, Jaakko Lehtinen et al. · 2023 · Computer Vision and Pattern Recognition · cited 499 times · Not summarized yet
Analyzing and Improving the Training Dynamics of Diffusion Models improves the ADM architecture, which this paper cites in its diffusion-model work.
Abstract
Diffusion models currently dominate the field of data- driven image synthesis with their unparalleled scaling to large datasets. In this paper, we identify and rectify several causes for uneven and ineffective training in the popular ADM diffusion model architecture, without altering its high- level structure. Observing uncontrolled magnitude changes and imbalances in both the network activations and weights over the course of training, we redesign the network layers to preserve activation, weight, and update magnitudes on ex- pectation. We find that systematic application of this philoso- phy eliminates the observed drifts and imbalances, resulting in considerably better networks at equal c…
-
CADS: Unleashing the Diversity of Diffusion Models through Condition-Annealed SamplingSeyedmorteza Sadat, Jakob Buhmann, D. Bradley et al. · 2023 · International Conference on Learning Representations · cited 159 times · Not summarized yet
CADS anneals the conditioning signal to increase diversity at high guidance scales, addressing guidance’s effects on sample quality and variation.
Abstract
While conditional diffusion models are known to have good coverage of the data distribution, they still face limitations in output diversity, particularly when sampled with a high classifier-free guidance scale for optimal image quality or when trained on small datasets. We attribute this problem to the role of the conditioning signal in inference and offer an improved sampling strategy for diffusion models that can increase generation diversity, especially at high guidance scales, with minimal loss of sample quality. Our sampling strategy anneals the conditioning signal by adding scheduled, monotonically decreasing Gaussian noise to the conditioning vector during inference to balance divers…
-
Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Maneesh Agrawala · 2023 · Computer Vision and Pattern Recognition · cited 8,187 times · AI summary available
ControlNet adds task-specific conditioning to pretrained text-to-image diffusion models, including Stable Diffusion, rather than changing guidance timing.
Abstract
We present a neural network structure, ControlNet, to control pretrained large diffusion models to support additional input conditions. The ControlNet learns task-specific conditions in an end-to-end way, and the learning is robust even when the training dataset is small (< 50k). Moreover, training a ControlNet is as fast as fine-tuning a diffusion model, and the model can be trained on a personal devices. Alternatively, if powerful computation clusters are available, the model can scale to large amounts (millions to billions) of data. We report that large diffusion models like Stable Diffusion can be augmented with ControlNets to enable conditional inputs like edge maps, segmentation maps, …
Papers that cite it
-
Guiding a Diffusion Transformer with the Internal Dynamics of ItselfXing-Yu Zhou, Qi-Fan Li, Xiao-Bin Hu et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 20 times · Not summarized yet
Guiding a Diffusion Transformer with the Internal Dynamics of Itself cites this paper and develops a self-guidance strategy for diffusion transformers.
Abstract
The diffusion model presents a powerful ability to capture the entire (conditional) data distribution. However, due to the lack of sufficient training and data to learn to cover low-probability areas, the model will be penalized for failing to generate high-quality images corresponding to these areas. To achieve better generation quality, guidance strategies such as classifier free guidance (CFG) can guide the samples to the high-probability areas during the sampling stage. However, the standard CFG often leads to over-simplified or distorted samples. On the other hand, the alternative line of guiding diffusion model with its bad version is limited by carefully designed degradation strategie…
-
Feedback Guidance of Diffusion ModelsFelix Koulischer, Florian Handke, Johannes Deleu et al. · 2025 · Neural Information Processing Systems · cited 16 times · Not summarized yet
Feedback Guidance cites this paper and adapts guidance amounts to sample state instead of applying a constant coefficient.
Abstract
While Classifier-Free Guidance (CFG) has become standard for improving sample fidelity in conditional diffusion models, it can harm diversity and induce memorization by applying constant guidance regardless of whether a particular sample needs correction. We propose FeedBack Guidance (FBG), which uses a state-dependent coefficient to self-regulate guidance amounts based on need. Our approach is derived from first principles by assuming the learned conditional distribution is linearly corrupted by the unconditional distribution, contrasting with CFG's implicit multiplicative assumption. Our scheme relies on feedback of its own predictions about the conditional signal informativeness to adapt …
-
Guiding a diffusion model using sliding windowsNikolas Adaloglou, Tim Kaiser, Дмитрий Рустамович Ягудин et al. · 2024 · cited 3 times · Not summarized yet
Guiding a diffusion model using sliding windows cites this paper and proposes training-free self-guidance by restricting the model’s receptive field.
Abstract
Guidance is a widely used technique for diffusion models to enhance sample quality. Technically, guidance is realised by using an auxiliary model that generalises more broadly than the primary model. Using a 2D toy example, we first show that it is highly beneficial when the auxiliary model exhibits similar but stronger generalisation errors than the primary model. Based on this insight, we introduce \emph{masked sliding window guidance (M-SWG)}, a novel, training-free method. M-SWG upweights long-range spatial dependencies by guiding the primary model with itself by selectively restricting its receptive field. M-SWG requires neither access to model weights from previous iterations, addition…
-
Conditional Diffusion Models with Classifier-Free Gibbs-like GuidanceBadr Moufad, Yazid Janati, A. Durmus et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 7 times · Not summarized yet
Conditional Diffusion Models with Classifier-Free Gibbs-like Guidance cites this paper and addresses CFG’s trade-off between image quality and sample diversity.
Abstract
Classifier-Free Guidance (CFG) is a widely used technique for improving conditional diffusion models by linearly combining the outputs of conditional and unconditional denoisers. While CFG enhances visual quality and improves alignment with prompts, it often reduces sample diversity, leading to a challenging trade-off between quality and diversity. To address this issue, we make two key contributions. First, CFG generally does not correspond to a well-defined denoising diffusion model (DDM). In particular, contrary to common intuition, CFG does not yield samples from the target distribution associated with the limiting CFG score as the noise level approaches zero -- where the data distributi…
-
Guidance in the Frequency Domain Enables High-Fidelity Sampling at Low CFG ScalesSeyedmorteza Sadat, Tobias Vontobel, Farnood Salehi et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 14 times · Not summarized yet
Guidance in the Frequency Domain cites this paper and varies guidance by frequency to improve fidelity at low CFG scales.
Abstract
Classifier-free guidance (CFG) has become an essential component of modern conditional diffusion models. Although highly effective in practice, the underlying mechanisms by which CFG enhances quality, detail, and prompt alignment are not fully understood. We present a novel perspective on CFG by analyzing its effects in the frequency domain, showing that low and high frequencies have distinct impacts on generation quality. Specifically, low-frequency guidance governs global structure and condition alignment, while high-frequency guidance mainly enhances visual fidelity. However, applying a uniform scale across all frequencies -- as is done in standard CFG -- leads to oversaturation and reduc…
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 2 November 2026.