skip to content

Search

← From Frames to Worlds

Part II — Diffusion Learns to Move (2022–2023)

Latent Video Diffusion

Temporal layers bolted onto image LDMs, AnimateDiff, and Stable Video Diffusion's open weights.

2023 13 min read 3 papers

It is April 2023. Video diffusion models trained from scratch — the cascades and joint image-video objectives of the previous year — can produce a few seconds of motion, but every one of them pays for that motion by training a video-shaped model on video-scale compute from the first step. A team spanning NVIDIA, LMU Munich, and the University of Toronto asks a narrower question: Stable Diffusion already knows what a photograph looks like; can a model be taught what motion looks like without re-learning what an image looks like at all?

Where We Were

By early 2022, video diffusion had already proven the underlying generative mechanism could stretch from pixels to pixels-over-time. Video Diffusion Models, or VDM, extended the DDPM objective (Diffusion Foundations) to space-time volumes using factorized spatio-temporal attention and a joint image-video training objective, and later that year Make-A-Video and Imagen Video pushed the same family to text-conditioned generation via cascades of spatial and temporal super-resolution stages (Video Diffusion Models). Every one of these systems, however, trained its spatial and temporal parameters together, from the same random initialization, on video data — and video data suitable for training a generative model was two to three orders of magnitude scarcer than the billion-image web corpora that text-to-image diffusion had by then consumed. Imagen Video’s own reported scale, more than 11 billion parameters spread across its base model and cascade of super-resolution stages, reflected what that joint approach cost: a video-sized model trained end-to-end had to relearn visual fidelity itself before it could turn to the added problem of coherent motion.

A separate development, arriving in December 2021 and shipping as open weights that August, had already solved the “what does a photograph look like” problem about as well as it had ever been solved: Latent Diffusion Models, and the Stable Diffusion checkpoint trained on that recipe, compressed image generation into a small latent grid and let a single 860-million-parameter U-Net produce photorealistic images on a consumer GPU (Latent Diffusion and Stable Diffusion). By April 2023, Stable Diffusion had been public for eight months, fine-tuned into thousands of community checkpoints, and had become the default backbone for image generation research and products alike. The gap between the two lineages was obvious once stated plainly: video diffusion research kept re-learning visual fidelity that image diffusion had already solved, while nobody had yet asked whether a frozen, pretrained image LDM could be turned into a video generator by adding motion on top rather than training motion and appearance together.

From training motion and appearance together to bolting motion on Two years of image diffusion solve fidelity once; video diffusion keeps re-learning it until Video LDM freezes the image half. Grey monospace text is each entry's concrete number or scope. 2021-12 Latent Diffusion image fidelity solved in a compressed space SD's underlying recipe 2022-04 VDM, April 2022 spatial and temporal trained together, costly video scale compute cost 2022-08 Stable Diffusion public image LDM weights, open release 860M param U-Net 2022-09 Make-A-Video, etc cascaded video diffusion still trained end to end Sept 2022 onward 2023-04 Video LDM temporal layers on a frozen image LDM spatial weights frozen 2023-07 AnimateDiff portable motion module for any T2I checkpoint no extra tuning needed 2023-11 SVD, Nov 2023 open weights release image to video 1.5B params, 14-25 frames image side foundation trained end to end, costly the bolt-on breakthrough portable extension released for others to reuse Every entry after Video LDM reuses a frozen backbone rather than retraining one.
Everything before Video LDM keeps relearning visual fidelity that image diffusion had already solved; everything after it freezes that fidelity and reuses it. PNG ↓

The Breakthrough

Blattmann, Rombach, Ling, Dockhorn, Kim, Fidler, and Kreis’s “Align your Latents: High-Resolution Video Synthesis with Latent Diffusion Models,” or Video LDM (Blattmann et al., 2023), answered the question directly. The recipe starts from a pretrained image LDM — its perceptual autoencoder and its spatial U-Net, already trained to denoise individual frames — and inserts new temporal mixing layers between the existing spatial layers, initialized so that at the start of training they contribute nothing and the network behaves exactly like the original image model. Training then proceeds on encoded video sequences, but during that optimization the image backbone’s original parameters are held fixed and only the new temporal layers’ parameters are updated. The video model that results has, by construction, never forgotten how to render a photorealistic frame; it has only learned how successive frames should relate to one another.

That same frozen-backbone idea extended past the base generator to the pipeline around it. Video LDM trains a temporal alignment on its diffusion-based upsampler too, turning what was originally an image super-resolution model into a temporally consistent video super-resolution model — applying the same “freeze the spatial expert, add temporal layers” trick a second time, at a different stage of the pipeline, rather than training a separate video-native upsampler from scratch. On real driving-scene video the fine-tuned pipeline reached 512×1024 resolution; adapting the same recipe onto the public Stable Diffusion checkpoint, rather than a custom base model, produced a text-to-video generator running up to 1280×2048, output beyond what the video diffusion cascades of the prior year had reached at comparable training cost.

Freeze the image half, train only the new temporal half The spatial path never updates during video training; only the temporal layers and their blend weight learn anything new. Grey monospace text names the concrete detail from Video LDM's own description. Pretrained image LDM frozen, denoises stills Stable Diffusion checkpoint Spatial layers weights held fixed never updated Temporal layers new, trainable only init as a no-op Learned blend alpha per layer, learned alpha equals 1 at start Temporal upsampler aligned super resolution freeze plus add, again High resolution video 512x1024 driving scenes up to 1280x2048 on SD frozen, inherited from the image model new, trained on video only the learned combination The same freeze-and-add trick is applied twice: once to the base generator, once to its upsampler.
The freeze-and-add trick runs twice, once on the base generator and once on its upsampler, so every gradient step on scarce video data buys motion, never fidelity the image model already had. PNG ↓

Three months later, Guo, Yang, Rao, Liang, Wang, Qiao, Agrawala, Lin, and Dai’s “AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific Tuning” (Guo et al., 2023) took the frozen-backbone principle one step further: rather than fine-tune temporal layers onto one specific checkpoint, train a single motion module once, on a generic text-to-image base, and let it plug into any personalized checkpoint fine-tuned from that same base without any further training at all. The motion module is a temporal Transformer — a stack of self-attention blocks operating along the frame axis rather than the spatial axes, with sinusoidal position encoding marking each frame’s position in the sequence, trained on WebVid-10M video clips. Because the module only ever attends across time and never touches the spatial weights it is inserted alongside, it transfers cleanly onto the thousands of community-fine-tuned Stable Diffusion checkpoints built on the same base, animating a specific art style or character design that the motion module itself never saw during training. AnimateDiff also introduced MotionLoRA, a low-rank adaptation of the motion module (LoRA and PEFT) that adapts a trained motion module to a specific camera movement — pan, zoom, tilt, rotation — from as few as 20 to 50 reference clips and roughly 2,000 training iterations, at a fraction of the motion module’s own training cost.

Stable Video Diffusion, or SVD (Blattmann et al., 2023), released by Stability AI that November, applied the same “start from an image LDM, add temporal layers” architecture at production scale and, unlike Video LDM and AnimateDiff, released the trained weights themselves rather than only the method. Built on Stable Diffusion 2.1, with temporal convolution and temporal attention layers inserted after each of the base model’s spatial layers, SVD trains in three explicit stages: image pretraining, which simply reuses SD 2.1’s already-trained spatial weights; video pretraining, on a large curated corpus at lower resolution; and a final high-resolution finetuning stage on a smaller set of higher-quality clips. The paper’s ablations found that each of those choices mattered independently and additively — initializing from a pretrained image model beat random initialization, and filtering the pretraining corpus beat training on the same volume of unfiltered clips, with the improvement from curation persisting through the final finetuning stage rather than washing out. The released model comes in two variants sharing one 1.5-billion-parameter backbone: SVD, generating 14 frames, and SVD-XT, fine-tuned from it to generate 25 frames, both taking a single conditioning image and animating it at selectable frame rates from 3 to 30 fps — image-to-video rather than the text-to-video framing Video LDM and AnimateDiff had used.

The Mathematics

Video LDM’s core training modification is not a new loss function — the noise-prediction objective is the same one taught in full in Diffusion Foundations and reused unchanged by Latent Diffusion and Stable Diffusion — but a constraint on which parameters that loss is allowed to update:

ϕ∗=arg⁡min⁡ϕ  Ez=E(x), t, ϵ∼N(0,I)[∥ϵ−ϵθ,ϕ(zt,t)∥22],θ held fixed\phi^{*} = \arg\min_{\phi} \; \mathbb{E}_{z=\mathcal{E}(x),\, t,\, \epsilon \sim \mathcal{N}(0,\mathbf{I})}\Big[\big\lVert \epsilon - \epsilon_{\theta,\phi}(z_t, t) \big\rVert_2^2\Big], \qquad \theta \text{ held fixed}
SymbolMeaning
θ\thetathe pretrained image LDM’s spatial parameters, frozen during video training
ϕ\phithe new temporal-layer parameters, the only ones updated
ztz_tthe video latent sequence after tt steps of forward noising
ϵθ,ϕ\epsilon_{\theta,\phi}the noise prediction, computed by the combined spatial-plus-temporal network

Within the network, each temporal layer does not simply replace its neighboring spatial layer’s output — it blends with it, and how much it blends is itself learned:

zi=αϕi⋅zθi  +  (1−αϕi)⋅zϕiz^{i} = \alpha_\phi^{i} \cdot z_\theta^{i} \;+\; \big(1 - \alpha_\phi^{i}\big) \cdot z_\phi^{i}
SymbolMeaning
zθiz_\theta^ilayer ii‘s output from the frozen spatial path alone
zϕiz_\phi^ilayer ii‘s output from the new temporal path
αϕi\alpha_\phi^ia learned per-layer blend weight between the two paths
ziz^ithe combined feature map passed to the next layer

AnimateDiff’s motion module reuses the exact attention mechanism taught in The Transformer, with one change of axis:

Attention(Q,K,V)=softmax ⁣(QK⊤d)V,Q,K,V=WQ,K,V reshapeframe axis(h)\mathrm{Attention}(Q,K,V) = \mathrm{softmax}\!\left(\frac{QK^{\top}}{\sqrt{d}}\right)V, \qquad Q,K,V = W_{Q,K,V}\,\mathrm{reshape}_{\text{frame axis}}(h)
SymbolMeaning
hhthe hidden feature map, spatial positions times frames
Q,K,VQ, K, Vquery, key, value projections computed after the frame-axis reshape
WQ,K,VW_{Q,K,V}the motion module’s own learned projection matrices
ddthe key dimensionality, used to scale the dot product

What It Enabled

The bolt-on-temporal-layers pattern collapsed the cost of entering video generation from “train a video-scale model from scratch” to “add and train a comparatively small set of new parameters on top of an existing, working image model” — and it did so for both custom research pipelines and the broader open ecosystem.

Video diffusion trained end-to-end, 2022Video LDM, temporal layers on frozen image LDM, 2023Stable Video Diffusion, open weights, 2023
Spatial fidelity sourcelearned jointly with motion, from video datainherited from a frozen pretrained image LDMinherited from Stable Diffusion 2.1
Trainable parameters for video capabilitythe entire modelonly the new temporal layerstemporal layers plus curated-data finetuning
Reported scaleImagen Video, over 11B parameters across its cascadenot disclosed as a single total; temporal layers added to an 860M-parameter image U-Net1.5B-parameter backbone, shared by both released variants
Weights publicly releasednono, method onlyyes, research and non-commercial license
Outputdriving video at 512×1024; text-to-video up to 1280×204814-frame or 25-frame clips at 576×1024, from a single conditioning image—

Video LDM’s zero-shot UCF-101 result — an FVD (Evaluating and Monetizing Motion) of 550.61, against Make-A-Video’s 367.23 on the same benchmark — showed the trade-off plainly: adapting a frozen image model did not yet match a model trained end-to-end on video at comparable scale, but it reached a usable result at a fraction of the training cost, on a fraction of the video data, because most of the network’s capacity had already been paid for by image pretraining. AnimateDiff’s contribution was orthogonal to that fidelity question: because its motion module attaches to any checkpoint sharing the same frozen base, it turned every one of the thousands of community-fine-tuned Stable Diffusion variants into a video generator without touching a single one of their weights, extending the personalization ecosystem documented in Personalization and LoRA from stills into motion.

Stable Video Diffusion’s public release repeated Stable Diffusion’s own playbook — open weights beat a closed, better-resourced competitor to the hands of developers — one level up the stack, from images to video:

Stable Diffusion's own playbook, replayed one level up the stack Open weights beat a closed, better resourced competitor to developers' hands twice: once for images, once for video. Grey monospace text names the chapter that continues each branch. Latent Diffusion image LDM, image only chapter 13, image book Stable Diffusion open weights, Aug 2022 shared base checkpoint Video LDM temporal layers, Apr 2023 frozen backbone trick SVD, Nov 2023 open weights release 1.5B params released AnimateDiff portable motion module Jul 2023, any checkpoint Image to Video and Motion Control chapter 8 Open Video Models scale the SVD template chapter 11 Making Video Cheap distills this backbone chapter 14 the image side lineage the video specific extension the open release where this book picks it up next AnimateDiff and SVD both feed image-to-video and motion control, from two different starting points.
Open weights beat a closed, better-resourced competitor to developers' hands twice in this lineage: once for images with Stable Diffusion, once for video with Stable Video Diffusion. PNG ↓

SVD’s image-to-video framing and its released weights are the direct foundation that camera-trajectory and drag-based motion control methods build on (Image-to-Video and Motion Control); its open checkpoint and three-stage training recipe are the template the next wave of open video models — CogVideoX, HunyuanVideo, and their contemporaries — scale up rather than reinvent (Open Video Models); and step-distillation techniques developed for image diffusion later target this same SVD backbone to cut its sampling cost toward real time (Making Video Cheap).

Key Papers

PaperAuthorsYearLinkWhy it matters
Align your Latents: High-Resolution Video Synthesis with Latent Diffusion ModelsBlattmann, Rombach, Ling, Dockhorn, Kim, Fidler, Kreis2023arXiv:2304.08818Introduced frozen-spatial-backbone plus trainable temporal layers, turning a pretrained image LDM into a video generator and its upsampler into a temporally consistent super-resolution model
AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific TuningGuo, Yang, Rao, Liang, Wang, Qiao, Agrawala, Lin, Dai2023arXiv:2307.04725A portable motion module, trained once, that animates any personalized checkpoint sharing the same frozen base, plus MotionLoRA for low-cost camera-motion adaptation
Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large DatasetsBlattmann et al.2023arXiv:2311.15127Applied the same architecture at production scale with a three-stage training recipe and curated dataset, and released the trained weights publicly

PM Lens

Papers referenced