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

EasyAnimate:基于混合窗口注意力和奖励反向传播的高性能视频生成框架

EasyAnimate: High-Performance Video Generation Framework with Hybrid Windows Attention and Reward Backpropagation

Alibaba Cloud(阿里云)

Jiaqi Xu, Kunzhe Huang, Xinyi Zou, Yunkuo Chen, Bo Liu, MengLi Cheng, Jun Huang, Xing Shi

AI总结:

EasyAnimate通过混合窗口注意力和奖励反向传播提升视频生成效率与质量,实现高性能视频生成。

摘要:

本文介绍了EasyAnimate,一种高效的高质量视频生成框架,利用扩散变换器实现高质量的视频生产,涵盖数据处理、模型训练和端到端推理。尽管视频扩散模型已取得显著进展,但现有视频生成模型仍然存在生成速度慢和视频质量不理想的缺点。为提高训练和推理效率而不牺牲性能,我们提出了混合窗口注意力。我们在混合窗口注意力中设计了多向滑动窗口注意力,相比 naive one,它在三维维度上具有更强的接受能力,同时随着视频序列长度的增加,减少了模型的计算复杂性。为了提高视频生成质量,我们通过奖励反向传播优化EasyAnimate,以更好地符合人类偏好。作为一种后训练方法,它极大地提高了模型的性能,同时确保了效率。除了上述改进外,EasyAnimate还集成了一系列进一步的优化,显著提高了计算效率和模型性能。我们介绍了一种新的训练策略,称为基于标记长度的训练,以解决不同分辨率和长度的视频训练中GPU利用率不均的问题,从而提高效率。此外,我们使用多模态大语言模型作为文本编码器,以提高模型的文本理解能力。实验表明,上述改进带来了显著的提升。EasyAnimate在VBench排行榜和人类评估中均取得了最先进的性能。代码和预训练模型可在https://github.com/aigc-apps/EasyAnimate上获得。

英文摘要:

This paper introduces EasyAnimate, an efficient and high quality video generation framework that leverages diffusion transformers to achieve high-quality video production, encompassing data processing, model training, and end-to-end inference. Despite substantial advancements achieved by video diffusion models, existing video generation models still struggles with slow generation speeds and less-than-ideal video quality. To improve training and inference efficiency without compromising performance, we propose Hybrid Window Attention. We design the multidirectional sliding window attention in Hybrid Window Attention, which provides stronger receptive capabilities in 3D dimensions compared to naive one, while reducing the model's computational complexity as the video sequence length increases. To enhance video generation quality, we optimize EasyAnimate using reward backpropagation to better align with human preferences. As a post-training method, it greatly enhances the model's performance while ensuring efficiency. In addition to the aforementioned improvements, EasyAnimate integrates a series of further refinements that significantly improve both computational efficiency and model performance. We introduce a new training strategy called Training with Token Length to resolve uneven GPU utilization in training videos of varying resolutions and lengths, thereby enhancing efficiency. Additionally, we use a multimodal large language model as the text encoder to improve text comprehension of the model. Experiments demonstrate significant enhancements resulting from the above improvements. The EasyAnimate achieves state-of-the-art performance on both the VBench leaderboard and human evaluation. Code and pre-trained models are available at https://github.com/aigc-apps/EasyAnimate.

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

↑