Generating 2-D and 3-D Master Faces for Dictionary Attacks With a Network-Assisted Latent Space Evolution

Tomer Friedlander, Ron Shmelkin, Lior Wolf · DOI

TL;DR

Researchers have developed "Master Faces"—synthetic images that act as biometric master keys, capable of successfully impersonating a large portion of the population. By evolving latent vectors in StyleGAN using a novel network-assisted evolutionary strategy, the team demonstrated that fewer than 10 faces can compromise up to 40-60% of identities in major 2D and 3D face recognition datasets.

What Problem Does This Paper Address?

We often assume that biometric data like faces are unique enough to serve as secure passwords. However, biometric matching is probabilistic, not exact. Most systems look for a "close enough" match based on a similarity threshold.

This paper explores dictionary attacks on face recognition. In a traditional password dictionary attack, you try common passwords (like "123456") to see which accounts they unlock. A "Master Face" is the biometric equivalent: a single synthetic face that sits at a high-density intersection of many different identities in a model’s embedding space. The challenge is finding these faces in the massive, high-dimensional latent space of modern generative models without needing access to specific user data.

Methods

The authors treat the search for Master Faces as a "black-box" optimization problem. Since they can't use gradients (the matching process is non-differentiable), they turn to Evolutionary Strategies (ES).

  1. Latent Space Evolution: They use StyleGAN (for 2D) and StyleGAN2 (for 3D) as the face generators. The optimizer searches through the 512-dimensional latent space ($z$ or $w$) to find vectors that maximize the "Mean Set Coverage" (MSC)—the percentage of a dataset the face can successfully impersonate.
  2. Network-Assisted Search (The "Success Predictor"): Standard evolutionary algorithms like LM-MA-ES are computationally expensive because every candidate needs a "fitness" evaluation (generating the image and running it against the entire dataset). The authors introduced a Success Predictor—a small neural network trained online during the evolution to predict if a candidate latent vector is likely to be "fit." This allows them to filter thousands of candidates and only evaluate the most promising ones, significantly speeding up the search.
  3. 3D Reconstruction: To attack 3D systems, they pass the 2D StyleGAN output through a deep 3D face reconstruction network to generate a 3D mesh/depth map.
  4. Greedy Coverage: To maximize the total attack success, they use a greedy algorithm: find one master face, remove the identities it covered from the dataset, and then evolve a second face to cover the remaining identities.

Datasets

The study evaluated their approach against several industry-standard benchmarks:

  • LFW (Labeled Faces in the Wild): The classic benchmark for 2D face verification.
  • RFW (Racial Faces in the Wild): Used to test the attack's effectiveness across different ethnicities (African, Asian, Caucasian, and Indian).
  • Texas 3D Face Recognition Database: A dataset of high-resolution 3D face scans used to evaluate the 3D and combined 2D/3D attacks.

Key Insights and Ideas

  • Biometric Vulnerability is Non-Uniform: The "biometric space" isn't a vacuum; certain demographic clusters are more susceptible. The researchers found that "older Caucasian males" were often the most effective templates for Master Faces, likely due to biases or common features in the training data of the recognition models.
  • 3D Isn't a Silver Bullet: While 3D face recognition is often touted as more secure than 2D, this research shows it is equally vulnerable to Master Face attacks, with coverage rates often exceeding 40%.
  • The "Master Key" is Multi-Modal: Perhaps the most surprising finding is the existence of paired 2D/3D Master Faces. A single synthetic identity can be generated that simultaneously fools both a 2D camera and a 3D depth sensor.
  • Surrogate Models Work: The Success Predictor proved that you don't need to run a full simulation to find good candidates; a simple neural network can learn the "topography" of the latent space well enough to guide the evolution.

Key Results

  • 2D Success: Using their network-assisted LM-MA-ES, a single master face could cover over 20% of identities in the LFW dataset for certain models.
  • Set Coverage: A set of just nine master faces achieved a coverage of 40% to 60% across six leading deep face recognition systems (including Dlib, FaceNet, and ArcFace).
  • 3D Success: For 3D systems, the greedy approach achieved 45-50% coverage with nine faces.
  • Combined Attack: In a combined 2D+3D scenario (where a user must pass both checks), the master faces still achieved a staggering 57.76% coverage using nine images.

Limitations and Future Work

The authors acknowledge that Master Faces have limited transferability. A face optimized to fool "Model A" might not be as effective against "Model B" if the models were trained on vastly different datasets or architectures.

Future work suggests exploring anti-spoofing (liveness detection) as a countermeasure. While these master faces look realistic, they are static. Integrating these faces into "DeepFake" style animations to bypass liveness checks is a logical—and chilling—next step for security research. The authors also suggest that "Master Faces" could ironically be used to improve systems by helping researchers identify and "plug" high-density holes in the biometric embedding space.

Summary updated

BibTeX
@article{friedlander2022generating,
  author = {Tomer Friedlander and Ron Shmelkin and Lior Wolf},
  title = {{Generating 2-D and 3-D Master Faces for Dictionary Attacks With a Network-Assisted Latent Space Evolution}},
  journal = {IEEE Transactions on Biometrics Behavior and Identity Science},
  year = {2022},
  doi = {10.1109/tbiom.2022.3223738},
}
Figure