[Paper Review] Adaptive Normalized Representation Learning for Generalizable Face Anti-Spoofing
This paper proposes Adaptive Normalized Representation Learning (ANRL), a novel framework for generalizable face anti-spoofing that adaptively combines batch normalization (BN) and instance normalization (IN) via sample-specific fusion weights. By introducing an Adaptive Feature Normalization Module (AFNM) and Dual Calibration Constraints—Inter-Domain Compatible Loss and Inter-Class Separable Loss—ANRL learns domain-agnostic, discriminative representations, achieving state-of-the-art performance across cross-dataset generalization benchmarks.
With various face presentation attacks arising under unseen scenarios, face anti-spoofing (FAS) based on domain generalization (DG) has drawn growing attention due to its robustness. Most existing methods utilize DG frameworks to align the features to seek a compact and generalized feature space. However, little attention has been paid to the feature extraction process for the FAS task, especially the influence of normalization, which also has a great impact on the generalization of the learned representation. To address this issue, we propose a novel perspective of face anti-spoofing that focuses on the normalization selection in the feature extraction process. Concretely, an Adaptive Normalized Representation Learning (ANRL) framework is devised, which adaptively selects feature normalization methods according to the inputs, aiming to learn domain-agnostic and discriminative representation. Moreover, to facilitate the representation learning, Dual Calibration Constraints are designed, including Inter-Domain Compatible loss and Inter-Class Separable loss, which provide a better optimization direction for generalizable representation. Extensive experiments and visualizations are presented to demonstrate the effectiveness of our method against the SOTA competitors.
Motivation & Objective
- Address the limited generalization of existing face anti-spoofing methods under unseen domain shifts.
- Identify that fixed normalization (BN or IN) in feature extraction hinders domain generalization due to domain-specific biases.
- Propose a novel approach to adaptively select normalization types per input sample to improve robustness across diverse attack scenarios.
- Design a meta-learning framework with dual constraints to guide the adaptive fusion of BN and IN for better representation learning.
- Achieve state-of-the-art performance in cross-dataset face anti-spoofing by learning domain-agnostic and discriminative features.
Proposed method
- Introduce the Adaptive Feature Normalization Module (AFNM), which learns sample-specific fusion weights (α) to combine features from BN and IN dynamically.
- Formulate the feature representation as a weighted sum: F = α × F_BN + (1 - α) × F_IN, where α is predicted by a lightweight network per input sample.
- Propose Inter-Domain Compatible Loss to align feature distributions across different source domains, reducing domain shift impact.
- Introduce Inter-Class Separable Loss to maximize the margin between real and fake face samples, enhancing discriminability.
- Train the AFNM using meta-learning, where the dual constraints guide the optimization of α to improve generalization on unseen domains.
- Use a ResNet-based backbone with AFNM inserted after each residual block to enable per-sample normalization adaptation.
Experimental results
Research questions
- RQ1Can adaptive fusion of BN and IN improve generalization in face anti-spoofing under unseen domain shifts?
- RQ2How does the choice of normalization (BN vs. IN) affect performance across diverse testing domains with varying domain shifts?
- RQ3Can sample-wise adaptive normalization selection outperform fixed normalization or static fusion strategies?
- RQ4To what extent do dual constraints—Inter-Domain Compatible Loss and Inter-Class Separable Loss—improve the generalization of learned representations?
- RQ5Does the adaptive balance factor α vary meaningfully across samples, and does it correlate with domain and spoof type characteristics?
Key findings
- ANRL achieves state-of-the-art performance on multiple cross-dataset face anti-spoofing benchmarks, including I&C&M to O, O&C&M to I, and O&C&I to M.
- The model with adaptive fusion of BN and IN outperforms models using only BN or IN, demonstrating the superiority of sample-specific normalization selection.
- Visualizations show that high-weight channels in AFNM focus on facial spoofing cues (e.g., texture, edges), while low-weight channels attend to non-transferable background or lighting artifacts.
- The balance factor α is highly sample-dependent: shallow layers favor IN (α ≈ 0) for domain robustness, while deep layers favor BN (α ≈ 1) for classification performance.
- On tasks with high domain variance (e.g., combining Idiap and MSU), ANRL automatically increases IN usage, confirming its adaptive response to domain discrepancy.
- t-SNE visualizations confirm that ANRL learns more compact and separable feature distributions across domains, especially when source domains are highly dissimilar.
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.