Introduction
Face anti-spoofing (FAS) is a critical security layer for facial recognition systems, designed to prevent presentation attacks using printed photos or digital screens. While standard Convolutional Neural Networks (CNNs) perform well in intra-dataset tests, they often struggle with cross-dataset generalization. This is primarily because binary classification models tend to overfit to dataset-specific artifacts rather than learning intrinsic spoofing indicators. To address this, the proposed Multiple Explainable and Generalizable Cues (MEGC) framework forces the network to learn four human-interpretable physical artifacts: facial depth, reflection, moiré patterns, and physical boundaries.
The MEGC Framework
The core of the MEGC approach is the use of auxiliary supervision. Instead of a simple "live vs. spoof" output, the network is trained to generate four distinct maps that correspond to physical giveaways of a spoofing attempt.
Synthetic Data Generation
A key challenge in this multi-task learning setup is the lack of pixel-level ground truth for artifacts like moiré patterns and screen boundaries. The authors introduce two novel synthetic generation techniques to overcome this data bottleneck:
- Moiré Pattern Extraction: Moiré patterns are wavy distortions caused by photographing digital screens. The authors use a pre-trained image restoration network (MRGAN) to isolate these patterns from spoofing images, creating high-quality "moiré maps" for training.
- Boundary Map Synthesis: To teach the model to recognize the edges of a phone or paper, spoof faces are synthetically "pasted" onto live backgrounds. The resulting edges provide an automatically generated, perfect boundary map.
The architecture consists of a shared backbone, a Multi-auxiliary Feature Extractor (MAFE) to predict the four maps, and a Multi-feature Enrichment (MFE) module that fuses these features for the final classification.
Experimental Results and Analysis
The MEGC framework was evaluated using cross-dataset testing between the Replay-Attack (R) and CASIA-MFSD (C) datasets, using the Half Total Error Rate (HTER) as the primary metric. This protocol ensures that the model is tested on data from different sensors and lighting conditions than those seen during training.
| Training Set | Test Set | HTER (%) |
|---|---|---|
| CASIA-MFSD | Replay-Attack | 20.2 |
| Replay-Attack | CASIA-MFSD | 27.9 |
The results demonstrate that MEGC significantly outperforms baseline models that rely only on depth and reflection. Ablation studies further revealed that different cues are vital for different attack types: moiré patterns are the primary indicator for screen-based replay attacks, while boundary cues are essential for detecting printed photo attacks. Learning multiple cues is therefore essential for a robust, catch-all defense.
Conclusion
By explicitly modeling multiple explainable physical artifacts, the MEGC framework achieves robust cross-dataset performance in face anti-spoofing. The use of synthetic supervision effectively addresses the data labeling bottleneck for complex artifacts. Future work will explore integrating surface texture cues to further enhance the model's discriminative power between human skin and spoofing materials.
Summary updated