Abstract
Predicting future frames of a video is challenging because it is difficult to learn the uncertainty of the underlying factors influencing their contents. In this paper, we propose a novel video prediction model, which has infinite-dimensional latent variables over the spatio-temporal domain. Specifically, we first decompose the video motion and content information, then take a neural stochastic differential equation to predict the temporal motion information, and finally, an image diffusion model autoregressively generates the video frame by conditioning on the predicted motion feature and the previous frame. The better expressiveness and stronger stochasticity learning capability of our model lead to state-of-the-art video prediction performances. As well, our model is able to achieve temporal continuous prediction, i.e., predicting in an unsupervised way the future video frames with an arbitrarily high frame rate. Our code is available at https://github.com/XiYe20/STDiffProject.
Introduction
Video prediction is inherently difficult due to the high degree of uncertainty in real-world dynamics. A single starting point can lead to an infinite number of plausible futures. Traditional deterministic models often produce blurry results by predicting the "average" of all possible outcomes. While stochastic models using Variational Autoencoders (VAEs) or Generative Adversarial Networks (GANs) have made strides, they often struggle with capturing complex multi-modal distributions and are typically constrained to discrete time steps.
STDiff addresses these challenges by treating video prediction as a continuous-time stochastic process. By leveraging Neural Stochastic Differential Equations (SDEs) and diffusion models, it captures both spatial and temporal uncertainty with high fidelity.
Methodology
The STDiff architecture decomposes video into two distinct components: motion and content. This separation allows for more precise modeling of the stochastic nature of video sequences.
Motion Prediction via Neural SDEs
Instead of relying on standard discrete-time recurrent units, STDiff employs a Neural SDE to model motion. Past motion is first encoded using a Convolutional Gated Recurrent Unit (Conv-GRU). The evolution of this motion feature is then predicted by an SDE solver. Because SDEs are defined over a continuous time domain, the model can be queried for a motion feature at any arbitrary timestamp $t$, enabling "zero-shot" temporal upsampling. This prevents the model from "collapsing" into a single predictable path by explicitly modeling temporal stochasticity.
Recurrent Diffusion Predictor
The content generation is handled by an image diffusion model. For each predicted motion feature at time $t$, a UNet-based diffusion model generates the corresponding frame. This generation is conditioned on both the previous frame and the current motion feature.
This dual-SDE approach—one for temporal motion and one for spatial diffusion—effectively utilizes "infinite-dimensional" latent variables. This builds on the theoretical link that a continuous diffusion model is essentially a VAE with an infinite number of hierarchical layers, explaining STDiff's ability to capture much more detail and diversity than shallower models.
Experiments and Results
The authors evaluated STDiff on several benchmarks, including Stochastic Moving MNIST (SMMNIST), BAIR Robot Pushing, KTH human actions, and high-resolution driving datasets like KITTI and Cityscapes.
Quantitative Performance
STDiff achieved state-of-the-art (SOTA) results across multiple metrics. On SMMNIST, it reached a Fréchet Video Distance (FVD) of 14.93, significantly lower than the previous best of 23.86. On the BAIR dataset, it achieved an FVD of 88.1. Furthermore, STDiff demonstrated superior diversity; on the KTH dataset, its diversity score was nearly 50 times higher than the leading continuous model, NPVP.
Continuous-Time Inference
A standout feature of STDiff is its ability to perform continuous-time prediction. As shown in qualitative evaluations, the model can generate smooth, physically plausible intermediate frames at timestamps not seen during training (e.g., $t=3.5, 6.5$). This allows for the generation of slow-motion video without requiring additional interpolation models.
Discussion and Conclusion
STDiff represents a significant step forward in stochastic video prediction. By combining the generative power of diffusion models with the temporal flexibility of Neural SDEs, it achieves high-fidelity, diverse, and continuous-time predictions. While the model is more computationally intensive than simple GAN-based approaches due to the iterative nature of diffusion, its efficiency (using ~100M fewer parameters than some competitors) and superior performance make it a compelling framework for future research in video synthesis and autonomous systems.
Summary updated