NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GIF: Generative Interpretable Faces

Partha Ghosh, Pravir Singh Gupta, Roy Uziel, Anurag Ranjan, Michael Black, Timo Bolkart

TL;DR

GIF (Generative Interpretable Faces) bridges the gap between the precise parametric control of 3D face models and the photo-realistic output of 2D Generative Adversarial Networks (GANs). By conditioning StyleGAN2 on pixel-aligned 3D renderings rather than raw parameter vectors, the model achieves explicit, disentangled control over facial shape, pose, expression, lighting, and appearance. This architecture enables the generation of high-fidelity, easily animatable human faces while maintaining state-of-the-art image quality.

What Problem Does This Paper Address?

In the realm of digital human synthesis, researchers typically face a trade-off between control and realism:

  1. 3D Morphable Models (3DMMs) like FLAME offer excellent parametric control over shape, pose, and expression. However, their traditional graphics renderings lack photo-realism because they struggle to model complex features like hair, the mouth cavity (teeth/tongue), eye gazes, and fine-scale wrinkles.
  2. 2D Generative Models like StyleGAN2 generate stunning, photo-realistic faces but lack explicit, semantically meaningful control. While unsupervised methods can partially disentangle latent spaces post-hoc, independent factors often remain entangled.

Naively conditioning a 2D GAN on 3D parameters (e.g., feeding a raw vector of coefficients into the network) yields poor results due to condition cross-talk, a phenomenon where independent conditions influence each other under incomplete data regimes. The authors tackle this challenge by introducing a novel conditioning mechanism that successfully marries 3D control with 2D realism.

Methods

Instead of feeding raw FLAME parameter vectors directly into StyleGAN2, the authors introduce Pixel-aligned conditioning. They leverage a classical, learning-free graphics renderer to project the 3D FLAME model into two distinct 2D representations:

  • Geometry (Normal Rendering): A color-coded map of the surface normals, capturing explicit 3D structure.
  • Appearance (Texture Rendering): A pixel-wise color rendering based on inferred lighting and appearance parameters.

These two renderings are concatenated along the color channel and injected into StyleGAN2. Crucially, instead of using standard random noise at each resolution level (which typically controls local texture changes in StyleGAN), GIF replaces these noise channels with scaled versions of the 2D FLAME renderings. This provides a strong spatial inductive bias, forcing the network to respect the underlying 3D geometry.

Figure 1: Face images generated by controlling FLAME [38] parameters, appearance parameters, and lighting parameters. For shape and expression, two principal components are visualized at ±3 standard deviations. The pose variations are visualized at ±π/8 (head pose) and at 0, π/12 (jaw pose). For shape, pose, and expression, the two columns are generated for two randomly chosen sets of appearance, lighting, and style parameters. For the appearance and lighting variations (right), the top two rows visualize the first principal components of the appearance space at ±3 standard deviations, the bottom two rows visualize the first principal component of the lighting parameters at ±2 standard deviations. The two columns are generated for two randomly chosen style parameters.

To further enforce disentanglement, the authors introduce a Texture Consistency Loss. During training, they randomly interpolate FLAME parameters within a mini-batch to generate new geometric configurations while keeping the appearance parameters fixed. They project the generated images back onto the 3D mesh—a process they call "texture stealing"—and apply an $L^2$ loss to ensure the extracted texture remains consistent across different poses and expressions.

Finally, an additional style vector ($s$) is mapped via an embedding layer to capture elements not modeled by FLAME, such as hairstyle, clothing, and background details.

Datasets

The model was trained and evaluated using:

  • Flickr-Faces-HQ (FFHQ): A dataset of 65,500 high-quality face images.
  • DECA (Detailed Expression Capture and Animation): A monocular 3D face regressor used to extract ground-truth FLAME parameters, appearance parameters, lighting parameters, and camera matrices from the static FFHQ images to create the paired training data.

Key Insights and Ideas

  • The Power of Spatial Inductive Biases: The failure of raw vector conditioning highlights that GANs struggle to learn the complex rules of perspective projection and occlusion purely from data. Providing the generator with pre-rendered 2D spatial maps eliminates this burden.
  • Texture Stealing for Disentanglement: By forcing the network to maintain identical pixel-wise textures when a face changes expression or rotates, the texture consistency loss acts as a powerful regularizer that cleanly separates identity/appearance from geometry.

Key Results

The authors validated GIF through quantitative metrics, re-inference errors, and Amazon Mechanical Turk (AMT) perceptual studies:

  • Image Quality: GIF achieved a Frechet Inception Distance (FID) score of 8.94, outperforming the vanilla vector-conditioned baseline (10.34), proving that adding strict 3D control does not degrade the generative quality of StyleGAN2.
  • Condition Adherence: In the AMT ablation study, participants overwhelmingly preferred GIF's alignment with the target 3D parameters over alternative architectures (GIF won 89.4% of the time against the vector-conditioned model).
  • Re-inference Accuracy: To test if the generated images actually matched the input parameters, the authors ran the DECA regressor on GIF's outputs. GIF achieved dramatically lower Root Mean Square Errors (RMSE) than the vector baseline, particularly for expressions (5.00 mm vs. 23.05 mm) and poses (5.61 mm vs. 29.69 mm).

Limitations and Future Work

  • Dataset Bias & Artifacts: Because FFHQ images are roughly eye-centered, extreme head rotations (close to profile views) force the camera matrix to zoom in aggressively, causing the generator to produce unrealistic artifacts.
  • Upstream Error Propagation: GIF inherits any inaccuracies present in the DECA parameter estimator, such as ambiguities between skin tone (appearance) and ambient illumination (lighting).
  • Temporal Consistency: Since the model is trained purely on static images, animating a sequence by smoothly varying FLAME parameters can lead to jittery backgrounds or shifting hairstyles, as these unconditioned elements are controlled by the independent style vector. Incorporating temporal constraints during training remains an open area for future research.

Summary updated

BibTeX
@inproceedings{ghosh2020gif,
  author = {Partha Ghosh and Pravir Singh Gupta and Roy Uziel and Anurag Ranjan and Michael Black and Timo Bolkart},
  title = {{GIF: Generative Interpretable Faces}},
  booktitle = {3DV},
  year = {2020},
  url = {https://openreview.net/forum?id=k88dgDtBmOD},
}
Figure