Self-Guidance: Boosting Flow and Diffusion Generation on Their Own

Tiancheng Li, Weijian Luo, Zhiyang Chen, Liyuan Ma, Guo-Jun Qi

TL;DR

Self-Guidance (SG) is a training-free, plug-and-play inference strategy that significantly boosts the generation quality of diffusion and flow-based models. By comparing a model's output at its current noise level against a noisier version of itself, SG effectively suppresses artifact outliers—like the infamous "six-fingered hand"—without requiring extra training, external models, or specific network architectures.

What Problem Does This Paper Address?

Despite the staggering success of models like Stable Diffusion and FLUX, they frequently produce "unnatural" samples characterized by broken human anatomy, irrelevant background objects, and poor text-image consistency.

Existing solutions to these problems often come with heavy baggage. Classifier-Free Guidance (CFG) requires training models with both conditional and unconditional settings. Auto-Guidance (AG) requires training a separate "bad-version" model. Other training-free methods like Perturbed-Attention Guidance (PAG) are highly sensitive to specific neural network architectures (e.g., which attention layers to perturb). The authors identify a fundamental gap: the need for a universal, inference-time guidance strategy that works "out of the box" for any diffusion or flow-based model.

Methods

The core intuition behind Self-Guidance is that artifacts can be detected by observing how the probability density changes across noise levels. The authors observed that artifact outliers show a significant decline in density as the model moves from a noisier level to a cleaner one.

To exploit this, they propose a new sampling distribution: $$p_t^{SG}(x_t) \propto p_t(x_t) \left( \frac{p_t(x_t)}{p_{t+\delta(t)}(x_t)} \right)^\omega$$

In practical terms, since diffusion models predict scores (the gradient of the log-density), this translates to a simple linear combination: $$s^{SG}(x_t) = s(x_t, t) + \omega [s(x_t, t) - s(x_t, t + \delta(t))]$$

Here, $\omega$ is the guidance scale and $\delta(t)$ is a shift in the noise level.

![Fig.

  1. 1D toy example showing how SG suppresses artifacts (density around the origin) and boosts ground truth modes.](/figures/art_e6dd0519b804421393ada54e827a5386)

The authors also introduce SG-prev, an efficient variant that reuses the output from the immediately previous diffusion step ($t+1$) instead of performing a second forward pass for $t+\delta(t)$. This allows for improved quality with virtually zero additional computational overhead.

Datasets

The researchers evaluated SG across several high-profile models, including Stable Diffusion (1.4, 3, and 3.5), FLUX.1-dev, and the text-to-video model CogVideoX-5B.

Evaluation metrics included:

  • Standard Benchmarks: MS-COCO 2017 (for FID, CLIP Score, and Aesthetic Score) and HPS v2.1 (Human Preference Score).
  • Domain-Specific Metrics: They introduced/utilized Hand-FID (FID-H) and Hand-Conf (using MediaPipe) to specifically measure anatomical correctness, alongside FaceScore for facial quality.
  • Video Benchmarks: VBench was used to assess human action, scene consistency, and object generation in videos.

Key Insights and Ideas

  • The "Valley" Theory: Using the heat equation, the authors provide a theoretical basis for SG. They show that artifacts typically reside in "valleys" (low-density regions) of the data distribution. Forward diffusion naturally causes density to flow into these valleys; by calculating the ratio between noise levels, SG effectively "down-weights" these regions.
  • Anatomy as an Outlier: One of the most striking findings is that physiological errors (like extra fingers) behave like statistical outliers that can be suppressed by comparing noise levels.
  • Orthogonality: SG is not a replacement for CFG or PAG; it is orthogonal to them. Combining SG with existing guidance methods leads to new state-of-the-art results.
  • Dynamic Shifting: The authors found that a dynamic shift scale $\delta(t) = t/\sigma$ (which decreases as the image gets cleaner) works better than a constant shift, preventing over-guidance in the final stages of sampling.

Key Results

Self-Guidance consistently outperformed baselines across multiple architectures:

  • Flux.1 Performance: As shown in the radar chart, adding SG to the CFG baseline improved every metric, particularly Hand Score and FID.
  • Anatomy Correction: In SD 1.4, SG improved FID by 8 points (50.76 → 42.73). Qualitatively, it successfully removed "ghost" people in backgrounds and corrected mangled hands that baseline Flux.1 struggled with.
  • Efficiency: SG-prev achieved results comparable to or better than standard SG while being roughly 50% more efficient, as it avoids the extra forward pass.

![Fig.

  1. Radar chart showing Flux.1 performance gains across 5 benchmarks when using SG.](/figures/art_a38418bed4ce4385b1cd7acfbb2bc3b3)

![Fig.

  1. Qualitative examples showing SG fixing hand structures, removing irrelevant objects, and improving text-image consistency.](/figures/art_ab7d71cb9d174272803f4b3a118cf5a5)

Limitations and Future Work

While powerful, SG has its limits:

  • Global Structure: SG is excellent at fine-grained details (fingers, faces) but often fails to correct massive global structural errors, such as entirely missing limbs or heavily distorted perspectives.
  • Video Preliminary: The results on text-to-video are promising but considered preliminary by the authors, who plan to explore more specialized video-guidance strategies in the future.
  • Hyperparameters: While $\omega=3$ is a good default, some manual tuning of the guidance scale and shift scale may still be required for optimal results on new models.

Summary updated

BibTeX
@article{li2026self,
  author = {Tiancheng Li and Weijian Luo and Zhiyang Chen and Liyuan Ma and Guo-Jun Qi},
  title = {{Self-Guidance: Boosting Flow and Diffusion Generation on Their Own}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2026},
  doi = {10.1109/tpami.2025.3611831},
}
Figure