arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2612.03856cs.CV
收藏

AutoCache:智能体设计的图像与视频生成缓存机制

AutoCache: Agent-Designed Caching for Image and Video Generation

School of Software Engineering, Huazhong University of Science and Technology(华中科技大学软件学院);Centrum voor Wiskunde en Informatica (CWI)(荷兰数学和计算机科学研究学会);University of Trento(特伦托大学)

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

AI总结:

本文提出AutoCache,一种无需训练的LLM搜索智能体驱动的缓存框架,为图像与视频生成自动设计策略,在多款模型上实现1.99-3.14倍加速且提升参考保真度。

摘要:

扩散采样因需重复评估大型主干网络而计算成本高昂,缓存技术可通过复用不同步骤的计算结果实现加速。现有方法采用人工设计的信号与决策规则判断何时复用计算,这类规则的开发需专业知识。本文提出AutoCache,一种无需训练的框架,利用大型语言模型(LLM)搜索智能体自动为图像与视频生成任务发现缓存策略。每个策略从采样状态中提取信号,决定是计算完整主干网络还是复用其缓存的残差;AutoCache通过反复提出策略并评估来搜索这些策略,选定的策略可在采样过程中直接运行,无需额外调用LLM。在Qwen-Image-2.1、FLUX3-Image-Klein-Base和Wan2.1-T2V-1.3B模型上,每个主干网络选定的策略实现了1.99至3.14倍的推理加速,同时相比被评估的缓存基线方法提升了参考保真度。本文代码将公开。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑