Accelerating Frequency Domain Diffusion Models with Error-Feedback Event-Driven Caching

Dong Liu, Yanxuan Yu, Ying Nian Wu
4/24/2026
2 citations
cs.LG
diffusion-flow

Official code: NoakLiu/FastCache-xDiT (53 stars, Python, Apache-2.0, last commit 2026-08-02). 1 more implementation below.

Abstract

Diffusion models achieve remarkable success in time series generation. However, slow inference limits their practical deployment.

Show full abstract

We propose E$^2$-CRF (Error-Feedback Event-Driven Cumulative Residual Feature caching) to accelerate frequency domain diffusion models. Our method exploits two structural properties: (1) spectral localization, where signal energy concentrates in low frequencies, and (2) mirror symmetry, which halves the effective frequency dimension. E$^2$-CRF uses a closed-loop error-feedback system that adaptively caches transformer KV features across diffusion steps. We trigger recomputation using event-driven residual dynamics instead of fixed schedules. Our method selectively recomputes high-energy or rapidly-changing tokens while reusing cached features for stable high-frequency components. E$^2$-CRF achieves ~2.2 speedup while maintaining sample quality. We demonstrate effectiveness on 5 datasets. Our caching strategy naturally aligns with the diffusion process's structure-to-detail progression. We include sufficient-condition error and complexity bounds under standard regularity assumptions (Appendix), alongside empirical validation. Our code is available at https://github.com/NoakLiu/FastFourierDiffusion and is also integrated in https://github.com/NoakLiu/FastCache-xDiT.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
NoakLiu/FastCache-xDiTOfficial53PythonApache-2.02026-08-02
NoakLiu/FastFourierDiffusionOfficial3Jupyter NotebookMIT2026-01-04
Apache-2.0

FastCache: Fast Caching for Diffusion Transformer Through Learnable Linear Approximation [Efficient ML Model]

537Python, ShellMay 14, 20254 months agoApache-2.0
cachediffusiondiffusion-transformersefficient-deep-learningefficientml+2 more
MIT

This repository implements cache offset correction for time series diffusion in the frequency domain.

30Jupyter Notebook, PythonDec 22, 202511 months agoMIT

Similar Papers

Cite this paper

@article{liu2026accelerating,
  title  = {Accelerating Frequency Domain Diffusion Models with Error-Feedback Event-Driven Caching},
  author = {Dong Liu and Yanxuan Yu and Ying Nian Wu},
  year   = {2026},
  eprint = {2604.22901},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.22901v2}
}

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/2604.22901.svg)](https://codeofpaper.com/paper/2604.22901)

Discussion