BAG: Budget-Aware Gating for Diffusion Caching

Tong Zhao, Mingkun Lei, Yucheng Han, Chi Zhang
8/10/2026
cs.CV
diffusion-flow

No confident code implementation found for this paper.

Abstract

Diffusion caching is a lightweight strategy that accelerates Diffusion Transformers (DiTs) by reusing intermediate features across denoising steps, but existing paradigms face a fundamental trade-off: online heuristics lack global budget awareness, whereas static schedules lack instance adaptivity and fail to flexibly adapt to varying runtime budget constraints. To bridge this gap, we present BAG (Budget-Aware Gating), a novel caching policy that unifies global budget pacing with dynamic, instance-adaptive feature reuse.

Show full abstract

Rather than relying on hand-crafted rules, BAG employs a lightweight gating network that dynamically decides whether to execute a full computation or reuse cached features at each step by jointly conditioning on the budget state and local trajectory feedback. We train this policy via offline-to-online schedule distillation, transferring the decision-making of offline-searched schedules into a compact online gate. Extensive experiments on FLUX.1-dev, Wan2.1, and Qwen-Image-2512 demonstrate that BAG consistently outperforms state-of-the-art caching methods across various speedup tiers while remaining robust across different resolutions, seeds, and guidance scales. Code will be released.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhao2026bag,
  title  = {BAG: Budget-Aware Gating for Diffusion Caching},
  author = {Tong Zhao and Mingkun Lei and Yucheng Han and Chi Zhang},
  year   = {2026},
  eprint = {2608.09231},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.09231v2}
}

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

Discussion