Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasets

Andreas Blattmann, Tim Dockhorn, Sumith Kulal, Daniel Mendelevitch, Maciej Kilian, Dominik Lorenz, Yam Levi, Zion English, Vikram Voleti, Adam Letts, Varun Jampani, Robin RombacharXiv 2023

Abstract

We present Stable Video Diffusion - a latent video diffusion model for high-resolution, state-of-the-art text-to-video and image-to-video generation. Recently, latent diffusion models trained for 2D image synthesis have been turned into generative video models by inserting temporal layers and finetuning them on small, high-quality video datasets. However, training methods in the literature vary widely, and the field has yet to agree on a unified strategy for curating video data. In this paper, we identify and evaluate three different stages for successful training of video LDMs: text-to-image pretraining, video pretraining, and high-quality video finetuning. Furthermore, we demonstrate the necessity of a well-curated pretraining dataset for generating high-quality videos and present a systematic curation process to train a strong base model, including captioning and filtering strategies. We then explore the impact of finetuning our base model on high-quality data and train a text-to-video model that is competitive with closed-source video generation. We also show that our base model provides a powerful motion representation for downstream tasks such as image-to-video generation and adaptability to camera motion-specific LoRA modules. Finally, we demonstrate that our model provides a strong multi-view 3D-prior and can serve as a base to finetune a multi-view diffusion model that jointly generates multiple views of objects in a feedforward fashion, outperforming image-based methods at a fraction of their compute budget.

Introduction

While generative image models have reached incredible heights, video generation has historically lagged behind due to a lack of unified training strategies and high-quality datasets. Raw video data is often structurally "noisy," containing sudden cuts, static scenes, and text overlays that degrade model performance. Stable Video Diffusion (SVD) addresses these challenges by defining a clear recipe for scaling video models, emphasizing that the quality of data curation is as critical as the scale of the architecture.

A high-quality generation of a rabbit in a purple robe, demonstrating SVD's capability for detailed character rendering.

Methodology: The Three-Stage Training Pipeline

The authors propose a systematic three-stage training regime to build a robust video model:

  1. Image Pretraining: The process begins with a strong 2D foundation using Stable Diffusion 2.1, equipping the model with a robust visual representation of the world.
  2. Video Pretraining: The model is trained on the Large Video Dataset (LVD), a massive curated collection, to learn the fundamental "physics" of motion at lower resolutions.
  3. High-Quality Video Finetuning: The model is refined on a smaller, extremely high-quality dataset at higher resolutions (e.g., 576 × 1024).

Data Curation and Filtering

To build the LVD, the researchers developed a sophisticated filtering workflow. This included Cascaded Cut Detection to identify complex transitions, Synthetic Captioning using a mix of CoCa and V-BLIP for accurate descriptions, and Optical Flow Filtering to remove static scenes that would otherwise hinder the model's understanding of motion.

Video Models as 3D Priors

A key insight of this research is that a model trained for temporal consistency naturally develops a strong understanding of 3D space. By finetuning SVD on multi-view data from sources like Objaverse, the team created SVD-MV. This model can jointly generate multiple views of an object in a feedforward fashion, providing superior view consistency compared to specialized image-based 3D methods while requiring significantly less compute.

Multi-view generation of a block castle, showcasing the model's inherent 3D spatial reasoning.

Key Results and Performance

Stable Video Diffusion achieves state-of-the-art performance, recording a Frechet Video Distance (FVD) of 242.02 on the UCF-101 benchmark. In head-to-head human evaluations, SVD's image-to-video outputs were preferred over popular closed-source models like Gen-2 and PikaLabs. The researchers also introduced Guidance Ramping, a technique that linearly increases classifier-free guidance across the frame axis to maintain consistency with the initial conditioning frame.

Conclusion and Future Work

SVD demonstrates that the benefits of a well-curated pretraining dataset persist even after high-quality finetuning. While the model excels at short video generation (14 to 25 frames), future work will address the challenges of long-form video generation, complex high-speed dynamics, and the high VRAM requirements currently necessary for inference.

Summary updated

BibTeX
@misc{blattmann2023stable,
  author = {Andreas Blattmann and Tim Dockhorn and Sumith Kulal and Daniel Mendelevitch and Maciej Kilian and Dominik Lorenz and Yam Levi and Zion English and Vikram Voleti and Adam Letts and Varun Jampani and Robin Rombach},
  title = {{Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasets}},
  year = {2023},
  eprint = {2311.15127},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.15127},
}
Figure