AutoCache: Agent-Designed Caching for Image and Video Generation

📅 👥 6 authors arXiv:2612.03856v1

Authors

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.

Paper Information

arXiv ID:
2612.03856v1
Published:

Related Categories