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

LAMP:学习一种运动模式用于基于少样本的视频生成

LAMP: Learn A Motion Pattern for Few-Shot-Based Video Generation

MEGVII Technology(旷视科技);Nankai University(南开大学)

Ruiqi Wu, Liangyu Chen, Tong Yang, Chunle Guo, Chongyi Li, Xiangyu Zhang

AI总结:

LAMP是一个少样本调优框架,利用8~16个视频在单GPU上让文本到图像扩散模型学习特定运动模式,通过首帧条件化流程和时空运动学习层提升视频生成质量与自由度,并支持图像动画和视频编辑。

摘要:

随着基于扩散的文本到图像生成的显著进展,将这种强大的生成能力扩展到文本到视频引起了广泛关注。现有方法要么需要大规模文本-视频对和大量训练资源,要么学习与模板视频精确对齐的运动。在视频生成中,平衡生成自由度与资源成本之间的权衡并非易事。在我们的研究中,我们提出了一种基于少样本的调优框架LAMP,该框架使文本到图像的扩散模型能够在单个GPU上使用8~16个视频学习一种特定的运动模式。具体而言,我们设计了一个首帧条件化流程,使用现成的文本到图像模型进行内容生成,从而使我们调优的视频扩散模型主要专注于运动学习。发展成熟的文本到图像技术可以提供视觉上令人愉悦且多样化的内容作为生成条件,这大大提高了视频质量和生成自由度。为了捕捉时间维度的特征,我们将预训练的T2I模型的2D卷积层扩展为我们的新型时空运动学习层,并将注意力块修改到时间级别。此外,我们开发了一种有效的推理技巧,即共享噪声采样,它可以在计算成本下提高视频的稳定性。我们的方法还可以灵活地应用于其他任务,例如真实世界图像动画和视频编辑。大量实验表明,LAMP可以在有限数据上有效学习运动模式并生成高质量视频。代码和模型可在https://rq-wu.github.io/projects/LAMP获取。

英文摘要:

With the impressive progress in diffusion-based text-to-image generation, extending such powerful generative ability to text-to-video raises enormous attention. Existing methods either require large-scale text-video pairs and a large number of training resources or learn motions that are precisely aligned with template videos. It is non-trivial to balance a trade-off between the degree of generation freedom and the resource costs for video generation. In our study, we present a few-shot-based tuning framework, LAMP, which enables text-to-image diffusion model Learn A specific Motion Pattern with 8~16 videos on a single GPU. Specifically, we design a first-frame-conditioned pipeline that uses an off-the-shelf text-to-image model for content generation so that our tuned video diffusion model mainly focuses on motion learning. The well-developed text-to-image techniques can provide visually pleasing and diverse content as generation conditions, which highly improves video quality and generation freedom. To capture the features of temporal dimension, we expand the pretrained 2D convolution layers of the T2I model to our novel temporal-spatial motion learning layers and modify the attention blocks to the temporal level. Additionally, we develop an effective inference trick, shared-noise sampling, which can improve the stability of videos with computational costs. Our method can also be flexibly applied to other tasks, e.g. real-world image animation and video editing. Extensive experiments demonstrate that LAMP can effectively learn the motion pattern on limited data and generate high-quality videos. The code and models are available at https://rq-wu.github.io/projects/LAMP.

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

↑