Diffusion models have revolutionized image generation, but can they do the same for video? In this paper, researchers from Google Research present Video Diffusion Models (VDM), the first major extension of the Gaussian diffusion framework into the realm of video. By rethinking architecture and sampling strategies, they achieve state-of-the-art results in video prediction and unconditional generation, while providing a first look at large-scale text-to-video synthesis.
TL;DR
The authors extend image diffusion models to video using a factorized 3D U-Net architecture that processes space and time separately. They introduce "reconstruction-guided sampling" to ensure temporal coherence during video extension and demonstrate that training jointly on both images and videos significantly boosts sample quality.
What Problem Does This Paper Address?
Generating high-fidelity, temporally coherent video is significantly harder than generating static images. Beyond the massive increase in data dimensionality, a model must maintain "logical" consistency across time—objects shouldn't spontaneously morph or disappear between frames.
While GANs and VAEs have been the workhorses of video generation, they often suffer from training instability or blurry outputs. Diffusion models offer a promising alternative due to their training stability and high sample diversity, but applying them to video requires solving two major hurdles:
- Architectural Efficiency: How do you fit a high-resolution video into the memory of a deep learning accelerator?
- Temporal Extension: How do you generate long sequences when the model is only trained on short clips?
Methods
The core of the paper is a 3D U-Net architecture that is "factorized" over space and time. Instead of using computationally expensive 3D convolutions, the authors modify a standard 2D U-Net:
- Space-only Convolutions: Every 3x3 convolution is turned into a 1x3x3 convolution (it only "sees" the spatial dimensions of a single frame).
- Temporal Attention: After each spatial attention block, they insert a temporal attention block that performs attention across the frame axis.
Crucially, this architecture allows for joint image-video training. By masking the temporal attention, the model can treat individual images as single-frame videos. This allows the model to learn spatial features from vast image datasets while learning motion from video.
To generate long videos, they use an autoregressive approach. However, standard "replacement" methods (where you fix the first few frames and denoise the rest) often lead to "seams" or lack of coherence. To fix this, they propose reconstruction-guided sampling. This adds a gradient-based guidance term during the sampling process that ensures the model's internal reconstruction of the conditioning frames matches the ground truth, leading to much smoother transitions.
Key Insights and Ideas
- Factorization is a "Free Lunch": Separating spatial and temporal processing makes the model memory-efficient enough to train on modern hardware without sacrificing the ability to learn complex motion.
- Images are Regularizers for Video: The authors found that including independent images in the training batch reduces the variance of gradients. Essentially, learning what a "car" looks like from millions of images makes it much easier to learn how a "car moves" from a smaller set of videos.
- Guidance is Essential for Coherence: Just as "classifier-free guidance" is used to make image diffusion models follow prompts more strictly, "reconstruction guidance" is the secret sauce for making generated frames "stick" to the previous ones.
Key Results
The model achieved massive leaps over previous state-of-the-art (SOTA) methods on standard benchmarks:
- UCF101: Achieved an FVD (Fréchet Video Distance) of 295, a staggering improvement over the previous SOTA of ~3400 (lower is better).
- Kinetics-600: Reached an FVD of 16.2, outperforming previous GAN-based and Transformer-based models.
- Text-to-Video: The paper showcases the first high-quality results for text-conditioned video generation, producing temporally consistent clips from prompts like "Aerial view of horses on a pasture."
Limitations and Future Work
Despite the impressive results, some hurdles remain:
- Sampling Speed: Like all diffusion models, VDM requires hundreds of network passes to generate a single sample, making it much slower than GANs.
- Memory Constraints: The models were primarily trained on 16-frame clips. While autoregressive extension works, it is computationally expensive to scale to very long, high-resolution movies.
- Data Bias: The authors explicitly note that their text-to-video models inherit the biases of their large-scale training data, which requires careful auditing before any public release.
The authors suggest that future work will involve progressive distillation to speed up sampling and exploring even larger image-only datasets to further refine spatial quality.
Summary updated