Approximating Optimal Morphing Attacks using Template Inversion

Laurent Colbois, Hatef Otroshi-Shahreza, Sébastien Marcel

TL;DR

This paper introduces a novel method for creating face morphing attacks by inverting "optimal" biometric embeddings back into images. By leveraging template inversion instead of slow latent-space optimization, the authors produce highly effective attacks that are up to 75 times faster to generate than current state-of-the-art deep-learning methods.

What Problem Does This Paper Address?

Face morphing attacks are a significant security threat where an attacker combines the facial features of two individuals into a single image. If successful, this "morph" can be used to obtain a legal ID (like a passport) that allows both individuals to be authenticated by a Face Recognition System (FRS).

While traditional landmark-based methods (LMA) are effective, they often leave visible artifacts. Recent "deep" morphing methods using Generative Adversarial Networks (GANs) produce more realistic images but typically rely on a slow, iterative optimization process to find the right "latent vector" for each pair of faces. This makes it difficult to generate the large-scale datasets needed to train robust morphing detection systems. The authors sought a way to generate high-quality, effective morphs nearly instantaneously.

Methods

The core innovation is the use of Template Inversion. Instead of blending images or GAN vectors, the authors operate directly in the "embedding space"—the mathematical representation a face recognition system uses to identify a person.

The process follows three main steps:

  1. Extraction: Use an existing FRS (like ArcFace) to extract embeddings ($x_1, x_2$) from two source images.
  2. Interpolation: Compute an "optimal morph embedding" ($x^*$) by averaging the two vectors and normalizing them back onto the embedding hypersphere.
  3. Inversion: Feed this $x^*$ into a pre-trained "inverter" model to reconstruct the face image.

The authors experimented with two types of inverters:

  • Base Inversion: A self-contained CNN decoder. It is extremely accurate at preserving identity (fooling the FRS) but produces lower-resolution, somewhat blurry images.
  • GAN-Inversion: A model that maps embeddings into the latent space of a pre-trained StyleGAN. This produces high-resolution, photorealistic faces, though it is slightly less "accurate" at matching the exact target embedding.

Datasets

  • Training: The template inversion models were trained using the FFHQ (Flickr-Faces-HQ) dataset, a standard high-quality dataset of human faces.
  • Evaluation: To test the attacks, the authors used two common benchmarks in morphing research:
  • FRLL (Face Research Lab London)
    • FRGC (Face Recognition Grand Challenge)
  • Target Systems: The attacks were evaluated against two state-of-the-art FRS: ArcFace and ElasticFace.

Key Insights and Ideas

  • Identity-First Approach: By starting with the "optimal" mathematical representation of a morph and working backward to an image, the attack is fundamentally designed to fool the FRS, rather than just "looking" like a mix to a human.
  • The Realism vs. Effectiveness Trade-off: The "Base Inversion" results show that an image doesn't need to be high-resolution or perfectly sharp to be a devastatingly effective attack against an FRS. However, for a human passport officer, the "GAN-Inversion" is much more dangerous due to its visual realism.
  • Black-Box Generalization: Surprisingly, morphs created to fool one specific FRS (e.g., ArcFace) were still highly effective against a different, "black-box" FRS (e.g., ElasticFace). This suggests that "optimal" morphs occupy a similar space across different AI architectures.
  • Speed as a Catalyst: By removing the optimization bottleneck, the authors turned a process that took nearly a minute per image into one that takes less than a second.

Key Results

  • Speedup: The proposed inversion methods are 50x to 75x faster than the previous state-of-the-art (MIPGAN). While MIPGAN takes ~47 seconds per morph, the inversion methods take between 0.6 and 0.9 seconds.
  • Attack Success: In "white-box" scenarios (where the attacker knows the FRS being used), the Base Inversion achieved a Mated Morph Presentation Match Rate (MMPMR) of nearly 90%, significantly beating MIPGAN (~73%).
  • Black-Box Performance: Even when attacking an unknown system, the Inv-EF model (inverted using ElasticFace) beat MIPGAN's performance against ArcFace, despite MIPGAN having access to ArcFace during its generation process.

Limitations and Future Work

  • Visual Artifacts in Base Inversion: The images from the base inverter are blurry outside the face area. The authors suggest "splicing" the realistic face area into a source image as a future post-processing step to fool human operators.
  • Latent Space Constraints: The GAN-inversion is currently limited by the capacity of StyleGAN's $W$ latent space. The authors hypothesize that moving to the more flexible $W+$ space could improve the success rate of the realistic morphs.
  • Detectability: While these attacks fool recognition systems, they are still detectable by specialized GAN-image detectors. The authors note that as these attacks become more sophisticated, detection models will need to be trained specifically on these "inversion-based" samples to remain effective.

Summary updated

BibTeX
@inproceedings{colbois2023approximating,
  author = {Laurent Colbois and Hatef Otroshi-Shahreza and Sébastien Marcel},
  title = {{Approximating Optimal Morphing Attacks using Template Inversion}},
  booktitle = {IJCB},
  year = {2023},
  doi = {10.1109/ijcb57857.2023.10448752},
}
Figure