Skip to main content
QUICK REVIEW

[Paper Review] Loss Function Search for Face Recognition

Xiaobo Wang, Shuo Wang|arXiv (Cornell University)|Jul 10, 2020
Face and Expression RecognitionComputer Science29 citations
TL;DR

This paper proposes a reward-guided search method for learning optimal margin-based softmax loss functions in face recognition by identifying that reducing softmax probability enhances feature discrimination. The authors introduce a unified formulation with a simplified search space, enabling efficient optimization that outperforms hand-crafted losses and AutoML methods like AM-LFS across multiple benchmarks, including MegaFace and Trillion-Pairs.

ABSTRACT

In face recognition, designing margin-based (e.g., angular, additive, additive angular margins) softmax loss functions plays an important role in learning discriminative features. However, these hand-crafted heuristic methods are sub-optimal because they require much effort to explore the large design space. Recently, an AutoML for loss function search method AM-LFS has been derived, which leverages reinforcement learning to search loss functions during the training process. But its search space is complex and unstable that hindering its superiority. In this paper, we first analyze that the key to enhance the feature discrimination is actually extbf{how to reduce the softmax probability}. We then design a unified formulation for the current margin-based softmax losses. Accordingly, we define a novel search space and develop a reward-guided search method to automatically obtain the best candidate. Experimental results on a variety of face recognition benchmarks have demonstrated the effectiveness of our method over the state-of-the-art alternatives.

Motivation & Objective

  • To identify the core principle behind successful margin-based softmax losses in face recognition, focusing on softmax probability reduction.
  • To address the limitations of hand-crafted heuristic loss functions, which require expert tuning and are sub-optimal due to vast, unstable design spaces.
  • To overcome the instability and complexity of existing AutoML methods like AM-LFS by designing a simpler, more effective search space.
  • To develop a reward-guided search framework that dynamically optimizes loss function parameters during training to enhance feature discrimination.
  • To validate the proposed method across diverse, challenging face recognition benchmarks, including those measuring racial bias and extreme-scale recognition.

Proposed method

  • Proposes a unified mathematical formulation for margin-based softmax losses that reduces all such losses to a single parameter controlling softmax probability.
  • Defines a novel, simplified search space centered on adjusting the margin parameter to control softmax probability, ensuring strong feature discrimination.
  • Introduces a random search baseline and a reward-guided search strategy that uses validation performance as a reward signal to guide loss function sampling.
  • Develops an efficient optimization framework that dynamically updates the distribution of loss function candidates based on reward feedback at each training epoch.
  • Employs a differentiable search mechanism that allows end-to-end training with automatic loss function adaptation, avoiding manual hyperparameter tuning.
  • Uses cross-entropy loss with the learned, dynamically sampled margin parameters to train deep face recognition models with improved intra-class compactness and inter-class separability.

Experimental results

Research questions

  • RQ1What is the fundamental mechanism that enables margin-based softmax losses to improve face recognition performance?
  • RQ2How can the design space for loss function search be simplified to improve stability and effectiveness compared to existing AutoML approaches?
  • RQ3Can a reward-guided search strategy that explicitly minimizes softmax probability outperform hand-crafted and AutoML-based loss functions?
  • RQ4To what extent does the proposed method generalize across diverse face recognition benchmarks, including those with extreme class imbalance or racial bias?
  • RQ5Does reducing softmax probability lead to more robust and discriminative feature learning across different training data distributions?

Key findings

  • The key to enhancing feature discrimination in face recognition is reducing the softmax probability, not merely increasing margins.
  • The proposed Search-Softmax loss achieves 96.97% Rank-1 accuracy on MegaFace with CASIA-WebFace-R, outperforming AM-Softmax (96.77%) and AM-LFS (92.51%).
  • On the Trillion-Pairs benchmark, Search-Softmax achieves 70.41% TPR@FAR=1e-6 in verification, a 4% improvement over the baseline Softmax loss when trained on CASIA-WebFace-R.
  • The method consistently outperforms all baselines, including hand-crafted losses and AM-LFS, across all RFW subsets (Caucasian, Indian, Asian, African), demonstrating robustness to racial bias.
  • The reward-guided search strategy significantly improves performance over random search, with Search-Softmax achieving 68.67% TPR@FAR=1e-6 on Trillion-Pairs, compared to 68.03% for Random-Softmax.
  • The proposed method shows strong generalization, achieving state-of-the-art results on both identification and verification tasks, especially at very low false positive rates.

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.