Skip to main content
QUICK REVIEW

[论文解读] Latte: Latent Diffusion Transformer for Video Generation

Xin Ma, Yaohui Wang|arXiv (Cornell University)|Jan 5, 2024
Generative Adversarial Networks and Image SynthesisComputer Science被引用 11
一句话总结

Latte 引入基于 Transformer 的潜在扩散模型用于视频生成,提出四种高效变体和最佳实践,在多个基准上达到最先进结果并扩展到文本到视频生成。

ABSTRACT

We propose Latte, a novel Latent Diffusion Transformer for video generation. Latte first extracts spatio-temporal tokens from input videos and then adopts a series of Transformer blocks to model video distribution in the latent space. In order to model a substantial number of tokens extracted from videos, four efficient variants are introduced from the perspective of decomposing the spatial and temporal dimensions of input videos. To improve the quality of generated videos, we determine the best practices of Latte through rigorous experimental analysis, including video clip patch embedding, model variants, timestep-class information injection, temporal positional embedding, and learning strategies. Our comprehensive evaluation demonstrates that Latte achieves state-of-the-art performance across four standard video generation datasets, i.e., FaceForensics, SkyTimelapse, UCF101, and Taichi-HD. In addition, we extend Latte to the text-to-video generation (T2V) task, where Latte achieves results that are competitive with recent T2V models. We strongly believe that Latte provides valuable insights for future research on incorporating Transformers into diffusion models for video generation.

研究动机与目标

  • 推动利用扩散模型提升高质量、具有时间一致性的视频生成的动机。
  • 探索在视频中使用 Transformer 主干网来实现潜在扩散,以处理高维的时空数据。
  • 确定在 Transformer 的视频扩散中使用的最佳实践设计选择(嵌入、注意力、位置编码、学习策略)。
  • 在多个标准视频生成数据集上展示最先进的性能,并扩展到文本到视频任务。

提出的方法

  • 用预训练的 VAE 将视频编码到潜在空间;在潜在空间中用基于 Transformer 的去噪器对潜在视频分布建模。
  • 提出四种模型变体,能够有效分解与融合空间和时间信息。
  • 进行广泛的消融实验,针对补丁嵌入、时间步/类别注入、时序位置嵌入以及学习策略,以识别最佳实践。
  • 使用潜在扩散目标,结合简单的 L2 损失和带有 Transformer 去噪器的变分下界(L_vlb)。
  • 从预训练的扩散 Transformer 初始化,进行令牌数量和类别条件的适配;可选地进行图像-视频联合训练以提高质量。
  • 通过利用预训练的空间 Transformer 并在高分辨率视频数据集上训练,将 Latte 扩展到文本到视频。

实验结果

研究问题

  • RQ1Can Transformer-based latent diffusion models produce photorealistic, temporally coherent videos?
  • RQ2Which architectural variants and best practices yield the best video generation quality when using latent diffusion with a Transformer backbone?
  • RQ3Do patch embedding strategies, timestep/class information, and temporal positional embeddings significantly impact video quality and coherence?
  • RQ4Is Latte competitive with state-of-the-art on standard benchmarks and extendable to text-to-video tasks?

主要发现

  • Latte 在 FaceForensics、SkyTimelapse、UCF101 和 Taichi-HD 数据集上实现了最先进的 FVD、FID 和 IS。
  • 视频-图像联合训练(“Latte-IMG”)在 FID 和 FVD 上对比基线有显著提升。
  • 在模型变体中,变体1通常提供最佳性能;更轻量的变体4 降低 FLOPs 但效果不足。
  • 均匀帧补丁嵌入在时序信号保持方面优于压缩帧补丁嵌入。
  • 通过可扩展自适应层归一化(S-AdaLN)注入的时间步-类别信息优于基于令牌的注入。
  • 时序绝对位置编码在消融中略优于基于 RoPE 的方法。
  • 在 ImageNet 上的预训练有助于早期收敛,但可能难以在专业视频数据上维持收益;图像-视频联合训练持续改进结果。
  • 采用优化实践的 Latte 变体在文本到视频任务上与领先的 T2V 模型相竞争。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。