CPL-CLIP: Compound Prompt Learning for Flexible-Modal Face Anti-Spoofing
Face anti-spoofing (FAS) is pivotal in safeguarding the integrity of face recognition systems. Flexible-modal FAS utilizes multi-modal data and trains a unified model adaptable to any single-modal testing scenario. This innovation addresses the shortcomings of conventional multi-modal FAS approaches, which typically demand separate model training and deployment for each modality. However, existing flexible-modal FAS approaches activate specific network branches based on the modality of the tested sample. This not only increases the model’s parameters but also necessitates the provision of the image’s modality for testing, thereby constraining deployment flexibility. To address the issue, we present Compound Prompt Learning CLIP (CPL-CLIP), a novel method for flexible-modal FAS. This approach capitalizes on a learned textual prompt that is nearly independent of modality, thus bolstering class-based classification across arbitrary modalities. Specifically, our CPL-CLIP introduces a Dual-Branch Prompt (DBP), consisting of class and modal prompts that describe and guide classification, where each prompt is composed of learnable vectors and fixed templates. To further render the class prompt as modality-agnostic as possible, a Cosine Similarity Loss (CSL) is proposed to facilitate the maximal separation of the class prompt from the modality prompt. With only the class prompt utilized during testing, CPL-CLIP enables deployment in diverse modal testing scenarios without the necessity of the test image’s modality to be known. Extensive experiments demonstrate CPL-CLIP’s superiority over existing methods on several flexible-modal FAS benchmarks.
Authors
- Jun Wan (ORCID: https://orcid.org/0000-0002-4735-2885)
- Jing Zhang (ORCID: https://orcid.org/0000-0002-3845-8768)
- Xiangyu Zhu (ORCID: https://orcid.org/0000-0003-2756-401X)
- Xun Lin (ORCID: https://orcid.org/0000-0001-8387-4245)
- Ajian Liu (ORCID: https://orcid.org/0000-0002-7788-9368)
- Zhen Lei (ORCID: https://orcid.org/0000-0002-0791-189X)
- Ying Zhang (ORCID: https://orcid.org/0000-0001-5476-1524)
Institutions
- Chinese Academy of Sciences (CN)
- Beihang University (CN)
Publication Details
- Published
- 2024-09-15
- DOI
- https://doi.org/10.1109/ijcb62174.2024.10744492
- Citations
- 3
- Primary Topic
- Biometric Identification and Security
- Type
- article
- Field-Weighted Citation Impact
- 1.05
Funders
- Youth Innovation Promotion Association