Abstract
Diffusion models have emerged as a powerful paradigm in video synthesis tasks including prediction, generation, and interpolation. Due to computational constraints, existing methods typically implement conditional diffusion models with an autoregressive inference pipeline, where future fragments are predicted based on adjacent past frames. However, relying solely on a few previous frames fails to capture global temporal coherence, leading to inconsistent or even divergent results in long-term video prediction. In this paper, we propose a Local-Global Context guided Video Diffusion model (LGC-VD) to capture multi-perception conditions for producing high-quality videos. LGC-VD utilizes a UNet architecture with stacked residual blocks and self-attention units to avoid the high computational cost of 3D convolutions. We introduce a local-global context guidance strategy to capture multi-perceptual embeddings of past fragments, boosting the consistency of future predictions. Furthermore, a two-stage training strategy is proposed to alleviate the effect of noisy frames for more stable predictions. Our experiments demonstrate that LGC-VD achieves favorable performance on video prediction, interpolation, and unconditional video generation.
Introduction
Video synthesis—encompassing tasks like predicting future frames in a driving sequence or interpolating missing frames in a robotic manipulation task—is a computationally intensive challenge. To manage memory and processing requirements, most contemporary models adopt an autoregressive approach: they analyze a small window of the immediate past (typically 2–3 frames) to generate the next short clip.
While efficient, this approach suffers from a significant "memory gap." Because these models lack a broader view of the video's history, they often lose track of global temporal coherence. This leads to "outrageous" artifacts in long-term predictions, such as objects abruptly changing shape, disappearing, or the video's stylistic properties (like brightness and texture) drifting inconsistently over time. LGC-VD addresses these issues by integrating both immediate local cues and long-term global context.
Methodology
Local-Global Context Guidance
The core innovation of LGC-VD is its dual-stream conditioning mechanism, which provides the model with a multi-perceptual understanding of the video history:
- Local Context: The model takes a few adjacent past frames and concatenates them directly with the current noisy input. This provides the high-frequency, immediate spatial information necessary to determine where an object was a fraction of a second ago.
- Global Context: To maintain long-term thematic consistency, a dedicated sequential encoder extracts a high-level embedding from the entire previous video fragment. This embedding is injected into the UNet via latent cross-attention layers. This mechanism is analogous to how text prompts guide image generation in models like Stable Diffusion, ensuring the model adheres to the broader scene context even when that context is not present in the immediate local window.
To maintain efficiency, the architecture utilizes a 2D UNet with stacked residual blocks and self-attention units, bypassing the heavy computational overhead associated with 3D convolutions.
Two-Stage Training Strategy
Standard diffusion models are typically trained using ground-truth frames as conditions. However, during inference, these models must rely on their own previously generated (and potentially noisy) frames. This discrepancy, known as exposure bias, often leads to rapid error accumulation and visual degradation.
LGC-VD employs a two-stage training strategy to combat this:
- Stage 1: The model learns the fundamental mapping of video dynamics using ground-truth frames as conditions.
- Stage 2: The model is fine-tuned using its own previous predictions as conditions. This teaches the network to be robust to "noisy" history, preventing the video from dissolving into blurriness during extended generation sequences.
Positional Masking
The framework incorporates a positional mask concatenated with conditional frames. This flexible design allows a single model to handle multiple tasks—prediction (past-conditioned), interpolation (past-and-future-conditioned), and unconditional generation—by simply adjusting the mask.
Experimental Results
Datasets
The model was evaluated on two benchmark datasets:
- Cityscapes: High-resolution (128x128) sequences of urban driving scenes.
- BAIR Robot Pushing: Lower-resolution (64x64) videos of robotic arm interactions, testing motion and physics modeling.
Performance
LGC-VD achieved state-of-the-art (SOTA) results across several key metrics:
- Cityscapes: The model significantly outperformed the previous leading model, MCVD, in Fréchet Video Distance (FVD), reducing the score from 141.31 to 124.62. It also demonstrated superior perceptual quality as measured by LPIPS.
- BAIR: In video interpolation tasks, LGC-VD achieved a PSNR of 26.732, outperforming architectures specifically specialized for interpolation.
Qualitatively, LGC-VD produces "crisper" videos that avoid the common pitfalls of motion blur and brightness bias. The global context guidance ensures that the scene remains stable even as the prediction timeline extends far beyond the initial frames.
Conclusion and Future Work
LGC-VD demonstrates that combining local temporal cues with global historical embeddings significantly improves the stability and quality of video diffusion. While the model handles 128x128 resolutions effectively, scaling to ultra-high resolutions remains a challenge due to potential spatial-temporal attention variations. Additionally, like most diffusion-based methods, the iterative denoising process (100 steps in this study) is slower than GAN-based alternatives. Future research will focus on applying distillation techniques to accelerate sampling and exploring higher-resolution scaling laws.
Summary updated