Understanding Time-Dependent Stability Boundary in Guidance through Three-regime Dynamics

Yiyu Qiu, Ruofeng Yang, Tong Yu, Shuai LiNeurIPS 2026

TL;DR

If you’ve ever cranked up the guidance scale on an image generator to make it strictly follow your prompt, you’ve probably watched your image fry itself into neon, over-exposed oblivion. This paper mathematically uncovers why that happens: there is an invisible, shrinking "speed limit" for guidance during image generation, and keeping your guidance constant eventually crosses that boundary into mathematical instability. By adjusting guidance to follow the natural curve of this boundary, we can get crisp prompt alignment without the radioactive colors.

Figure 1: Comparison on SDXL (50 steps) at large guidance (ω = 20). (Left) Constant CFG, Maintains alignment but suffers from discretization-induced "overexposure". (Right) Our schedule follows the temporal trend of the derived stability boundary and mitigates these artifacts.

What Problem Does This Paper Address?

Diffusion models generate images by iteratively sculpting pure static into coherent pictures. To make sure the model actually draws a "pink dog" instead of just any dog, we use Classifier-Free Guidance (CFG). Think of CFG as a steering wheel: turning up the guidance strength ($\omega$) pushes the image harder toward your text prompt and away from generic outputs.

In practice, people love high guidance scales for better prompt adherence, yet pushing $\omega$ too high introduces bizarre artifacts, extreme color saturation, and "deep-fried" textures. Practitioners have empirically noticed that dropping or truncating guidance partway through generation helps, suggesting that guidance affects early, noisy stages differently than late, clean stages. However, nobody knew the fundamental when and why: at any given moment during denoising, how hard can you steer before the underlying math breaks down?

Methods

Analyzing a massive neural network like Stable Diffusion directly is mathematically intractable, so the authors build a clean, solvable physics lab: a structured Gaussian Mixture Model (GMM) where data clusters share the same shape (covariance) and sit along a single line (collinear means).

While GMMs are a standard theoretical proxy, the authors introduce a clever time-dependent Mahalanobis transformation. This mathematical lens untangles the natural shrinking/expanding geometry of the diffusion process from the tug-of-war happening between different data modes. It collapses a high-dimensional Probability Flow ODE (the deterministic path of denoising) into a simple one-dimensional scalar update.

From there, they analyze discrete time-steps—because computers take choppy, finite steps rather than smooth continuous ones—and ask when a step squeezes trajectories stably toward the target versus when it pushes (overshoots and repels) them away. Finally, they translate the shape of their theoretical stability limit into a simple, trend-following guidance schedule for real-world diffusion models.

Figure 2: Overview of our framework. (Left) constant guidance does not imply a constant guidance effect, as the effective guidance term depends on both the guidance scale and diffusion dynamics. (Middle) we decouple diffusion-time geometry from guidance-induced mode dynamics and charac- terize three dynamical regimes separated by a time-dependent stability boundary ωupper(t). (Right) we use the temporal trend of this boundary to construct a trend-following guidance schedule and evaluate its effect on high-guidance sampling.

Datasets

No new benchmarks are introduced. For evaluation, the authors use:

  • Synthetic 2D 3-Component GMM: For exact, error-free mechanistic validation of trajectory splitting.
  • CIFAR-10: For controlled image-generation experiments.
  • COCO-30K Benchmark & Random Prompts: 10,000 generated samples against COCO-30K to measure image quality (FID) on Stable Diffusion XL (SDXL), alongside 50 random prompts to evaluate semantic alignment (CLIP Score) and color/pixel stability (Saturation and Out-of-Bounds Rate). Additional tests are noted on Stable Diffusion 1.5.

Key Insights and Ideas

  • A Constant Dial Doesn't Mean Constant Force: Early in denoising, conditional and unconditional distributions heavily overlap; late in denoising, they separate sharply. Keeping $\omega$ fixed means your effective steering force changes wildly over time, easily causing discretization steps to overshoot the target late in the game.
  • Three Dynamical Regimes: Depending on guidance strength and time, sampling lives in one of three worlds: Convergence (globally stable), Mixed (fragmented by repulsive barriers that trap samples in the wrong modes), and Divergence (the target itself becomes unstable and flings trajectories outward).
  • The Shrinking Stability Ceiling: The safe upper bound for guidance, $\omega_{\mathrm{upper}}(t)$, drops dramatically as the image approaches completion ($t \to 0$). A fixed high $\omega$ starts safely inside the Convergence regime in the noisy early stages, but inevitably crashes through the ceiling into the Divergence regime near the end—explaining late-stage color blowouts!
  • Architecture Dictates the Curve: This stability boundary obeys universal scaling laws depending on how noise is scheduled: it scales exponentially for Variance-Preserving (VP) diffusion, and polynomially ($\Theta(t^2)$ or $\Theta(t^3)$) for Variance-Exploding (VE) and EDM frameworks.

Key Results

  • Exact Toy Validation: On the 2D GMM, moderate guidance ($\omega = 2$) cleanly preserves the three data clusters, whereas high guidance ($\omega = 100$) visibly splits trajectories outward from the central target right at the end of sampling, matching the exact closed-form thresholds.
  • Taming High Guidance on SDXL: At high guidance ($\omega_{\max} = 15$, 50 steps), constant CFG suffers a 6.2% Out-of-Bounds pixel Rate (OBR), 0.45 saturation, and an FID of 23.46. Following the paper's boundary-inspired schedule slashes OBR twenty-fold to 0.3%, lowers saturation to 0.36, and improves FID to 19.73, while keeping CLIP alignment virtually identical (34.53 vs. 35.04)—outperforming naive guidance truncation across stability and FID metrics.
  • Regime Awareness: At low guidance ($\omega_{\max} = 5$), where constant CFG never crosses the stability boundary, constant CFG slightly edges out the decaying schedule in CLIP score (35.11 vs. 34.11) and FID (19.13 vs. 19.24), confirming the schedule specifically remedies boundary-crossing instability rather than acting as a magic bullet for all settings.

Limitations and Future Work

  • Simplified Data Geometry: The math relies on collinear, shared-covariance GMMs. Real-world image manifolds are far more tangled; extending this to multi-subspace, multimodal distributions is an open next step.
  • Deterministic & Exact Scores Only: The proofs assume exact score functions and deterministic PF-ODE sampling. Real neural networks have score-estimation errors (meaning giant early-stage guidance might still amplify network mistakes despite a high stability ceiling), and stochastic SDE samplers inject fresh noise at every step whose impact on these regimes remains unexplored.
  • Heuristic Translation: The practical schedule mimics the trend of the theoretical boundary rather than computing exact local stability on the fly. Designing real-time, adaptive guidance controllers is left for future work.

Summary updated

Abstract

Classifier-Free Guidance (CFG) is widely used for conditional diffusion, yet a fixed guidance scale can become excessively aggressive at different stages of the denoising process, leading to artifacts such as over-exposure and color distortion. Existing empirical strategies indicate that the guidance effect is time-dependent, necessitating the application of varying guidance intensities at different stages; however, there remains a lack of understanding regarding when and why specific guidance intensities become unstable. In this work, we study the time-dependent stability of CFG through a Gaussian Mixture Model (GMM) framework under a general SDE formulation. We characterize the guided dynamics into three distinct regimes, and analyze their dependence jointly on the guidance strength $\omega$ and reverse time $t$. In a structured GMM setting, we derive a time-dependent sufficient condition for global non-expansiveness of the scalar update, expressed as $0 \leq \omega(t)-1 \leq \omega_{\mathrm{upper}}(t)$. Our analysis shows that the stability boundary varies throughout the denoising trajectory, so a fixed guidance scale can transition from a stable regime to a divergent regime as denoising proceeds. For VP and VE diffusion processes, the boundary exhibits exponential and polynomial scaling respectively. These results provide a theoretical perspective on the late stage instability that can arise under high guidance and motivate a time-dependent guidance schedule informed by the temporal evolution of the derived stability boundary. Empirically, we show that a simple schedule inspired by this boundary trend mitigates over-exposure under high guidance settings while maintaining comparable semantic alignment.
BibTeX
@inproceedings{qiu2026understanding,
  author = {Yiyu Qiu and Ruofeng Yang and Tong Yu and Shuai Li},
  title = {{Understanding Time-Dependent Stability Boundary in Guidance through Three-regime Dynamics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=bLqrqUf9K9},
}
Figure