Abstract
Adversarial attacks seriously threaten the high accuracy of face anti-spoofing (FAS) models. Small adversarial perturbations can easily flip classifications between live and spoofing. Existing attacks often fail to identify which specific components of a model are vulnerable, complicating adversarial analysis. This paper proposes a fine-grained attack framework to expose these vulnerabilities. We introduce the Semantic Feature Augmentation (SFA) module, which makes adversarial noise semantic-aware by considering contrastive classes and model texture biases. This approach increases the attack success rate by nearly 40% on average. Furthermore, we generate fine-grained adversarial examples using a multitask network with auxiliary information, evaluating facial attributes, spoofing types, illumination, depth, and reflection across multiple backbone networks (VGG, ResNet, DenseNet, and Swin Transformer). Our findings reveal that facial attribute annotations and state-of-the-art networks do not guarantee robustness, providing a path for the community to better balance accuracy and security.
Introduction
Face anti-spoofing (FAS) serves as the critical gatekeeper for biometric systems, distinguishing real faces from spoofs like printed photos or video replays. Modern FAS models achieve high accuracy by leveraging auxiliary information—such as estimated depth maps, reflection patterns, and facial attributes. However, these models remain susceptible to adversarial attacks: tiny, imperceptible pixel changes that trick the system into misclassification.
Previous research primarily focused on "coarse-grained" attacks, measuring only the final label flip. This left a significant gap in understanding which specific features (e.g., depth vs. illumination) were failing. Identifying these "soft spots" is essential for engineering truly robust biometric systems.
Methodology
The proposed framework exposes fine-grained vulnerabilities through two primary components:
- Multitask Module: Instead of a simple binary classifier, the framework utilizes a backbone network with multiple "branches." Each branch predicts a different semantic feature, such as facial attributes, spoofing types, illumination, depth maps, or reflection maps. This architecture allows researchers to attack specific features individually and measure the resulting impact on the final decision.
- Semantic Feature Augmentation (SFA) Module: Standard adversarial attacks often struggle to find the most effective perturbation direction for FAS tasks. The SFA module uses two Variational Autoencoders (VAEs) to generate activation maps for live and spoofing features. It incorporates Local Binary Patterns (LBP) to account for texture biases common in CNNs. By adding these semantic maps to the input image during attack generation, the algorithm is guided to target the most discriminative regions of the face.
Key Insights and Analysis
Experimental analysis on the CelebA-spoof dataset revealed several critical insights into model vulnerability:
- Redundancy of Facial Attributes: Attacking the "Facial Attribute" branch had surprisingly little impact on the final classification. This suggests that while models learn these attributes, they are largely redundant for the core security task.
- Criticality of Light and Geometry: Conversely, features related to illumination, reflection, and depth were highly correlated with the model's final decision. When these branches were compromised, the entire model's credibility collapsed.
- SFA as a Gradient Booster: SFA makes attacks "semantic-aware." By considering both what makes a face "live" and what makes it a "spoof," the attack finds more effective perturbation directions than standard class activation maps (CAM).
- Architecture Robustness: While all tested models (VGG, ResNet, DenseNet, Swin Transformer) reached near 100% accuracy on clean data, they varied in robustness. Interestingly, older architectures like VGG and DenseNet occasionally showed better adversarial resilience than modern Transformers.
Results
The SFA module demonstrated a massive boost in attack efficacy. As shown in the results below, the Attack Success Rate (ASR) for standard methods like FGSM increased from approximately 65.7% to over 90% when SFA was applied. Even simple, one-step attacks became significantly more potent, highlighting the efficiency of the SFA framework for testing model robustness.
Conclusion
This research highlights that high accuracy in face anti-spoofing does not equate to adversarial robustness. By identifying that auxiliary geometric and illumination features are primary vulnerabilities, the SFA framework provides a roadmap for future defense strategies. The authors suggest that adversarial training—using these fine-grained examples during the training phase—could "plug the holes" in specific auxiliary branches, creating models that are both accurate and significantly harder to deceive.
Summary updated