SynthASpoof: Developing Face Presentation Attack Detection Based on Privacy-friendly Synthetic Data

Meiling Fang, Marco Huber, Naser DamerWorkshops @ CVPR 2023 · DOI

Abstract

Face Presentation Attack Detection (PAD) is critical for securing biometric systems against spoofs like high-resolution prints or video replays. However, the collection of large-scale authentic biometric datasets faces significant legal and ethical hurdles due to privacy regulations. This work introduces SynthASpoof, the first large-scale PAD dataset where "live" subjects are entirely synthetic. By leveraging synthetic data and domain generalization techniques, the study demonstrates that models can learn to detect physical attacks on real humans without requiring massive amounts of private biometric data.

Introduction

Face recognition systems are increasingly prevalent but remain vulnerable to presentation attacks (PAs). Traditional PAD development relies on large datasets of real individuals being spoofed. Privacy regulations like GDPR and the withdrawal of major datasets due to consent issues have made this approach increasingly difficult. This research explores whether privacy-friendly synthetic data can be used to train robust models that protect real-world users.

The SynthASpoof Dataset

The authors developed a pipeline to create a "synthetic-to-real" attack dataset. First, StyleGAN2-ADA was used to generate 125,000 synthetic faces, which were then filtered for quality using CR-FIQA to select the 25,000 best frontal images.

Examples of bonafide and attack samples in the SynthASpoof dataset, including print and various replay attacks.

Unlike purely digital manipulations, SynthASpoof incorporates physical attacks. Synthetic faces were displayed on various screens (MacBook, iPad, Dell monitor) and recaptured using different sensors (webcam, Samsung phone, iPad). This process captures essential "recapture artifacts" such as moiré patterns and reflections that characterize real-world spoofs.

Methodology

To bridge the domain gap between synthetic and real faces, the researchers employed MixStyle. This technique mixes feature statistics between synthetic training data and unlabeled authentic data, encouraging the model to focus on attack-related content rather than the "style" of the face (synthetic vs. real). The study evaluated two standard architectures: ResNet-18 and PixBis.

Key Results and Insights

The core finding is that the visual difference between a "live" synthetic face and its "recaptured" counterpart is fundamentally similar to that of real humans. Models trained solely on SynthASpoof achieved performance comparable to those trained on authentic data.

  • Feasibility: A ResNet model trained on authentic data yielded an average Half Total Error Rate (HTER) of 25.01%, while the SynthASpoof-trained model achieved 26.96%.
  • Generalization: Integrating MixStyle into synthetic training reduced the HTER to 21.75%, actually outperforming the baseline trained on real data.
  • SOTA Supplement: When used to supplement existing small authentic datasets, SynthASpoof significantly improved performance. On the OULU-NPU benchmark, a combined approach reached an HTER of 12.95%, a substantial improvement over the previous state-of-the-art (18.71%).

Discussion

The study also revealed that including a margin around the face (background) can lead to overfitting on camera-specific artifacts, decreasing performance on unseen datasets. This suggests that PAD models should prioritize universal facial spoofing cues.

While SynthASpoof is a major advancement, it currently focuses on 2D attacks (print and replay). Future work will aim to include 3D masks, makeup, and partial-face attacks, alongside more advanced domain adaptation techniques to further close the synthetic-to-real gap.

Summary updated

BibTeX
@inproceedings{fang2023synthaspoof,
  author = {Meiling Fang and Marco Huber and Naser Damer},
  title = {{SynthASpoof: Developing Face Presentation Attack Detection Based on Privacy-friendly Synthetic Data}},
  booktitle = {Workshops @ CVPR},
  year = {2023},
  doi = {10.1109/cvprw59228.2023.00113},
}
Figure