Skip to main content
QUICK REVIEW

[Paper Review] NPCFace: Negative-Positive Collaborative Training for Large-scale Face Recognition

Dan Zeng, Hailin Shi|arXiv (Cornell University)|Jul 20, 2020
Face recognition and analysisComputer Science50 references11 citations
TL;DR

NPCFace proposes a novel loss function that explicitly models the correlation between hard positive (intra-class) and hard negative (inter-class) samples in large-scale face recognition by introducing a collaborative margin mechanism in softmax logits. By jointly optimizing margins for both positive and negative logits per sample, NPCFace achieves state-of-the-art performance, especially in the low false accept rate (FAR) range, with a 77.01% verification rate on IJB-C at 1e-5 FAR and only a 6.1% increase in training time on MS-Celeb-1M.

ABSTRACT

The training scheme of deep face recognition has greatly evolved in the past years, yet it encounters new challenges in the large-scale data situation where massive and diverse hard cases occur. Especially in the range of low false accept rate (FAR), there are various hard cases in both positives (intra-class) and negatives (inter-class). In this paper, we study how to make better use of these hard samples for improving the training. The literature approaches this by margin-based formulation in either positive logit or negative logits. However, the correlation between hard positive and hard negative is overlooked, and so is the relation between the margins in positive and negative logits. We find such correlation is significant, especially in the large-scale dataset, and one can take advantage from it to boost the training via relating the positive and negative margins for each training sample. To this end, we propose an explicit collaboration between positive and negative margins sample-wisely. Given a batch of hard samples, a novel Negative-Positive Collaboration loss, named NPCFace, is formulated, which emphasizes the training on both negative and positive hard cases via the collaborative-margin mechanism in the softmax logits, and also brings better interpretation of negative-positive hardness correlation. Besides, the emphasis is implemented with an improved formulation to achieve stable convergence and flexible parameter setting. We validate the effectiveness of our approach on various benchmarks of large-scale face recognition, and obtain advantageous results especially in the low FAR range.

Motivation & Objective

  • To address the challenge of large-scale face recognition where hard positive and hard negative samples co-occur frequently, especially in the low false accept rate (FAR) range.
  • To overcome the limitation of prior methods that treat hard positive and hard negative samples independently by modeling their correlation in margin optimization.
  • To develop a training loss that jointly emphasizes hard positives and hard negatives via a sample-wise collaborative margin mechanism.
  • To ensure stable convergence and flexible hyperparameter tuning through an improved margin formulation in negative logits.
  • To achieve superior performance on large-scale benchmarks, particularly in challenging low FAR scenarios.

Proposed method

  • NPCFace introduces a novel loss function that applies a collaborative margin to both positive and negative logits in the softmax layer, explicitly modeling the correlation between hard intra-class and inter-class samples.
  • For each training sample, the method computes a sample-wise margin that balances the emphasis on hard positives and hard negatives, improving discrimination in the embedding space.
  • The loss formulation incorporates an improved margin parameterization in negative logits to ensure stable optimization and flexible hyperparameter control.
  • The method dynamically adjusts the margin based on the hardness of both positive and negative samples, promoting better feature separation.
  • It is designed to be compatible with existing deep face recognition frameworks and adds minimal computational overhead, with only a 6.1% increase in training time on MS-Celeb-1M.
  • The approach is validated through ablation studies and comparisons on multiple benchmarks, including CASIA-WebFace, MS-Celeb-1M, IJB-B, and IJB-C.

Experimental results

Research questions

  • RQ1How can the correlation between hard positive and hard negative samples be leveraged to improve training in large-scale face recognition?
  • RQ2Can a collaborative margin mechanism that jointly optimizes positive and negative logits lead to better generalization and robustness?
  • RQ3Does the proposed NPCFace loss achieve better performance than existing margin-based losses, especially in the low FAR regime?
  • RQ4What is the computational cost of applying sample-wise collaborative margins compared to standard margin-based losses?
  • RQ5Can the improved margin formulation in negative logits ensure stable convergence and flexible hyperparameter tuning?

Key findings

  • NPCFace achieves a verification rate of 99.83% on MS-Celeb-1M at 1e-4 FAR and 99.36% at 1e-5 FAR, outperforming all prior methods on this benchmark.
  • On the IJB-B and IJB-C benchmarks, NPCFace achieves 92.02% and 85.59% verification rates at 1e-5 FAR, respectively, significantly outperforming the next best method, CurricularFace.
  • The method improves the verification rate on IJB-C at 1e-5 FAR by 2.46 percentage points compared to ArcFace and 1.51 points compared to CurricularFace.
  • The computational cost of NPCFace increases by only 6.1% compared to CosFace and ArcFace when training on MS-Celeb-1M with 100k identities, demonstrating its efficiency.
  • Ablation studies confirm that the collaborative margin mechanism significantly improves performance, especially in hard cases, by effectively leveraging the correlation between hard positives and negatives.
  • The improved margin formulation in negative logits leads to more stable convergence and flexible parameter tuning, as validated across multiple training settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.