MeanCache: From Instantaneous to Average Velocity for Accelerating Flow Matching Inference

Abstract

We present MeanCache, a training-free caching framework for efficient Flow Matching inference. Existing caching methods reduce redundant computation but typically rely on instantaneous velocity information (e.g., feature caching), which often leads to severe trajectory deviations and error accumulation under high acceleration ratios. MeanCache introduces an average-velocity perspective: by leveraging cached Jacobian--vector products (JVP) to construct interval average velocities from instantaneous velocities, it effectively mitigates local error accumulation. To further improve cache timing and JVP reuse stability, we develop a trajectory-stability scheduling strategy as a practical tool, employing a Peak-Suppressed Shortest Path under budget constraints to determine the schedule. Experiments on FLUX.1, Qwen-Image, and HunyuanVideo demonstrate that MeanCache achieves $4.12\times$, $4.56\times$, and $3.59\times$ acceleration, respectively, while consistently outperforming state-of-the-art caching baselines in generation quality. We believe this simple yet effective approach provides a new perspective for Flow Matching inference and will inspire further exploration of stability-driven acceleration in commercial-scale generative models.

Cite

Text

Gao et al. "MeanCache: From Instantaneous to Average Velocity for Accelerating Flow Matching Inference." International Conference on Learning Representations, 2026.

Markdown

[Gao et al. "MeanCache: From Instantaneous to Average Velocity for Accelerating Flow Matching Inference." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/gao2026iclr-meancache/)

BibTeX

@inproceedings{gao2026iclr-meancache,
  title     = {{MeanCache: From Instantaneous to Average Velocity for Accelerating Flow Matching Inference}},
  author    = {Gao, Huanlin and Chen, Ping and Shi, Fuyuan and Wu, Ruijia and YanTao, Li and Hui, Qiang and Youyuren,  and Lu, Ting and Tan, Chao and Zhao, Shaoan and Liu, Zhaoxiang and Zhao, Fang and Wang, Kai and Lian, Shiguo},
  booktitle = {International Conference on Learning Representations},
  year      = {2026},
  url       = {https://mlanthology.org/iclr/2026/gao2026iclr-meancache/}
}