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

Curated data improves latent video diffusion models

Andreas Blattmann, Tim Dockhorn, Sumith Kulal, Daniel Mendelevitch, Maciej Kilian, Dominik Lorenz and 6 more · arXiv · 2023-11-25

- **Problem** Video diffusion models are usually built by adding temporal layers to image models and finetuning them, but few studies test how data selection and training stage order affect the final model.
- **Method** Stable Video Diffusion keeps a simple latent video diffusion baseline fixed and trains it in three stages. It curates a large video set using cut detection, three captioners, and filters chosen from human preference votes.
- **Results** SVD-MV reached an LPIPS of 0.14, a PSNR of 16.83 and a CLIP-S of 0.89 on 50 GSO test objects.

## Why training recipes for video diffusion need a closer look

Video diffusion models are commonly built by inserting temporal layers into a pretrained image model and then finetuning, either partly or fully, on video data. Data selection has received little attention in this line of work, even though the training distribution is known to matter a great deal for generative image models. The study therefore fixes the architecture and training scheme of a simple latent video diffusion baseline and varies the data curation and the order of training stages.

Text-to-video is handled by conditioning the model directly on a text prompt, and the authors argue that the resulting model is a general motion prior that can later be finetuned for image-to-video and multi-view synthesis.

## Three training stages on one backbone

The first stage starts from Stable Diffusion 2.1, a text-to-image latent diffusion model, so that the spatial layers begin with a strong visual representation. Before any video is seen, the preconditioning is rewritten to the EDM framework, and the training noise is drawn from a log-normal distribution with Pmean = −1.2 and Pstd = 1. This adaptation runs for 31k iterations, and the first 1k of them freeze every parameter except the time-embedding layer, so the new preconditioning is absorbed without disturbing the internal features.

A further 30k iterations then train all layers at 256 × 384, which is the resolution used in the next stage.

The second stage inserts the temporal layers, which add 656M new parameters and bring the UNet to 1521M parameters. Training begins on 14 frames at 256 × 384 for 150k iterations with AdamW at a learning rate of 10−4 and a batch size of 1536. Text conditioning is dropped 15% of the time to enable classifier-free guidance, and the base model is conditioned on the frame rate and a motion score, which lets the amount of motion be varied at inference.

The third stage finetunes the base model on a high-quality set of about 1M samples at 576 × 1024 for 50k iterations at a batch size of 768 and a learning rate of 3 × 10−5. For this stage Pmean is set to 0.5 and Pstd to 1.4, and an exponential moving average of the weights with decay 0.9999 is kept. The authors study the importance of each regime separately, which is why each stage is described on its own and later evaluated against its absence.

## Building the Large Video Dataset

A cut detection pipeline runs in a cascade at three FPS levels so that cuts and fades do not leak into the clips used for synthesis. The pipeline yields about 4× more clips than the cuts recorded in the metadata, which indicates that many raw clips contain cuts the metadata does not show.

Each clip receives three captions: CoCa annotates the mid-frame, V-BLIP gives a video-based caption, and an LLM-based summary combines the first two. The resulting Large Video Dataset (LVD) is described as 580M annotated clip pairs covering 212 years of content. Table 1 gives the clip count for LVD as 577M, so the text (580M) and the table (577M) differ for the same dataset.

Dense optical flow is computed at 2 FPS, and clips whose average flow magnitude falls below a threshold are removed as near-static. Optical character recognition removes clips with large amounts of written text, and CLIP embeddings of the first, middle and last frames yield aesthetics scores and text-image similarities. Filtering reduces the set to LVD-F and LVD-10M-F, which keep 152M and 2.3M clips, and the table places them beside WebVid and InternVid.

## Which filters human preference keeps

Because no off-the-shelf video representation was judged reliable enough to filter the data, the authors use human preferences as the signal for choosing a pretraining set. For each annotation type, a randomly sampled 9.8M-clip subset, LVD-10M, is cut by removing the bottom 12.5, 25 and 50% of examples. Synthetic captions cannot be thresholded this way, so the three captioning methods are instead ranked with Elo rankings.

Every model shares the same training hyperparameters, runs for 40k steps on 8-frame videos at 256 × 256, and sees roughly 10M training examples. Preference votes come from 64 pre-selected prompts, with about three votes per task, and models are ranked within each class of annotation. CoCa captions had the most beneficial influence on the trained model, which is the ranking result for captions.

Since recent work recommends more than one caption per training example, the captions are sampled with probabilities of 0.5 for CoCa, 0.25 for V-BLIP and 0.25 for the LLM summary.

For motion, the 25% most static examples are removed, even though the unfiltered variant ranked higher on prompt following; the authors keep the 25% threshold because it stays competitive on both prompt following and quality. For aesthetics the lowest 25% are removed, for CLIP-score the threshold drops only 50%, and for text area the 25% with the largest text coverage are removed.

These filters reduce LVD by more than a factor of 3, and a curated subset of LVD-10M with the chosen threshold is preferred over the uncurated LVD-10M.

## Image pretraining before video pretraining

Two otherwise identical video models are trained on a 10M subset of LVD, one with pretrained spatial weights and one with randomly initialized spatial weights. In a human preference study the image-pretrained model is preferred on both quality and prompt following. Because the only difference between the two models is the spatial initialization, the comparison isolates the effect of Stage I.

## Image-to-video, camera LoRAs and interpolation

For image-to-video, the text embeddings are replaced by the CLIP image embedding of the conditioning frame. A noise-augmented copy of the conditioning frame is encoded and concatenated channel-wise to the UNet input, copied across the time axis, with the noise level drawn from a normal distribution with mean −3.0 and standard deviation 0.52.

Two versions are trained, one generating 14 frames and one generating 25 frames, with the noise distribution shifted toward higher noise.

Standard classifier-free guidance produced artifacts: too little guidance loses consistency with the conditioning frame and too much oversaturates the output. The guidance scale is therefore ramped linearly across the frame axis, from small values to high ones, and a PyTorch implementation is given.

Human voters preferred the authors' model for visual quality.

Camera motion LoRAs are trained inside the temporal attention blocks on three subsets labelled horizontally moving, zooming and static. Each LoRA uses low-rank matrices of rank 16 trained for 5k iterations.

It predicts three frames between the two conditioning frames, which raises the frame rate by four, and about 10k iterations were enough to obtain a good model. The authors read the fast convergence as further evidence that the base model has learned a useful motion representation.

## Multi-view generation from a video prior

The image-to-video SVD model is finetuned on two multi-view datasets, a subset of Objaverse with 150K curated synthetic objects and MVImgNet. Each Objaverse object is rendered as 21-frame 360-degree orbital videos under random HDRI environments with elevations between −5 and 30 degrees, and the input elevation is given to the model as conditioning.

MVImgNet contributes about 200K training videos and 900 test videos, and its models are not conditioned on pose.

SVD-MV is compared with SD2.1-MV, which starts from the image prior, and with Scratch-MV, which is trained from random initialization. The authors also compare against Zero123, Zero123XL and SyncDreamer, and measure PSNR, LPIPS and CLIP-S on 50 GSO test objects. All models are trained for 12k steps (∼16 hours) with 8 80GB A100 GPUs, a total batch size of 16 and a learning rate of 1e-5.

SVD-MV reaches an LPIPS of 0.14, a PSNR of 16.83 and a CLIP-S of 0.89 on the GSO test set. The image-prior variant SD2.1-MV reaches 0.18, 15.06 and 0.83, and the no-prior variant Scratch-MV reaches 0.22, 14.20 and 0.76. SyncDreamer reaches 0.18, 15.29 and 0.88 and Zero123XL 0.20, 14.51 and 0.87, so SVD-MV is lower on LPIPS and higher on PSNR and CLIP-S than these baselines.

After only 1k finetuning iterations, SVD-MV already has higher CLIP-S and PSNR than its image-prior and no-prior counterparts. The authors note that about 12k iterations are enough for a good model, and they contrast this with SyncDreamer, which they report was trained for four days on Objaverse.

Figure 8 and Figure 10 show qualitative multi-view frames for a GSO and an MVImgNet test object, which the authors describe as multi-view consistent and realistic.

## Zero-shot UCF101 FVD set-up

The zero-shot evaluation generates 13,320 videos of 16 frames with classifier-free guidance scale 7, using the same distribution of action categories as UCF101. The model is conditioned directly on the action category name, and no text modification is applied. Features come from a pretrained I3D action classification model, and FVD is computed on these features.

## Limitations

The approach is aimed at short video generation, and the authors state that generating multiple keyframes at once is expensive in both training and inference. For long video synthesis they suggest a cascade of very coarse frame generation or dedicated tokenizers for video.

The curation comparisons use 8-frame models at 256 × 256 trained for 40k steps and judged on 64 prompts with about three votes per comparison, so the filtering conclusions come from this small setting. The multi-view metrics cover 50 GSO test objects, while the MVImgNet results are shown only as qualitative samples. The authors also flag misinformation and other harms as concerns that need investigation before real-world deployment.

## Paper info

- **Authors**: Andreas Blattmann, Tim Dockhorn, Sumith Kulal, Daniel Mendelevitch, Maciej Kilian, Dominik Lorenz, Yam Levi, Zion English, Vikram Voleti, Adam Letts, Varun Jampani, Robin Rombach
- **Venue**: arXiv · Preprint
- **First published**: 2023-11-25
- **Added**: 2026-11-12
- **Updated**: 2023-11-25
- **Version**: v1
- **arXiv**: 2311.15127
- **Category**: cs.CV
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/2311.15127v1) · [PDF ↗](https://arxiv.org/pdf/2311.15127v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Andreas Blattmann, Tim Dockhorn, Sumith Kulal, Daniel Mendelevitch, Maciej Kilian, Dominik Lorenz, Yam Levi, Zion English, Vikram Voleti, Adam Letts, Varun Jampani, Robin Rombach (2023). Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasets. arXiv:2311.15127v1. https://arxiv.org/abs/2311.15127v1

**BibTeX**

```
@misc{blattmann2023stable,
  title = {{Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasets}},
  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},
  year = {2023},
  eprint = {2311.15127},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.15127v1}
}
```

## Other paper commentary

- [Ensemble Adversarial Training: Attacks and Defenses](https://refivu.com/en/papers/c363c126-7d65-4e0a-aa01-0b7a02e39200-ensemble-adversarial-training-attacks-and-defenses.md)
- [Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learning](https://refivu.com/en/papers/e553048e-8e0b-413a-97b2-7c98f997c30c-virtual-adversarial-training-a-regularization-method-for.md)
- [Conditional Image Synthesis With Auxiliary Classifier GANs](https://refivu.com/en/papers/cbb27823-75f1-4fb6-b4c8-dcc645b1f162-conditional-image-synthesis-with-auxiliary-classifier-gans.md)
- [StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networks](https://refivu.com/en/papers/5f81473c-85d8-4d1a-acd2-1cc917ea3535-stackgan-text-to-photo-realistic-image-synthesis-with.md)
- [Boosting Adversarial Attacks with Momentum](https://refivu.com/en/papers/b89dce42-c994-4509-9776-b934fb9a9d13-boosting-adversarial-attacks-with-momentum.md)
- [InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Nets](https://refivu.com/en/papers/9891b5b5-2ddd-42e7-a5df-4b7e02d593dc-infogan-interpretable-representation-learning-by-information.md)
- [The Curious Case of Neural Text Degeneration](https://refivu.com/en/papers/71a193c3-9d38-4eb3-b0de-39d943c746b0-the-curious-case-of-neural-text-degeneration.md)
- [Methods for Interpreting and Understanding Deep Neural Networks](https://refivu.com/en/papers/beae0f88-5d82-43a5-a727-e94025cff266-methods-for-interpreting-and-understanding-deep-neural.md)
- [VMamba: Visual State Space Model](https://refivu.com/en/papers/4032560e-3e65-4a0f-b564-34cb12bd1c92-vmamba-visual-state-space-model.md)
- [Learning Multi-Domain Convolutional Neural Networks for Visual Tracking](https://refivu.com/en/papers/5b8779fe-6230-4bef-9d38-11634c64c64a-learning-multi-domain-convolutional-neural-networks-for.md)
- [Towards Federated Learning at Scale: System Design](https://refivu.com/en/papers/5a416c7f-9637-4efb-9bcc-4ff43e95b3bd-towards-federated-learning-at-scale-system-design.md)
- [A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT](https://refivu.com/en/papers/188edd2a-83fb-45cc-adcf-4ddabef4e43b-a-prompt-pattern-catalog-to-enhance-prompt-engineering.md)

## Terms in this paper

- [LPIPS](https://refivu.com/en/terms/21dda2beca88-lpips)
- [classifier-free guidance](https://refivu.com/en/terms/7f72cec70f8e-classifier-free-guidance)
- [FVD](https://refivu.com/en/terms/b873bc23a16f-fvd)
- [image-to-video](https://refivu.com/en/terms/9136db8b3561-image-to-video)
- [Stable Video Diffusion](https://refivu.com/en/terms/6e3b97d29065-stable-video-diffusion)
- [text-to-video](https://refivu.com/en/terms/4c4cb0d80769-text-to-video)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/82291bd9-5c41-4b81-bfde-a025a948f4b9-stable-video-diffusion-scaling-latent-video-diffusion-models)
