arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.18375cs.CVeess.IV
收藏

个体内容与运动动态保持的视频扩散模型剪枝

Individual Content and Motion Dynamics Preserved Pruning for Video Diffusion Models

The University of Hong Kong(香港大学);University of Newcastle(新castle大学);Westlake University(西湖大学)

Yiming Wu, Zhenghao Chen, Huan Wang, Dong Xu

AI总结:

针对视频扩散模型计算成本高、推理慢的问题,提出基于个体内容与运动动态保持的剪枝方法VDMini,并设计ICMD一致性损失,在T2V和I2V任务上实现最高2.5倍加速且保持生成质量。

摘要:

高计算成本和缓慢的推理时间是部署视频扩散模型(VDMs)的主要障碍。为了克服这一问题,我们提出了一种新的视频扩散模型压缩方法,采用个体内容与运动动态保持的剪枝和一致性损失。首先,我们通过实验观察到,较深的VDM层对于维持运动动态的质量(例如,整个视频的连贯性)至关重要,而较浅的层则更关注个体内容(例如,单个帧)。因此,我们从较浅的层中剪除冗余块,同时保留更多的深层,从而得到一个轻量级的VDM变体,称为VDMini。此外,我们提出了一种个体内容与运动动态(ICMD)一致性损失,以使VDMini获得与较大VDM相当的生成了性能。具体来说,我们首先使用个体内容蒸馏(ICD)损失来保持教师和学生模型之间每个生成帧特征的的一致性。接下来,我们引入了一种多帧内容对抗(MCA)损失,以增强整个生成视频的运动动态。该方法显著加速了推理时间,同时保持了高质量的视频生成。大量实验证明了我们的VDMini在两个重要的视频生成任务上的有效性:文本到视频(T2V)和图像到视频(I2V),在这些任务中,我们分别实现了I2V方法SF-V、T2V方法T2V-Turbo-v2和T2V方法HunyuanVideo平均2.5倍、1.4倍和1.25倍的加速,同时在包括UCF101、VBench-T2V和VBench-I2V在内的多个基准上保持了生成视频的质量。

英文摘要:

The high computational cost and slow inference time are major obstacles to deploying Video Diffusion Models (VDMs). To overcome this, we introduce a new Video Diffusion Model Compression approach using individual content and motion dynamics preserved pruning and consistency loss. First, we empirically observe that deeper VDM layers are crucial for maintaining the quality of \textbf{motion dynamics} (\textit{e.g.,} coherence of the entire video), while shallower layers are more focused on \textbf{individual content} (\textit{e.g.,} individual frames). Therefore, we prune redundant blocks from the shallower layers while preserving more of the deeper layers, resulting in a lightweight VDM variant called VDMini. Moreover, we propose an \textbf{Individual Content and Motion Dynamics (ICMD)} Consistency Loss to gain comparable generation performance as larger VDM to VDMini. In particular, we first use the Individual Content Distillation (ICD) Loss to preserve the consistency in the features of each generated frame between the teacher and student models. Next, we introduce a Multi-frame Content Adversarial (MCA) Loss to enhance the motion dynamics across the generated video as a whole. This method significantly accelerates inference time while maintaining high-quality video generation. Extensive experiments demonstrate the effectiveness of our VDMini on two important video generation tasks, Text-to-Video (T2V) and Image-to-Video (I2V), where we respectively achieve an average 2.5 $\times$, 1.4 $\times$, and 1.25 $\times$ speed up for the I2V method SF-V, the T2V method T2V-Turbo-v2, and the T2V method HunyuanVideo, while maintaining the quality of the generated videos on several benchmarks including UCF101, VBench-T2V, and VBench-I2V.

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

↑