A Two-Stream Variational Adversarial Network for Video Generation

Ximeng Sun, Huijuan Xu, Kate SaenkoarXiv 2018

Abstract

Video generation is an inherently challenging task, as it requires modeling realistic temporal dynamics as well as spatial content. Existing methods entangle the two intrinsically different tasks of motion and content creation in a single generator network, but this approach struggles to simultaneously generate plausible motion and content. To improve motion modeling in video generation tasks, we propose a two-stream model that disentangles motion generation from content generation, called a Two-Stream Variational Adversarial Network (TwoStreamVAN). Given an action label and a noise vector, our model is able to create clear and consistent motion, and thus yields photorealistic videos. The key idea is to progressively generate and fuse multi-scale motion with its corresponding spatial content. Our model significantly outperforms existing methods on the standard Weizmann Human Action, MUG Facial Expression, and VoxCeleb datasets, as well as our new dataset of diverse human actions with challenging and complex motion.

Introduction

Generating video is significantly harder than generating static images. In a single image, a model only needs to worry about spatial consistency. In video, it must maintain that spatial structure while simultaneously modeling complex temporal dynamics. Most existing models use a single generator network to handle both tasks. This "entanglement" often leads to a tug-of-war: the motion modeling interferes with the content, resulting in "blobby" objects, flickering backgrounds, or unrealistic, jerky movements. While some models try to separate these factors in their hidden "latent" space, they usually merge them back together too early in the decoding process. The authors of this paper argue that motion and content should remain separate throughout the generation process and only be fused at the very end using specialized spatial tools.

Methods: The TwoStreamVAN Architecture

The core innovation is the Two-Stream Variational Adversarial Network (TwoStreamVAN). It consists of two distinct branches that handle "what" is in the scene (content) and "how" it moves (motion) separately throughout the generation process.

Overview of TwoStreamVAN architecture and generated video samples across different datasets.

Content and Motion Streams

  • The Content Stream: An encoder-generator pair that focuses solely on the static appearance of the objects and background. It is trained via image reconstruction to ensure it can produce sharp, high-fidelity frames.
  • The Motion Stream: This branch models temporal dynamics using a Convolutional LSTM (convLSTM) to track motion history and predicts "motion kernels"—small filters that describe how pixels should shift or change from one frame to the next.

Key Technical Innovations

  • Multi-scale Motion Fusion: Instead of applying motion to a full-resolution image all at once, the model generates motion at multiple resolutions. Large movements are handled at low resolutions, while fine-grained details are refined at high resolutions.
  • Spatially-Adaptive Convolution: The motion stream produces unique 2D kernels for every pixel location. This allows the model to move an arm differently than a leg within the same frame.
Detailed mechanism of the spatially-adaptive convolution and motion kernel generation for pixel-wise motion modeling.
  • Motion Masks: The model predicts a "mask" to identify which parts of the frame are actually moving. This prevents the motion generator from accidentally distorting the static background, a common flaw in previous models.
  • Dual-Task Learning: The authors use an alternating training scheme, switching between optimizing the content stream (for better structure) and the motion stream (for better dynamics), using a combination of VAE and GAN losses.

Evaluation and Results

The model was evaluated on several benchmarks, including the standard Weizmann Human Action, MUG Facial Expression, and VoxCeleb datasets. Additionally, the authors introduced SynAction, a large-scale synthetic dataset created using the Unity game engine. It contains 120 unique non-rigid human action models across 20 classes, providing a much more challenging test for motion modeling than existing synthetic sets.

TwoStreamVAN consistently outperformed state-of-the-art baselines like MoCoGAN and VideoVAE:

  • Quantitative Performance: On the Inception Score (IS), TwoStreamVAN improved upon MoCoGAN by 32% on Weizmann, 9% on MUG, and 43% on the new SynAction dataset.
  • Qualitative Quality: Visual results show much sharper outlines of moving limbs and more stable backgrounds. In VoxCeleb tests, the model successfully captured subtle head tilts and lip movements that caused previous models to produce distorted faces.
  • Human Preference: In a blind comparison on the SynAction dataset, human users preferred TwoStreamVAN's videos over MoCoGAN's 88% of the time.

Conclusion

TwoStreamVAN demonstrates that disentangling the generation processes of motion and content is crucial for high-quality video synthesis. By treating motion as a learned refinement of content and using spatially-adaptive tools, the model achieves superior realism. Future work may explore conditioning the model on textual descriptions or interactive user manipulation to further enhance control over the generated sequences.

Summary updated

BibTeX
@misc{sun2018two,
  author = {Ximeng Sun and Huijuan Xu and Kate Saenko},
  title = {{A Two-Stream Variational Adversarial Network for Video Generation}},
  year = {2018},
  eprint = {1812.01037},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.01037},
}
Figure