Beyond Fixed Formulas: Data-Driven Linear Predictor for Efficient Diffusion Models

Zhirong Shen, Rui Huang, Jiacheng Liu, Chang Zou, Peiliang Cai +4 more
4/29/2026
3 citations
cs.CVcs.LG
diffusion-flow

Official code: Aredstone/L2P-Cache (2 stars, Python, Apache-2.0, last commit 2026-07-13).

Abstract

To address the high sampling cost of Diffusion Transformers (DiTs), feature caching offers a training-free acceleration method. However, existing methods rely on hand-crafted forecasting formulas that fail under aggressive skipping.

Show full abstract

We propose L2P (Learnable Linear Predictor), a simple data-driven caching framework that replaces fixed coefficients with learnable per-timestep weights. Rapidly trained in ~20 seconds on a single GPU, L2P accurately reconstructs current features from past trajectories. L2P significantly outperforms existing baselines: it achieves a 4.55x FLOPs reduction and 4.15x latency speedup on FLUX.1-dev, and maintains high visual fidelity under up to 7.18x acceleration on Qwen-Image models, where prior methods show noticeable quality degradation. Our results show learning linear predictors is highly effective for efficient DiT inference. Code is available at https://github.com/Aredstone/L2P-Cache.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
20PythonMar 26, 20264 months agoApache-2.0

Similar Papers

Cite this paper

@article{shen2026beyond,
  title  = {Beyond Fixed Formulas: Data-Driven Linear Predictor for Efficient Diffusion Models},
  author = {Zhirong Shen and Rui Huang and Jiacheng Liu and Chang Zou and Peiliang Cai and Shikang Zheng and Zhengyi Shi and Liang Feng and Linfeng Zhang},
  year   = {2026},
  eprint = {2604.26365},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.26365v1},
  journal = {CVPR 2026 2026}
}

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

Discussion