arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.04634cs.CVcs.AI
收藏

Pix2Gif: 面向GIF生成的运动引导扩散模型

Pix2Gif: Motion-Guided Diffusion for GIF Generation

Microsoft Research(微软研究院)

Hitesh Kandala, Jianfeng Gao, Jianwei Yang

AI总结:

本研究提出运动引导扩散模型Pix2Gif,通过运动引导变形模块和感知损失实现文本与运动幅度提示引导的图像转GIF,在零样本场景下验证了有效性。

摘要:

我们提出了Pix2Gif,一种用于图像到GIF(视频)生成的运动引导扩散模型。我们采用不同的思路解决该问题:将该任务构建为由文本和运动幅度提示引导的图像翻译问题,如预告图所示。为确保模型遵循运动引导,我们提出了一种新型运动引导变形模块,可基于两类提示对源图像的特征进行空间变换。此外,我们引入了感知损失,以确保变换后的特征图与目标图像处于同一空间,保证内容一致性与连贯性。在模型训练准备阶段,我们从TGIF视频字幕数据集中精心提取连贯的图像帧来整理数据,该数据集提供了主体时间变化的丰富信息。预训练后,我们以零样本方式将模型应用于多个视频数据集。大量定性与定量实验证明了我们模型的有效性——它不仅能捕捉文本的语义提示,还能捕捉运动引导的空间提示。我们使用单节点16块V100 GPU训练所有模型。代码、数据集与模型已在https://hiteshk03.github.io/Pix2Gif/ 公开。

英文摘要:

We present Pix2Gif, a motion-guided diffusion model for image-to-GIF (video) generation. We tackle this problem differently by formulating the task as an image translation problem steered by text and motion magnitude prompts, as shown in teaser fig. To ensure that the model adheres to motion guidance, we propose a new motion-guided warping module to spatially transform the features of the source image conditioned on the two types of prompts. Furthermore, we introduce a perceptual loss to ensure the transformed feature map remains within the same space as the target image, ensuring content consistency and coherence. In preparation for the model training, we meticulously curated data by extracting coherent image frames from the TGIF video-caption dataset, which provides rich information about the temporal changes of subjects. After pretraining, we apply our model in a zero-shot manner to a number of video datasets. Extensive qualitative and quantitative experiments demonstrate the effectiveness of our model -- it not only captures the semantic prompt from text but also the spatial ones from motion guidance. We train all our models using a single node of 16xV100 GPUs. Code, dataset and models are made public at: https://hiteshk03.github.io/Pix2Gif/.

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

↑