Interpretability-Driven Defense Against Physical Adversarial Attacks in Facial Recognition Systems
Downloads
This study aims to develop and evaluate a defense mechanism, the Self-Explaining Gate (SEG), to protect facial recognition (FR) systems against physical adversarial attacks (PAAs) by combining identity recognition, feature attribution, and anatomical landmark detection. SEG uses a three-stream architecture comprising identity feature extraction, real-time Grad-CAM feature attribution, and Haar-cascade-based anatomical landmark detection, integrated through a novel Anatomical Consistency Score (ACS) that measures the overlap between model attention and biological facial landmarks. The approach was evaluated on the CASIA-FASD and SiW benchmark datasets and a custom adversarial dataset, using detection accuracy, false acceptance/rejection rates, and inference latency as evaluation metrics. Our SEG achieved 94% attack detection accuracy, rejecting 96.1% of adversarial images while accepting 90% of genuine images, with inference latency under 160 milliseconds, outperforming adversarial training, feature squeezing, and SSR-FCN baseline defenses. Performance degrades on low-resolution images and under extreme occlusion, and further validation on video-based and larger real-world datasets is required. SEG can be integrated into real-time facial recognition deployments, such as border control, banking, and security systems, to provide interpretable and anatomically grounded rejection of adversarial inputs. By making automated identity verification more transparent and resistant to spoofing, SEG has the potential to increase public trust in facial recognition systems used in security-sensitive contexts. This study is the first to combine intrinsic, feedforward explainability with anatomical landmark validation as a real-time defense mechanism, introducing the Anatomical Consistency Score and a zero-background weighting scheme.
M. Wang, J. Zhou, T. Li, G. Meng, and K. Chen, “A survey on physical adversarial attacks against face recognition systems,” Neurocomputing, vol. 669, Art. no. 132485, 2026, doi: 10.1016/j.neucom.2026.132485.
M. Sharif, S. Bhagavatula, L. Bauer, and M. K. Reiter, “Accessorize to a crime: Real and stealthy attacks on state-of-the-art face recognition,” in Proc. ACM Conf. Computer and Communications Security (CCS), 2016, pp. 1528–1540.
T. B. Brown, D. Mané, A. Roy, M. Abadi, and J. Gilmer, “Adversarial patch,” arXiv preprint arXiv:1712.09665, 2017. [Online]. Available:
C. Hu, W. Shi, T. Jiang, W. Yao, L. Tian, X. Chen, J. Zhou, and W. Li, “Adversarial infrared blocks: A multi-view black-box attack to thermal infrared detectors in physical world,” Neural Networks, vol. 175, Art. no. 106310, 2024, doi: 10.1016/j.neunet.2024.106310.
A. Madry, A. Makelov, L. Schmidt, D. Tsipras, and A. Vladu, “Towards deep learning models resistant to adversarial attacks,” arXiv preprint arXiv:1706.06083, 2017. [Online]. Available:
D. Deb, “Towards robust and secure face recognition: Defense against physical and digital attacks,” Ph.D. dissertation, Michigan State University, East Lansing, MI, USA, n.d.
G. Tao, S. Ma, Y. Liu, and X. Zhang, “Attacks meet interpretability: Attribute-steered detection of adversarial samples,” in Advances in Neural Information Processing Systems, vol. 31, 2018.
H. Jeong, S. Lee, S. J. Hwang, and S. Son, “Learning to generate inversion-resistant model explanations,” in Advances in Neural Information Processing Systems, vol. 35, 2022.
P. J. Borsukiewicz, J. Klein, J. Samhi, and T. F. Bissyandé, “Explainable AI for analyzing person-specific patterns in facial recognition tasks,” arXiv preprint arXiv:2509.17457, 2025. [Online]. Available:
R. R. Selvaraju, A. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, “Grad-CAM: Visual explanations from deep networks via gradient-based localization,” in Proc. IEEE Int. Conf. Computer Vision (ICCV), 2017, pp. 618–626.
J. Deng, J. Guo, N. Xue, and S. Zafeiriou, “ArcFace: Additive angular margin loss for deep face recognition,” in Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR), 2019, pp. 4690–4699.
D. Zucker, “Deeply explainable artificial neural network,” arXiv preprint arXiv:2505.06731, 2025.
A. T. Balcı, M. M. Ebeid, P. V. Benos, D. Kostka, and M. Chikina, “An intrinsically interpretable neural network architecture for sequence-to-function learning,” Bioinformatics, vol. 39, no. S1, pp. i413–i422, 2023, doi: 10.1093/bioinformatics/btad271.
Y. Chong, Y. Wang, and J. Li, “Automated anatomical landmark detection on 3D facial images using U-Net-based deep learning algorithm,” Quantitative Imaging in Medicine and Surgery, vol. 14, no. 3, pp. 2466–2474, 2024.
Z. Zhang, J. Yan, S. Liu, Z. Lei, and S. Z. Li, “CASIA-FASD: A dataset for face anti-spoofing,” in Proc. IEEE Int. Conf. Biometrics: Theory, Applications and Systems (BTAS), 2012, pp. 26–31.




3.png)