Diverse Video Generation using a Gaussian Process Trigger

Gaurav Shrivastava, Abhinav Shrivastava

Overview

Researchers from the University of Maryland have developed the Diverse Video Generator (DVG), a novel model that leverages Gaussian Processes (GPs) to handle the inherent "choose your own adventure" nature of video prediction. By utilizing GP variance as a "trigger," the model can intelligently decide when to continue an ongoing action and when to pivot to a completely new, diverse future. This approach successfully avoids the blurry, "averaged" results that plague previous video generation methods.

The Challenge of Multi-Modal Prediction

Predicting the future in video is exceptionally difficult because it is inherently multi-modal. For example, if you observe a video of a person holding a cup, multiple valid futures could unfold: they might take a sip, or they might place the cup on the table.

An illustration of multi-modal video prediction: from a single past context (holding a cup), multiple valid futures can unfold.

Most current AI models, often based on standard Variational Autoencoders (VAEs), attempt to account for all these possibilities by "averaging" them. This leads to "mean-seeking" behavior, where the generated video becomes increasingly blurry and unrealistic over time because the model is trying to represent everywhere at once.

The challenge is therefore two-fold:

  1. Modeling Diversity: How can a model represent multiple distinct future paths without collapsing them into a single blurry output?
  2. Temporal Control: How does a model know when an action (like walking) has finished and it is time to transition to a new one (like sitting down)?

The DVG Architecture and the "Trigger" Mechanism

The DVG architecture addresses these challenges using three main components:

  • Frame Auto-encoder: A standard VGG16-based encoder-decoder that maps high-dimensional video frames into a compressed "latent space" and reconstructs them back into pixels.
  • LSTM Dynamics Encoder: A Long Short-Term Memory (LSTM) network responsible for managing "ongoing" actions. LSTMs excel at maintaining temporal coherence, ensuring that continuous actions like walking remain smooth frame-to-frame.
  • Gaussian Process (GP) Dynamics Encoder: This is the core innovation of the paper. Unlike LSTMs, which rely on internal hidden states, the GP models the correlation between past and future states as a probability distribution.

How the Trigger Works: The authors ingeniously use the predictive variance of the GP as a semantic signal. When the variance is low, the model is confident in the trajectory of the current action and allows the LSTM to handle the generation. However, when the variance spikes—indicating uncertainty because the current action sequence is likely ending and multiple futures are now possible—it "triggers" a switch. The model then samples a new state from the GP to initiate a diverse, distinct new action sequence.

Key Insights and Methodological Shifts

  • Variance as a Controller: Instead of treating uncertainty as a flaw or "noise," DVG treats it as a feature. High variance in the GP serves as a clear signal that the current action is complete and the future is open to new possibilities.
  • Explicit Multi-modality: By maintaining a GP prior, the model explicitly preserves a distribution of potential "underlying functions" (futures) rather than marginalizing them into a single, averaged output.
  • Measuring Diversity: Because there is no single "ground truth" for a diverse future (we only possess the one real video of what actually happened), the authors utilized an I3D action classifier as a proxy metric. If a generated video successfully switches from one classified action (e.g., "walking") to another (e.g., "jogging"), it is counted as a successful diverse generation.

Datasets and Key Results

The model was rigorously evaluated across four standard benchmarks: KTH Action Recognition, BAIR Pushing (robotic arm movements), Human3.6M (complex daily activities), and UCF101 (complex, real-world scenes).

  • State-of-the-Art Quality: DVG achieved top results in Fréchet Video Distance (FVD), a standard metric measuring both visual quality and temporal coherence. On the KTH dataset, it significantly outperformed established baselines like SVG-LP and SAVP.
  • Superior Diversity: Using their action-classifier metric, the authors demonstrated that DVG samples diverse futures far more effectively. On KTH, DVG achieved a diversity score of ~48%, whereas traditional baselines hovered around 20-26%.
  • Visual Clarity: Qualitatively, DVG produces sharp frames even 40-50 frames into the future. In contrast, competing models often degrade into gray or blurry blobs after just 20 frames.

Limitations and Future Directions

While highly effective, the approach has limitations. GP Scalability remains a hurdle; although the authors used Sparse Variational GPs (SVGP) to handle larger datasets, GPs are traditionally more computationally expensive than pure neural networks. Furthermore, there is a strict Latent Space Dependency: the quality of the generation relies heavily on the auto-encoder's ability to compress the world into a latent vector. If the latent space fails to capture a specific detail, the GP cannot "imagine" it later.

Looking forward, the authors suggest this "trigger" framework could be extended to more complex hierarchical models. In such systems, high-level "intentions" could be modeled by the GP, while low-level "pixels" are handled by specialized, downstream generators.

Summary updated

BibTeX
@inproceedings{shrivastava2021diverse,
  author = {Gaurav Shrivastava and Abhinav Shrivastava},
  title = {{Diverse Video Generation using a Gaussian Process Trigger}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
}
Figure