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

Tomer Friedlander, Ron Shmelkin, Lior Wolf · DOI

Introduction

Biometric authentication systems, such as facial recognition, are increasingly ubiquitous in modern security. While often perceived as foolproof, these systems operate on probabilistic matching rather than exact identification. This inherent margin of error, defined by the False Acceptance Rate (FAR), creates a vulnerability to "dictionary attacks." Similar to a master key in physical security, a "Master Face" is a synthetic image designed to match the biometric templates of a significant portion of a target population. This research presents a novel method for generating such faces in both 2D and 3D domains by navigating the latent space of generative models.

Methodology

The generation of Master Faces is framed as a black-box optimization problem within the high-dimensional latent space of a Generative Adversarial Network (GAN). The researchers utilized StyleGAN2 to produce high-fidelity 2D facial images. For 3D applications, these images were processed through a pre-trained reconstruction network to generate corresponding depth maps and structural data.

To navigate the complex latent space, the authors employed the Limited-Memory Matrix Adaptation Evolution Strategy (LM-MA-ES). The optimization loop involves generating a face from a latent vector $z$, extracting its features using a face descriptor $\mathcal{M}$, and calculating a matching score against a target dataset.

The optimization pipeline for generating Master Faces, showing the interaction between the latent vector $z$, the generator $\mathcal{G}$, and the descriptor $\mathcal{M}$.

Network-Assisted Evolution

A key innovation of this work is the "Network-Assisted" approach, which addresses the computational cost of evaluating fitness in large populations. The researchers integrated a "Success Predictor" ($h$)—a small neural network trained online during the evolutionary process.

As shown in the figure below, the Success Predictor learns to estimate the likelihood that a given latent vector will result in a high-coverage Master Face. By acting as a filter, it allows the system to prioritize promising candidates and skip expensive full-pipeline evaluations for unlikely ones, significantly increasing optimization efficiency.

The Success Predictor framework: (a) online training of the predictor $h$ using labeled latent vectors, and (b) integration of $h$ into the evolutionary algorithm to sample high-probability candidates.

Experimental Results

The method was rigorously tested across multiple benchmark datasets, including LFW (Labeled Faces in the Wild), RFW (Racial Faces in the Wild), and Texas 3D. The results demonstrate a startling level of vulnerability in current systems:

  • 2D Attacks: A set of just 9 master faces achieved a coverage of 63.92% on the LFW dataset using the Dlib descriptor and over 84% on the RFW training subset.
  • 3D Attacks: On the Texas 3D dataset, 9 master faces successfully impersonated 45-50% of the population.
  • Cross-Modal Attacks: In rigorous scenarios requiring simultaneous 2D and 3D matches, the system maintained a success rate of 57.76%.

The "Success Predictor" consistently enabled the LM-MA-ES algorithm to outperform standard evolutionary strategies and random search methods across various recognition models like FaceNet, ArcFace, and MagFace.

Conclusion and Implications

The existence of Master Faces highlights the presence of "biometric hubs"—regions in embedding space where numerous identities cluster. The study also revealed that dataset biases, such as the over-representation of older Caucasian males in training sets, exacerbate these vulnerabilities by creating a "common denominator" of features that are easier to exploit. Beyond demonstrating a threat, the authors suggest that these generated faces could serve as a defensive tool, helping to train more robust models by providing challenging "negative" examples that improve the discrimination of similar-looking individuals.

Summary updated

BibTeX
@article{friedlander2022generating,
  author = {Tomer Friedlander and Ron Shmelkin and Lior Wolf},
  title = {{Generating 2D and 3D 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