Skip to main content
QUICK REVIEW

[Paper Review] Single-Side Domain Generalization for Face Anti-Spoofing

Yunpei Jia, Jie Zhang|arXiv (Cornell University)|Apr 29, 2020
Biometric Identification and SecurityComputer Science42 references22 citations
TL;DR

This paper proposes a novel single-side domain generalization framework (SSDG) for face anti-spoofing that asymmetrically models real and fake face features: it compactly clusters real faces across domains while dispersing fake faces from different domains. By combining single-side adversarial learning and asymmetric triplet loss, SSDG achieves state-of-the-art performance on four public datasets, significantly improving generalization to unseen domains.

ABSTRACT

Existing domain generalization methods for face anti-spoofing endeavor to extract common differentiation features to improve the generalization. However, due to large distribution discrepancies among fake faces of different domains, it is difficult to seek a compact and generalized feature space for the fake faces. In this work, we propose an end-to-end single-side domain generalization framework (SSDG) to improve the generalization ability of face anti-spoofing. The main idea is to learn a generalized feature space, where the feature distribution of the real faces is compact while that of the fake ones is dispersed among domains but compact within each domain. Specifically, a feature generator is trained to make only the real faces from different domains undistinguishable, but not for the fake ones, thus forming a single-side adversarial learning. Moreover, an asymmetric triplet loss is designed to constrain the fake faces of different domains separated while the real ones aggregated. The above two points are integrated into a unified framework in an end-to-end training manner, resulting in a more generalized class boundary, especially good for samples from novel domains. Feature and weight normalization is incorporated to further improve the generalization ability. Extensive experiments show that our proposed approach is effective and outperforms the state-of-the-art methods on four public databases.

Motivation & Objective

  • To address the poor generalization of face anti-spoofing models to unseen domains due to distribution discrepancies between real and fake face features.
  • To overcome the limitations of symmetric domain generalization, which fails to account for the inherent asymmetry in feature distribution between real and fake faces.
  • To design a method that aggregates real face features across domains while separating fake face features from different domains, leading to a more robust and generalized decision boundary.
  • To enable effective training without requiring unlabeled target domain data, making it suitable for real-world deployment where target data is unavailable.

Proposed method

  • A single-side adversarial learning strategy is employed where a domain discriminator is trained to fail in distinguishing real face features across different domains, forcing the feature generator to produce domain-invariant representations for real faces.
  • An asymmetric triplet loss is designed to enforce three constraints: (1) fake faces from different domains are pushed apart, (2) all real faces from any domain are pulled together, and (3) real and fake features remain distinguishable.
  • The feature generator and discriminator are jointly trained in an end-to-end manner, integrating both the adversarial and triplet loss objectives into a unified optimization framework.
  • Feature and weight normalization are applied to further enhance feature generalization and model robustness.
  • The method is evaluated with two backbone architectures—MADDG-based and ResNet18-based—demonstrating superior performance with the latter in both accuracy and inference speed.
  • The framework is trained exclusively on source domains, with no access to target domain data during training, simulating real-world zero-shot generalization.

Experimental results

Research questions

  • RQ1Can asymmetric modeling of real and fake face feature distributions improve zero-shot generalization in face anti-spoofing?
  • RQ2Does learning a domain-invariant feature space only for real faces, while separating fake faces across domains, lead to better performance on unseen target domains?
  • RQ3How does the proposed single-side adversarial learning and asymmetric triplet loss compare to symmetric domain generalization methods in cross-database evaluation?
  • RQ4What is the impact of backbone architecture choice (e.g., ResNet18 vs. MADDG) on the performance and efficiency of the proposed SSDG framework?

Key findings

  • SSDG achieves the best average HTER of 7.38% and AUC of 97.17% on the OULU database, outperforming all state-of-the-art methods.
  • On the CASIA database, SSDG achieves an HTER of 10.44% and AUC of 95.94%, demonstrating strong generalization to unseen domains.
  • With only two source domains (MSU and Idiap), SSDG still achieves the best performance on both CASIA and OULU as target domains, proving effectiveness under low-data regimes.
  • The ResNet18-based backbone yields significantly better accuracy and faster inference speed than the MADDG-based architecture, indicating its suitability for face anti-spoofing.
  • The ablation study confirms that asymmetric optimization—aggregating real faces while separating fake faces—leads to a more generalized decision boundary than symmetric approaches.
  • The method generalizes well even when no target domain data is available during training, validating its zero-shot capability in real-world scenarios.

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.