Stochastic Adversarial Video Prediction

Alex X. Lee, Richard Zhang, Frederik Ebert, Pieter Abbeel, Chelsea Finn, Sergey LevinearXiv 2018

Introduction

Predicting future video frames is a fundamental challenge in computer vision and robotics. When a robotic arm interacts with objects, the resulting motion is inherently stochastic—objects can roll, slide, or bounce in numerous ways. Traditional deep learning models often struggle with this ambiguity, producing "blurry averages" of all possible outcomes. Researchers at UC Berkeley have introduced Stochastic Adversarial Video Prediction (SAVP), a hybrid framework that combines the strengths of Variational Autoencoders (VAEs) and Generative Adversarial Networks (GANs) to generate sharp, realistic, and diverse future predictions.

The Challenge of Ambiguity

Most video prediction models rely on Mean Squared Error (MSE) as a primary loss function. While MSE is mathematically convenient, it penalizes any deviation from the ground truth. In an uncertain environment, the model minimizes this penalty by predicting the average of all possible futures, resulting in ghostly, translucent objects.

To address this, two main paradigms have emerged:

  1. Variational Autoencoders (VAEs): These use latent variables to model different outcomes, providing diversity but often remaining blurry due to pixel-wise reconstruction losses.
  2. Generative Adversarial Networks (GANs): These use a discriminator to enforce sharpness and realism. However, GANs frequently suffer from "mode collapse," where the model ignores stochastic inputs and repeatedly predicts a single likely future, sacrificing diversity.

The SAVP Framework

SAVP hybridizes these approaches in a recurrent setting. The core of the model is a Convolutional LSTM generator that predicts the next frame based on past observations and a sampled latent code $z$.

The SAVP model architecture for testing (left) and training (right).

During training, the model utilizes a multi-part objective function:

  • VAE Component: An encoder estimates the distribution of latent variables from real frame pairs, ensuring the latent space captures meaningful motion uncertainty.
  • GAN Component: Two discriminators ($D_{GAN}$ and $D_{VAE}$) distinguish between real and generated sequences, forcing the generator to produce sharp textures and physically plausible movements.
  • Reconstruction Loss: An $L_1$ loss keeps the predictions grounded in the actual scene geometry.

This synergy allows the VAE to regularize the GAN (preventing mode collapse) while the GAN prevents the VAE from producing blurry outputs.

Experimental Results

The authors evaluated SAVP on the BAIR Action-Free Robot Pushing and KTH Human Actions datasets. These datasets represent high-stochasticity environments where object interactions and human movements are difficult to predict deterministically.

Realism vs. Diversity

A key insight of the paper is the critique of standard metrics like PSNR and SSIM, which often reward blurriness. Instead, the authors utilized a "Visual Turing Test" (2AFC), where humans identified the more realistic video. On the BAIR dataset, SAVP achieved a "fooling rate" of nearly 35%, significantly outperforming VAE-only models (~20%).

Qualitative comparison showing SAVP maintains sharpness and realism over 11 frames compared to blurry prior work.

Qualitatively, as shown in the comparison above, SAVP maintains the sharpness of objects like the robot arm and the baseball over time, whereas prior state-of-the-art methods like SV2P and SVG-LP result in significant smearing and loss of detail by frame $t=11$.

Conclusion and Future Work

SAVP demonstrates that VAEs and GANs are complementary tools for video prediction. By balancing reconstruction accuracy with adversarial realism, the model generates futures that are both physically plausible and visually sharp. While the model shows impressive short-term results, long-term stability remains a challenge as errors accumulate over dozens of frames. Future research may involve scaling these models to higher resolutions and integrating them into robotic planning loops to improve physical manipulation through better "imagination."

Summary updated

BibTeX
@misc{lee2018stochastic,
  author = {Alex X. Lee and Richard Zhang and Frederik Ebert and Pieter Abbeel and Chelsea Finn and Sergey Levine},
  title = {{Stochastic Adversarial Video Prediction}},
  year = {2018},
  eprint = {1804.01523},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1804.01523},
}
Figure