AutoCache: Agent-Designed Caching for Image and Video Generation

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.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-02
DOI
https://doi.org/10.48550/arxiv.2612.03856
Primary Topic
Generative Adversarial Networks and Image Synthesis
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

AutoCache: Agent-Designed Caching for Image and Video Generation

Vincent Tao Hu, Xuemei Zhou, Canyu Shen, Teng Long et al.
arXiv
Generative Adversarial Networks and Image Synthesis
preprint

AutoCache: Agent-Designed Caching for Image and Video Generation

Vincent Tao Hu, Xuemei Zhou, Canyu Shen, Teng Long, Gezhi Zhu, Yang Chen
preprint en

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.

arXiv
Centrum Wiskunde & Informatica (NL), University of Trento (IT), Huazhong University of Science and Technology (CN)
Generative Adversarial Networks and Image Synthesis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon