OrthoMAD: Morphing Attack Detection Through Orthogonal Identity Disentanglement

Pedro C. Neto, Tiago Gonçalves, Marco Huber, Naser Damer, Ana F. Sequeira, Jaime S. CardosoarXiv 2022

TL;DR

Face morphing attacks blend images of two different people to create a single composite face that can fool biometric systems into accepting both individuals. This paper introduces OrthoMAD, a novel detection framework that uses an orthogonality regularization loss to force a neural network to disentangle and separate these two distinct identity components into independent latent vectors. Using a lightweight ResNet-18 backbone, OrthoMAD achieves state-of-the-art detection performance across multiple diverse datasets.

What Problem Does This Paper Address?

Deep face recognition systems are highly accurate but remain vulnerable to morphing attacks. In a morphing attack, an adversary takes face images from two different individuals and fuses them into a single image. If successful, this morphed image contains enough biometric features from both people to trick facial recognition systems—such as automated border control gates—into authenticating either person using the same passport.

Most existing Morphing Attack Detection (MAD) methods treat this strictly as a standard binary classification problem (i.e., "Is this image a morph or a bona fide face?"). They focus heavily on detecting digital or physical artifacts left behind by the blending process. However, they completely ignore a fundamental truth about morphed images: they inherently contain two distinct identities. The authors of this paper address this gap by explicitly forcing the network to look for and separate these dual identities.

Methods

The core innovation of OrthoMAD is Orthogonal Identity Disentanglement. Instead of mapping an input image to a single latent embedding before classification, the architecture splits the final layers of a standard ResNet-18 backbone into two distinct latent vectors, $Z_1$ and $Z_2$ (each of size 32).

To ensure these vectors capture independent identity information, the authors introduce a novel regularization term to the loss function:

$$Reg = (Z_1^T Z_2)^2$$

By minimizing the squared inner product of $Z_1$ and $Z_2$, the network is heavily penalized if the two vectors share common information. This forces them to become orthogonal. If an image is a morph, the network will naturally tend to isolate one identity in $Z_1$ and the other in $Z_2$.

For the final classification, $Z_1$ and $Z_2$ are concatenated and fed into a fully connected layer with a sigmoid activation to output a final morph probability score. The total loss is a combination of standard Binary Cross-Entropy (BCE) and this new orthogonality regularization term.

Fig. 1: Overview of the architecture design for the integration of the new regularisation term. The regularisation loss is applied at the vector (Z1 and Z2), hence, their gradients do not affect the final classification layer. The system is composed of three components, a backbone network, two identity vectors and a final classification layer that uses the concatenation of both vectors.

Datasets

The authors evaluated their approach using a comprehensive cross-dataset paradigm to test how well the model generalizes to unseen morphing techniques:

  • Training Datasets:
    • MorGAN: A low-resolution dataset (64x64) split into landmark-based morphs (MorGAN-LMA) and GAN-based morphs (MorGAN-GAN).
  • LMA-DRD: A high-resolution dataset based on VGGFace2, available in both Digital (D) and Printed & Scanned (PS) formats.
  • SMDD (Synthetic Morphing Attack Detection Development): A large-scale dataset containing 500k synthetic bona fide faces generated via StyleGAN2-ADA and 15k morphs created using OpenCV.
  • Evaluation Dataset:
    • FRLL-Morphs: Used strictly for testing, this dataset contains morphs generated from high-resolution frontal faces using five distinct techniques: Style-GAN2, WebMorph, AMSL, FaceMorpher, and OpenCV.

Key Insights and Ideas

  • Leveraging Compositionality: Instead of just looking for statistical anomalies or blending artifacts, OrthoMAD targets the semantic composition of the attack. Forcing identity disentanglement provides a more robust conceptual bottleneck for the network.
  • The Power of Synthetic Training: When trained on the entirely synthetic SMDD dataset, OrthoMAD generalized exceptionally well to real-world morphing techniques. This indicates that even if synthetic faces lack deep, real-world identity traits, the geometric variations are sufficient for the network to learn the concept of orthogonal identity separation.
  • Built-in Constraint for Transparency: By forcing the latent space to split into orthogonal vectors, the researchers introduce an a priori rule into the model's decision-making process, moving a step closer toward interpretable and transparent AI systems.

Key Results

OrthoMAD consistently outperformed the standard baseline ResNet-18 architecture across almost all testing scenarios. As seen in the experimental results, the orthogonal regularization significantly lowers the Equal Error Rate (EER).

Table showing performance comparison between baseline ResNet-18 and OrthoMAD across different training and testing splits.

When trained on the large-scale synthetic SMDD dataset, OrthoMAD was compared against larger, state-of-the-art architectures in the literature (Inception, PW-MAD, and MixFacenet). OrthoMAD achieved top performance in three out of five evaluation categories and remained highly competitive in the others:

  • FRLL-Style-GAN2: OrthoMAD achieved an EER of 6.54%, outperforming MixFacenet (8.99%) and Inception (11.37%).
  • FRLL-OpenCV: OrthoMAD reached a remarkably low EER of 0.73% (compared to 2.42% for PW-MAD).
  • FRLL-FaceMorpher: OrthoMAD led with an EER of 0.98% (compared to 2.20% for PW-MAD).
Table comparing OrthoMAD to state-of-the-art models when trained on the SMDD dataset.

Limitations and Future Work

While OrthoMAD demonstrates strong generalization capabilities, the authors note that it faces difficulties when the training dataset is very small and the morphing technique is highly sophisticated (such as certain instances of FaceMorpher).

For future work, the authors suggest:

  1. Testing the orthogonality regularization term on top of more complex, attention-based backbone architectures (like Vision Transformers).
  2. Generating saliency map-based explanations (e.g., Grad-CAM) to visually verify if the imposition of the orthogonality constraint forces the model to look at distinct, identity-specific facial regions for $Z_1$ and $Z_2$.

Summary updated

BibTeX
@misc{neto2022orthomad,
  author = {Pedro C. Neto and Tiago Gonçalves and Marco Huber and Naser Damer and Ana F. Sequeira and Jaime S. Cardoso},
  title = {{OrthoMAD: Morphing Attack Detection Through Orthogonal Identity Disentanglement}},
  year = {2022},
  eprint = {2208.07841},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.07841},
}
Figure