NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Eliminating Oversaturation and Artifacts of High Guidance Scales in Diffusion Models

Seyedmorteza Sadat, Otmar Hilliges, Romann M. Weber

Adaptive Projected Guidance (APG) is a new, plug-and-play replacement for standard Classifier-Free Guidance (CFG) in diffusion models. By decomposing the guidance update into parallel and orthogonal components and applying "reverse momentum," APG allows for high guidance scales that improve prompt alignment and image quality without the typical "deep-fried" oversaturation and artifacts.

The Oversaturation Problem in Diffusion Models

In diffusion models like Stable Diffusion, Classifier-Free Guidance (CFG) acts as a control knob dictating how strictly the model adheres to a given prompt. Increasing this scale generally yields better-looking images that follow instructions more closely.

However, there is a ceiling. Pushing the guidance scale too high (e.g., beyond 7 or 10) causes images to suffer from oversaturation and unrealistic artifacts. The output often resembles a high-contrast, "deep-fried" meme. This occurs because the standard CFG update rule inadvertently pushes pixel values toward extreme ranges. The core challenge is reaping the structural and alignment benefits of high guidance without destroying the natural color and texture of the generated image.

Oversaturated image generated with standard CFG at a high guidance scale.

Adaptive Projected Guidance (APG)

To address this, the researchers propose Adaptive Projected Guidance (APG), which modifies the standard CFG update rule through three main mechanisms—all implemented entirely at the inference stage with no retraining required:

  1. Orthogonal Projection: The CFG update vector can be split into two parts: one parallel to the model's prediction and one orthogonal (perpendicular) to it. The authors discovered that the parallel component acts like a "gain" filter and is almost entirely responsible for oversaturation. By down-weighting this parallel component, APG keeps image colors natural, while the orthogonal component continues to enhance structural quality.
  2. Rescaling: By framing the guidance step as an optimization problem (gradient ascent), the authors introduce a rescaling factor. This constrains the update to stay within a specific "sphere," preventing the sampling process from drifting into unrealistic visual territory.
  3. Reverse Momentum: Unlike standard momentum in deep learning, which accelerates movement in a consistent direction, APG uses negative momentum. This pushes the model away from previous update directions, encouraging it to find new details rather than doubling down on existing ones, further mitigating saturation.
Natural-looking image generated using APG at the same high guidance scale.

Key Insights and Results

The authors evaluated APG across standard benchmarks (ImageNet, MS COCO 2017) and models (EDM2, DiT-XL/2, Stable Diffusion v2.1 and XL).

  • The "Gain" Effect: A striking mathematical insight from the paper is that the parallel component of CFG acts as a scalar multiplier on the image. High guidance literally "turns up the volume" until the signal clips, explaining the blown-out highlights and crushed shadows.
  • Quantitative Improvements: Across tested models, APG consistently achieved lower FID (indicating better quality and diversity) and higher Recall than standard CFG. For instance, on EDM2-S, APG improved the FID from 10.42 to 6.49.
  • Saturation Control: APG maintained nearly constant saturation levels even as the guidance scale increased, whereas standard CFG's saturation spiked linearly.
  • Text Rendering: When used with Stable Diffusion 3, APG significantly improved text rendering accuracy. It allows the model to utilize the high guidance necessary for spelling without ruining the surrounding image aesthetics.
  • Broad Compatibility: The method proved effective even on "distilled" models like SDXL-Lightning, which typically struggle with high guidance scales due to their limited sampling steps.

Limitations and Future Work

While the mathematical projection is computationally inexpensive, APG still requires two passes through the diffusion U-Net (one conditional, one unconditional) per step, meaning it does not solve the fundamental 2x slowdown associated with standard guidance. Additionally, APG introduces three new hyperparameters. While the authors provide robust defaults, power users may need to tune these "knobs" for optimal results. Future work may explore more sophisticated adaptive optimization techniques, such as Adam-style updates, to further refine the sampling process.

Summary updated

BibTeX
@inproceedings{sadat2025eliminating,
  author = {Seyedmorteza Sadat and Otmar Hilliges and Romann M. Weber},
  title = {{Eliminating Oversaturation and Artifacts of High Guidance Scales in Diffusion Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=e2ONKX6qzJ},
}
Figure