DigiFace-1M: 1 Million Digital Face Images for Face Recognition

Gwangbin Bae, Martin de La Gorce, Tadas Baltrusaitis, Charlie Hewitt, Dong Chen, Julien Valentin, Roberto Cipolla, Jingjing Shen

TL;DR

DigiFace-1M introduces a massive synthetic dataset of 1.22 million digital face images to train face recognition models without the ethical and technical baggage of web-crawled data. By leveraging a computer graphics pipeline and aggressive data augmentation, the researchers achieved performance comparable to models trained on millions of real images, while reducing the error rate of previous synthetic methods by over 50%.

What Problem Does This Problem Address?

Modern face recognition (FR) models are data-hungry, typically requiring millions of images for training. Historically, this data is "crawled" from the web, leading to three major crises:

  1. Ethical & Privacy Issues: Most large-scale datasets (like MS1MV2 or MegaFace) consist of celebrity or public images collected without informed consent. This has led to severe criticism and the removal of several prominent datasets from public access.
  2. Label Noise: Web-crawled data is messy. It often contains mislabeled images or different people sharing the same name, which confuses the learning process.
  3. Data Bias: Celebrity-heavy datasets are often skewed toward specific demographics (e.g., Caucasian) and specific conditions (professional lighting and makeup), leading to poor performance on under-represented groups in real-world scenarios.

The authors propose that synthetic data—if generated with enough variety and realism—can solve these problems by providing perfectly labeled, ethically sourced, and balanced training data.

Methods

The researchers built a sophisticated computer graphics (CG) pipeline to render photo-realistic digital faces.

Identity Generation: An "identity" is defined as a unique combination of facial geometry (from 511 consented 3D scans), texture, eye color, and hair style. By mixing these attributes, they can generate an effectively infinite number of unique people.

Rendering Control: Unlike GANs, which are "black boxes," the CG pipeline allows for granular control. They randomized:

  • Accessories: Clothing, glasses, masks, and headwear (see Figure 3 below).
  • Hair: Color, density, and thickness were varied to simulate aging and diversity (see Figure 2 below).
  • Environment: Poses, expressions, lighting (HDRIs), and camera angles were varied to ensure the model learns robust features rather than just memorizing specific views.
Figure 2. Each row shows the same identity rendered with differ- ent accessory setups. Accessories include clothes, glasses, make- up (e.g., eyeshadow and eyeliner), face-wear and head-wear. The color, density and thickness of facial and head hair are also ran- domized. The hair style is modified only when the sampled acces- sory conflicts with the original hair style.
Figure 3. Randomizing the hair style makes the problem unnec- essarily difficult (see the bottom row), as most people maintain similar hair styles. Therefore, we only randomize the color, den- sity and thickness of the hair as shown in the top row (the hair is also randomly flipped horizontally).

Bridging the Domain Gap: To make synthetic images "look" real to a neural network, the authors applied aggressive data augmentation. This included standard flips and crops, but also "appearance" augmentations (Gaussian noise, motion blur, JPEG compression) and "warping" (random scaling and perspective shifts) to simulate the imperfections of real-world cameras.

Datasets

  • DigiFace-1M (New): A synthetic dataset consisting of two parts:
  • Part 1: 720K images of 10K identities (72 images per ID) to teach the model robustness to pose and lighting.
  • Part 2: 500K images of 100K identities (5 images per ID) to teach the model to distinguish between many similar-looking people.
  • Evaluation Benchmarks: The model was tested on five standard "real-world" datasets: LFW, CFP-FP, CPLFW, AgeDB, and CALFW.
  • Comparison Datasets: They compared their results against SynFace (a GAN-based synthetic dataset) and MS1MV2 (a massive real-world dataset).

Key Insights and Ideas

  • CG vs. GANs: The authors argue that CG pipelines are superior to GANs for FR training. GANs often struggle with "identity change" (the face shifts slightly when the pose changes) and "geometric inconsistency." Because the CG pipeline uses a fixed 3D model for each identity, the geometry remains perfectly consistent across all renders.
  • The Power of 2%: One of the most striking findings is that pre-training on DigiFace-1M and then fine-tuning on just 120K real images (only 2% of the MS1MV2 dataset) achieves accuracy nearly identical to models trained on millions of real images. This suggests a path toward high-performance AI that requires far less ethically-dubious data.
  • Texture is Secondary: Surprisingly, increasing the number of unique skin textures didn't significantly boost accuracy. The model benefited much more from variations in geometry (facial shape) and environmental factors (lighting/pose).
  • Landmark Advantage: Because the faces are synthetic, the researchers have perfect "ground truth" for facial landmarks (eyes, nose, mouth), allowing for much more robust face alignment during training compared to real-world images where landmarks must be estimated.
Figure 5. For synthetic faces, it is trivial to extract the locations of ground-truth facial landmarks (e.g., eyes, nose-tip and mouth corners) and align the crop around the face. This enables robust face alignment, even when some of the landmarks are not visible.

Key Results

  • Synthetic-Only Performance: On the LFW benchmark, DigiFace-1M achieved 96.17% accuracy. This is a massive jump from the previous synthetic state-of-the-art, SynFace, which achieved 91.93%.
  • Error Reduction: Across five major benchmarks, DigiFace-1M reduced the average error rate by 46.0% compared to GAN-based methods.
  • Fine-tuned Performance: When fine-tuned with a small set of real images, the model reached 99.33% on LFW, which is comparable to top-tier models trained on massive, non-consensual web-crawled datasets (which typically hit ~99.8%).

Limitations and Future Work

  • The Aging Gap: The current pipeline does not explicitly model biological aging (e.g., wrinkles, sagging skin). This resulted in lower performance on age-focused benchmarks like AgeDB and CALFW compared to models trained on real images of people at different life stages.
  • Missing Details: The dataset currently lacks common real-world attributes like jewelry and tattoos, which contributes to the remaining "domain gap" between synthetic and real images.
  • Future Directions: The authors suggest that future work should focus on more faithful aging simulations and expanding the library of digital assets to better match the messy reality of human appearance.

Summary updated

Abstract

State-of-the-art face recognition models show impressive accuracy, achieving over 99.8% on Labeled Faces in the Wild (LFW) dataset. Such models are trained on large-scale datasets that contain millions of real human face images collected from the internet. Web-crawled face images are severely biased (in terms of race, lighting, make-up, etc) and often contain label noise. More importantly, the face images are collected without explicit consent, raising ethical concerns. To avoid such problems, we introduce a large-scale synthetic dataset for face recognition, obtained by rendering digital faces using a computer graphics pipeline. We first demonstrate that aggressive data augmentation can significantly reduce the synthetic-to-real domain gap. Having full control over the rendering pipeline, we also study how each attribute (e.g., variation in facial pose, accessories and textures) affects the accuracy. Compared to SynFace, a recent method trained on GAN-generated synthetic faces, we reduce the error rate on LFW by 52.5% (accuracy from 91.93% to 96.17%). By fine-tuning the network on a smaller number of real face images that could reasonably be obtained with consent, we achieve accuracy that is comparable to the methods trained on millions of real face images.
BibTeX
@inproceedings{bae2023digiface,
  author = {Gwangbin Bae and Martin de La Gorce and Tadas Baltrusaitis and Charlie Hewitt and Dong Chen and Julien Valentin and Roberto Cipolla and Jingjing Shen},
  title = {{DigiFace-1M: 1 Million Digital Face Images for Face Recognition}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
}
Figure