A Dataset and Benchmark for Large-Scale Multi-Modal Face Anti-Spoofing

Shifeng Zhang, Xiaobo Wang, Ajian Liu, Chenxu Zhao, Jun Wan, Sergio Escalera, Hailin Shi, Zezheng Wang, Stan Z. Li

Introduction

Face recognition systems are now ubiquitous—from unlocking phones to authorizing payments—but they remain vulnerable to "presentation attacks" (spoofing) using photos, video replays, or masks. The primary bottleneck in developing robust Face Presentation Attack Detection (PAD) is the lack of high-quality data. Before this research, existing benchmarks were small, typically featuring fewer than 170 subjects and only one or two visual modalities (usually just RGB). This small scale leads to models that overfit to specific laboratory conditions and fail in the real world. The authors aim to bridge this gap by providing a massive, diverse, multi-modal dataset and a benchmark to push the state-of-the-art.

The CASIA-SURF Dataset

The centerpiece of this research is CASIA-SURF, the largest publicly available multi-modal dataset for face anti-spoofing. It contains 21,000 videos of 1,000 subjects. Unlike previous datasets, it provides three distinct modalities: RGB (color), Depth (3D structure), and Infrared (IR).

Overview of the CASIA-SURF dataset showing real and fake videos across RGB, Depth, and IR modalities.

The dataset includes six specific types of "print attacks" involving flat or curved photos with various cutouts for eyes, nose, or mouth. These attacks are designed to challenge the model's ability to distinguish between a flat surface (like a photo) and a real 3D face.

The six types of print attacks featured in the CASIA-SURF dataset, visualized across three modalities.

Methodology: Multi-Modal Fusion

The researchers focused their innovation on how to merge data from the three different streams. While a standard approach might involve "Naive Halfway Fusion"—simply concatenating features after a few convolutional layers—the authors propose a more sophisticated Squeeze-and-Excitation (SE) Fusion strategy.

Using SE blocks, the model performs dynamic "feature re-weighting." This allows the network to intelligently select the most informative channel features for each modality while suppressing less useful ones. For instance, in low-light settings where RGB skin texture might be obscured, the model can automatically prioritize IR features that provide a clearer signal of human heat.

Key Results and Insights

The study yielded several critical insights into the nature of face anti-spoofing:

  • The Power of Modality: RGB alone is relatively weak for anti-spoofing. Depth data is excellent for catching flat photo attacks, while IR is highly effective at distinguishing real skin from paper or screens. Fusing all three yields the best results.
  • Logarithmic Scaling: There is a clear logarithmic relationship between the number of subjects in the training set and the model's performance, proving that the field was previously "data-starved."
  • Fusion Efficiency: The proposed SE-based fusion achieved a True Positive Rate (TPR) of 96.7% at a False Positive Rate (FPR) of $10^{-2}$, significantly outperforming the naive fusion's 89.1%. The Average Classification Error Rate (ACER) on the CASIA-SURF test set was reduced to 2.4%.
  • Generalization: By pre-training on CASIA-SURF and fine-tuning on smaller datasets like SiW, the authors achieved superior results compared to training on those smaller datasets from scratch. This suggests CASIA-SURF can serve as a "foundation" dataset for the community.

Limitations and Future Work

While CASIA-SURF is a massive step forward, the authors note some areas for growth. The dataset primarily focuses on sophisticated "print attacks"; future work should include high-fidelity 3D silicone masks or advanced video replay attacks. Additionally, the current dataset consists of 1,000 Chinese subjects; greater ethnic diversity is needed to ensure models work equitably across different skin tones. Finally, the authors suggest moving toward using ROC curves at very low False Positive Rates (e.g., $10^{-4}$) to better simulate high-security applications.

Summary updated

BibTeX
@inproceedings{zhang2019dataset,
  author = {Shifeng Zhang and Xiaobo Wang and Ajian Liu and Chenxu Zhao and Jun Wan and Sergio Escalera and Hailin Shi and Zezheng Wang and Stan Z. Li},
  title = {{A Dataset and Benchmark for Large-Scale Multi-Modal Face Anti-Spoofing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00101},
}
Figure