[Paper Review] Range Loss for Deep Face Recognition with Long-tail
This paper proposes range loss, a novel loss function that reduces intra-class variation and increases inter-class margins in deep face recognition under long-tailed data distributions. By optimizing the harmonic mean of the k largest intra-class distances and the shortest inter-class distance within mini-batches, range loss enables effective learning from underrepresented classes, achieving state-of-the-art performance on LFW and YTF benchmarks even with imbalanced data.
Convolutional neural networks have achieved great improvement on face recognition in recent years because of its extraordinary ability in learning discriminative features of people with different identities. To train such a well-designed deep network, tremendous amounts of data is indispensable. Long tail distribution specifically refers to the fact that a small number of generic entities appear frequently while other objects far less existing. Considering the existence of long tail distribution of the real world data, large but uniform distributed data are usually hard to retrieve. Empirical experiences and analysis show that classes with more samples will pose greater impact on the feature learning process and inversely cripple the whole models feature extracting ability on tail part data. Contrary to most of the existing works that alleviate this problem by simply cutting the tailed data for uniform distributions across the classes, this paper proposes a new loss function called range loss to effectively utilize the whole long tailed data in training process. More specifically, range loss is designed to reduce overall intra-personal variations while enlarging inter-personal differences within one mini-batch simultaneously when facing even extremely unbalanced data. The optimization objective of range loss is the $k$ greatest range's harmonic mean values in one class and the shortest inter-class distance within one batch. Extensive experiments on two famous and challenging face recognition benchmarks (Labeled Faces in the Wild (LFW) and YouTube Faces (YTF) not only demonstrate the effectiveness of the proposed approach in overcoming the long tail effect but also show the good generalization ability of the proposed approach.
Motivation & Objective
- To address the long-tailed distribution problem in deep face recognition, where underrepresented identities suffer from poor feature learning due to insufficient training samples.
- To develop a loss function that effectively utilizes all data, including rare (tail) classes, without data filtering or oversampling.
- To improve model generalization by focusing optimization on hard, intra-class samples within each mini-batch.
- To demonstrate the effectiveness and generalization capability of the proposed loss across multiple benchmarks and network architectures.
Proposed method
- Range loss is defined as the harmonic mean of the k largest intra-class Euclidean distances within a mini-batch, encouraging compactness in feature space for each identity.
- It simultaneously minimizes the shortest inter-class distance between any two identities in the same batch, promoting inter-class separation.
- The loss is jointly optimized with softmax loss to preserve class discriminability while enhancing robustness to long-tailed data.
- The method dynamically recomputes intra-class ranges during training, focusing on the most challenging samples within each class.
- The approach is applied to deep residual networks and evaluated on standard face recognition benchmarks with minimal data filtering.
Experimental results
Research questions
- RQ1Can a loss function be designed to improve deep face recognition performance on long-tailed datasets without removing or oversampling rare classes?
- RQ2How does optimizing for intra-class compactness and inter-class margin in mini-batches affect model generalization on underrepresented identities?
- RQ3Does combining range loss with softmax loss lead to better feature learning than using either loss alone or existing alternatives like contrastive loss?
- RQ4Can the proposed loss generalize across different deep network architectures and achieve state-of-the-art performance on standard benchmarks?
Key findings
- Model E, trained with range loss and softmax loss on 1.5M filtered images, achieved 99.52% accuracy on LFW, outperforming the baseline model D (98.27%) by 1.25 percentage points.
- On YTF, the same model achieved 93.70% accuracy, a 0.60 percentage point improvement over the baseline model D (93.10%).
- The range loss-based model outperformed several state-of-the-art models, including DeepID-2+, FaceNet, and DeepFace, despite using a smaller training dataset.
- The integration of range loss enabled the model to learn effectively from the 50% least frequent identities, improving their performance by 0.43% over the baseline.
- The method demonstrated strong generalization, maintaining high performance across different network architectures and data scales.
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.