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

Magic 1-For-1:在一分钟内生成一分钟视频片段

Magic 1-For-1: Generating One Minute Video Clips within One Minute

Hongwei Yi, Shitong Shao, Tian Ye, Jiantong Zhao, Qingyu Yin, Michael Lingelbach, Li Yuan, Yonghong Tian, Enze Xie, Daquan Zhou

AI总结:

本文提出高效视频生成模型 Magic141,通过任务分解、多模态条件注入、对抗式步数蒸馏和参数稀疏化,实现一分钟内生成一分钟高质量视频。

摘要:

在本技术报告中,我们提出了 Magic 1-For-1(Magic141),这是一个具有优化内存消耗和推理延迟的高效视频生成模型。其核心思想很简单:将文生视频生成任务分解为两个更简单的独立任务,用于扩散步数蒸馏,即文生图生成和图生视频生成。我们验证了,在采用相同优化算法的情况下,图生视频任务确实比文生视频任务更容易收敛。我们还探索了一系列优化技巧,从三个方面降低训练图生视频(I2V)模型的计算成本:1)通过使用多模态先验条件注入来加快模型收敛速度;2)通过应用对抗式步数蒸馏来加快推理延迟;3)通过参数稀疏化来优化推理内存成本。借助这些技术,我们能够在3秒内生成5秒的视频片段。通过应用测试时滑动窗口,我们能够在一分钟内生成一分钟长的视频,并且视觉质量和运动动态得到显著改善,平均生成1秒视频片段耗时不到1秒。我们开展了一系列初步探索,以找出扩散步数蒸馏过程中计算成本与视频质量之间的最佳权衡,并希望这能成为开源探索的良好基础模型。代码和模型权重可在 https://github.com/DA-Group-PKU/Magic-1-For-1 获取。

英文摘要:

In this technical report, we present Magic 1-For-1 (Magic141), an efficient video generation model with optimized memory consumption and inference latency. The key idea is simple: factorize the text-to-video generation task into two separate easier tasks for diffusion step distillation, namely text-to-image generation and image-to-video generation. We verify that with the same optimization algorithm, the image-to-video task is indeed easier to converge over the text-to-video task. We also explore a bag of optimization tricks to reduce the computational cost of training the image-to-video (I2V) models from three aspects: 1) model convergence speedup by using a multi-modal prior condition injection; 2) inference latency speed up by applying an adversarial step distillation, and 3) inference memory cost optimization with parameter sparsification. With those techniques, we are able to generate 5-second video clips within 3 seconds. By applying a test time sliding window, we are able to generate a minute-long video within one minute with significantly improved visual quality and motion dynamics, spending less than 1 second for generating 1 second video clips on average. We conduct a series of preliminary explorations to find out the optimal tradeoff between computational cost and video quality during diffusion step distillation and hope this could be a good foundation model for open-source explorations. The code and the model weights are available at https://github.com/DA-Group-PKU/Magic-1-For-1.

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

↑