StyleVideoGAN: A Temporal Generative Model using a Pretrained StyleGAN

Gereon Fox, Ayush Tewari, Mohamed Elgharib, Christian Theobalt

Introduction

Generating high-resolution, photorealistic video remains a significant challenge in computer vision due to extreme computational requirements and the need for massive datasets. While image-based Generative Adversarial Networks (GANs) like StyleGAN have achieved remarkable success in static image synthesis, extending these capabilities to the temporal domain often results in low resolution or prohibitive training costs. StyleVideoGAN addresses these hurdles by decoupling spatial synthesis from temporal motion, leveraging the pre-trained knowledge of StyleGAN to produce 1024x1024 videos with minimal data and time.

Methodology

The primary innovation of StyleVideoGAN is its operation entirely within the $W^+$ latent space of a pre-trained StyleGAN, rather than directly on RGB pixels. This approach significantly reduces the dimensionality of the training data—from millions of pixels to a few thousand latent parameters—enabling exponentially faster training.

The StyleVideoGAN architecture utilizes a recurrent generator (G) to predict latent sequences and a temporal convolutional critic (C) for adversarial training.

As shown in the architecture diagram, the generator consists of a stack of Gated Recurrent Unit (GRU) cells that predict subsequent latent codes. To ensure temporal consistency and realism, a temporal convolutional critic evaluates the generated sequences against embeddings of real video. Key technical contributions include:

  • Latent Embedding: Using an encoder (such as pSp) to map training videos into the $W^+$ space.
  • Offset Trick: A PCA-based method to transfer motion from a training subject to a novel identity by shifting the latent trajectory, preventing visual artifacts.
  • Gradient Angle Penalty ($L_{GAP}$): A novel loss term designed to prevent the recurrent network from falling into repetitive motion loops by maintaining sensitivity to per-step noise.

Results and Discussion

StyleVideoGAN demonstrates a staggering 160x training speedup over state-of-the-art high-resolution baselines, requiring only 6 hours on a single GPU compared to 40 GPU days for comparable methods. The model successfully generates high-fidelity 1024x1024 videos across various domains, including faces, hands, and cars.

Generated sequences showing diverse facial expressions and identity transfer capabilities at 1024x1024 resolution.

Quantitative evaluations using Fréchet Video Distance (FVD) indicate that StyleVideoGAN outperforms existing methods in long-duration video synthesis, largely due to the $L_{GAP}$ loss preventing motion repetition. The "offset trick" effectively allows the model to animate any identity within the StyleGAN latent space using only 10 minutes of training video from a single source subject.

Conclusion

By treating StyleGAN as a frozen spatial expert, StyleVideoGAN simplifies the learning task to temporal dynamics. This separation of concerns allows for extreme efficiency and high-resolution output. However, the model's performance is inherently tied to the quality of the underlying StyleGAN and the accuracy of the latent inversion process. Future work may focus on improving background stability and extending the framework to more complex, unstructured environments.

Summary updated

BibTeX
@inproceedings{fox2021stylevideogan,
  author = {Gereon Fox and Ayush Tewari and Mohamed Elgharib and Christian Theobalt},
  title = {{StyleVideoGAN: A Temporal Generative Model using a Pretrained StyleGAN}},
  booktitle = {BMVC},
  year = {2021},
  url = {https://openreview.net/forum?id=Cs6f4be7uti},
}
Figure