Phenaki: Variable Length Video Generation From Open Domain Textual Description
TL;DR Summary
Phenaki is a model designed for generating variable-length videos from text prompts. It introduces a novel video representation method using causal attention and a bidirectional masked transformer, overcoming challenges of computational cost and data scarcity while improving temp
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.
Mind Map
In-depth Reading
English Analysis
1. Bibliographic Information
1.1. Title
Phenaki: Variable Length Video Generation From Open Domain Textual Description
The title clearly states the paper's core contributions: a model named "Phenaki" that can generate videos of varying lengths based on free-form text descriptions.
1.2. Authors
Ruben Villegas, Mohammad Babaeizadeh, Pieter-Jan Kindermans, Hernan Moraldo, Han Zhang, Mohammad Taghi Saffar, Dumitru Erhan (all from Google Brain), Santiago Castro (University of Michigan), and Julius Kunze (University College London).
The author list is predominantly from Google Brain, a leading industrial research lab in artificial intelligence. This indicates that the research is well-resourced and positioned at the forefront of large-scale generative modeling.
1.3. Journal/Conference
The paper was published on arXiv, a preprint server. This means it is a preliminary version of the research shared with the scientific community before or during peer review for a formal conference or journal. arXiv is a standard platform for rapid dissemination of results in fields like machine learning.
1.4. Publication Year
The paper was submitted to arXiv on October 5, 2022.
1.5. Abstract
The abstract introduces Phenaki, a model for generating realistic videos from a sequence of text prompts. It identifies key challenges in text-to-video synthesis: high computational cost, a shortage of high-quality text-video data, and the need to handle videos of variable lengths. To overcome these, the authors propose a novel video tokenizer that compresses videos into discrete tokens using causal attention over time, enabling it to work with variable-length inputs. Video generation is handled by a bidirectional masked transformer that converts text tokens into video tokens. The authors highlight a key strategy: jointly training the model on a massive corpus of image-text pairs and a smaller set of video-text pairs, which allows the model to generalize concepts learned from images to video generation. The paper claims two major advancements: Phenaki is the first model to generate arbitrarily long videos from a time-varying sequence of prompts (a "story"), and its video encoder-decoder is more efficient and produces better spatio-temporal consistency than per-frame baselines.
1.6. Original Source Link
- Original Source Link: https://arxiv.org/abs/2210.02399
- PDF Link: https://arxiv.org/pdf/2210.02399v1.pdf
- Publication Status: This is a preprint and has not been published in a peer-reviewed journal or conference at the time of this analysis.
2. Executive Summary
2.1. Background & Motivation
-
Core Problem: The paper addresses the complex task of generating high-quality, temporally coherent videos of variable lengths from open-domain textual descriptions. A significant extension of this problem is generating a single continuous video that evolves according to a sequence of prompts, akin to a visual story.
-
Existing Challenges:
- Data Scarcity: While massive text-image datasets with billions of examples exist (e.g., LAION-5B), high-quality text-video datasets are significantly smaller (e.g., WebVid with ~10 million videos). This data gap limits the conceptual diversity and quality of video generation models.
- Computational Cost: Videos are sequences of images, making them incredibly high-dimensional. Training generative models on raw video data is computationally prohibitive, and even generating tokens for long videos can overwhelm existing transformer models.
- Variable Length and Temporal Coherence: Previous models often treated videos as a sequence of independent frames or were restricted to generating fixed-length clips. This leads to poor temporal consistency (flickering, disjointed motion) and lacks the flexibility to generate videos of arbitrary length.
- Single-Prompt Limitation: Most text-to-video models are designed to interpret a single, static prompt for an entire clip. They lack the capability to dynamically alter the video's content based on a changing narrative or a sequence of prompts.
-
Paper's Innovative Idea: The authors' central idea is to tackle these challenges with a new, highly efficient video representation and a flexible generation process. They propose
C-ViViT, a causal video tokenizer that compresses video frames while respecting the arrow of time, allowing it to handle variable lengths naturally. They then introduce a training paradigm that leverages the vast knowledge in image-text datasets to enrich the video generation process. Finally, they design an auto-regressive generation scheme at the clip level, enabling the model to produce long videos that follow a "story" composed of multiple, sequential prompts.
2.2. Main Contributions / Findings
The paper makes several key contributions to the field of generative AI:
-
Phenaki Model: A novel text-to-video generation system capable of producing diverse, temporally coherent videos of variable lengths (up to several minutes) from open-domain text.
-
Time-Variable Text Conditioning (Storytelling): To the best of the authors' knowledge, this is the first work to demonstrate video generation from a sequence of changing text prompts. This allows for creating dynamic visual narratives where the scene evolves according to a story. The example in Figure 1, where a teddy bear seamlessly morphs into a panda as the prompt changes, showcases this unique capability.
-
Causal Video Tokenizer (
C-ViViT): A new video encoder-decoder architecture that is causal in the time dimension. Unlike previous methods, it processes videos auto-regressively, making it inherently suitable for variable-length inputs and outputs. It also achieves better compression and superior spatio-temporal consistency compared to per-frame tokenization methods. -
Effective Joint Training on Image and Video Data: The paper demonstrates a successful strategy for training on a combination of large image-text datasets and smaller video-text datasets. This allows the model to learn a wide range of visual concepts and styles from static images (e.g., "pencil drawing") and apply them to dynamic video generation, overcoming the data limitations of video-only training.
3. Prerequisite Knowledge & Related Work
3.1. Foundational Concepts
-
Transformer: A neural network architecture that relies on a mechanism called
self-attentionto weigh the importance of different parts of the input sequence. Unlike recurrent neural networks (RNNs) that process data sequentially, transformers can process the entire sequence at once, making them highly parallelizable and effective for modeling long-range dependencies. The core formula forself-attentionis: $ \mathrm{Attention}(Q, K, V) = \mathrm{softmax}\left(\frac{QK^T}{\sqrt{d_k}}\right)V $- (Query), (Key), and (Value) are matrices derived from the input embeddings. The attention mechanism computes a score between each query and all keys, scales it, applies a
softmaxto get weights, and then uses these weights to compute a weighted sum of the values. This allows a model to focus on the most relevant parts of the input when producing an output.
- (Query), (Key), and (Value) are matrices derived from the input embeddings. The attention mechanism computes a score between each query and all keys, scales it, applies a
-
Vector Quantization (VQ): A technique used to compress data by mapping continuous or high-dimensional vectors to a finite set of "codewords" in a dictionary or "codebook." In generative models like VQ-VAE or VQ-GAN, an encoder maps an image or video patch to a continuous vector, which is then replaced by the nearest vector from a learned codebook. This process discretizes the latent space, turning the visual data into a sequence of discrete "tokens," similar to words in a sentence. This tokenization is crucial for using powerful sequence models like transformers for generation.
-
Auto-regressive Models: These are generative models that produce a sequence of data one step at a time, where each new output is conditioned on all the previously generated outputs. For example, when generating a sentence, the model predicts the next word based on the words it has already written. This sequential nature guarantees a coherent structure but can be slow during inference. Phenaki's
C-ViViTis auto-regressive in time, meaning each frame's representation depends on the previous frames. -
Bidirectional Masked Transformers: Inspired by models like BERT, these transformers are trained to predict missing (masked) parts of a sequence using context from both before and after the mask. During inference, this allows for a non-auto-regressive, parallel decoding process.
MaskGIT, used by Phenaki, starts with a fully masked sequence of tokens and iteratively fills them in over a fixed number of steps, making generation much faster than traditional auto-regressive models. -
Classifier-Free Guidance: A technique to improve the adherence of a generated sample to its conditioning signal (e.g., a text prompt). During training, the model is randomly trained with and without the text prompt. At inference, the model's output is guided by taking a weighted combination of the conditional and unconditional predictions. This "guides" the generation towards samples that are more strongly aligned with the prompt, often at the cost of some diversity.
3.2. Previous Works
-
Text-to-Image Models: The paper builds upon successes in text-to-image generation.
DALL-EandPartiare auto-regressive models that first tokenize an image using a VQ-VAE or VQ-GAN and then use a large transformer to generate these image tokens from text tokens.Imagenis a diffusion model that uses a frozen text encoder to guide an image generation process that starts from noise and gradually refines it.- Phenaki adopts the token-based approach from models like
Partibut adapts it for the video domain.
-
Text-to-Video Models:
GODIVA,NUWA, andCogVideoare prior transformer-based text-to-video models. The paper argues their main limitation is treating videos as a sequence of independent images, using per-frame image encoders (VQ-GAN). This approach struggles to model motion and temporal dynamics effectively and results in a very large number of tokens, making it computationally expensive for long videos.NUWA-Infinitytried to address variable-length generation but used a second layer of auto-regression, which can be complex.Video Diffusion Models (VDM)can generate high-quality videos but are typically limited to fixed lengths and have very slow sampling times, making long video generation impractical.
-
Video Representation Models:
ViViT(Video Vision Transformer) was a key inspiration forC-ViViT. However, the originalViViTused all-to-all attention in the time dimension, meaning every frame could see every other frame. This makes it inherently unsuitable for variable-length inputs or auto-regressive generation into the future.VideoVQVAEis a fixed-length video encoder, which is also not suitable for the goals of Phenaki.
3.3. Technological Evolution
The field of visual generation has evolved from generating static images to dynamic videos. Early work focused on GANs and VAEs for images. The advent of transformers and large-scale pre-training led to powerful text-to-image models. The next logical step was text-to-video. Early attempts often repurposed image models, leading to videos that looked like "moving images" with poor coherence. Recent work, including Phenaki, focuses on creating architectures that are fundamentally designed for video, treating space and time as intertwined dimensions. Phenaki sits at a point in this evolution where the focus is shifting from generating short, fixed-size clips to creating long, controllable, and narratively complex videos.
3.4. Differentiation Analysis
Phenaki's core innovations differentiate it from prior work in several ways:
- Architecture (
C-ViViTvs. Per-Frame Encoders): While models likeCogVideoandNUWAuse a standard image VQ-GAN on each frame independently, Phenaki'sC-ViViTuses spatio-temporal patches and causal temporal attention. This allows it to explicitly model motion and dependencies between frames, resulting in better temporal coherence and a more compressed token representation. - Flexibility (Variable vs. Fixed Length): The causal nature of
C-ViViTand the clip-level auto-regressive generation process allow Phenaki to generate videos of arbitrary length. This is a significant advantage over models likeGODIVAor the baseVDM, which are designed for fixed-size outputs. - Conditioning (Story vs. Single Prompt): Phenaki is the first model designed to handle a sequence of time-varying prompts. This moves beyond simple "text-to-clip" generation and opens the door to "text-to-story" generation, a much more expressive and creative task.
- Training Data (Joint vs. Video-Only): Phenaki explicitly formulates a strategy to combine large image-text datasets with smaller video-text datasets. This allows it to learn a vast vocabulary of visual concepts from images and transfer that knowledge to video, a crucial advantage given the relative scarcity of video data.
4. Methodology
The Phenaki model consists of three main components: a pre-trained text encoder, a novel video encoder-decoder (C-ViViT), and a bidirectional transformer for generation (MaskGIT).
The overall architecture is shown in Figure 2 from the original paper:
该图像是Phenaki架构的示意图,展示了C-ViViT编码器、训练变换器和视频生成模块的结构。其中,编码器通过空间和因果变换器生成视频令牌 ,训练变换器利用随机掩码重建掩码令牌,而视频生成模块则通过固定过去令牌生成未来令牌,支持基于时间变化的提示。图中包含了多个操作和令牌的状态。
4.1. C-ViViT: The Encoder-Decoder Video Model
The first major contribution is C-ViViT, a model designed to learn a compressed, discrete representation (tokens) of a video. Its key feature is being auto-regressive in time, which is what enables variable-length video processing.
4.1.1. Encoder Architecture
The goal of the encoder is to take a video sequence and compress it into a sequence of discrete tokens. The process is as follows:
-
Asymmetric Patching: The model treats the first frame differently from the rest.
- The first frame is divided into non-overlapping 2D image patches.
- The subsequent frames are grouped and divided into non-overlapping 3D spatio-temporal "tubelet" patches (e.g., pixels in time, height, width). This design choice is crucial because it allows an image to be processed just like the first frame of a video, enabling seamless joint training on both image and video datasets.
-
Linear Projection: Each patch is flattened into a vector and linearly projected into a -dimensional embedding space.
-
Spatial Transformer: A standard transformer with all-to-all
self-attentionis applied across the spatial dimensions for each time step. This allows the model to capture spatial relationships within each frame (or group of frames represented by the tubelets). -
Temporal Transformer: This is the core innovation. A transformer with causal attention is applied across the temporal dimension. This means that when computing the representation for a token at time , the model can only attend to tokens from time steps less than or equal to . This enforces a strict temporal order and makes the model auto-regressive, allowing it to encode videos of any length and extrapolate into the future.
-
Vector Quantization (VQ): The continuous output embeddings from the temporal transformer are quantized. Each embedding is replaced by the closest vector from a learned codebook . This produces the final sequence of discrete video tokens.
4.1.2. Quantization and Losses
To train C-ViViT, the paper uses a combination of losses to ensure high-quality reconstruction.
-
VQ Loss: The standard VQ-VAE loss is used to train the codebook and encourage the encoder outputs to be close to the codebook entries. The formula is: $ L_{VQ} = \lVert \mathbf{sg(z)} - \mathbf{e} \rVert_2^2 + \beta \lVert \mathbf{z} - sg(\mathbf{e}) \rVert_2^2 $
- is the continuous output of the encoder.
- is the closest codebook vector to .
- is the stop-gradient operator, which prevents gradients from flowing through its argument. The first term updates the codebook, and the second term (the commitment loss, weighted by ) encourages the encoder to produce outputs that commit to a codebook vector.
-
Total Loss: The full training objective for
C-ViViTis a weighted sum of multiple loss terms designed to improve perceptual quality: $ L = L_{VQ} + 0.1 \times L_{Adv} + 0.1 \times L_{IP} + 1.0 \times L_{VP} + 1.0 \times L_2 $- : An adversarial loss (using a StyleGAN discriminator) to make the reconstructed videos look more realistic.
- : An image perceptual loss, which measures distance in the feature space of a pre-trained network (like VGG or I3D) to better match human perception of image quality.
- : A video perceptual loss, using features from the I3D network to ensure the temporal dynamics are well-reconstructed.
- : A standard pixel-wise reconstruction loss (mean squared error).
4.1.3. Decoder Architecture
The decoder is simply the inverse of the encoder. It takes the quantized embeddings, passes them through a temporal transformer, then a spatial transformer, and finally a linear projection layer to reconstruct the video pixels.
4.2. Text-to-Video Generation with Bidirectional Transformers
Once C-ViViT is trained, it is frozen and used as a video tokenizer. The second stage is to train a transformer model to generate these video tokens from text.
4.2.1. Masked Bidirectional Transformer (MaskGIT)
Instead of an auto-regressive transformer that generates tokens one by one (which is slow), Phenaki uses a bidirectional transformer based on MaskGIT. This model is trained on a "mask and predict" task.
-
Training:
- A video is converted to a sequence of tokens by the
C-ViViTencoder. - A random portion of these tokens is replaced with a special
[MASK]token. - The
MaskGITmodel is trained to predict the original identity of the masked tokens, conditioned on the unmasked tokens and a text embedding (obtained from a pre-trained T5X model). The loss function is the cross-entropy loss over the masked tokens: $ L_{\mathrm{mask}} = - \sum_{\forall i \in [1, N], m_i = 1} \log p(a_i | \mathbf{a}_{\bar{M}}, \mathbf{p}) $
- indicates that token is masked.
- represents the set of unmasked tokens.
- is the text conditioning.
- A video is converted to a sequence of tokens by the
-
Inference: Generation is an iterative process that is much faster than auto-regressive decoding.
- Start with a sequence of all
[MASK]tokens. - In each step, the model predicts all masked tokens in parallel.
- The most confident predictions are kept (unmasked), and the rest are re-masked.
- This process is repeated for a small, fixed number of steps (e.g., 12 to 48), gradually revealing the full video token sequence.
- Start with a sequence of all
4.2.2. Auto-regressive Generation of Long Videos (Storytelling)
This is the mechanism that enables generating long videos and visual stories. It works auto-regressively at the clip level.
-
Generate First Clip: Given the first prompt,
MaskGITgenerates the tokens for the first video clip. These tokens are decoded byC-ViViTinto video frames. -
Extrapolate: To generate the next clip:
- Take the last few frames (e.g., ) of the just-generated clip.
- Encode these frames using the
C-ViViTencoder to get their corresponding video tokens. These tokens are now considered "known" or "past context." - Initialize the
MaskGITinference process with these known tokens at the beginning of the sequence and[MASK]tokens for the rest. - Provide the next text prompt (which can be the same or different).
- Run the iterative
MaskGITsampling to generate the tokens for the new frames.
-
Repeat: This process can be repeated indefinitely to generate arbitrarily long videos, with the prompt changing at the start of each new clip to tell a story. This is elegantly illustrated in the rightmost panel of Figure 2.
5. Experimental Setup
5.1. Datasets
-
Training Data: The model was trained on a large, mixed corpus of internal and public datasets.
- Video-Text Data: An internal dataset of
~15 milliontext-video pairs, captured at 8 FPS. - Image-Text Data: A combination of an internal dataset with
~50 milliontext-image pairs and the public LAION-400M dataset (~400 millionpairs). The paper explores different mixing ratios, with a typical setup being 80% video data and 20% image data.
- Video-Text Data: An internal dataset of
-
Evaluation Datasets:
- Kinetics-400 & Kinetics-600: Large-scale, high-quality datasets of human action videos from YouTube. Used for zero-shot text-to-video evaluation and video prediction.
- Moments-in-Time (MiT): A large dataset with over 1 million labeled videos focusing on events and actions. Used to evaluate the reconstruction quality of
C-ViViT. - BAIR Robot Pushing: A standard benchmark dataset for video prediction, containing videos of a robot arm pushing objects.
5.2. Evaluation Metrics
-
FID (Fréchet Inception Distance):
- Conceptual Definition: FID measures the similarity between two distributions of images, typically real images and generated images. It calculates the distance between the distributions of features extracted from a pre-trained InceptionV3 network. A lower FID score indicates that the generated images are more similar to the real images in terms of feature representation, suggesting higher quality and diversity.
- Mathematical Formula: $ \mathrm{FID}(x, g) = ||\mu_x - \mu_g||^2_2 + \mathrm{Tr}(\Sigma_x + \Sigma_g - 2(\Sigma_x\Sigma_g)^{1/2}) $
- Symbol Explanation:
- and are the mean vectors of the Inception features for the real and generated image distributions, respectively.
- and are the covariance matrices of the features.
- denotes the trace of a matrix.
-
FVD (Fréchet Video Distance):
- Conceptual Definition: FVD is the video-domain equivalent of FID. It measures the quality and temporal coherence of generated videos by comparing their feature distributions to those of real videos. The features are extracted from a pre-trained video classification model (I3D), which is sensitive to both appearance and motion. A lower FVD score indicates better video quality and more realistic dynamics.
- Mathematical Formula: The formula is identical in structure to FID, but the features are extracted from an I3D network instead of InceptionV3.
- Symbol Explanation: Same as FID, but and now refer to the statistics of I3D video features.
-
CLIP Score:
- Conceptual Definition: This metric evaluates how well a generated image or video aligns with its text prompt. It uses the pre-trained CLIP (Contrastive Language-Image Pre-Training) model, which can embed both images and text into a shared latent space. The CLIP score is the cosine similarity between the CLIP embedding of the generated visual content and the CLIP embedding of the text prompt. A higher score means better semantic alignment.
- Mathematical Formula: $ \text{CLIP Score} = \cos(\mathbf{v}, \mathbf{t}) = \frac{\mathbf{v} \cdot \mathbf{t}}{||\mathbf{v}|| \cdot ||\mathbf{t}||} $
- Symbol Explanation:
- is the feature vector of the generated image/video from the CLIP visual encoder.
- is the feature vector of the text prompt from the CLIP text encoder.
5.3. Baselines
- For Text-to-Video:
T2V,SC TFGAN,NUWA. These represent earlier methods in text-to-video synthesis. - For Video Reconstruction:
Convolutional VQ-GANandViT VQ-GAN. These are per-frame image-based tokenizers, serving as a direct comparison to show the benefits ofC-ViViT's spatio-temporal approach. - For Video Prediction: A wide range of state-of-the-art models including
Video Transformer,DVD-GAN,Transframer,Video Diffusion, andCogVideo.
6. Results & Analysis
6.1. Core Results Analysis
Phenaki's effectiveness is demonstrated across several tasks, with both quantitative and qualitative evidence.
6.1.1. Text-Conditional Video Generation
The following are the results from Table 1 of the original paper:
| Method | FID Image → | FID Video V |
|---|---|---|
| T2V [25] | 82.13 | 33.51 |
| SC TFGAN [5] | 14.65 | 7.34 |
| NUWA | 31.76 | 7.19 |
| Phenaki [0-Shot] | 28.46 | 7.05 |
Analysis: On the Kinetics-400 benchmark, Phenaki is evaluated in a zero-shot setting (it was not trained or fine-tuned on Kinetics). Despite this, it achieves a competitive FID score and a state-of-the-art FVD score compared to previous methods that were trained on this dataset. The significantly low FVD score (lower is better) is particularly important, as it confirms that Phenaki's architecture excels at generating videos with realistic and coherent motion.
Qualitative examples, like those in Figure 3, show the model's ability to generate videos for complex, compositional prompts like "a panda bear swimming, pencil drawing" or "an astronaut riding a horse in space."
该图像是插图,展示了基于文本生成的视频示例。每一行显示了根据给定提示生成的不同场景,内容包括可爱的熊猫、宇航员等,展示了模型在多种情境下的创造能力。
6.1.2. Importance of Joint Text-to-Image and Text-to-Video Training
The following are the results from Table 2 of the original paper:
| Data Split Vid% / Img% |
Text to Video | Text to Image | |||
|---|---|---|---|---|---|
| CLIP ↑ | FID ↓ | FVD ↓ | CLIP ↑ | FID ↓ | |
| 100% / 0% | 0.298 | 19.2 | 168.9 | 0.240 | 53.9 |
| 80% / 20% | 0.303 | 21.4 | 198.4 | 0.289 | 29.4 |
| 50% / 50% | 0.302 | 21.4 | 239.7 | 0.287 | 30.5 |
Analysis: This table reveals a crucial trade-off.
- Training on 100% video data yields the best
FVDscore (168.9), indicating the highest quality video dynamics. However, its text-image alignment (CLIP) and image generation quality (FID) are the worst. - As more image data is added (moving from 0% to 50%), the text alignment (
CLIPscore) and image quality (FIDon LAION) improve dramatically. This is because the image datasets are much larger and contain a wider variety of concepts. - However, this improvement comes at the cost of a worse
FVD, suggesting that learning from static images slightly degrades the model's ability to generate fluid motion. This experiment validates the authors' hypothesis that joint training is essential for learning diverse concepts, even if it introduces a trade-off with motion quality.
6.1.3. Visual Storytelling and Long Video Generation
The most novel capability of Phenaki is its ability to generate long videos from a sequence of prompts. Figure 1 and Figure 5 show compelling examples. In Figure 1, the model transitions from "A photorealistic teddy bear is swimming" to "A panda bear is swimming," smoothly morphing the subject while maintaining the background context. This demonstrates true temporal understanding and control, going far beyond what single-prompt models can achieve.
该图像是示意图,展示了一个变换的故事情节,其中玩具熊在水中游动,随着不同提示生成了不同的画面。第一行为提示"玩具熊在水下",逐渐转变为"熊猫在水中游泳",展现了平滑的视觉过渡和时序一致性。
6.1.4. Video Encoding (C-ViViT Performance)
The following are the results from Table 3 of the original paper:
| Method | FID ↓ | FVD ↓ | Number of Tokens ↓ |
|---|---|---|---|
| Conv VQ-GAN [12] | 7.5 | 306.1 | 2560 |
| Conv VQ-GAN + Video loss | 13.7 | 346.5 | 2560 |
| ViT VQ-GAN [58] | 3.4 | 166.6 | 2560 |
| ViT VQ-GAN + Video loss | 3.8 | 173.1 | 2560 |
| C-ViViT VQ-GAN (Ours) | 4.5 | 65.78 | 1536 |
Analysis: This table compares C-ViViT with per-frame image tokenizers on the task of video reconstruction.
- Temporal Coherence (
FVD):C-ViViTachieves a massively betterFVDscore (65.78) compared to the best per-frame baseline (166.6). This is direct evidence that its spatio-temporal architecture is far superior at modeling and reconstructing video dynamics. - Efficiency (
Number of Tokens):C-ViViTcompresses an 11-frame video into only 1536 tokens, a 40% reduction compared to the 2560 tokens required by per-frame methods for 10 frames. This makes the downstream generation task with theMaskGITtransformer significantly less computationally expensive. - Per-frame Quality (
FID): WhileC-ViViT'sFIDis slightly worse than the ViT VQ-GAN, the huge gain inFVDand token efficiency makes it a clear winner for the video domain.
6.1.5. Video Prediction
The following are the results from Table 4 (Kinetics-600) and Table 5 (BAIR) of the original paper:
| Method | FVD ↓ |
|---|---|
| Video Transformer [51] | 170.0 ± 5.00 |
| CogVideo [18] | 109.2 |
| DVD-GAN-FP [9] | 69.1 ± 0.78 |
| Video VQ-VAE [49] | 64.3 ± 2.04 |
| CCVS [28] | 55.0 ± 1.00 |
| TrIVD-GAN-FP [27] | 25.7 ± 0.66 |
| Transframer [31] | 25.4 |
| RaMViD [19] | 16.5 |
| Video Diffusion [17] | 16.2 ± 0.34 |
| Phenaki (Ours) | 36.4 ± 0.19 |
| Method | FVD↓ |
| DVD-GAN [9] | 109.8 |
| VideoGPT [55] | 103.3 |
| TrIVD-GAN [27] | 103.3 |
| Transframer [31] | 100.0 |
| HARP [57] | 99.3 |
| CCVS [28] | 99.0 |
| Video Transformer [51] | 94.0 |
| FitVid [3] | 93.6 |
| MCVD [47] | 89.5 |
| NUWA [54] | 86.9 |
| RaMViD [19] | 84.2 |
| Phenaki (Ours) | 97.0 |
Analysis: Even though Phenaki was not specifically designed for the standard video prediction task (generating future frames given past frames), it performs competitively against state-of-the-art specialized models on both Kinetics-600 and BAIR. This result serves as further validation that the video representations learned by C-ViViT are powerful and capture meaningful dynamics.
7. Conclusion & Reflections
7.1. Conclusion Summary
The paper introduces Phenaki, a groundbreaking text-to-video model that makes significant strides in generating long, variable-length videos from open-domain text. Its core contributions are twofold: the novel C-ViViT architecture, a causal video tokenizer that efficiently compresses video while preserving temporal coherence, and the demonstration of story-based video generation from a sequence of time-varying prompts. The authors also show that jointly training on massive image datasets and smaller video datasets is a highly effective strategy for improving the conceptual range of video generation. The model achieves strong performance across multiple benchmarks, including text-to-video synthesis and video prediction, establishing a new state of the art for flexible and controllable video generation.
7.2. Limitations & Future Work
- Data-Driven Trade-offs: The authors acknowledge the trade-off between conceptual diversity (gained from image data) and motion quality (
FVD). As larger and more diverse high-quality video-text datasets become available, this trade-off may be mitigated. - Video Quality: While a significant step forward, the generated videos are not yet consistently photorealistic and can sometimes contain artifacts, especially during complex transitions between prompts. The authors note that the quality is not yet "indistinguishable from real videos."
- Ethical Concerns: In the Ethics Statement, the authors discuss the potential for misuse, such as generating malicious fake content (deepfakes) and spreading misinformation. They also acknowledge that the model is trained on web-scale datasets like LAION-400M, which are known to contain biases, violence, and pornography. Due to these concerns, they made the responsible decision not to release the model, code, or demo publicly at the time of publication.
7.3. Personal Insights & Critique
- Architectural Elegance: The design of
C-ViViTis particularly insightful. Introducing causality in the time dimension is an elegant and effective solution to the long-standing problem of handling variable-length videos. The asymmetric patching to seamlessly integrate image and video data is also a clever design choice that directly addresses the data scarcity problem. - Paradigm Shift in Generation: The concept of "storytelling" with time-varying prompts is a significant paradigm shift. It moves the field beyond generating isolated clips towards creating dynamic, narrative-driven content. This opens up immense possibilities for creative applications in art, entertainment, and design, potentially serving as a powerful tool for visual artists and filmmakers.
- The Next Frontier: Phenaki's architecture is transformer-based. A potential future direction would be to combine its powerful video representation (
C-ViViT) with the high-fidelity generation capabilities of diffusion models. A diffusion model operating in the latent space defined byC-ViViTcould potentially achieve even higher visual quality while retaining the flexibility of variable-length generation. - Unverified Assumptions: While the results are impressive, the "morphing" effect between prompts might not always be the desired behavior. For stories with distinct scene changes, a hard cut might be more appropriate than a seamless transition. Future work could explore giving users more explicit control over the type of transition between prompts.
- Critique: The paper relies heavily on private, internal datasets, which makes direct reproduction of the results difficult for the broader research community. While understandable for an industrial lab, this is a common challenge in large-scale generative modeling research. Nonetheless, the architectural principles and findings are clearly articulated and provide valuable insights for the field.
Similar papers
Recommended via semantic vector search.