Improving Video Generation for Multi-functional Applications

Bernhard Kratzwald, Zhiwu Huang, Danda Pani Paudel, U. Dinesh Acharya, Luc Van Gool · DOI

Abstract

In this paper, we aim to improve the state-of-the-art video generative adversarial networks (GANs) with a view towards multi-functional applications. Our improved video GAN model does not separate foreground from background nor dynamic from static patterns, but learns to generate the entire video clip conjointly. Our model can thus be trained to generate - and learn from - a broad set of videos with no restriction. This is achieved by designing a robust one-stream video generation architecture with an extension of the state-of-the-art Wasserstein GAN framework that allows for better convergence. The experimental results show that our improved video GAN model outperforms state-of-the-art video generative models on multiple challenging datasets. Furthermore, we demonstrate the superiority of our model by successfully extending it to three challenging problems: video colorization, video inpainting, and future prediction. To the best of our knowledge, this is the first work using GANs to colorize and inpaint video clips.

Introduction

Generating realistic video is significantly more complex than generating static images because models must simultaneously master spatial structure and temporal consistency. Previous state-of-the-art models, such as VGAN and TGAN, attempted to simplify this problem by employing "two-stream" architectures that separated videos into static backgrounds and moving foregrounds. While effective for fixed-camera shots, this approach often fails on real-world data involving camera motion or dynamic backgrounds.

We propose iVGAN (improved Video GAN), a framework designed to handle any video regardless of scene complexity. By moving away from artificial layer separations, iVGAN learns to capture the natural interactions between all elements of a scene.

The iVGAN Architecture

The iVGAN model is built on a robust "one-stream" architecture. Rather than splitting streams, it uses a single generator to produce 32-frame, $64 \times 64$ RGB video clips conjointly using spatio-temporal (3D) convolutions.

To ensure training stability in high-dimensional video space, we adapt the Wasserstein GAN with Gradient Penalty (WGAN-GP). This framework replaces standard classifiers with a "critic" that measures distributional distances, using a gradient penalty to enforce a Lipschitz constraint. This prevents the vanishing or exploding gradients common in video GAN training.

The iVGAN architecture: comparing the base generation framework (left) with the multi-functional extension (right) used for tasks like colorization.

Multi-functional Extension

To extend the model to tasks like colorization and inpainting, we introduce an auxiliary encoder network. This encoder maps a "perturbed" input (such as a grayscale or masked video) into a latent code, which the generator then uses to reconstruct the full video. The training objective combines GAN loss with a domain-specific $\ell_2$ reconstruction loss, allowing the GAN to act as a semantic regularizer.

Experimental Results

We evaluated iVGAN against two primary benchmarks: the Stabilized Golf Clips dataset and a more challenging Airplanes Dataset containing unstabilized YouTube footage with significant camera motion.

Key Insights

  • Stability Enables Simplicity: By utilizing WGAN-GP, we found that a simpler one-stream architecture actually outperforms complex two-stream models, particularly when handling camera motion.
  • Semantic Regularization: In colorization tasks, the GAN loss prevents the model from learning simple identity functions, forcing it to understand that grass should be green and sky should be blue.

Performance and Qualitative Analysis

Human evaluations via Amazon Mechanical Turk showed that users preferred iVGAN samples over VGAN 59.3% of the time. While previous models often collapsed on unstabilized data, iVGAN remained robust. Notably, this work represents the first successful application of GANs to video colorization and inpainting, achieving a PSNR of 25.6 dB in unsupervised colorization.

Qualitative results of the iVGAN model demonstrating improved temporal coherence and realistic scene generation.

Conclusion and Future Work

While iVGAN marks a significant step forward, challenges remain. Foreground objects can sometimes appear as blurry "blobs" due to the difficulty of capturing high-frequency motion. Additionally, future prediction from a single frame remains a difficult task, resulting in blurrier outputs than inpainting. Future research will explore scaling these architectures to higher resolutions using techniques like progressive growing or deeper ResNet structures.

Summary updated

BibTeX
@misc{kratzwald2017improving,
  author = {Bernhard Kratzwald and Zhiwu Huang and Danda Pani Paudel and U. Dinesh Acharya and Luc Van Gool},
  title = {{Improving Video Generation for Multi-functional Applications}},
  year = {2017},
  eprint = {1711.11453},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.11453},
}
Figure