Skip to main content
QUICK REVIEW

[Paper Review] Diffusion Models for Video Prediction and Infilling

Tobias Höppe, Arash Mehrjou|arXiv (Cornell University)|Jun 15, 2022
Generative Adversarial Networks and Image SynthesisComputer Science50 citations
TL;DR

RaMViD extends diffusion models to video via 3D convolutions and random masking, enabling simultaneous video prediction, infilling, and upsampling with a unified architecture and competitive results on multiple benchmarks.

ABSTRACT

Predicting and anticipating future outcomes or reasoning about missing information in a sequence are critical skills for agents to be able to make intelligent decisions. This requires strong, temporally coherent generative capabilities. Diffusion models have shown remarkable success in several generative tasks, but have not been extensively explored in the video domain. We present Random-Mask Video Diffusion (RaMViD), which extends image diffusion models to videos using 3D convolutions, and introduces a new conditioning technique during training. By varying the mask we condition on, the model is able to perform video prediction, infilling, and upsampling. Due to our simple conditioning scheme, we can utilize the same architecture as used for unconditional training, which allows us to train the model in a conditional and unconditional fashion at the same time. We evaluate RaMViD on two benchmark datasets for video prediction, on which we achieve state-of-the-art results, and one for video generation. High-resolution videos are provided at https://sites.google.com/view/video-diffusion-prediction.

Motivation & Objective

  • Motivate and enable temporally coherent video generation through diffusion models for prediction and infilling.
  • Introduce a conditioning mechanism based on random masking that unifies unconditional, conditional, and mixed training.
  • Demonstrate state-of-the-art performance on BAIR and strong results on Kinetics-600 and UCF-101 across prediction and infilling tasks.

Proposed method

  • Introduce Random-Mask Video Diffusion (RaMViD) using 3D convolutions in a diffusion model architecture.
  • Condition on arbitrary subsets of frames by masking unconditioned frames and injecting conditioning frames into the network input.
  • Train with randomized masking to allow conditional and unconditional learning within the same architecture.
  • Adopt a linear diffusion schedule and a U-Net with self-attention at resolutions 16 and 8 for video modeling.
  • Formulate the conditional diffusion objective to reconstruct only the unknown (unmasked) frames while keeping conditioning frames fixed.
  • Enable inference for prediction, infilling, and upsampling by selecting a conditioning set C and sampling the unknown frames U.

Experimental results

Research questions

  • RQ1Can diffusion models be effectively extended to the video domain for both prediction and infilling?
  • RQ2Does randomized masking provide a simple, effective conditioning mechanism that harmonizes conditioned and unconditioned video frames during diffusion sampling?
  • RQ3What is the impact of different conditional masking settings (e.g., number and positions of conditioning frames) on prediction and infilling performance?
  • RQ4How does RaMViD perform on standard video prediction and completion benchmarks compared to prior approaches?
  • RQ5Is the model capable of unconditional video generation and autoregressive long-sequence sampling?

Key findings

  • RaMViD achieves state-of-the-art Fréchet Video Distance (FVD) on BAIR for predicting 11–15 frames given conditioning frames.
  • RaMViD matches or surpasses competing methods on Kinetics-600 in prediction tasks, with competitive parameter counts around 308M.
  • Unconditional generation is feasible with RaMViD across datasets; increasing unconditional rate pU can improve or degrade performance depending on dataset complexity.
  • RaMViD demonstrates effective video infilling when conditioning on beginning and end frames, achieving competitive FVD across conditioning setups.
  • Autoregressive sampling can extend sequence length beyond training horizon, though quality may slowly degrade over long sequences.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.