Generalized Face Liveness Detection via De-fake Face Generator

Xingming Long, Jie Zhang, Shiguang Shan
1/17/2024
cs.CV

No official code found. Best implementation: Faceplugin-ltd/FaceLivenessDetection-Android (47 stars, last commit 2025-06-30).

Abstract

Previous Face Anti-spoofing (FAS) methods face the challenge of generalizing to unseen domains, mainly because most existing FAS datasets are relatively small and lack data diversity. Thanks to the development of face recognition in the past decade, numerous real face images are available publicly, which are however neglected previously by the existing literature. In this paper, we propose an Anomalous cue Guided FAS (AG-FAS) method, which can effectively leverage large-scale additional real faces for improving model generalization via a De-fake Face Generator (DFG). Specifically, by training on a large-scale real face only dataset, the generator obtains the knowledge of what a real face should be like, and thus has the capability of generating a "real" version of any input face image. Consequently, the difference between the input face and the generated "real" face can be treated as cues of attention for the fake feature learning. With the above ideas, an Off-real Attention Network (OA-Net) is proposed which allocates its attention to the spoof region of the input according to the anomalous cue. Extensive experiments on a total of nine public datasets show our method achieves state-of-the-art results under cross-domain evaluations with unseen scenarios and unknown presentation attacks. Besides, we provide theoretical analysis demonstrating the effectiveness of the proposed anomalous cues.

View on arXivView PDF

Code Implementations(1)

Liveness detection SDK Android - iBeta level 2 compliant 3D passive liveness detection engine which can detect printed photos, video replay, 3D masks, and deepfake threats

4724Java, KotlinFeb 29, 20241 years ago
androidbiometric-authenticationdeep-learningdeepfake-detectionface-anti-spoofing+9 more

Similar Papers

Cite this paper

@article{long2024generalized,
  title  = {Generalized Face Liveness Detection via De-fake Face Generator},
  author = {Xingming Long and Jie Zhang and Shiguang Shan},
  year   = {2024},
  eprint = {2401.09006},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.09006v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.09006.svg)](https://codeofpaper.com/paper/2401.09006)

Discussion