Can Synthetic Faces Undo the Damage of Dataset Bias to Face Recognition and Facial Landmark Detection?

Adam Kortylewski, Bernhard Egger, Andreas Morel-Forster, M Sahlén, Thomas M. Gerig, Clemens Blumer, Corius Reyneke, Thomas Vetter

Abstract

It is well known that deep learning approaches to face recognition and facial landmark detection suffer from biases in modern training datasets. In this work, we propose to use synthetic face images to reduce the negative effects of dataset biases on these tasks. Using a 3D morphable face model, we generate large amounts of synthetic face images with full control over facial shape and color, pose, illumination, and background. With a series of experiments, we extensively test the effects of priming deep nets by pre-training them with synthetic faces. We observe the following positive effects for face recognition and facial landmark detection tasks: 1) Priming with synthetic face images improves the performance consistently across all benchmarks because it reduces the negative effects of biases in the training data. 2) Traditional approaches for reducing the damage of dataset bias, such as data augmentation and transfer learning, are less effective than training with synthetic faces. 3) Using synthetic data, we can reduce the size of real-world datasets by 75% for face recognition and by 50% for facial landmark detection while maintaining performance. Thus, offering a means to focus the data collection process on less but higher quality data.

Introduction: The Problem of Dataset Bias

Deep learning models for face recognition and landmark detection are only as good as the data they are trained on. Unfortunately, most large-scale datasets are scraped from the web, leading to significant sampling bias. These datasets often over-represent frontal poses and specific lighting conditions while lacking "in-the-wild" variety, such as extreme angles, diverse skin tones, or complex illumination.

Correcting these biases through manual annotation is a monumental task; labeling 3D head poses or precise facial landmarks is expensive and prone to human error. This research explores whether synthetic data, generated with precise computer graphics, can serve as a viable alternative to fill these gaps.

Methodology: 3D Morphable Models and Priming

The researchers utilized a 3D Morphable Face Model (3DMM) to synthesize training images. Unlike standard 2D data augmentation, a 3DMM allows for total, disentangled control over identity, pose (yaw, pitch, roll), illumination (simulated via spherical harmonics), and background.

Examples of synthetic face images generated with varying pose, illumination, and background.

The core strategy, termed Priming, involves two stages:

  1. Pre-training: A deep neural network (e.g., FaceNet for recognition or HyperFace for landmarks) is trained on a massive, diverse synthetic dataset.
  2. Fine-tuning: The model is then refined using varying amounts of real-world data.

This approach allows the model to learn the fundamental "physics" of a face—its 3D structure and how it interacts with light—before encountering the textural complexities of real-world images.

Key Results and Data Efficiency

The experiments demonstrated that synthetic priming significantly enhances model generalization across multiple benchmarks. On the challenging IJB-A recognition benchmark, priming improved the True Acceptance Rate (TAR) from 86.8% to 92.4%.

Crucially, the study found that synthetic data acts as a force multiplier for real-world data. A "primed" model using only 25% of a real dataset could outperform or match a standard model trained on 100% of the same data.

Face recognition performance across different datasets, showing the impact of synthetic priming on accuracy and data efficiency.

Key Insights:

  • Diversity Over Realism: Even though synthetic faces may appear "uncanny," their distributional diversity (covering extreme poses and lighting) is more critical for generalization than pixel-perfect photorealism.
  • Superiority to Augmentation: Synthetic priming consistently outperformed traditional 2D data augmentation and general transfer learning (e.g., from ImageNet), proving the value of face-specific structural knowledge.
  • No Catastrophic Forgetting: Fine-tuning on real data did not cause the model to "forget" its synthetic pre-training; instead, it successfully merged structural purity with textural realism.

Conclusion

Synthetic faces offer a powerful tool to mitigate the damage of dataset bias. By providing a diverse, perfectly labeled foundation, synthetic priming reduces the reliance on massive, biased real-world datasets by up to 75%. Future work may involve combining 3DMMs with Generative Adversarial Networks (GANs) to bridge the remaining gap between synthetic structure and photorealistic texture.

Summary updated

Abstract

It is well known that deep learning approaches to face recognition and facial landmark detection suffer from biases in modern training datasets. In this work, we propose to use synthetic face images to reduce the negative effects of dataset biases on these tasks. Using a 3D morphable face model, we generate large amounts of synthetic face images with full control over facial shape and color, pose, illumination, and background. With a series of experiments, we extensively test the effects of priming deep nets by pre-training them with synthetic faces. We observe the following positive effects for face recognition and facial landmark detection tasks: 1) Priming with synthetic face images improves the performance consistently across all benchmarks because it reduces the negative effects of biases in the training data. 2) Traditional approaches for reducing the damage of dataset bias, such as data augmentation and transfer learning, are less effective than training with synthetic faces. 3) Using synthetic data, we can reduce the size of real-world datasets by 75% for face recognition and by 50% for facial landmark detection while maintaining performance. Thus, offering a means to focus the data collection process on less but higher quality data.
BibTeX
@misc{kortylewski2018can,
  author = {Adam Kortylewski and Bernhard Egger and Andreas Morel-Forster and M Sahlén and Thomas M. Gerig and Clemens Blumer and Corius Reyneke and Thomas Vetter},
  title = {{Can Synthetic Faces Undo the Damage of Dataset Bias to Face Recognition and Facial Landmark Detection?}},
  year = {2018},
  eprint = {1811.08565},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.08565},
}
Figure