FreeStyleGAN: Free-view Editable Portrait Rendering with the Camera Manifold

Thomas Leimkuehler, George DrettakisACM Trans. Graphics 2021 · DOI

TL;DR

This paper introduces FreeStyleGAN, a method that allows for free-viewpoint rendering of realistic, semantically editable human faces generated by StyleGAN. By defining a "camera manifold" that captures the range of poses StyleGAN can realistically synthesize, they enable precise 3D camera control, seamlessly integrating GAN-generated faces into traditional 3D rendering pipelines.

What Problem Does This Paper Address?

Current Generative Adversarial Networks (GANs), like StyleGAN, excel at producing photorealistic images and allow for semantic editing (e.g., changing expressions). However, they are limited in their ability to render faces from arbitrary 3D camera viewpoints. Existing methods can only generate a narrow range of poses and lack explicit control over the camera's position, rotation, and field of view. This limitation hinders their use in 3D virtual and mixed reality applications, where precise camera control is crucial for integrating generated content into complex scenes. FreeStyleGAN aims to bridge this gap by enabling free-viewpoint rendering of GAN-generated faces with full 3D camera control.

Methods

The core of FreeStyleGAN lies in defining and exploiting a "camera manifold." This manifold represents the subspace of camera poses for which StyleGAN can generate stable and realistic images.

  1. 3D Reconstruction and Calibration: The process begins with a few casual photos (10-25) of a person. This data is used to reconstruct a coarse 3D face mesh and calibrate the input cameras.
  2. Camera Manifold Definition: The authors analyze the latent space of StyleGAN and identify that generated images are constrained to a specific range of camera poses, which they term the "camera manifold." This manifold is defined by the predictable locations of facial features (eyes and mouth) in the generated images.
  3. Implicit Latent Representation Network: A small, per-face neural network is trained to map points on the camera manifold to StyleGAN's latent codes. This network acts as an "embedding" that translates desired camera poses into the latent space that StyleGAN understands.
  4. Free-Viewpoint Synthesis via Warping: To render a novel view from an arbitrary 3D camera, the system first projects this camera onto the closest point on the camera manifold. Then, it generates a StyleGAN image for that manifold view. Finally, a warping scheme, guided by the reconstructed 3D face mesh, deforms this manifold view to match the desired novel viewpoint. This allows for rendering even when the target camera falls outside the learned manifold.

Datasets

  • FFHQ Dataset: Used for analyzing the inherent alignment process of StyleGAN and defining the camera manifold.
  • Custom Captures: The authors collected their own datasets of faces (10-25 casual photos per person) for training and evaluation. These datasets are not publicly released due to privacy concerns.

Key Insights and Ideas

  • The "Camera Manifold" is Key: The crucial insight is that GANs like StyleGAN, while powerful, implicitly learn a limited range of camera poses. By characterizing this "camera manifold," we can understand and exploit its boundaries.
  • Bridging 2D GANs and 3D Rendering: FreeStyleGAN successfully bridges the gap between 2D generative models and traditional 3D rendering pipelines. It allows GANs to be used as high-quality, editable texture generators within a 3D scene.
  • Semantic Editing Remains: A significant advantage is that the semantic editing capabilities of StyleGAN (e.g., changing expressions, lighting) are preserved and remain consistent across novel viewpoints.
  • Lightweight Capture: The method requires only a small number of casual photos, making data acquisition much more accessible than traditional 3D scanning or multi-view capture setups.

Key Results

  • Free-Viewpoint Rendering: The system can render realistic, semantically editable faces from arbitrary 3D camera positions.
  • Interactive Rates: The rendering process is interactive, enabling real-time manipulation and navigation.
  • Integration into 3D Scenes: Generated faces can be seamlessly integrated into synthetic 3D environments.
  • Stereoscopic Rendering: The method enables the generation of stereoscopic images.
  • Quantitative Improvements: In comparisons, FreeStyleGAN achieved higher PSNR, SSIM, and lower E-LPIPS scores than state-of-the-art StyleGAN-based editing approaches when restricted to the camera manifold. It also demonstrated competitive facial landmark alignment and identity preservation compared to other free-view rendering methods.

Limitations and Future Work

  • Geometric Fidelity at Extreme Angles: When rendering views far outside the learned camera manifold, inaccuracies in the coarse proxy geometry can become visible, leading to artifacts.
  • Semantic Edits and Geometry: Semantic edits that alter facial geometry (e.g., changing expression) are not mirrored in the underlying 3D mesh, leading to potential inconsistencies.
  • Single-View Input: The authors suggest extending the method to single-view inputs by incorporating GAN inversion, geometry estimation, and camera calibration techniques.
  • Joint Training: A future direction is to jointly train the embedding network and fine-tune the GAN to further lift its limitations.
  • Broader GANs: Exploring the camera manifold concept for other GANs trained on different domains could be a fruitful avenue.

Summary updated

BibTeX
@article{leimkuehler2021freestylegan,
  author = {Thomas Leimkuehler and George Drettakis},
  title = {{FreeStyleGAN: Free-view Editable Portrait Rendering with the Camera Manifold}},
  journal = {ACM Trans. Graphics},
  year = {2021},
  doi = {10.1145/3478513.3480538},
}
Figure