arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.37574cs.CVcs.AIcs.LG
收藏

保形缓存:用于快速生成推理的可靠代理差异缓存

Conformal Cache: Reliable Proxy-Discrepancy Caching for Fast Generative Inference

Huazhong University of Science and Technology(华中科技大学);Shanghai Innovation Institute(上海创新研究院);Nankai University(南开大学);Fudan University(复旦大学);ByteDance(字节跳动);National University of Singapore(新加坡国立大学);University College London(伦敦大学学院)

Wenxiao Wu, Yukang Feng, Yachen Gao, Chengming Xu, Moran Li, Jingyu Li, Ming Xie, Xiaobin Hu, Xinwei Sun, Jing-Hao Xue, Nong Sang, Yanwei Fu

AI总结:

本文提出即插即用的无训练保形缓存框架 CCache,将缓存重用转化为单侧风险控制问题,通过拆分保形预测校准代理与 oracle 的差距,解决代理差异规则不可靠问题,提升生成质量与缓存可靠性并保留速度质量权衡。

摘要:

尽管扩散模型和基于流的生成模型在高保真图像和视频合成中取得了令人印象深刻的性能,但这种能力是以迭代采样期间的大量推理开销为代价的。基于缓存的加速通过在相邻去噪或传输步骤之间重用中间计算来缓解这种成本,通常依赖于轻量级代理差异来决定何时应刷新缓存输出。然而,这种代理差异规则本质上是不可靠的:代理只是无法访问的 oracle 差异的点估计,可能会在不同提示、时间步和生成动态之间出现不一致。这种不匹配会导致不对称故障:代理低估可能导致不安全地重用陈旧的缓存计算并降低生成质量,而代理高估则导致过于保守的刷新并降低加速效果。为了解决这些问题,本文介绍了 Conformal Cache(简称 CCache),这是一种用于可靠的基于缓存的生成加速的无训练保形校准框架。我们的关键见解是将缓存重用表述为单侧风险控制问题,并基于拆分保形预测自适应地校准有符号代理到 oracle 差距的时间步相关的上修正。CCache 即插即用,可与不同的代理差异缓存基线集成,无需对生成模型进行结构修改或参数更新。在图像和视频生成上的大量实验表明,CCache 在保持良好的速度质量权衡的同时,提高了生成质量和缓存可靠性。源代码可在该 https URL 中获取。

英文摘要:

While diffusion and flow-based generative models have achieved impressive performance in high-fidelity image and video synthesis, this capability comes at the cost of substantial inference overhead during iterative sampling. Cache-based acceleration alleviates this cost by reusing intermediate computations across adjacent denoising or transport steps, typically relying on lightweight proxy discrepancies to decide when cached outputs should be refreshed. However, such proxy-discrepancy rules are inherently unreliable: the proxy is only a point estimate of the inaccessible oracle discrepancy and can misalign across prompts, timesteps, and generation dynamics. This mismatch induces asymmetric failures: proxy underestimation may cause unsafe reuse of stale cached computations and degrade generation quality, while proxy overestimation leads to overly conservative refreshes and reduced acceleration. To address these issues, this paper introduces Conformal Cache, dubbed CCache, a training-free conformal calibration framework for reliable cache-based generation acceleration. Our key insight is to formulate cache reuse as a one-sided risk-control problem and adaptively calibrate a timestep-wise upper correction for the signed proxy-to-oracle gap based on split conformal prediction. CCache is plug-and-play and can be integrated with different proxy-discrepancy caching baselines without structural modifications or parameter updates to the generative model. Extensive experiments on image and video generation demonstrate that CCache improves generation quality and cache reliability while preserving favorable speed-quality trade-offs. The source code is available in this https URL.

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

↑