DeepFace-EMD: Re-ranking Using Patch-wise Earth Mover's Distance Improves Out-Of-Distribution Face Identification
Hai Phan, Anh Nguyen
Abstract
Face identification (FI) is ubiquitous and drives many high-stake decisions made by the law enforcement. A common FI approach compares two images by taking the cosine similarity between their image embeddings. Yet, such approach suffers from poor out-of-distribution (OOD) generalization to new types of images (e.g., when a query face is masked, cropped or rotated) not included in the training set or the gallery. Here, we propose a re-ranking approach that compares two faces using the Earth Mover's Distance on the deep, spatial features of image patches. Our extra comparison stage explicitly examines image similarity at a fine-grained level (e.g., eyes to eyes) and is more robust to OOD perturbations and occlusions than traditional FI. Interestingly, without finetuning feature extractors, our method consistently improves the accuracy on all tested OOD queries: masked, cropped, rotated, and adversarial while obtaining similar results on in-distribution images.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers4
- Visual correspondence-based explanations improve AI robustness and human-AI team accuracyMohammad Reza Taesiri, Giang Nguyen, Anh NguyenNeurIPS 2022 · 57 citations
- Dynamic Feature Pruning and Consolidation for Occluded Person Re-identificationYuteng Ye, Hang Zhou, Jiale Cai, Chenxing Gao et al.AAAI 2024 · 19 citations
- TAB: Transformer Attention Bottlenecks Enable User Intervention and Debugging in Vision-Language ModelsPooyan Rahmanzadehgervi, Hung Huy Nguyen, Rosanne Liu, Long Mai et al.ICCV 2025 · 3 citations
- Breaching FedMD: Image Recovery via Paired-Logits Inversion AttackHideaki Takahashi, Jingjing Liu, Yang LiuCVPR 2023
Builds on5
- Accessorize to a Crime: Real and Stealthy Attacks on State-of-the-Art Face RecognitionMahmood Sharif, Sruti Bhagavatula, Lujo Bauer, Michael K. ReiterCCS 2016 · 1,765 citations
- On the Robustness of Vision Transformers to Adversarial ExamplesKaleel Mahmood, Rigel Mahmood, Marten van DijkICCV 2021 · 261 citations
- Occlusion Robust Face Recognition Based on Mask Learning With Pairwise Differential Siamese NetworkLingxue Song, Dihong Gong, Zhifeng Li, Changsong Liu et al.ICCV 2019 · 225 citations
- Towards Interpretable Deep Metric Learning with Structural MatchingWenliang Zhao, Yongming Rao, Ziyi Wang, Jiwen Lu et al.ICCV 2021 · 52 citations
- DeepEMD: Few-Shot Image Classification With Differentiable Earth Mover's Distance and Structured ClassifiersChi Zhang, Yujun Cai, Guosheng Lin, Chunhua ShenCVPR 2020
Related papers
- Matching on Sets: Conquer Occluded Person Re-identification Without AlignmentMengxi Jia, Xinhua Cheng, Yunpeng Zhai, Shijian Lu et al.AAAI 2021 · 90 citations
- ID-Reveal: Identity-aware DeepFake Video DetectionDavide Cozzolino, Andreas Rössler, Justus Thies, Matthias Nießner et al.ICCV 2021 · 216 citations
- Feature Erasing and Diffusion Network for Occluded Person Re-IdentificationZhikang Wang, Feng Zhu, Shixiang Tang, Rui Zhao et al.CVPR 2022 · 185 citations
- Recover and Identify: A Generative Dual Model for Cross-Resolution Person Re-IdentificationYu-Jhe Li, Yun-Chun Chen, Yen-Yu Lin, Xiaofei Du et al.ICCV 2019 · 88 citations
- Attributes Shape the Embedding Space of Face Recognition ModelsPierrick Leroy, Antonio Mastropietro, Marco Nurisso, Francesco VaccarinoICML 2025
