[Paper Review] Instance-Aware Domain Generalization for Face Anti-Spoofing
This paper proposes Instance-Aware Domain Generalization (IADG) for face anti-spoofing, which improves generalization to unseen domains by aligning features at the instance level without relying on coarse domain labels. It introduces Asymmetric Instance Adaptive Whitening, Dynamic Kernel Generator, and Categorical Style Assembly to learn style-insensitive representations, achieving state-of-the-art performance on benchmark datasets.
Face anti-spoofing (FAS) based on domain generalization (DG) has been recently studied to improve the generalization on unseen scenarios. Previous methods typically rely on domain labels to align the distribution of each domain for learning domain-invariant representations. However, artificial domain labels are coarse-grained and subjective, which cannot reflect real domain distributions accurately. Besides, such domain-aware methods focus on domain-level alignment, which is not fine-grained enough to ensure that learned representations are insensitive to domain styles. To address these issues, we propose a novel perspective for DG FAS that aligns features on the instance level without the need for domain labels. Specifically, Instance-Aware Domain Generalization framework is proposed to learn the generalizable feature by weakening the features' sensitivity to instance-specific styles. Concretely, we propose Asymmetric Instance Adaptive Whitening to adaptively eliminate the style-sensitive feature correlation, boosting the generalization. Moreover, Dynamic Kernel Generator and Categorical Style Assembly are proposed to first extract the instance-specific features and then generate the style-diversified features with large style shifts, respectively, further facilitating the learning of style-insensitive features. Extensive experiments and analysis demonstrate the superiority of our method over state-of-the-art competitors. Code will be publicly available at https://github.com/qianyuzqy/IADG.
Motivation & Objective
- To address the limitations of domain-aware domain generalization in face anti-spoofing, which relies on coarse, artificial domain labels that fail to capture fine-grained style variations.
- To improve model generalization to unseen domains by learning features insensitive to instance-specific styles rather than domain-level distributions.
- To eliminate dependency on domain labels by developing a framework that operates at the instance level, enabling finer-grained, adaptive feature alignment.
- To enhance robustness against diverse spoofing attacks and environmental variations through dynamic style augmentation and adaptive feature whitening.
Proposed method
- Proposes Asymmetric Instance Adaptive Whitening (AIAW), which adaptively reduces style-sensitive feature correlations by manipulating the covariance matrix on a per-instance basis.
- Introduces a Dynamic Kernel Generator (DKG) that learns instance-adaptive convolutional filters, combining with static filters to enhance instance-specific feature learning.
- Employs Categorical Style Assembly (CSA) to generate diverse, style-shifted features by modeling instance-wise style diversity in a categorical manner, preventing label leakage.
- Uses a two-branch strategy: one for real samples and one for spoof samples, with asymmetric supervision in AIAW to improve generalization under domain shifts.
- Leverages feature space augmentation via style basis selection using Farthest Point Sampling (FPS) to cover diverse source styles and generate novel out-of-distribution styles.
- Employs t-SNE visualization and Grad-CAM analysis to validate that AIAW reduces attention drift across devices and whitens irrelevant feature correlations.
Experimental results
Research questions
- RQ1Can domain generalization in face anti-spoofing be improved by shifting from domain-level to instance-level feature alignment?
- RQ2How can model generalization be enhanced without relying on artificial or coarse domain labels?
- RQ3To what extent can asymmetric feature whitening and dynamic style augmentation improve robustness to unseen spoofing attacks and environmental variations?
- RQ4Can instance-wise style diversity be effectively modeled and leveraged to generate realistic, out-of-distribution style variations for data augmentation?
- RQ5Does instance-aware feature learning lead to more compact and discriminative feature distributions compared to domain-level alignment?
Key findings
- The proposed IADG framework achieves state-of-the-art performance on multiple benchmark datasets, outperforming existing domain generalization methods in face anti-spoofing.
- Ablation studies show that combining static and dynamic convolutional filters via the Dynamic Kernel Generator yields superior performance compared to using either alone.
- Categorical Style Assembly (CSA) generates more diverse and realistic style-augmented features than baseline methods like SSA, including novel styles beyond the source distribution.
- t-SNE visualization confirms that IADG produces more compact real sample features and a better decision boundary between real and spoof samples compared to domain-aware methods.
- Grad-CAM visualization demonstrates that AIAW stabilizes attention on facial regions across different devices and environments, reducing sensitivity to domain-specific artifacts.
- Asymmetric Instance Adaptive Whitening effectively reduces feature correlation in style-sensitive channels while preserving discriminative information, leading to improved generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.