English

Spoofing-aware Prompt Learning for Unified Physical-Digital Facial Attack Detection

Computer Vision and Pattern Recognition 2025-12-09 v1

Abstract

Real-world face recognition systems are vulnerable to both physical presentation attacks (PAs) and digital forgery attacks (DFs). We aim to achieve comprehensive protection of biometric data by implementing a unified physical-digital defense framework with advanced detection. Existing approaches primarily employ CLIP with regularization constraints to enhance model generalization across both tasks. However, these methods suffer from conflicting optimization directions between physical and digital attack detection under same category prompt spaces. To overcome this limitation, we propose a Spoofing-aware Prompt Learning for Unified Attack Detection (SPL-UAD) framework, which decouples optimization branches for physical and digital attacks in the prompt space. Specifically, we construct a learnable parallel prompt branch enhanced with adaptive Spoofing Context Prompt Generation, enabling independent control of optimization for each attack type. Furthermore, we design a Cues-awareness Augmentation that leverages the dual-prompt mechanism to generate challenging sample mining tasks on data, significantly enhancing the model's robustness against unseen attack types. Extensive experiments on the large-scale UniAttackDataPlus dataset demonstrate that the proposed method achieves significant performance improvements in unified attack detection tasks.

Keywords

Cite

@article{arxiv.2512.06363,
  title  = {Spoofing-aware Prompt Learning for Unified Physical-Digital Facial Attack Detection},
  author = {Jiabao Guo and Yadian Wang and Hui Ma and Yuhao Fu and Ju Jia and Hui Liu and Shengeng Tang and Lechao Cheng and Yunfeng Diao and Ajian Liu},
  journal= {arXiv preprint arXiv:2512.06363},
  year   = {2025}
}
R2 v1 2026-07-01T08:12:53.052Z