All research
arXiv 2021

GODIVA

Generating Open-DomaIn Videos from nAtural Descriptions

Chenfei Wu*, Lun Huang*, Qianxi Zhang, Binyang Li, Lei Ji, Fan Yang, Guillermo Sapiro, Nan Duan
*Equal contribution. Work done at Microsoft Research Asia.
TL;DR

One of the first open-domain text-to-video models. GODIVA generates VQ-VAE video tokens autoregressively, using a 3D sparse attention that factorizes over rows, columns, and time to make large-scale pretraining affordable.

Abstract

Generating videos from text is a challenging task due to its high computational requirements for training and infinite possible answers for evaluation. Existing works typically experiment on simple or small datasets, where the generalization ability is quite limited. In this work, we propose GODIVA, an open-domain text-to-video pretrained model that can generate videos from text in an auto-regressive manner using a three-dimensional sparse attention mechanism. We pretrain our model on HowTo100M, a large-scale text-video dataset that contains more than 136 million text-video pairs. Experiments show that GODIVA not only can be fine-tuned on downstream video generation tasks, but also has a good zero-shot capability on unseen texts. We also propose a new metric called Relative Matching (RM) to automatically evaluate the video generation quality. Several challenges are listed and discussed as future work.

3D Sparse Attention

Row, column and temporal sparse attention

Each new visual token attends along its row, its column, and the temporal axis, rather than to every previous token.

GODIVA architecture

Architecture. Text is embedded and VQ-VAE-encoded frames are flattened into a token sequence. Stacked temporal, row, and column attention layers predict the next video tokens, which the VQ-VAE decoder turns back into frames.

Highlights

136M text-video pairs
Pretrained at scale on HowTo100M for open-domain generation.
Efficient attention
Factorized 3D sparse attention keeps long video token sequences tractable.
Relative Matching
A new automatic metric for text-to-video generation quality.

BibTeX

@article{wu2021godiva,
  title   = {GODIVA: Generating Open-DomaIn Videos from nAtural Descriptions},
  author  = {Wu, Chenfei and Huang, Lun and Zhang, Qianxi and Li, Binyang and Ji, Lei and Yang, Fan and Sapiro, Guillermo and Duan, Nan},
  journal = {arXiv preprint arXiv:2104.14806},
  year    = {2021}
}