NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Pixel-wise Binary Supervision for Face Presentation Attack Detection

Anjith George, Sébastien Marcel

Abstract

Face recognition has evolved as a prominent biometric authentication modality. However, vulnerability to presentation attacks curtails its reliable deployment. Automatic detection of presentation attacks is essential for secure use of face recognition technology in unattended scenarios. In this work, we introduce a Convolutional Neural Network (CNN) based framework for presentation attack detection, with deep pixel-wise supervision. The framework uses only frame level information making it suitable for deployment in smart devices with minimal computational and time overhead. We demonstrate the effectiveness of the proposed approach in public datasets for both intra as well as cross-dataset experiments. The proposed approach achieves an HTER of 0% in Replay Mobile dataset and an ACER of 0.42% in Protocol-1 of OULU dataset outperforming state of the art methods.

Introduction

Face recognition technology is increasingly integrated into daily life, from smartphone unlocking to secure banking. However, these systems are susceptible to "Presentation Attacks" (PAs), where an adversary attempts to impersonate a user using high-resolution photos, video replays, or 3D masks. Developing robust Presentation Attack Detection (PAD) is critical for the security of unattended biometric systems.

The Challenge of Presentation Attacks

Detecting spoofs is difficult because modern display and printing technologies can produce images that are visually indistinguishable from a live person to the human eye.

Comparison of bonafide faces (left in each pair) and presentation attacks (right).

Existing deep learning solutions often face two primary hurdles:

  1. Generalization: Models frequently overfit to the specific environmental noise or camera characteristics of their training data, failing when deployed in new settings.
  2. Efficiency: Many high-accuracy models rely on temporal features (motion) across multiple video frames, which introduces latency and high computational costs, making them impractical for mobile devices.

Methodology: DeepPixBiS

The researchers propose DeepPixBiS (Deep Pixel-wise Binary Supervision), a frame-level CNN designed for both accuracy and efficiency.

Architecture and Supervision

The model utilizes a DenseNet backbone, prized for its efficient feature reuse. The core innovation lies in the supervision strategy. Instead of training the network to output a single global label (0 for fake, 1 for real), the model is trained to produce a 14x14 feature map.

The DeepPixBiS architecture featuring pixel-wise binary supervision.

As shown in the figure above, during training, every "pixel" in this map is supervised. For a bonafide face, the entire map is expected to be filled with 1s; for an attack, it is filled with 0s. This forces the network to learn local "spoofing cues" across the entire face region, preventing it from "cheating" by focusing on a single global artifact. The final model uses a dual-output head, combining this pixel-wise map with a traditional binary output from a fully connected layer.

Experimental Results

The model was rigorously evaluated on two major benchmarks: Replay-Mobile and OULU-NPU.

  • Replay-Mobile: DeepPixBiS achieved a perfect 0% HTER (Half Total Error Rate), demonstrating an absolute ability to distinguish between real faces and mobile-based attacks in this dataset.
  • OULU-NPU: On Protocol-1, which tests performance across different environments, the model achieved an ACER of 0.42%, outperforming several state-of-the-art handcrafted and deep learning methods.
  • Cross-Dataset Generalization: When trained on OULU and tested on Replay-Mobile, the model maintained a respectable 12.4% HTER, significantly outperforming traditional baselines like LBP-SVM.

Conclusion

DeepPixBiS demonstrates that sophisticated spatial regularization—achieved through pixel-wise binary supervision—can replace more complex auxiliary tasks like 3D depth estimation. By focusing on local patch-based cues within a holistic CNN framework, the model provides a highly accurate, frame-level solution suitable for real-time deployment on mobile hardware. While cross-dataset generalization remains an ongoing challenge in the field, this approach sets a new standard for efficient and robust face presentation attack detection.

Summary updated

BibTeX
@inproceedings{george2019deep,
  author = {Anjith George and Sébastien Marcel},
  title = {{Deep Pixel-wise Binary Supervision for Face Presentation Attack Detection}},
  booktitle = {ICB},
  year = {2019},
  url = {https://openreview.net/forum?id=pP0V6NhC0tP},
}
Figure