[Paper Review] AdaFace: Quality Adaptive Margin for Face Recognition
AdaFace proposes a quality-adaptive margin loss for face recognition that dynamically adjusts training emphasis based on image quality, using feature norms as a proxy for quality. By prioritizing hard samples in high-quality images and de-emphasizing unidentifiable (very hard) samples in low-quality images, AdaFace achieves state-of-the-art performance on low and mixed-quality face recognition benchmarks such as IJB-B, IJB-C, IJB-S, and TinyFace.
Recognition in low quality face datasets is challenging because facial attributes are obscured and degraded. Advances in margin-based loss functions have resulted in enhanced discriminability of faces in the embedding space. Further, previous studies have studied the effect of adaptive losses to assign more importance to misclassified (hard) examples. In this work, we introduce another aspect of adaptiveness in the loss function, namely the image quality. We argue that the strategy to emphasize misclassified samples should be adjusted according to their image quality. Specifically, the relative importance of easy or hard samples should be based on the sample's image quality. We propose a new loss function that emphasizes samples of different difficulties based on their image quality. Our method achieves this in the form of an adaptive margin function by approximating the image quality with feature norms. Extensive experiments show that our method, AdaFace, improves the face recognition performance over the state-of-the-art (SoTA) on four datasets (IJB-B, IJB-C, IJB-S and TinyFace). Code and models are released in https://github.com/mk-minchul/AdaFace.
Motivation & Objective
- To address the challenge of unidentifiable face images in training data, which degrade model performance on low-quality datasets.
- To improve face recognition robustness by adapting loss function importance based on both sample difficulty and image quality.
- To design a loss function that avoids overemphasizing unidentifiable (very hard) samples in low-quality images while focusing on hard but recognizable samples.
- To demonstrate that feature norms can serve as an effective proxy for image quality in loss function adaptation.
- To achieve state-of-the-art performance on diverse face recognition benchmarks with varying image quality.
Proposed method
- The method introduces an adaptive margin function in the loss that varies based on the feature norm of the deep embedding, which serves as a proxy for image quality.
- High feature norms indicate high-quality images, leading the loss to emphasize hard samples; low norms indicate low-quality images, leading to de-emphasis of very hard samples.
- The margin function is integrated into the ArcFace loss framework, modifying the angular margin based on the sample's feature norm to control gradient scale.
- The approach avoids additional learnable layers or two-stage training, making it easily deployable with existing face recognition backbones.
- The method implicitly handles curriculum learning by combining difficulty and quality awareness in a single, unified loss function.
- The loss is optimized end-to-end during training, with no need for external quality estimation or heuristic thresholds.
Experimental results
Research questions
- RQ1Can image quality be effectively leveraged to adaptively control the importance of hard vs. easy samples during face recognition training?
- RQ2Does using feature norms as a proxy for image quality improve generalization on low-quality face recognition datasets?
- RQ3Can a unified loss function that adapts to both sample difficulty and image quality outperform standard margin-based losses on mixed and low-quality datasets?
- RQ4How does the proposed adaptive margin function compare to existing methods in terms of robustness to unidentifiable images?
- RQ5To what extent does the adaptive loss improve performance on benchmarks with varying image quality, such as IJB-B, IJB-C, IJB-S, and TinyFace?
Key findings
- AdaFace achieves state-of-the-art performance on the IJB-B, IJB-C, IJB-S, and TinyFace datasets, with a 3.5% average gain in Rank-1 performance over the second-best method on low-quality benchmarks.
- On IJB-B and IJB-C, AdaFace reduces error by 11% and 9% respectively compared to the second-best method, demonstrating strong gains in mixed-quality settings.
- On IJB-S, AdaFace achieves a 2.4% improvement in TPIR@FPIR=1% over the second-best method, indicating better generalization to low-quality samples.
- The method outperforms competitive baselines such as BroadFace, SCF-ArcFace, and VPL-ArcFace on high-quality datasets without requiring additional learnable layers or two-stage training.
- AdaFace achieves SOTA results across multiple datasets, including MS1MV3 and WebFace4M, showing robustness across diverse training data distributions.
- The use of feature norms as a quality proxy enables effective, seamless adaptation of the margin function without external quality annotations or heuristic thresholds.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.