Skip to main content
QUICK REVIEW

[Paper Review] Domain Generalization via Shuffled Style Assembly for Face Anti-Spoofing

Zhuo Wang, Zezheng Wang|arXiv (Cornell University)|Mar 10, 2022
Biometric Identification and SecurityComputer Science13 citations
TL;DR

This paper proposes a novel Shuffled Style Assembly Network (SSAN) for domain-generalizable face anti-spoofing by separating content and style features, using adversarial learning for domain-invariant content and contrastive learning to emphasize liveness-related style while suppressing domain-specific features. The method achieves state-of-the-art performance on both standard and a newly proposed large-scale benchmark, demonstrating strong generalization across unseen domains.

ABSTRACT

With diverse presentation attacks emerging continually, generalizable face anti-spoofing (FAS) has drawn growing attention. Most existing methods implement domain generalization (DG) on the complete representations. However, different image statistics may have unique properties for the FAS tasks. In this work, we separate the complete representation into content and style ones. A novel Shuffled Style Assembly Network (SSAN) is proposed to extract and reassemble different content and style features for a stylized feature space. Then, to obtain a generalized representation, a contrastive learning strategy is developed to emphasize liveness-related style information while suppress the domain-specific one. Finally, the representations of the correct assemblies are used to distinguish between living and spoofing during the inferring. On the other hand, despite the decent performance, there still exists a gap between academia and industry, due to the difference in data quantity and distribution. Thus, a new large-scale benchmark for FAS is built up to further evaluate the performance of algorithms in reality. Both qualitative and quantitative results on existing and proposed benchmarks demonstrate the effectiveness of our methods. The codes will be available at https://github.com/wangzhuo2019/SSAN.

Motivation & Objective

  • To address the domain generalization challenge in face anti-spoofing, where models degrade on unseen attack types and datasets.
  • To overcome the limitation of existing methods that operate on complete representations by exploiting distinct properties of global (content) and local (style) image statistics.
  • To bridge the gap between academic benchmarks and real-world industrial deployment through a new large-scale, realistic FAS benchmark.
  • To develop an end-to-end, efficient training framework that leverages feature-level style transfer and contrastive learning for improved generalization.

Proposed method

  • The method employs a two-stream network to extract content features (global semantics and physical attributes) and style features (local textures and liveness cues) separately.
  • Content features are regularized via adversarial learning to achieve domain-invariant representation across different datasets.
  • Style features are enhanced using a contrastive learning strategy that emphasizes liveness-related patterns and suppresses domain-specific artifacts.
  • A shuffled style assembly mechanism reassembles content and style features into stylized features through multiple stacked layers, enabling diverse and robust feature combinations.
  • The framework uses stop-gradient operations during contrastive learning to stabilize training and improve feature disentanglement.
  • An end-to-end training pipeline is designed for scalability and efficiency, suitable for large-scale industrial datasets.

Experimental results

Research questions

  • RQ1Can separating content and style features improve generalization in face anti-spoofing under cross-domain settings?
  • RQ2How can liveness-related style information be effectively emphasized while suppressing domain-specific noise in feature representations?
  • RQ3To what extent does feature-level style transfer with shuffled assembly improve model robustness compared to image-level or two-stage augmentation?
  • RQ4How does the proposed method perform on a realistic, large-scale benchmark that reflects real-world data distribution and scale?
  • RQ5What is the contribution of each component (adversarial learning, contrastive learning, stop-gradient, etc.) to the final performance?

Key findings

  • SSAN-M achieves a 10.42% HTER and 94.76% AUC on the O&C&I to M protocol, outperforming all ablation variants.
  • SSAN-R achieves a 6.67% HTER and 98.75% AUC on the O&M&I to C protocol, demonstrating superior generalization on unseen domains.
  • The ablation study confirms that removing the contrastive loss (L_contra) leads to a 2.08% increase in HTER, indicating its critical role in suppressing domain-specific features.
  • The stop-gradient operation improves generalization, as SSAN-M with stop-grad shows 1.08% lower HTER than the variant without it.
  • t-SNE visualization confirms that stylized features learn a more separable, domain-robust representation between live and spoof samples.
  • Grad-CAM visualizations show that the model effectively attends to spoofing cues like moiré patterns and print cut edges, validating its ability to detect liveness-related textures.

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.