Fast and Interpretable Face Identification for Out-Of-Distribution Data Using Vision Transformers
Not on the map. Why?
Abstract (arXiv)
Most face identification approaches employ a Siamese neural network to compare two images at the image embedding level. Yet, this technique can be subject to occlusion (e.g. faces with masks or sunglasses) and out-of-distribution data. DeepFace-EMD (Phan et al. 2022) reaches state-of-the-art accuracy on out-of-distribution data by first comparing two images at the image level, and then at the patch level. Yet, its later patch-wise re-ranking stage admits a large O(n3 log n) time complexity (for n patches in an image) due to the optimal transport optimization. In this paper, we propose a novel, 2-image Vision Transformers (ViTs) that compares two images at the patch level using cross-attention. After training on 2M pairs of images on CASIA Webface (Yi et al. 2014), our model performs at a comparable accuracy as DeepFace-EMD on out-of-distribution data, yet at an inference speed more than twice as fast as DeepFace-EMD (Phan et al. 2022). In addition, via a human study, our model shows promising explainability through the visualization of cross-attention. We believe our work can inspire more explorations in using ViTs for face identification.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 36 of its 62 references that are in the map. First posted on arXiv 6 Nov 2023.
Builds on
36 of 62 references.
References · 36
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2016Identity Mappings in Deep Residual Networkscited by 1,965
- 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,619
- 2021ViLT: Vision-and-Language Transformer Without Convolution or Region Supervisioncited by 1,230
24 more
- 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 971
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 776
- 2017SphereFace: Deep Hypersphere Embedding for Face Recognitioncited by 737
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
- 2014Learning Face Representation from Scratchcited by 453
- 2020A Metric Learning Reality Checkcited by 321
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
- 2017Cross-Age LFW: A Database for Studying Cross-Age Face Recognition in Unconstrained Environmentscited by 260
- 2022Better plain ViT baselines for ImageNet-1kcited by 98
- 2020Towards Transferable Adversarial Attack against Deep Face Recognitioncited by 80
- 2022NFormer: Robust Person Re-identification with Neighbor Transformercited by 57
- 2021Face Transformer for Recognitioncited by 46
- 2021TransMatcher: Deep Image Matching Through Transformers for Generalizable Person Re-identificationcited by 32
- 2021Towards Interpretable Deep Metric Learning with Structural Matchingcited by 30
- 2021OODformer: Out-Of-Distribution Detection Transformercited by 27
- 2019Visualizing Deep Similarity Networkscited by 24
- 2021End2End Occluded Face Recognition by Masking Corrupted Featurescited by 24
- 2021DeepFace-EMD: Re-ranking Using Patch-wise Earth Mover's Distance Improves Out-Of-Distribution Face Identificationcited by 20
- 2016Robust LSTM-Autoencoders for Face De-Occlusion in the Wildcited by 17
- 2018Face Synthesis for Eyeglass-Robust Face Recognitioncited by 12
- 2021MLFW: A Database for Face Recognition on Masked Facescited by 10
- 2017Enhancing Convolutional Neural Networks for Face Recognition with Occlusion Maps and Batch Triplet Losscited by 9
- 2020On Improving the Generalization of Face Recognition in the Presence of Occlusionscited by 4
Built on by
Citing papers per year: 2024: 3; 2025: 0; 2026: 1.
4 papers.
- 2024Exploring the Synergies of Hybrid CNNs and ViTs Architectures for Computer Vision: A surveycited by 13
- 2024FaceTracer: Unveiling Source Identities from Swapped Face Images and Videos for Fraud Preventioncited by 2
- 2024TAB: Transformer Attention Bottlenecks enable User Intervention and Debugging in Vision-Language Modelscited by 2
- 2026MGFace: Mask-Gated Face Matching via Conditional Similarity Routingcited by 0
- 2026MGFace: Mask-Gated Face Matching via Conditional Similarity Routing14 Jul 2026
- 2024TAB: Transformer Attention Bottlenecks enable User Intervention and Debugging in Vision-Language Models24 Dec 2024
- 2024FaceTracer: Unveiling Source Identities from Swapped Face Images and Videos for Fraud Prevention11 Dec 2024
- 2024Exploring the Synergies of Hybrid CNNs and ViTs Architectures for Computer Vision: A survey5 Feb 2024