Explainable Face Recognition via Improved Localization
Rashik Shadman, Daqing Hou, Faraz Hussain, M G Sarwar Murshed
TL;DR
The paper tackles explainability in deep learning-based face recognition by requiring visual explanations of decisions. It introduces Scaled Directed Divergence (SDD), a CAM-based discriminative localization technique that produces narrow, class-specific explanations by scaling the target CAM and diverging from others, with the CAM for class $c$ given by $M_c(x,y)=\sum_k w_k^c f_k(x,y)$ and an amplification factor $\alpha$ defined as $ \alpha = 0.2 + \frac{\mathrm{stddev}(CAM_{SDD})}{\mathrm{stddev}(CAM_{SDD})+1}\cdot 0.2$. The AdaFace model (ResNet-100) pretrained on WebFace12M and finetuned on FaceScrub achieves a 96.33% test accuracy on a 80/10/10 split, enabling robust evaluation of explanations. Deletion and retention analyses show that SDD CAM highlights more faithful and narrowly localized regions than random CAMs, supporting greater transparency and the potential for bias detection and model improvement.
Abstract
Biometric authentication has become one of the most widely used tools in the current technological era to authenticate users and to distinguish between genuine users and imposters. Face is the most common form of biometric modality that has proven effective. Deep learning-based face recognition systems are now commonly used across different domains. However, these systems usually operate like black-box models that do not provide necessary explanations or justifications for their decisions. This is a major disadvantage because users cannot trust such artificial intelligence-based biometric systems and may not feel comfortable using them when clear explanations or justifications are not provided. This paper addresses this problem by applying an efficient method for explainable face recognition systems. We use a Class Activation Mapping (CAM)-based discriminative localization (very narrow/specific localization) technique called Scaled Directed Divergence (SDD) to visually explain the results of deep learning-based face recognition systems. We perform fine localization of the face features relevant to the deep learning model for its prediction/decision. Our experiments show that the SDD Class Activation Map (CAM) highlights the relevant face features very specifically compared to the traditional CAM and very accurately. The provided visual explanations with narrow localization of relevant features can ensure much-needed transparency and trust for deep learning-based face recognition systems.
