Error as Signal: Stiffness-Aware Diffusion Sampling via Embedded Runge-Kutta Guidance

Inho Kong, Sojin Lee, Youngjoon Hong, Hyunwoo J. Kim

TL;DR

Researchers have discovered that the numerical errors made by solvers during diffusion sampling aren't just "noise"—they are highly structured signals that point toward the most difficult parts of the data distribution. By leveraging Embedded Runge–Kutta Guidance (ERK-Guid), we can detect these "stiff" regions and use the solver's own discrepancies to steer the sampling process, significantly improving image quality and stability without any extra neural network evaluations.

What Problem Does This Paper Address?

Generating images with diffusion models is essentially a high-stakes game of "connect the dots" in reverse time. We start with Gaussian noise and follow a trajectory defined by an Ordinary Differential Equation (ODE) to reach a clean image. To do this, we use numerical solvers like the Euler or Heun methods.

However, these trajectories aren't always smooth. In certain "stiff" regions, the path changes direction sharply. In these areas, solvers incur a Local Truncation Error (LTE)—a gap between the predicted step and the true mathematical path. While existing methods like Classifier-Free Guidance (CFG) help the model stay on track by comparing conditional and unconditional predictions, they ignore these purely numerical solver errors. As a result, in low-step regimes (where we try to generate images quickly), these accumulated errors lead to distorted or low-fidelity samples.

Methods

The authors introduce ERK-Guid, a "stiffness-aware" guidance mechanism. The core idea relies on Embedded Runge–Kutta (ERK) pairs.

Standard high-order solvers like Heun’s method actually calculate two versions of a step: a simple first-order estimate (Euler) and a more refined second-order correction (Heun). Usually, the Euler estimate is just a stepping stone. ERK-Guid, however, treats the difference between these two estimates as a "free" diagnostic tool:

  1. Stiffness Estimation: By comparing the difference in the predicted states versus the difference in the model's "drift" (the direction it wants to move), the algorithm can calculate a stiffness value.
  2. Eigenvector Alignment: The authors prove theoretically and show empirically that in stiff regions, the solver's error aligns with the dominant eigenvector of the Jacobian. In plain English: the error points exactly in the direction where the model is most sensitive to change.
  3. Guidance Update: When the detected stiffness exceeds a certain threshold, ERK-Guid applies a corrective "nudge" along this dominant eigenvector.
Visualization of stiffness and projected drift direction on a 2D toy dataset.

Crucially, because these values are already calculated during a standard Heun step, ERK-Guid adds zero additional neural network evaluations (NFEs), making it computationally "free" compared to the base solver.

Datasets

The authors evaluated their method across several benchmarks:

  • Synthetic 2D Toy Dataset: A tree-like structure (visualized above) used to observe how stiffness and error alignment behave in a controlled environment.
  • ImageNet (512×512 and 64×64): The standard benchmark for high-resolution and class-conditional image generation.
  • FFHQ (64×64): A popular dataset of high-quality human faces.
  • PixArt-α: Used to demonstrate qualitative improvements in large-scale text-to-image generation.

Key Insights and Ideas

  • Error is Information: The most profound insight is that solver error is not random; it is a reflection of the underlying geometry of the data manifold. If the solver is struggling, it’s because the "terrain" is difficult, and that struggle tells us exactly how to fix the path.
  • The "Free" Lunch: Most guidance methods require running the neural network multiple times (e.g., once for the prompt, once for the null-text). ERK-Guid uses the internal "disagreements" of a single solver step to generate its signal.
  • Orthogonality to CFG: Because ERK-Guid addresses solver error while CFG addresses model error, the two are complementary. You can stack them together to get the benefits of both.
  • Stability in the Shallows: The method is particularly effective in "low-step" regimes (8–16 steps), where traditional solvers usually fall apart because the steps are too large to handle stiff regions.

Key Results

  • State-of-the-Art Performance: On ImageNet-512, ERK-Guid consistently outperformed unguided baselines. For example, at 16 steps, it improved the FD-DINOv2 score (a measure of image fidelity) from 97.4 to 88.9.
  • Plug-and-Play Compatibility: The authors showed that ERK-Guid isn't just for Heun’s method; it can be integrated into advanced solvers like DPM-Solver and DEIS, consistently improving FID scores across the board.
  • Efficiency: In a head-to-head comparison with "adaptive step-size" methods (which try to solve stiffness by taking smaller, more frequent steps), ERK-Guid achieved better image quality with significantly fewer network evaluations.

Limitations and Future Work

While ERK-Guid is powerful, it relies on a local linearization assumption—the idea that the model's behavior can be approximated by a linear map over a small step. If the step size is extremely large or the model is highly non-linear, this approximation might weaken.

Additionally, the current implementation is designed for ODE-based sampling. Extending this "error-as-signal" philosophy to Stochastic Differential Equations (SDEs), where noise is intentionally injected, remains an open and promising direction for future research.

Reference: Kong, I., Lee, S., Hong, Y., & Kim, H. J. (2026). Error as Signal: Stiffness-Aware Diffusion Sampling via Embedded Runge-Kutta Guidance. Published as a conference paper at ICLR 2026.

Summary updated

BibTeX
@inproceedings{kong2026error,
  author = {Inho Kong and Sojin Lee and Youngjoon Hong and Hyunwoo J. Kim},
  title = {{Error as Signal: Stiffness-Aware Diffusion Sampling via Embedded Runge-Kutta Guidance}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=wKX9OL0leb},
}
Figure