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

SenCache: 通过敏感性感知缓存加速扩散模型推理

SenCache: Accelerating Diffusion Model Inference via Sensitivity-Aware Caching

École Polytechnique Fédérale de Lausanne (EPFL)(瑞士联邦理工学院(EPFL))

Yasaman Haghighi, Alexandre Alahi

AI总结:

SenCache通过敏感性感知缓存策略,提升扩散模型推理效率与视觉质量。

摘要:

扩散模型在视频生成质量上达到最先进的水平,但其推理过程仍然昂贵,因为需要大量的顺序去噪步骤。这促使了大量研究致力于加速扩散推理。在无训练加速方法中,缓存通过在不同时间步重用之前计算的模型输出来减少计算量。现有的缓存方法依赖于启发式标准来选择缓存/重用的时间步,并需要大量的调优。我们通过一个原理性的敏感性感知缓存框架来解决这一限制。具体来说,我们通过分析模型输出对去噪输入扰动的敏感性(即噪声潜在表示和时间步)来形式化缓存误差,并证明这种敏感性是缓存误差的关键预测因子。基于这一分析,我们提出了敏感性感知缓存(SenCache),一种动态缓存策略,能够在每个样本的基础上自适应地选择缓存时间步。我们的框架为自适应缓存提供了理论基础,解释了为何先前的实证启发法可以部分有效,并将其扩展为一种动态、样本特定的方法。在Wan 2.1、CogVideoX和LTX-Video上的实验表明,SenCache在相似的计算预算下比现有缓存方法实现了更好的视觉质量。

英文摘要:

Diffusion models achieve state-of-the-art video generation quality, but their inference remains expensive due to the large number of sequential denoising steps. This has motivated a growing line of research on accelerating diffusion inference. Among training-free acceleration methods, caching reduces computation by reusing previously computed model outputs across timesteps. Existing caching methods rely on heuristic criteria to choose cache/reuse timesteps and require extensive tuning. We address this limitation with a principled sensitivity-aware caching framework. Specifically, we formalize the caching error through an analysis of the model output sensitivity to perturbations in the denoising inputs, i.e., the noisy latent and the timestep, and show that this sensitivity is a key predictor of caching error. Based on this analysis, we propose Sensitivity-Aware Caching (SenCache), a dynamic caching policy that adaptively selects caching timesteps on a per-sample basis. Our framework provides a theoretical basis for adaptive caching, explains why prior empirical heuristics can be partially effective, and extends them to a dynamic, sample-specific approach. Experiments on Wan 2.1, CogVideoX, and LTX-Video show that SenCache achieves better visual quality than existing caching methods under similar computational budgets.

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

↑