Abstract
Face anti-spoofing is crucial to prevent face recognition systems from a security breach. Previous deep learning approaches formulate face anti-spoofing as a binary classification problem. Many of them struggle to grasp adequate spoofing cues and generalize poorly. In this paper, we argue the importance of auxiliary supervision to guide the learning toward discriminative and generalizable cues. A CNN-RNN model is learned to estimate the face depth with pixel-wise supervision, and to estimate rPPG signals with sequence-wise supervision. The estimated depth and rPPG are fused to distinguish live vs. spoof faces. Further, we introduce a new face anti-spoofing database that covers a large range of illumination, subject, and pose variations. Experiments show that our model achieves the state-of-the-art results on both intra- and cross-database testing.
1. Introduction
Face recognition systems are increasingly vulnerable to "presentation attacks" (PAs), such as high-resolution printed photos or video replays on tablets. While deep learning has significantly advanced face anti-spoofing (FAS), most existing models rely on binary classification (live vs. spoof) using softmax loss. This approach often leads to two major issues: overfitting to non-facial cues (such as screen bezels or specific backgrounds) and a lack of interpretability in the model's decision-making process. When these external cues disappear in a new environment, binary models often fail to generalize.
2. Methodology: Shifting to Auxiliary Supervision
To address the limitations of binary classification, we propose a CNN-RNN architecture that utilizes auxiliary supervision to force the model to learn genuine physical and physiological features. By embedding domain knowledge into the architecture, the network must find evidence of 3D structure and blood flow rather than relying on arbitrary background shortcuts.
2.1 Spatial Supervision via Depth Maps
The CNN component of our model is trained to estimate a 32x32 depth map of the face. A live face possesses a distinct 3D structure (e.g., the nose is closer to the camera than the cheeks), whereas print and replay attacks are physically flat. This pixel-wise supervision ensures the model focuses on the geometric properties of the subject.
2.2 Temporal Supervision via rPPG Signals
Remote photoplethysmography (rPPG) is a technique used to detect heart rate from subtle skin color changes in video. Live skin pulses due to blood flow, while a photograph does not. We utilize a Non-rigid Registration Layer to "frontalize" facial features, ensuring consistent tracking across frames despite head movement. An LSTM then estimates the rPPG signal from these aligned features. The final liveness score is a fusion of the estimated depth map and the rPPG signal, providing a transparent and robust decision process.
3. Datasets and Experimental Setup
We evaluate our model on several standard benchmarks and introduce a significant new database:
- SiW (Spoof in the Wild): A new, high-resolution database featuring 165 subjects and 4,620 videos. It offers more diversity in race, pose, illumination, and expression (PIE) than previous datasets.
- Oulu-NPU: Used for rigorous intra-database testing across four protocols.
- CASIA-MFSD & Replay-Attack: Used for cross-database testing to measure how well the model generalizes to unseen attack types.
4. Results and Discussion
Our approach achieves state-of-the-art performance across multiple benchmarks. On the Oulu-NPU benchmark, the proposed method achieved the lowest Attack Classification Error Rate (ACER) in three out of four protocols.
Crucially, the model demonstrated superior generalization. In cross-database tests, it reduced the Half Total Error Rate (HTER) by roughly 9-25% compared to previous best-performing binary models. This confirms that auxiliary supervision acts as an effective regularizer, preventing the model from learning arbitrary cues and leading to higher robustness when facing new types of cameras or screens.
4.1 Explainability and Failure Analysis
Because the model outputs a depth map and rPPG signal, its decisions are inherently explainable. A detailed analysis of failure cases showed that depth estimation can occasionally be noisy around the mouth area, and extreme lighting can impact rPPG accuracy. However, these auxiliary outputs allow researchers to understand why a failure occurred, which is critical for security applications.
5. Conclusion
By shifting from binary to auxiliary supervision, we guide deep models to learn physically grounded cues for face anti-spoofing. This approach not only improves accuracy and generalization but also provides a much-needed layer of interpretability for secure face recognition systems. Future work will focus on better integrating these auxiliary signals to improve robustness under extreme motion and lighting conditions.
Summary updated