arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.06617cs.CV
收藏

Mobius:一种用于文本到视频生成任务的高效时空并行训练范式

Mobius: A High Efficient Spatial-Temporal Parallel Training Paradigm for Text-to-Video Generation Task

Aerospace Information Research Institute, Chinese Academy of Sciences(中国科学院空天信息创新研究院);Tencent, Wechat BG(腾讯微信事业群)

Yiran Yang, Jinchao Zhang, Ying Deng, Jie Zhou

AI总结:

针对文本到视频生成任务中传统串行3D-Unet训练成本高的问题,提出高效时空并行训练范式Mobius,通过将时间层与空间层并行优化特征流,节省24%显存和12%训练时间。

摘要:

受文本到图像(T2I)生成任务成功的启发,许多研究人员正致力于文本到视频(T2V)生成任务。大多数 T2V 框架通常继承自 T2I 模型,并添加额外的时间层进行训练以生成动态视频,这可以被视为一个微调任务。然而,传统的 3D-Unet 是一种串行模式,时间层跟随在空间层之后,根据其串行的特征流,这将导致较高的 GPU 内存和训练时间消耗。我们认为,随着大型扩散模型和海量数据集的出现,这种串行模式将带来更多的训练成本,这不利于环保,也不适合 T2V 的发展。因此,我们提出了一种用于 T2V 任务的高效时空并行训练范式,命名为 Mobius。在我们的 3D-Unet 中,时间层和空间层是并行的,这优化了特征流和反向传播。Mobius 将节省 24% 的 GPU 内存和 12% 的训练时间,这可以极大地改善 T2V 微调任务,并为 AIGC 社区提供新的见解。我们未来将发布我们的代码。

英文摘要:

Inspired by the success of the text-to-image (T2I) generation task, many researchers are devoting themselves to the text-to-video (T2V) generation task. Most of the T2V frameworks usually inherit from the T2I model and add extra-temporal layers of training to generate dynamic videos, which can be viewed as a fine-tuning task. However, the traditional 3D-Unet is a serial mode and the temporal layers follow the spatial layers, which will result in high GPU memory and training time consumption according to its serial feature flow. We believe that this serial mode will bring more training costs with the large diffusion model and massive datasets, which are not environmentally friendly and not suitable for the development of the T2V. Therefore, we propose a highly efficient spatial-temporal parallel training paradigm for T2V tasks, named Mobius. In our 3D-Unet, the temporal layers and spatial layers are parallel, which optimizes the feature flow and backpropagation. The Mobius will save 24% GPU memory and 12% training time, which can greatly improve the T2V fine-tuning task and provide a novel insight for the AIGC community. We will release our codes in the future.

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

↑