In 3D face modeling, creating a complete 3D avatar from a single photo requires "filling in the blanks" for parts of the face not visible to the camera. This process, known as face texture completion, traditionally relies on supervised learning using "complete" ground-truth textures captured via expensive 3D scanners. However, such datasets are often small and lack the diversity of real-world lighting and facial features.
This paper introduces DSD-GAN (Dual-Space-Discriminator GAN), a method that learns to complete facial textures in an unsupervised manner using only standard, "in-the-wild" face photos. By leveraging large-scale image datasets like FFHQ, the model achieves high-fidelity results without ever seeing a complete 3D scan during training.
The DSD-GAN Architecture
The core of the proposed method is a generative adversarial network that operates across two distinct domains: the UV texture space and the 2D image space.
The pipeline begins by unwrapping a single input image into a partial UV texture map. A Generator then predicts the missing regions to produce a complete 512x512 UV map. To ensure high-quality results, the system employs two specialized discriminators:
- Texture-Space Discriminator ($D_T$): This discriminator focuses on local patches within the UV map to learn high-frequency details like skin pores, wrinkles, and facial hair. To maintain global consistency, it utilizes coordinate regression, requiring the discriminator to predict the patch's location on the face, preventing anatomical errors like misplaced facial hair.
- Image-Space Discriminator ($D_I$): The completed UV texture is passed through a differentiable mesh renderer to generate a 2D image from a random viewpoint. This discriminator ensures that the overall facial structure, semantic features (eyes, nose, mouth), and lighting gradients appear natural from any angle.
Overcoming Data Scarcity and Bias
A significant challenge in unsupervised learning for 3D faces is the inherent bias in common datasets toward frontal views. To prevent the model from only learning to complete frontal faces, the authors implemented a sampling strategy for the renderer that forces the model to "see" and refine the completed texture from extreme side angles during the training process.
By training on 70,000 images from FFHQ and 30,000 from CelebA-HQ, the model learns the underlying distribution of complete faces by observing millions of different partial fragments.
Results and Qualitative Analysis
The DSD-GAN model was benchmarked against the FaceScape dataset, which provides ground-truth 3D scans for quantitative evaluation. DSD-GAN achieved an FID score of 3.31, significantly outperforming competitors like Base-MPIE and Base-BFM, which scored 9.96 or higher despite having access to some complete (though lower quality) texture data.
Qualitatively, the model produces remarkably sharp and realistic skin textures. Unlike previous methods that often result in blurry or "averaged" skin in occluded areas, DSD-GAN maintains high-frequency details that are consistent with the visible portions of the subject's face. The model also demonstrates robust pose invariance, successfully hallucinating the far side of the face even when provided with a sharp profile view.
Conclusion
The success of DSD-GAN suggests that the scale and diversity of "in-the-wild" 2D photo datasets are more valuable for learning realistic facial textures than small, controlled 3D scan datasets. By decoupling the learning of local details (in UV space) and global structure (in image space), the model provides a powerful tool for high-fidelity 3D avatar creation from single images.
Summary updated