[论文解读] Latent-Shift: Latent Diffusion with Temporal Shift for Efficient Text-to-Video Generation
Latent-Shift 在一个预训练的文本到图像潜在扩散模型上进行微调,使用一个无参数的时间平移模块以实现高效的文本到视频生成,在减少参数且不增加额外时序模块的情况下取得具有竞争力的结果。
We propose Latent-Shift -- an efficient text-to-video generation method based on a pretrained text-to-image generation model that consists of an autoencoder and a U-Net diffusion model. Learning a video diffusion model in the latent space is much more efficient than in the pixel space. The latter is often limited to first generating a low-resolution video followed by a sequence of frame interpolation and super-resolution models, which makes the entire pipeline very complex and computationally expensive. To extend a U-Net from image generation to video generation, prior work proposes to add additional modules like 1D temporal convolution and/or temporal attention layers. In contrast, we propose a parameter-free temporal shift module that can leverage the spatial U-Net as is for video generation. We achieve this by shifting two portions of the feature map channels forward and backward along the temporal dimension. The shifted features of the current frame thus receive the features from the previous and the subsequent frames, enabling motion learning without additional parameters. We show that Latent-Shift achieves comparable or better results while being significantly more efficient. Moreover, Latent-Shift can generate images despite being finetuned for T2V generation.
研究动机与目标
- 将文本到图像潜在扩散模型(LDM)扩展为文本到视频(T2V)生成而不增加新的时间参数。
- 在 U-Net 中引入一个无参数的时间平移模块,以建模时间动态。
- 证明对 Latent-Shift 的微调也能执行文本到图像生成。
- 在 MSR-VTT 和 UCF-101 上展示效率与效果,包括一项用户研究。
提出的方法
- 使用一个预训练自编码器将帧编码到潜在空间,并在该潜在空间中对用于文本到图像的扩散模型进行训练。
- 在 2D ResNet 块的残差分支中合并一个时间平移模块,以在不增加新参数的情况下实现运动学习。
- 将三分之一的通道组在时间维度上向前移动、三分之一向后移动,序列末端进行零填充。
- 在 Transformer 块中应用跨注意力以实现文本条件化,并在采样期间使用分类器自由引导。
- 使用对编码帧序列的潜在视频扩散目标和类似 LDM 的文本条件去噪损失进行训练。
实验结果
研究问题
- RQ1一个无参数的时间平移模块是否能够在不增加时序卷积或注意力层的前提下实现对 T2V 的有效时间建模?
- RQ2Latent-Shift 与基于时间注意力的潜在视频扩散模型在质量和效率上有何差异?
- RQ3用时间平移对 T2I 模型进行微调是否会保留 T2I 能力并实现 T2V 生成?
- RQ4在标准基准上模型规模、速度和视频质量的权衡是什么?
主要发现
- Latent-Shift 在 MSR-VTT 上实现了与以往方法相当的零-shot T2V 结果。
- 它比基于时间注意力的潜在视频模型使用更少的参数,且运行更快,同时保持质量。
- 在 UCF-101 评测中,Latent-Shift 具有强大的 IS 和具有竞争力的 FVD,接近最先进的数值。
- 用户研究显示 Latent-Shift 在质量和保真度方面优于 CogVideo。
- Latent-Shift 在用于 T2V 的微调后仍保留了 T2I 生成能力。
- 无参数的时间平移使运动学习成为可能,无需额外的时序模块。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。