STORK: Improving the Fidelity of Mid-NFE Sampling for Diffusion and Flow Matching Models

Zheng Tan, Weizhen Wang, Andrea L. Bertozzi, Ernest K. Ryu · OpenReview

Abstract

Diffusion models (DMs) and flow-matching models have demonstrated remarkable performance in image and video generation. However, such models require a significant number of function evaluations (NFEs) during sampling, leading to costly inference. Consequently, quality-preserving fast sampling methods that require fewer NFEs have been an active area of research. However, prior training-free sampling methods fail to simultaneously address two key challenges: the stiffness of the ODE (i.e., the non-straightness of the velocity field) and dependence on the semi-linear structure of the DM ODE (which limits their direct applicability to flow-matching models). In this work, we introduce the Stabilized Taylor Orthogonal Runge--Kutta (STORK) method, addressing both design concerns. We demonstrate that STORK consistently improves the quality of diffusion and flow-matching sampling for image and video generation.

Introduction

Diffusion and Flow-Matching models (such as Stable Diffusion 3.5 or FLUX) are the current state-of-the-art in generative AI, yet they face a significant "speed limit." Generating high-quality content typically requires solving an Ordinary Differential Equation (ODE) over many steps, known as Number of Function Evaluations (NFEs). Reducing NFEs is critical for efficient inference, but existing fast samplers struggle with two main issues: stiffness and structure-dependence.

STORK aims to provide stable, high-fidelity generation even at low sampling steps.

Stiffness occurs when the velocity field is non-straight, causing standard solvers to become unstable or produce blurry results at high speeds. Structure-dependence refers to the reliance on specific mathematical properties of noise-based diffusion, which limits the applicability of these samplers to newer architectures like Flow-Matching models. STORK (Stabilized Taylor Orthogonal Runge–Kutta) addresses these challenges by adapting "stabilized" numerical methods from classical physics to generative AI.

Methodology

STORK combines classical numerical analysis with modern deep learning techniques through two primary innovations:

  1. Stabilized Runge-Kutta (SRK): Unlike standard methods that prioritize per-step accuracy, SRK methods are designed for stiff equations. They utilize orthogonal polynomials (such as Chebyshev or Gegenbauer) to create a large stability region, allowing for larger steps without numerical instability.
  2. Virtual NFEs via Taylor Expansion: To maintain efficiency, STORK avoids additional model calls by using Taylor expansions to approximate the velocity field's derivatives. By reusing previously computed information, STORK achieves the stability of a high-stage solver for the computational cost of a single-stage solver.

Because STORK treats the model as a black-box ODE, it is structure-independent and works across various generative architectures, making it a "future-proof" sampler for evolving model designs.

Experiments and Results

The researchers evaluated STORK across multiple modalities and scales, including unconditional image generation (CIFAR-10, LSUN-Bedroom), text-to-image generation (MJHQ-30K, MS-COCO), and video generation (Hunyuan Video).

Quantitative Performance

STORK consistently outperforms industry standards like DPM-Solver++, UniPC, and Flow-Euler, particularly in the low-NFE regime (under 20 steps). On CIFAR-10 with 10 NFEs, STORK-4 achieved an FID of 5.49, significantly better than DPM-Solver++ (6.47) and DDIM (18.5). Human preference scores (HPSv2) also place STORK at the top across various models and step counts.

Qualitative Fidelity

Qualitative assessments demonstrate STORK's superior ability to handle complex prompts and maintain fine details even at low NFEs.

STORK demonstrates high fidelity and complex scene composition in text-to-image tasks.

In video generation tasks using only 8 NFEs, STORK produced clearer subjects and more realistic environmental effects compared to existing methods like Flow-UniPC. The method's ability to render complex text and intricate details (such as specific letters or environmental textures) highlights its robustness against the "stiffness" that degrades other fast samplers.

Conclusion

STORK represents a significant advancement in training-free sampling for generative models. By addressing ODE stiffness through stabilized numerical methods and virtual NFEs, it enables high-fidelity generation at high speeds. While the method introduces a sub-step parameter $s$ that requires tuning, its performance gains in the extreme low-NFE regime make it a powerful tool for efficient AI inference. Future work includes exploring higher-order stability polynomials and optimizing parameter selection to further minimize approximation errors.

Summary updated

BibTeX
@inproceedings{tan2026stork,
  author = {Zheng Tan and Weizhen Wang and Andrea L. Bertozzi and Ernest K. Ryu},
  title = {{STORK: Improving the Fidelity of Mid-NFE Sampling for Diffusion and Flow Matching Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=CeOIVXMl4r},
}
Figure