FaceMINT: A library for gaining insights into biometric face recognition via mechanistic interpretability
Deep-learning models, including those used in biometric recognition, have achieved remarkable performance on benchmark datasets as well as real-world recognition tasks. However, a major drawback of these models is their lack of transparency in decision-making. Mechanistic interpretability has emerged as a promising research field intended to help us gain insights into such models, but its application to biometric data remains limited. In this work, we bridge this gap by introducing the FaceMINT library, a publicly available Python library (build on top of Pytorch) that enables biometric researchers to inspect their models through mechanistic interpretability. It provides a plug-and-play solution that allows researchers to seamlessly switch between the analyzed biometric models, evaluate state-of-the-art sparse autoencoders, select from various image parametrizations, and fine-tune hyperparameters. Using a large scale Glint360K dataset, we demonstrate the usability of FaceMINT by applying its functionality to two state-of-the-art (deep-learning) face recognition models: AdaFace, based on Convolutional Neural Networks (CNN), and SwinFace, based on transformers. The proposed library implements various sparse auto-encoders (SAEs), including vanilla SAE, Gated SAE, JumpReLU SAE, and TopK SAE, which have achieved state-of-the-art results in the mechanistic interpretability of large language models. Our study highlights the promise of mechanistic interpretability in the biometric field, providing new avenues for researchers to explore model transparency and refine biometric recognition systems. The library is publicly available at www.gitlab.com/peterrot/facemint . • We have developed a library for the mechanistic interpretability of face rec. models. • It supports CNN and transformer architectures for face recognition analysis. • Integrates sparse autoencoders to reveal disentangled latent features. • Offers activation maximization with multiple image parametrizations. • We present initial findings in feature discovery, validated by a human survey.
Authors
- Klemen Grm (ORCID: https://orcid.org/0000-0002-3637-8182)
- Peter Rot (ORCID: https://orcid.org/0000-0002-4491-2744)
- Peter Peer (ORCID: https://orcid.org/0000-0001-9744-4035)
- Vitomir Štruc (ORCID: https://orcid.org/0000-0002-3385-5780)
- Walter J. Scheirer (ORCID: https://orcid.org/0000-0001-9649-8074)
- Robert Jutreša
Institutions
- University of Notre Dame (US)
- University of Ljubljana (SI)
Publication Details
- Journal
- Image and Vision Computing
- Published
- 2025-11-07
- DOI
- https://doi.org/10.1016/j.imavis.2025.105804
- Primary Topic
- Face recognition and analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00