On the detection of morphing attacks generated by GANs

Laurent Colbois, Sébastien Marcel

Abstract

Facial morphing attacks pose a significant threat to the integrity of identity documents and automated border control systems. As these attacks transition from traditional landmark-warping techniques to sophisticated Generative Adversarial Networks (GANs), the need for robust detection methods becomes critical. This paper evaluates the efficacy of handcrafted texture features, specialized Convolutional Neural Networks (CNNs), and general-purpose pretrained GAN detectors in identifying "deep morphs." Our findings indicate that pretrained models, specifically those trained on general GAN artifacts, achieve near-perfect detection accuracy, suggesting that GAN-generated morphs retain distinct architectural fingerprints.

1. Introduction

A morphing attack involves combining the facial features of two individuals into a single synthetic image. When successful, this composite image allows both individuals to authenticate against the same legal document, such as a passport. While traditional morphs relied on manual warping and pixel averaging, recent advancements in GANs—specifically StyleGAN2—have enabled the creation of high-fidelity "deep morphs." These synthetic images are increasingly difficult for human observers to distinguish and present a novel challenge for biometric security. This study investigates whether specialized tools are required for deep morph detection or if existing image forensics techniques are sufficient.

2. Methodology

The research evaluates three primary strategies for single-image morphing attack detection (S-MAD):

2.1 Handcrafted Feature Analysis

The study utilizes Fourier features to analyze frequency distributions and Local Binary Patterns (LBP) to capture micro-texture variations. These features are classified using Linear Discriminant Analysis (LDA). Such methods are valued for their interpretability in forensic contexts.

2.2 Deep Learning Approaches

Two deep learning paths were explored:

  • Trained CNNs: Standard architectures including Xception, EfficientNet-B4, and MobileNet were trained specifically on deep morph datasets.
  • Pretrained GAN Detectors: A ResNet50 model, originally trained by Wang et al. to detect ProGAN-generated images, was tested "out-of-the-box." This approach evaluates the cross-model generalization of GAN artifact detection.

2.3 Score-level Fusion

To leverage the strengths of both texture analysis and deep feature extraction, the researchers implemented a fusion of LBP and ResNet scores to improve overall robustness.

3. Experimental Setup and Datasets

Due to the scarcity of public high-quality deep morph datasets, the authors generated custom sets using source images from the Face Research Lab London (FRLL) and the Face Recognition Grand Challenge (FRGC). Two generation techniques were employed:

  • SG2: Latent space interpolation within StyleGAN2 ($W+$).
  • MIPGAN: An advanced optimization-based approach incorporating a biometric loss function to maximize the likelihood of fooling face recognition systems.

4. Results and Analysis

The experimental results yielded several critical insights into the nature of GAN-generated morphs:

  • Universal GAN Fingerprints: The pretrained ResNet50-ProGAN model demonstrated remarkable performance, achieving an Area Under the Curve (AUC) of 1.00 or an Equal Error Rate (EER) below 0.6% across nearly all cross-dataset tests. This suggests that different GAN architectures share common structural artifacts, such as upsampling patterns, that remain detectable regardless of the specific generation task.
  • The MIPGAN Paradox: Although MIPGAN is designed to be more effective at deceiving biometric systems, it proved easier to detect than SG2. The optimization process likely introduces more pronounced high-frequency artifacts, particularly in complex areas like hair.
  • Generalization Challenges: While handcrafted LBP features performed well in intra-dataset scenarios (EER 2-5%), they failed to generalize across different datasets. In contrast, deep learning models showed superior robustness to dataset shifts.
  • Interpretability vs. Performance: Despite the raw accuracy of CNNs, handcrafted features remain relevant for legal and forensic applications where "black box" decisions are insufficient and explainable evidence (e.g., skin texture anomalies) is required.

5. Conclusion and Future Work

While current GAN detectors show high efficacy against digital deep morphs, two significant challenges remain. First, the "print-scan" process used in real-world passport issuance acts as a low-pass filter, potentially erasing the high-frequency artifacts these detectors rely on. Second, there is a need for unified detection frameworks capable of identifying both traditional landmark-based morphs and GAN-based morphs without prior knowledge of the attack vector. Future research should prioritize robustness against physical-world transformations and cross-category attack detection.

Summary updated

BibTeX
@inproceedings{colbois2022detection,
  author = {Laurent Colbois and Sébastien Marcel},
  title = {{On the detection of morphing attacks generated by GANs}},
  booktitle = {BIOSIG},
  year = {2022},
  url = {https://openreview.net/forum?id=JoEBhkxtPh},
}
Figure