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

模型揭示应缓存的内容:视频扩散模型中基于特征剖析的特征复用

Model Reveals What to Cache: Profiling-Based Feature Reuse for Video Diffusion Models

Hong Kong University of Science and Technology(香港科技大学);Everlyn AI;University of Central Florida(佛罗里达中央大学)

Xuran Ma, Yexin Liu, Yaofu Liu, Xianfeng Wu, Mingzhe Zheng, Zihao Wang, Ser-Nam Lim, Harry Yang

AI总结:

针对视频扩散模型计算量大的问题,提出ProfilingDiT自适应缓存策略,通过区分前后景模块实现选择性缓存,在保证视觉质量的同时实现显著加速。

摘要:

扩散模型的最新进展已展现出卓越的视频生成能力,但其计算强度仍是实际应用面临的重大挑战。尽管已有研究提出特征缓存以减轻扩散模型的计算负担,但现有方法通常忽略了各模块重要性的异质性,导致复用效果不佳、输出质量下降。针对这一空白,我们提出了ProfilingDiT——一种全新的自适应缓存策略,可明确区分侧重前景与侧重背景的模块。通过系统分析扩散模型中的注意力分布,我们得到关键发现:1)大多数层对前景或背景区域存在一致的偏好;2)预测噪声在初始阶段步间相似度较低,随着去噪过程推进逐渐趋于稳定。受此启发,我们设计了选择性缓存策略:对动态前景元素保留完整计算,同时高效缓存静态背景特征。该方法在保持视觉保真度的同时大幅降低了计算开销。大量实验表明,我们的框架实现了显著加速(例如Wan2.1上可达2.01倍加速),且在各项综合质量指标上均能保持视觉保真度,为高效视频生成提供了可行方案。

英文摘要:

Recent advances in diffusion models have demonstrated remarkable capabilities in video generation. However, the computational intensity remains a significant challenge for practical applications. While feature caching has been proposed to reduce the computational burden of diffusion models, existing methods typically overlook the heterogeneous significance of individual blocks, resulting in suboptimal reuse and degraded output quality. To this end, we address this gap by introducing ProfilingDiT, a novel adaptive caching strategy that explicitly disentangles foreground and background-focused blocks. Through a systematic analysis of attention distributions in diffusion models, we reveal a key observation: 1) Most layers exhibit a consistent preference for either foreground or background regions. 2) Predicted noise shows low inter-step similarity initially, which stabilizes as denoising progresses. This finding inspires us to formulate a selective caching strategy that preserves full computation for dynamic foreground elements while efficiently caching static background features. Our approach substantially reduces computational overhead while preserving visual fidelity. Extensive experiments demonstrate that our framework achieves significant acceleration (e.g., 2.01 times speedup for Wan2.1) while maintaining visual fidelity across comprehensive quality metrics, establishing a viable method for efficient video generation.

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

↑