DiffFAS: Face Anti-Spoofing via Generative Diffusion Models

Xinxu Ge, Xin Liu, Zitong Yu, Jingang Shi, Chun Qi +2 more
2/14/2026

No official code found. Best implementation: murphytju/DiffFAS (43 stars, last commit 2024-09-23).

Abstract

Face anti-spoofing (FAS) plays a vital role in preventing face recognition (FR) systems from presentation attacks. Nowadays, FAS systems face the challenge of domain shift, impacting the generalization performance of existing FAS methods. In this paper, we rethink about the inherence of domain shift and deconstruct it into two factors: image style and image quality. Quality influences the purity of the presentation of spoof information, while style affects the manner in which spoof information is presented. Based on our analysis, we propose DiffFAS framework, which quantifies quality as prior information input into the network to counter image quality shift, and performs diffusion-based high-fidelity cross-domain and cross-attack types generation to counter image style shift. DiffFAS transforms easily collectible live faces into high-fidelity attack faces with precise labels while maintaining consistency between live and spoof face identities, which can also alleviate the scarcity of labeled data with novel type attacks faced by nowadays FAS system. We demonstrate the effectiveness of our framework on challenging cross-domain and cross-attack FAS datasets, achieving the state-of-the-art performance. Available at https://github.com/murphytju/DiffFAS.

View on arXivView PDF

Code Implementations(1)

murphytju/DiffFASCommunity100%

[ECCV 2024🔥] The official code for the paper DiffFAS: Face Anti-Spoofing via Generative Diffusion Models.

433PythonJul 4, 20242 years ago

Similar Papers

Cite this paper

@article{ge2026difffas,
  title  = {DiffFAS: Face Anti-Spoofing via Generative Diffusion Models},
  author = {Xinxu Ge and Xin Liu and Zitong Yu and Jingang Shi and Chun Qi and Jie Li and H. Kälviäinen},
  year   = {2026},
  eprint = {2409.08572},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2409.08572},
  journal = {ECCV 2024 2024}
}

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/2409.08572.svg)](https://codeofpaper.com/paper/2409.08572)

Discussion