Learning Meta Model for Zero- and Few-Shot Face Anti-Spoofing

Yunxiao Qin, Chenxu Zhao, Xiangyu Zhu, Zezheng Wang, Zitong Yu, Tianyu Fu, Feng Zhou, Jingping Shi, Zhen Lei

Introduction

Face recognition systems have become ubiquitous in security and authentication. However, their reliability is often compromised by Presentation Attacks (PAs), such as high-resolution printed photos, digital replays, or sophisticated 3D masks. Traditional face anti-spoofing (FAS) methods typically rely on supervised learning, which requires massive datasets covering every possible attack type. This approach often leads to overfitting on known attacks while remaining vulnerable to novel, unseen "zero-shot" threats.

To address this, researchers have proposed Adaptive Inner-update Meta Face Anti-Spoofing (AIM-FAS). By reframing FAS as a zero- and few-shot learning problem, the goal is to develop a system that generalizes to unseen attacks automatically or adapts rapidly after seeing only a handful of examples.

The AIM-FAS Framework

The core of the AIM-FAS approach is meta-learning—specifically, "learning to learn." The framework introduces two primary innovations to the standard Model-Agnostic Meta-Learning (MAML) architecture:

  1. Fusion Training (FT): Instead of optimizing for zero-shot and few-shot scenarios separately, AIM-FAS utilizes a single meta-learner trained on a diverse mix of tasks. This dual-purpose training encourages the model to extract generalizable liveness features that are effective even without prior exposure to a specific attack, while maintaining the flexibility to incorporate new data when available.
  2. Adaptive Inner-Update (AIU): Standard meta-learning uses a fixed learning rate for internal model updates. AIU introduces a learnable, step-wise learning rate strategy. This allows the model to dynamically determine how much weight to give to new samples during the fine-tuning phase, improving adaptation speed and accuracy.

The system utilizes a depth-regression network (FAS-DR) as its backbone. Unlike simple binary classifiers, FAS-DR predicts the 3D depth of a face. Because photos and screens are physically flat, the absence of 3D structure provides a robust, universal cue for distinguishing real faces from 2D spoofs.

Benchmarks and Evaluation

To rigorously test these capabilities, the authors established three new benchmarks: OULU-ZF (single-domain), Cross-ZF (cross-domain), and SURF-ZF (cross-modal, including Infrared and Depth sensors).

Examples of real faces and various presentation attacks (PAs) in the proposed test benchmarks, including replays, IR imagery, and masks.

In experimental evaluations, AIM-FAS demonstrated superior performance:

  • Generalization: On the challenging Cross-ZF benchmark, AIM-FAS achieved an Average Classification Error Rate (ACER) of 8.43% in zero-shot settings, significantly lower than the 13.49% of the baseline FAS-DR.
  • Adaptation: With just 5 examples of a new attack (5-shot), the error rate on Cross-ZF plummeted to 3.11%.
  • State-of-the-Art: On standard zero-shot protocols, the model reached an average Area Under the Curve (AUC) of 96.4%, outperforming existing specialized methods.

Conclusion and Future Directions

The success of AIM-FAS highlights the importance of optimizing for the process of adaptation rather than just static feature recognition. By leveraging physical constants like 3D facial depth and employing a flexible meta-learning strategy, the model moves closer to solving the "open-set" challenge in biometric security.

Future research will focus on "in-the-wild" scenarios involving unpredictable lighting and motion, as well as expanding these meta-learning techniques to other biometric modalities. The ability to defend against evolving threats with minimal data remains a critical frontier for secure face recognition systems.

Summary updated

BibTeX
@inproceedings{qin2020learning,
  author = {Yunxiao Qin and Chenxu Zhao and Xiangyu Zhu and Zezheng Wang and Zitong Yu and Tianyu Fu and Feng Zhou and Jingping Shi and Zhen Lei},
  title = {{Learning Meta Model for Zero- and Few-Shot Face Anti-Spoofing}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=MqxK6e0ma_L},
}
Figure