LumiGAN: Unconditional Generation of Relightable 3D Human Faces

Boyang Deng, Yifan Wang, Gordon Wetzstein · DOI

Abstract

LumiGAN is an unconditional 3D Generative Adversarial Network (GAN) designed to produce high-quality, relightable human faces from unstructured 2D image datasets. By integrating an efficient, self-supervised Neural Radiance Transfer (NRT) module, the framework decomposes facial images into physical properties—albedo, normals, and specular tint—while accounting for complex self-shadowing. This approach allows for the seamless integration of synthetic faces into diverse lighting environments without the computational overhead of traditional ray-tracing.

Introduction

While 3D GANs, such as EG3D, have achieved remarkable success in generating photorealistic human faces, they suffer from a significant limitation: "baked-in" lighting. Because these models are typically trained on 2D photographs where lighting is already present, the generated 3D assets often have shadows and highlights "painted" directly onto the texture. Consequently, when these faces are placed into new digital environments—such as a sunset or a neon-lit room—the static lighting breaks the illusion of reality.

Previous attempts to solve this problem either relied on overly simplified lighting models, which resulted in flat-looking faces, or required computationally expensive ray-tracing during training, which is often too slow for the iterative nature of GANs. LumiGAN bridges this gap by providing high-fidelity relighting with realistic self-shadowing (e.g., the shadow a nose casts on a cheek) without sacrificing training efficiency.

Methods

LumiGAN builds upon the EG3D architecture, utilizing a triplane representation for 3D geometry. The core innovation lies in its physically based lighting module, which enables the disentanglement of geometry and illumination.

Physical Property Decomposition

Instead of directly predicting RGB pixels, the generator predicts physical properties for every point in space:

  • Diffuse Albedo: The base color of the skin.
  • Surface Normals: The orientation of the surface, crucial for calculating how light hits the face.
  • Specular Tint: The shininess or reflectivity of the material.
  • Visibility: A measure of how much light reaches a point, accounting for self-occlusion.

Neural Radiance Transfer (NRT)

To avoid the "costly ray-casting" problem common in physically based rendering, the authors introduce Neural Radiance Transfer. This module uses Spherical Harmonics (SH) to approximate the lighting integral. By predicting a set of radiance transfer coefficients at each point, the model can compute complex lighting and shadows using a simple dot product. This mathematical simplification makes the process fast enough for GAN training while maintaining visual realism.

LumiGAN decomposes faces into physical properties (Normal, Albedo, Diffuse, Specular) to enable realistic rendering under arbitrary lighting.

Self-Supervised Visibility and Background Handling

To ensure that predicted shadows match the generated 3D shape, a consistency loss is introduced. The model compares predicted visibility coefficients against the actual density of the 3D volume (transmittance). If the model predicts a shadow where no geometry exists to cast it, the generator is penalized. Additionally, an auxiliary mask discriminator is used to encourage "background-free" generation, ensuring the 3D heads are clean and ready for integration into AR/VR applications.

Datasets and Training

The model was trained using the FFHQ (Flickr-Faces-HQ) dataset, consisting of 70,000 high-quality human face images. To provide diverse, real-world lighting conditions during training, the authors utilized 459 high-resolution HDR environment maps from Poly Haven.

An example of an HDR environment map from Poly Haven used to provide diverse lighting conditions during training.

Key Insights

  • Lighting as a Geometric Supervisor: Enforcing relightability actually improves the underlying 3D geometry. Because the model must explain the 2D image through a combination of shape and light, it can no longer "cheat" by painting shadows onto a flat surface. This results in much sharper and more accurate 3D face shapes compared to non-relightable GANs.
  • Efficiency through Approximation: By turning Precomputed Radiance Transfer (PRT) into a learnable "Neural" Radiance Transfer, the authors prove that full path-tracing is not required for plausible shadows in generative models.
  • Disentanglement without Ground Truth: The model learns to separate skin color (albedo) from lighting and shadows entirely through self-supervision, without ever seeing a "delit" face or a 3D scan during training.

Results

LumiGAN achieves state-of-the-art performance in relightable face generation:

  • Photorealism: It achieves an FID score of 5.28 on FFHQ at 512x512 resolution, a massive improvement over previous relightable 3D GANs like VoluxGAN (FID 59.79).
  • Geometry Quality: Quantitatively, LumiGAN produces more accurate surface normals than its predecessors. Qualitatively, the normals show fine details like skin pores and wrinkles.
  • Relighting Fidelity: The model maintains high identity similarity when the same face is relit under different environment maps, demonstrating successful disentanglement.

Conclusion

LumiGAN demonstrates that high-fidelity, relightable 3D faces can be generated unconditionally without ground-truth 3D data or expensive rendering techniques. While currently limited to static scenes, it sets a new standard for the integration of generative AI into realistic 3D environments. Future work will focus on extending this framework to dynamic expressions and addressing inherent dataset biases.

Summary updated

BibTeX
@inproceedings{deng2024lumigan,
  author = {Boyang Deng and Yifan Wang and Gordon Wetzstein},
  title = {{LumiGAN: Unconditional Generation of Relightable 3D Human Faces}},
  booktitle = {3DV},
  year = {2024},
  doi = {10.1109/3dv62453.2024.00081},
}
Figure