Modality-Shared Anti-Spoofing for Face and Fingerprint
Abstract
1. Introduction
- This paper shows a single, integrated framework that combines FLD and FAS. Using one efficient architecture, it can detect attacks on face and fingerprint, though it only processes one modality at a time.
- To our knowledge, this work is the first to evaluate the robustness of a modality-shared anti-spoofing framework against multiple adversarial attacks, including Fast Gradient Sign Method (FGSM), Projected Gradient Descent (PGD), and DeepFool, as well as presentation attacks.
- Extensive experiments determine that the proposed model not only outperforms existing FLD and FAS methods but also uniquely provides the capability to identify potential attack types, including FGSM, PGD, and DeepFool.
2. Related Work
2.1. Face Anti-Spoofing
2.2. Fingerprint Anti-Spoofing
3. Proposed Framework for Multi-Modal Anti-Spoofing
3.1. Pre-Training with Angular Margin Loss (ArcFace)
3.2. MoPE-Based Fine-Tuning with Adversarial Evaluation (FGSM, PGD, DeepFool)
4. Experiments
4.1. Datasets and Evaluation Metrics
4.2. Implementation Details
4.3. Results and Discussion
4.3.1. Modality-Shared Anti-Spoofing Detection Evaluation
4.3.2. Multi-Modal Anti-Spoofing Detection Evaluation
4.3.3. Ablation Study
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Abdulkareem, A.; Hassin, A. Hardware and Software Approaches to Fingerprint Liveness Detection: A Comparative Review. Appl. Comput. J. 2025, 5, 423–438. [Google Scholar] [CrossRef] [Scilit]
- Gomez-Barrero, M.; Kolberg, J.; Busch, C. Multi-Modal Fingerprint Presentation Attack Detection: Ana lysing the Surface and the Inside. In Proceedings of the 2019 International Conference on Biometrics (ICB), Crete, Greece, 4–7 June 2019; pp. 1–8. [Google Scholar] [CrossRef] [Scilit]
- Chaari, N.; Gharsallaoui, M.A.; Akdağ, H.C.; Rekik, I. Multigraph Classification Using Learnable Integration Network with Application to Gender Fingerprinting. Neural Netw. 2022, 151, 250–263. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lee, Y.K.; Jeong, J.; Kang, D. An Effective Orchestration for Fingerprint Presentation Attack Detection. Electronics 2022, 11, 2515. [Google Scholar] [CrossRef] [Scilit]
- Dörsch, A.; Grimmer, M.; Janier Gonzalez-Soler, L.; Casula, R.; Luca Marcialis, G.; Busch, C.; Rathgeb, C. FaceSpoofLDM: Language-Guided Synthesis of Face Presentation Attacks Based on Latent Diffusion. IEEE Access 2026, 14, 7217–7230. [Google Scholar] [CrossRef] [Scilit]
- Long, X.; Zhang, J.; Shan, S. Generalized Face Liveness Detection via De-Fake Face Generator. IEEE Trans. Pattern Anal. Mach. Intell. 2025, 47, 1818–1831. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cheniti, M.; Akhtar, Z.; Chandaliya, P.K. Dual-Model Synergy for Fingerprint Spoof Detection Using VGG16 and ResNet50. J. Imaging 2025, 11, 42. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wei, Z.-L.; An, H.-Y.; Yao, Y.; Su, W.-C.; Li, G.; Saifullah; Sun, B.-F.; Wang, M.-J.-S. FSTGAT: Financial Spatio-Temporal Graph Attention Network for Non-Stationary Financial Systems and Its Application in Stock Price Prediction. Symmetry 2025, 17, 1344. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Sun, W.; Li, Z.; Guo, X. Face Anti-Spoofing Based on Adaptive Channel Enhancement and Intra-Class Constraint. J. Imaging 2025, 11, 116. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lim, S.; Gwak, Y.; Kim, W.; Roh, J.-H.; Cho, S. One-Class Learning Method Based on Live Correlation Loss for Face Anti-Spoofing. IEEE Access 2020, 8, 201635–201648. [Google Scholar] [CrossRef] [Scilit]
- Huang, X.; Xia, J.; Shen, L. One-Class Face Anti-Spoofing Based on Attention Auto-Encoder. In Biometric Recognition; Feng, J., Zhang, J., Liu, M., Fang, Y., Eds.; Lecture Notes in Computer Science; Springer International Publishing: Cham, Switzerland, 2021; Volume 12878, pp. 365–373. [Google Scholar] [CrossRef] [Scilit]
- Cai, R.; Soh, C.; Yu, Z.; Li, H.; Yang, W.; Kot, A.C. Towards Data-Centric Face Anti-Spoofing: Improving Cross-Domain Generalization via Physics-Based Data Synthesis. Int. J. Comput. Vis. 2025, 133, 1689–1710. [Google Scholar] [CrossRef] [Scilit]
- Cheniti, M.; Akhtar, Z.; Adak, C.; Siddique, K. An Approach for Full Reinforcement-Based Biometric Score Fusion. IEEE Access 2024, 12, 49779–49790. [Google Scholar] [CrossRef] [Scilit]
- Sharma, R.P.; Dey, S. Fingerprint Liveness Detection Using Local Quality Features. Vis. Comput. 2019, 35, 1393–1410. [Google Scholar] [CrossRef] [Scilit]
- Micheletto, M.; Casula, R.; Orrù, G.; Carta, S.; Concas, S.; Cava, S.M.L.; Fierrez, J.; Marcialis, G.L. LivDet2023—Fingerprint Liveness Detection Competition: Advancing Generalization. In Proceedings of the 2023 IEEE International Joint Conference on Biometrics (IJCB), Ljubljana, Slovenia, 25–28 September 2023; pp. 1–8. [Google Scholar] [CrossRef] [Scilit]
- Jian, W.; Zhou, Y.; Liu, H. Densely Connected Convolutional Network Optimized by Genetic Algorithm for Fingerprint Liveness Detection. IEEE Access 2021, 9, 2229–2243. [Google Scholar] [CrossRef] [Scilit]
- Ming, Z.; Chazalon, J.; Luqman, M.M.; Visani, M.; Burie, J.-C. Simple Triplet Loss Based on Intra/Inter-Class Metric Learning for Face Verification. In Proceedings of the 2017 IEEE International Conference on Computer Vision Workshops (ICCVW), Venice, Italy, 22–29 October 2017; pp. 1656–1664. [Google Scholar]
- Wang, H.; Wang, Y.; Zhou, Z.; Ji, X.; Gong, D.; Zhou, J.; Li, Z.; Liu, W. CosFace: Large Margin Cosine Loss for Deep Face Recognition. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018. [Google Scholar]
- Li, J.; Xie, H.; Li, J.; Wang, Z.; Zhang, Y. Frequency-Aware Discriminative Feature Learning Supervised by Single-Center Loss for Face Forgery Detection. In Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 20–25 June 2021. [Google Scholar]
- Andriyanov, N. Using ArcFace Loss Function and Softmax with Temperature Activation Function for Improvement in X-Ray Baggage Image Classification Quality. Mathematics 2024, 12, 2547. [Google Scholar] [CrossRef] [Scilit]
- Monson, P.M.D.C.; Almeida, V.A.D.D.; David, G.A.; Conceição Junior, P.O.; Dotto, F.R.L. Evaluation of Modified FGSM-Based Data Augmentation Method for Convolutional Neural Network-Based Image Classification. Eng. Proc. 2024, 82, 88. [Google Scholar] [CrossRef] [Scilit]
- Zan, Y.; Lu, P.; Meng, T. A Gradual Adversarial Training Method for Semantic Segmentation. Remote Sens. 2024, 16, 4277. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Xu, Y.; Hu, Y.; Ma, Y.; Yin, X. You Only Attack Once: Single-Step DeepFool Algorithm. Appl. Sci. 2024, 15, 302. [Google Scholar] [CrossRef] [Scilit]
- Wen, D.; Han, H.; Jain, A.K. Face Spoof Detection with Image Distortion Analysis. IEEE Trans. Inf. Forensics Secur. 2015, 10, 746–761. [Google Scholar] [CrossRef] [Scilit]
- Li, H.; Li, W.; Cao, H.; Wang, S.; Huang, F.; Kot, A.C. Unsupervised Domain Adaptation for Face Anti-Spoofing. IEEE Trans. Inform. Forensics Secur. 2018, 13, 1794–1809. [Google Scholar] [CrossRef] [Scilit]
- Touvron, H.; Cord, M.; Douze, M.; Massa, F.; Sablayrolles, A.; Jégou, H. Training Data-Efficient Image Transformers & Distillation through Attention. In Proceedings of the 38th International Conference on Machine Learning, Virtual, 18–24 July 2020. [Google Scholar]
- Nikisins, O.; Mohammadi, A.; Anjos, A.; Marcel, S. On Effectiveness of Anomaly Detection Approaches against Unseen Presentation Attacks in Face Anti-Spoofing. In Proceedings of the 2018 International Conference on Biometrics (ICB), Gold Coast, Australia, 20–23 February 2018; pp. 75–81. [Google Scholar]
- Park, E.; Cui, X.; Kim, W.; Kim, H. End-to-End Fingerprints Liveness Detection Using Convolutional Networks with Gram Module. arXiv 2018, arXiv:1803.07830. [Google Scholar]
- Yuan, C.; Xia, Z.; Jiang, L.; Cao, Y.; Jonathan Wu, Q.M.; Sun, X. Fingerprint Liveness Detection Using an Improved CNN with Image Scale Equalization. IEEE Access 2019, 7, 26953–26966. [Google Scholar] [CrossRef] [Scilit]
- Baweja, Y.; Oza, P.; Perera, P.; Patel, V.M. Anomaly Detection-Based Unknown Face Presentation Attack Detection. In Proceedings of the 2020 IEEE International Joint Conference on Biometrics (IJCB), Houston, TX, USA, 28 September–1 October 2020. [Google Scholar]
- Uliyan, D.M.; Sadeghi, S.; Jalab, H.A. Anti-Spoofing Method for Fingerprint Recognition Using Patch Based Deep Learning Machine. Eng. Sci. Technol. Int. J. 2020, 23, 264–273. [Google Scholar] [CrossRef] [Scilit]
- Muhammad Ibrahim, S.; Sohail Ibrahim, M.; Khan, S.; Ko, Y.-W.; Lee, J.-G. Improving Face Presentation Attack Detection Through Deformable Convolution and Transfer Learning. IEEE Access 2025, 13, 31228–31238. [Google Scholar] [CrossRef] [Scilit]
- Grosz, S.A.; Wijewardena, K.P.; Jain, A.K. ViT Unified: Joint Fingerprint Recognition and Presentation Attack Detection. In Proceedings of the 2023 IEEE International Joint Conference on Biometrics (IJCB), Ljubljana, Slovenia, 25–28 September 2023; pp. 1–9. [Google Scholar] [CrossRef] [Scilit]
- Huang, P.-K.; Chong, J.-X.; Chiang, C.-H.; Chen, T.-H.; Liu, T.-L.; Hsu, C.-T. SLIP: Spoof-Aware One-Class Face Anti-Spoofing with Language Image Pretraining. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2025; Volume 39, pp. 3697–3706. [Google Scholar]
- Rai, A.; Dey, S.; Patidar, P.; Rai, P. MoSFPAD: An End-to-End Ensemble of MobileNet and Support Vector Classifier for Fingerprint Presentation Attack Detection. Comput. Secur. 2025, 148, 104069. [Google Scholar] [CrossRef] [Scilit]


| Ref | Backbone | Loss Function | Modality-Projection | Adversarial Robustness | Modality |
|---|---|---|---|---|---|
| [17] | CNN | Simple Triplet | ✗ | ✗ | Face |
| [18] | CNN | CosFace | ✗ | FGSM | Face |
| [19] | FDFL | Single-Center | ✗ | ✗ | Face |
| [7] | VGG16 | Softmax | ✗ | ✗ | Fingerprint |
| [14] | SVM | max-margin | ✗ | ✗ | Fingerprint |
| Ours | DeiT | ArcFace | (MoPE) | FGSM, PGD, DeepFool | Face + fingerprint |
| Dataset | Scanners | Live Samples | Fake Samples |
|---|---|---|---|
| LivDet 2015 | Green Bit | 2000 | 2500 |
| Digital Persona | 2000 | 2500 | |
| Crossmatch | 3010 | 2921 | |
| Biometrika | 2000 | 2500 | |
| LivDet 2013 | ItalData | 2000 | 2000 |
| Biometrika | 2000 | 2000 | |
| MSU-MFSD | x | 2100 | 6275 |
| Rose-Youtu | x | 7500 | 7500 |
| Approach | AUC | |||
|---|---|---|---|---|
| Without Attack | FGSM | PGD | DeepFool | |
| Gram model [28] | 0.974 | 0.772 | 0.751 | 0.738 |
| Image Quality Measures [27] | 0.982 | 0.819 | 0.783 | 0.761 |
| Improved DCNN [29] | 0.968 | 0.807 | 0.742 | 0.724 |
| Anomaly Detection-Based [30] | 0.984 | 0.769 | 0.738 | 0.717 |
| Pre-trained CNN [14] | 0.975 | 0.829 | 0.807 | 0.783 |
| One-Class Learning [10] | 0.981 | 0.795 | 0.794 | 0.770 |
| DRBM + DBM [31] | 0.983 | 0.802 | 0.809 | 0.782 |
| Attention Auto-Encoder [11] | 0.954 | 0.780 | 0.772 | 0.746 |
| VGG16 and ResNet50 [7] | 0.987 | 0.826 | 0.808 | 0.795 |
| Proposed approach | 0.998 | 0.832 | 0.813 | 0.801 |
| Method | Year | L&I&M → R | L&R&I → M | L&R&M → I | M&R&I → L | Averag-HTER/AUC |
|---|---|---|---|---|---|---|
| MobileNetV2 [32] | 2025 | 24.14/82.74 | 8.28/94.89 | 17.94/88.25 | 32.88/70.03 | 20.81/83.97 |
| ViT [33] | 2023 | 26.45/80.65 | 8.57/93.23 | 26.67/75.92 | 26.08/79.15 | 21.94/82.23 |
| SLIP (one-class) [34] | 2025 | 28.75/77.44 | 19.21/84.58 | 16.69/88.28 | 24.29/81.07 | 22.23/82.84 |
| MoSFPAD [35] | 2025 | 35.23/69.18 | 8.78/95.51 | 22.41/84.56 | 26.35/78.47 | 23.19/81.93 |
| Proposed method | 2026 | 23.39/82.60 | 12.75/89.83 | 20.43/86.91 | 17.14/87.38 | 18.17/86.68 |
| Loss Function | AUC | |||
|---|---|---|---|---|
| Without Attack | FGSM | PGD | DeepFool | |
| Simple Triplet loss [17] | 0.982 ± 0.41 | 0.796 ± 1.32 | 0.767 ± 1.24 | 0.788 ± 1.93 |
| CosFace loss [18] | 0.996 ± 0.003 | 0.839 ± 0.01 | 0.785 ± 1.15 | 0.754 ± 2.67 |
| Single-Center Loss [19] | 0.992 ± 0.114 | 0.814 ± 0.55 | 0.757 ± 0.65 | 0.794 ± 1.87 |
| ArcFace (Proposed) | 0.998 ± 0.0022 | 0.832 ± 0.1.1 | 0.813 ± 0.21 | 0.801 ± 0.09 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Cheniti, M.; Akhtar, Z.; Adak, C. Modality-Shared Anti-Spoofing for Face and Fingerprint. Computers 2026, 15, 583. https://doi.org/10.3390/computers15090583
Cheniti M, Akhtar Z, Adak C. Modality-Shared Anti-Spoofing for Face and Fingerprint. Computers. 2026; 15(9):583. https://doi.org/10.3390/computers15090583
Chicago/Turabian StyleCheniti, Mohamed, Zahid Akhtar, and Chandranath Adak. 2026. "Modality-Shared Anti-Spoofing for Face and Fingerprint" Computers 15, no. 9: 583. https://doi.org/10.3390/computers15090583
APA StyleCheniti, M., Akhtar, Z., & Adak, C. (2026). Modality-Shared Anti-Spoofing for Face and Fingerprint. Computers, 15(9), 583. https://doi.org/10.3390/computers15090583
