Skip to main content
QUICK REVIEW

[Paper Review] Learn Convolutional Neural Network for Face Anti-Spoofing

Jianwei Yang, Zhen Lei|arXiv (Cornell University)|Aug 24, 2014
Biometric Identification and SecurityComputer Science11 references383 citations
TL;DR

This paper proposes a deep convolutional neural network (CNN) to automatically learn highly discriminative features for face anti-spoofing, outperforming traditional hand-crafted features like LBP and LBP-TOP. The method achieves over 70% relative reduction in Half Total Error Rate (HTER) on CASIA and REPLAY-ATTACK datasets, with HTER below 1% on REPLAY-ATTACK under optimal settings, demonstrating strong generalization and robustness across datasets.

ABSTRACT

Though having achieved some progresses, the hand-crafted texture features, e.g., LBP [23], LBP-TOP [11] are still unable to capture the most discriminative cues between genuine and fake faces. In this paper, instead of designing feature by ourselves, we rely on the deep convolutional neural network (CNN) to learn features of high discriminative ability in a supervised manner. Combined with some data pre-processing, the face anti-spoofing performance improves drastically. In the experiments, over 70% relative decrease of Half Total Error Rate (HTER) is achieved on two challenging datasets, CASIA [36] and REPLAY-ATTACK [7] compared with the state-of-the-art. Meanwhile, the experimental results from inter-tests between two datasets indicates CNN can obtain features with better generalization ability. Moreover, the nets trained using combined data from two datasets have less biases between two datasets.

Motivation & Objective

  • Address the limited generalization and discriminative power of hand-crafted texture features (e.g., LBP, LBP-TOP) in face anti-spoofing.
  • Explore the potential of deep learning, specifically CNNs, to automatically learn more robust and discriminative features from raw face images.
  • Improve anti-spoofing performance across diverse spoofing types (print, replay, mask) through data-driven feature learning.
  • Investigate the generalization ability of CNNs across different datasets, particularly in inter-dataset testing scenarios.
  • Reduce dataset-specific biases by training on combined data from multiple sources (CASIA and REPLAY-ATTACK)

Proposed method

  • Employ a supervised deep convolutional neural network (CNN) to learn hierarchical, discriminative features directly from face images, replacing manual feature design.
  • Apply spatial and temporal data augmentation strategies, including random cropping, flipping, and frame sampling, to increase training diversity and robustness.
  • Train the CNN on both CASIA and REPLAY-ATTACK datasets individually and in combination to evaluate generalization and domain shift robustness.
  • Use scale augmentation (scaling input images to different resolutions) to enhance feature learning and model stability.
  • Evaluate performance using Half Total Error Rate (HTER) across intra-dataset, inter-dataset, and combined training protocols.
  • Leverage background regions in input images as additional cues, as they contribute to distinguishing genuine from spoofed faces

Experimental results

Research questions

  • RQ1Can a deep CNN outperform traditional hand-crafted texture features (e.g., LBP, LBP-TOP) in face anti-spoofing across multiple datasets?
  • RQ2To what extent can a CNN generalize across different datasets with varying acquisition conditions, such as lighting, background, and spoofing methods?
  • RQ3How does data augmentation, particularly spatial and temporal transformations, improve the robustness and performance of CNN-based anti-spoofing models?
  • RQ4Does combining training data from multiple datasets reduce domain bias and improve cross-dataset generalization?
  • RQ5Can CNNs learn features that are invariant to spoofing types while remaining sensitive to subtle differences between real and fake faces?

Key findings

  • The proposed CNN-based method achieves over 70% relative reduction in Half Total Error Rate (HTER) on both CASIA and REPLAY-ATTACK datasets compared to state-of-the-art hand-crafted features.
  • On the REPLAY-ATTACK dataset, the average HTER drops below 1% when input scale is set to 4 or 5, indicating near-perfect performance under optimal settings.
  • In inter-dataset testing, the CNN model generalizes significantly better than previous methods, with minimal performance degradation across datasets.
  • Models trained on combined CASIA and REPLAY-ATTACK data show reduced bias and comparable performance to intra-dataset models, confirming strong cross-dataset generalization.
  • The best scale for feature learning differs between datasets—scale 3 for CASIA and scale 5 for REPLAY-ATTACK—due to differences in background composition (real vs. fake backgrounds).
  • Background regions contribute meaningfully to spoofing detection, especially when using CNN-learned features, suggesting that context is a valuable cue

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.