FM-ViT: Flexible Modal Vision Transformers for Face Anti-Spoofing
- 17 July 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Information Forensics and Security
- Vol. 18 (15566013) , 4775-4786
Abstract
The availability of handy multi-modal ( i.e ., RGB-D) sensors has brought about a surge of face anti-spoofing research. However, the current multi-modal face presentation attack detection (PAD) has two defects: (1) The framework based on multi-modal fusion requires providing modalities consistent with the training input, which seriously limits the deployment scenario. (2) The performance of ConvNet-based model on high fidelity datasets is increasingly limited. In this work, we present a pure transformer-based framework, dubbed the Flexible Modal Vision Transformer (FM-ViT), for face anti-spoofing to flexibly target any single-modal ( i.e ., RGB) attack scenarios with the help of available multi-modal data. Specifically, FM-ViT retains a specific branch for each modality to capture different modal information and introduces the Cross-Modal Transformer Block (CMTB), which consists of two cascaded attentions named Multi-headed Mutual-Attention (MMA) and Fusion-Attention (MFA) to guide each modal branch to mine potential features from informative patch tokens, and to learn modality-agnostic liveness features by enriching the modal information of own CLS token, respectively. Experiments demonstrate that the single model trained based on FM-ViT can not only flexibly evaluate different modal samples, but also outperforms existing single-modal frameworks by a large margin, and approaches the multi-modal frameworks introduced with smaller FLOPs and model parameters.Keywords
All Related Versions
Funding Information
- National Key Research and Development Plan (2021YFF0602103)
- External Cooperation Key Project of Chinese Academy Sciences (173211KYSB20200002)
- Chinese National Natural Science Foundation Project (62276254)
- Science and Technology Development Fund of Macau Project (0123/2022/A3, 0004/2020/A1, 0070/2020/AMJ)
- Guangdong Provincial Key Research and Development Program (2019B010148001)
- China Computer Federation (CCF)-Zhipu Artificial Intelligent (AI) Large Model (202219)
- InnoHK Program
This publication has 56 references indexed in Scilit:
- What You Can't See Can Help You - Extended-Range Imaging for 3D-Mask Presentation Attack Detection2017
- Face Presentation Attack with Latex Masks in Multispectral Videos2017
- OULU-NPU: A Mobile Face Presentation Attack Database with Real-World Variations2017
- Reliable face anti-spoofing using multispectral SWIR imaging2016
- Integration of image quality and motion cues for face anti-spoofing: A neural network approachJournal of Visual Communication and Image Representation, 2016
- Secure Face Unlock: Spoof Detection on SmartphonesIEEE Transactions on Information Forensics and Security, 2016
- Deep Residual Learning for Image Recognition2016
- Face anti-spoofing based on color texture analysis2015
- A face antispoofing database with diverse attacks2012
- Face Liveness Detection from a Single Image with Sparse Low Rank Bilinear Discriminative Model2010