Skip to main content
QUICK REVIEW

[论文解读] Phenaki: Variable Length Video Generation From Open Domain Textual Description

Ruben Villegas, Mohammad Babaeizadeh|arXiv (Cornell University)|Oct 5, 2022
Generative Adversarial Networks and Image SynthesisComputer Science被引用 79
一句话总结

Phenaki 介绍了一个可变长度的视频生成模型,使用因果视频编码器和双向变换器从随时间变化的文本提示生成长视频;在图像-文本和视频-文本数据上训练,以提升泛化能力。

ABSTRACT

We present Phenaki, a model capable of realistic video synthesis, given a sequence of textual prompts. Generating videos from text is particularly challenging due to the computational cost, limited quantities of high quality text-video data and variable length of videos. To address these issues, we introduce a new model for learning video representation which compresses the video to a small representation of discrete tokens. This tokenizer uses causal attention in time, which allows it to work with variable-length videos. To generate video tokens from text we are using a bidirectional masked transformer conditioned on pre-computed text tokens. The generated video tokens are subsequently de-tokenized to create the actual video. To address data issues, we demonstrate how joint training on a large corpus of image-text pairs as well as a smaller number of video-text examples can result in generalization beyond what is available in the video datasets. Compared to the previous video generation methods, Phenaki can generate arbitrary long videos conditioned on a sequence of prompts (i.e. time variable text or a story) in open domain. To the best of our knowledge, this is the first time a paper studies generating videos from time variable prompts. In addition, compared to the per-frame baselines, the proposed video encoder-decoder computes fewer tokens per video but results in better spatio-temporal consistency.

研究动机与目标

  • 阐明基于开放领域提示序列进行长期、连贯视频生成的需求。
  • 提出一种紧凑的因果视频分词器(C-ViViT),以实现可变长度的视频编码。
  • 开发基于掩蔽双向变换器、以文本令牌为条件的文本到视频生成器。
  • 展示联合图像-文本与视频-文本训练在提升泛化能力方面的好处。
  • 展示如故事风格提示和有条件的视频推断等能力。

提出的方法

  • 引入 C-ViViT,作为一个因果自回归的视频编码器,在将视频压缩为离散令牌的同时实现可变长度输入。
  • 使用一个解码器,利用时序因果变换器和向量量化从时空令牌重构帧。
  • 使用双向变换器训练掩蔽视觉令牌建模(MVTM)目标,其在文本嵌入条件下预测视频令牌。
  • 用预计算的文本令牌(通过 T5X)对 MVTM 进行条件化,并在推理阶段应用无分类器引导。
  • 通过自回归地从过去生成的帧外推未来令牌来实现长时域生成。
  • 联合训练策略:将大规模图像-文本数据与较小的文本-视频数据混合,以在减少令牌数量的同时提高对齐度和多样性。

实验结果

研究问题

  • RQ1具备时间因果性的在线视频编码-解码器是否能够在随时间变化的提示条件下实现可变长度的视频生成?
  • RQ2在图像-文本和视频-文本数据上的联合训练是否能提升开放域视频生成质量和泛化能力?
  • RQ3掩蔽的双向变换器是否比自回归采样器更高效地生成连贯的长视频?
  • RQ4以故事式提示序列为条件的视频模型在产生时间上连贯的动力学方面表现如何?
  • RQ5使用动态提示序列(故事)对视频连贯性和风格有何影响?

主要发现

  • Phenaki 能基于开放域提示生成时间上连贯且多样化的视频。
  • 该模型能够生成较长的视频(数分钟),尽管训练时使用的是 1.4 秒的剪辑,通过因果编码器处理可变长度。
  • 在图像-文本与视频-文本数据上的联合训练,提升了概念覆盖和风格迁移(如铅笔画)等方面,相较于仅视频训练。
  • 掩蔽双向 MVTM 的采样在保持质量的同时,将采样步数比自回归方法减少一个数量级。
  • C-ViViT 对视频的编码令牌数量比逐帧方法少(少40%),实现更好的时空一致性。
  • Phenaki 支持时间变量提示,能够在生成的视频中实现动态叙事和场景切换。

阅读本论文

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

在 Nubint 中阅读本论文

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