DiffFAS: Face Anti-Spoofing via Generative Diffusion Models

Xinxu Ge,Xin Liu,Zitong Yu,Jingang Shi,Chun Qi,Jie Li,Heikki Kälviäinen
2024-09-13
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 <a class="link-external link-https" href="https://github.com/murphytju/DiffFAS" rel="external noopener nofollow">this https URL</a>.
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
### Problems Addressed by the Paper This paper aims to address the domain adaptation issue in Face Anti-Spoofing (FAS) systems. Specifically: 1. **Decomposition of Domain Adaptation Issue**: - Decomposing the domain adaptation issue into two factors: image quality and image style. - Image quality affects the purity of spoofing information, while image style affects the presentation of spoofing information. 2. **Proposing the DiffFAS Framework**: - Quantifying image quality as prior information input to the network to counteract variations in image quality. - Using a diffusion model for high-fidelity cross-domain and cross-attack type generation to counteract variations in image style. - Mitigating the scarcity of novel attack data in current FAS systems by converting easily collected real faces into attack faces with precise labels, while maintaining the consistency of identities between real and spoofed faces. 3. **Experimental Validation**: - Demonstrating the effectiveness of the framework on challenging cross-domain and cross-attack FAS datasets, achieving state-of-the-art performance. In summary, this paper rethinks the essence of the domain adaptation issue, decomposes it into quantifiable image quality and unquantifiable image style, and proposes a novel DiffFAS framework to address these issues, thereby significantly enhancing the generalization capability of FAS systems.