AutoCache: Agent-Designed Caching for Image and Video Generation
2612.03856

Authors

Canyu Shen,Yang Chen,Gezhi Zhu,Xuemei Zhou,Teng Long

Abstract

Diffusion sampling is expensive because it repeatedly evaluates a large backbone. Caching accelerates it by reusing computations across steps.

Existing methods use hand-designed signals and decision rules to determine when reuse is appropriate. These choices require expertise to develop.

We introduce AutoCache, a training-free framework that uses a large language model (LLM) search agent to automatically discover caching policies for image and video generation. Each policy extracts signals from the sampling state and decides whether to compute the full backbone or reuse its cached residual.

AutoCache searches these policies through repeated proposal and evaluation. The selected policies run directly during sampling without additional LLM calls.

Across Qwen-Image-2.1, FLUX3-Image-Klein-Base, and Wan2.1-T2V-1.3B, one selected policy per backbone achieves 1.99--3.14$\times$ speedups over uncached inference while improving reference fidelity over the evaluated caching baselines. Our code will be released.

Resources

Ray graphicRay graphicRay graphicRay graphic

Stay in the loop

Every AI paper that matters, free in your inbox daily.

Details

  • takara.ai
  • Custom AI and machine learning from the Frontier Research Team.
  • © 2026 takara.ai Ltd
  • Content is sourced from third-party publications.
Ray graphicRay graphicRay graphic