AvatarMe++: Facial Shape and BRDF Inference with Photorealistic Rendering-Aware GANs

Alexandros Lattas, Stylianos Moschoglou, Stylianos Ploumpis, Baris Gecer, Abhijeet Ghosh, Stefanos ZafeiriouIEEE TPAMI 2021 · DOI

Abstract

Over the last years, many face analysis tasks have accomplished astounding performance, with applications including face generation and 3D face reconstruction from a single "in-the-wild" image. Nevertheless, to the best of our knowledge, there is no method which can produce render-ready high-resolution 3D faces from "in-the-wild" images and this can be attributed to the: (a) scarcity of available data for training, and (b) lack of robust methodologies that can successfully be applied on very high-resolution data. In this work, we introduce the first method that is able to reconstruct photorealistic render-ready 3D facial geometry and BRDF from a single "in-the-wild" image. We capture a large dataset of facial shape and reflectance, which we have made public. We define a fast facial photorealistic differentiable rendering methodology with accurate facial skin diffuse and specular reflection, self-occlusion and subsurface scattering approximation. With this, we train a network that disentangles the facial diffuse and specular BRDF components from a shape and texture with baked illumination, reconstructed with a state-of-the-art 3DMM fitting method. Our method outperforms the existing arts by a significant margin and reconstructs high-resolution 3D faces from a single low-resolution image, that can be rendered in various applications, and bridge the uncanny valley.

Introduction

Reconstructing a 3D face from a single photo is a classic challenge in computer vision. While existing methods like 3D Morphable Models (3DMMs) can capture basic head shapes, they typically fail to capture high-frequency details such as pores and fine wrinkles. More importantly, they lack "render-readiness." Most current techniques produce textures with "baked-in" illumination, where shadows and highlights from the original photo are permanently fixed to the skin. This results in a flat, "painted mask" appearance when the model is placed in new lighting environments.

To achieve true photorealism, it is necessary to estimate the skin’s Bidirectional Reflectance Distribution Function (BRDF)—the mathematical description of how light interacts with the surface. This requires separating diffuse albedo (base color) from specular albedo (shininess) and high-frequency surface normals. AvatarMe++ addresses this by reconstructing high-resolution (up to 6K) facial geometry and reflectance from a single "in-the-wild" image, leveraging a novel photorealistic differentiable rendering loss to disentangle skin properties from baked-in lighting.

Methodology

The AvatarMe++ pipeline transforms a low-resolution "in-the-wild" image into a high-fidelity 3D asset through several stages:

  1. Initial Fitting: A state-of-the-art 3DMM fitting method (GANFIT) provides a base shape and low-resolution texture.
  2. Super-Resolution: An RCAN network upscales the initial texture to 4K or 6K resolution.
  3. Reflectance Disentanglement: A Generative Adversarial Network (GAN) transforms the upscaled texture into four distinct maps: diffuse albedo, specular albedo, diffuse normals, and specular normals.
  4. Rendering-Aware Training: The core innovation is a photorealistic differentiable renderer used during training. This renderer accounts for complex skin physics, including subsurface scattering (SSS) and self-occlusion shadows.
  5. Stochastic Rendering Loss: The model renders predicted maps under random lighting conditions and compares them to ground truth, forcing the network to learn underlying physical properties rather than memorizing lighting patterns.
Overview of the AvatarMe++ pipeline, showing the transition from a single input image to high-resolution reflectance maps and final photorealistic renders.

Key Technical Insights

A primary insight of this work is that accurate de-lighting requires understanding the original scene's physics. By integrating a differentiable renderer into the GAN's loss function, the network learns to "reverse-engineer" the scene. Furthermore, the network uses the 3D shape (normals and depth) as a guide, significantly improving the consistency of predicted skin details around complex features like the nose and eyes.

The differentiable rendering process uses random light sources during training to force the network to learn lighting-independent skin properties.

Unlike its predecessor, AvatarMe++ utilizes a single 13-channel output network instead of four separate ones. This architectural change reduces inference time by approximately 75% while simultaneously improving output quality.

Experiments and Results

The model was trained using RealFaceDB, a new dataset of over 200 individuals with 7 different expressions, featuring high-resolution (6K) ground truth maps. Evaluation was conducted using the Digital Emily Project as a benchmark and the LFW (Labeled Faces in the Wild) dataset for real-world testing.

AvatarMe++ demonstrates quantitative superiority over previous state-of-the-art methods, achieving higher PSNR and lower MSE for both albedo and normals. Qualitatively, the results show faces that can be seamlessly relit in diverse environments—such as cathedrals or night streets—successfully bridging the "uncanny valley." Face recognition tests also confirm that the reconstructed models maintain a higher identity match to the original subjects compared to competing methods.

Discussion and Limitations

While AvatarMe++ represents a significant step forward, several limitations remain. The RealFaceDB dataset currently has demographic imbalances regarding race, which can affect consistency across all skin tones. Additionally, specular normals for older subjects with deep wrinkles are sometimes reconstructed sub-optimally. The model also struggles with "foreign" occlusions (e.g., hands or microphones) and extreme backlighting, as it currently expects light sources to be generally in front of the subject. Future work will focus on expanding the dataset diversity and improving robustness to complex occlusions and lighting conditions.

Summary updated

BibTeX
@article{lattas2021avatarme,
  author = {Alexandros Lattas and Stylianos Moschoglou and Stylianos Ploumpis and Baris Gecer and Abhijeet Ghosh and Stefanos Zafeiriou},
  title = {{AvatarMe++: Facial Shape and BRDF Inference with Photorealistic Rendering-Aware GANs}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2021},
  doi = {10.1109/tpami.2021.3125598},
}
Figure