arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.00976cs.CV
收藏

PreciseCache: 用于高效且高保真的视频生成的精确特征缓存

PreciseCache: Precise Feature Caching for Efficient and High-fidelity Video Generation

MMLab, CUHK(香港中文大学MMLab);Tsinghua University(清华大学);Tongyi Lab, Alibaba(阿里巴巴通义实验室)

Jiangshan Wang, Kang Zhao, Jiayi Guo, Jiayu Wang, Hang Guo, Chenyang Zhu, Xiu Li, Xiangyu Yue

AI总结:

PreciseCache通过精确检测和跳过冗余计算,实现视频生成的高效且高质量推理。

摘要:

高计算成本和缓慢的推理过程阻碍了视频生成模型的实际应用。尽管先前的工作通过特征缓存来加速生成过程,但它们往往会导致显著的质量下降。在本工作中,我们发现这一问题源于它们无法区分真正冗余的特征,这导致了对重要特征的意外跳过。为了解决这个问题,我们提出了PreciseCache,这是一个即插即用的框架,能够精确检测并跳过真正冗余的计算,从而在不牺牲质量的情况下加速推理。具体而言,PreciseCache包含两个组件:LFCache用于逐步缓存和BlockCache用于块级缓存。对于LFCache,我们计算当前步骤预测特征与前一步缓存特征之间的低频差异(LFD)。实证研究表明,LFD是衡量逐步冗余的有效指标,能够准确检测出高度冗余的步骤,通过重用缓存特征跳过这些步骤的计算。为了进一步加速每个未跳过的步骤内的生成,我们提出了BlockCache,它能够精确检测并跳过网络内的块级冗余计算。在各种主干网络上的广泛实验验证了我们PreciseCache的有效性,例如在Wan2.1-14B上实现了平均2.6倍的加速,而没有明显的质量损失。

英文摘要:

High computational costs and slow inference hinder the practical application of video generation models. While prior works accelerate the generation process through feature caching, they often suffer from notable quality degradation. In this work, we reveal that this issue arises from their inability to distinguish truly redundant features, which leads to the unintended skipping of computations on important features. To address this, we propose \textbf{PreciseCache}, a plug-and-play framework that precisely detects and skips truly redundant computations, thereby accelerating inference without sacrificing quality. Specifically, PreciseCache contains two components: LFCache for step-wise caching and BlockCache for block-wise caching. For LFCache, we compute the Low-Frequency Difference (LFD) between the prediction features of the current step and those from the previous cached step. Empirically, we observe that LFD serves as an effective measure of step-wise redundancy, accurately detecting highly redundant steps whose computation can be skipped through reusing cached features. To further accelerate generation within each non-skipped step, we propose BlockCache, which precisely detects and skips redundant computations at the block level within the network. Extensive experiments on various backbones demonstrate the effectiveness of our PreciseCache, such as achieving an average of $2.6\times$ speedup on Wan2.1-14B without noticeable quality loss.

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

↑