STORK: Faster Diffusion And Flow Matching Sampling By Resolving Both Stiffness And Structure-Dependence

Zheng Tan, Weizhen Wang, Andrea L. Bertozzi, Ernest K. Ryu
5/30/2025
10 citations
cs.CVmath.NA
diffusion-flow

Official code: ZT220501/STORK (14 stars, Python, last commit 2025-10-14).

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.

Show full abstract

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. Code is available at https://github.com/ZT220501/STORK.

View on arXivView PDF

Code Implementations(1)

ZT220501/STORKOfficial100%
143PythonMay 21, 20251 years ago

Similar Papers

Cite this paper

@article{tan2025stork,
  title  = {STORK: Faster Diffusion And Flow Matching Sampling By Resolving Both Stiffness And Structure-Dependence},
  author = {Zheng Tan and Weizhen Wang and Andrea L. Bertozzi and Ernest K. Ryu},
  year   = {2025},
  eprint = {2505.24210},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.24210v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.24210.svg)](https://codeofpaper.com/paper/2505.24210)

Discussion