Skip to main content
QUICK REVIEW

[Paper Review] Additive Margin Softmax for Face Verification

Wang Feng, Weiyang Liu|arXiv (Cornell University)|Jan 17, 2018
Face recognition and analysisComputer Science14 citations
TL;DR

This paper proposes Additive Margin Softmax (AM-Softmax), a novel loss function for deep face verification that enforces large angular margins by subtracting a scalar margin $ m $ from the cosine of the angle between feature and weight vectors. By combining feature and weight normalization with an additive margin, AM-Softmax achieves state-of-the-art performance on LFW and MegaFace benchmarks, outperforming prior methods like A-Softmax under identical training and network conditions.

ABSTRACT

In this paper, we propose a conceptually simple and geometrically interpretable objective function, i.e. additive margin Softmax (AM-Softmax), for deep face verification. In general, the face verification task can be viewed as a metric learning problem, so learning large-margin face features whose intra-class variation is small and inter-class difference is large is of great importance in order to achieve good performance. Recently, Large-margin Softmax and Angular Softmax have been proposed to incorporate the angular margin in a multiplicative manner. In this work, we introduce a novel additive angular margin for the Softmax loss, which is intuitively appealing and more interpretable than the existing works. We also emphasize and discuss the importance of feature normalization in the paper. Most importantly, our experiments on LFW BLUFR and MegaFace show that our additive margin softmax loss consistently performs better than the current state-of-the-art methods using the same network architecture and training dataset. Our code has also been made available at https://github.com/happynear/AMSoftmax

Motivation & Objective

  • To develop a more interpretable and effective large-margin loss function for deep face verification.
  • To address the limitation of existing margin-based losses that use multiplicative or complex angular margin formulations.
  • To improve intra-class compactness and inter-class separability through a geometrically intuitive additive margin strategy.
  • To demonstrate consistent performance gains over state-of-the-art methods using the same network and training data.
  • To emphasize the critical role of feature normalization in enhancing robustness, especially on low-quality datasets like MegaFace.

Proposed method

  • Proposes a new margin strategy defined as $ \cos\theta - m $, where $ m $ is a learnable scalar margin, applied directly to the target logit in the softmax loss.
  • Implements feature and weight vector normalization to ensure the angular margin is applied in a geometrically consistent manner.
  • Uses a fixed scale $ s = 30 $ to control the magnitude of logits, focusing on margin $ m $ as the primary hyperparameter.
  • Applies the loss during end-to-end training of a 20-layer ResNet-based face recognition model on CASIA-WebFace with data augmentation via image mirroring.
  • Employs cosine similarity for inference and uses feature averaging of original and mirrored images to improve robustness.
  • Performs overlap removal between training and test datasets (LFW and MegaFace) to ensure fair open-set evaluation.

Experimental results

Research questions

  • RQ1Can a simpler, additive margin strategy in the softmax loss outperform existing multiplicative margin approaches in face verification?
  • RQ2How does feature normalization impact the generalization and robustness of margin-based loss functions, especially on low-quality datasets?
  • RQ3What is the optimal value of the additive margin $ m $, and how does it affect performance on open-set benchmarks?
  • RQ4Does the proposed AM-Softmax loss achieve state-of-the-art performance when trained under identical conditions with prior methods?
  • RQ5Can the additive margin strategy be more interpretable and effective than complex piecewise angular margin functions?

Key findings

  • AM-Softmax achieves 99.38% accuracy on the LFW BLUFR protocol, outperforming previous state-of-the-art methods under the same training and network setup.
  • On MegaFace Set 1, AM-Softmax achieves 72.47% Rank-1 accuracy and 84.44% verification rate after removing dataset overlap, demonstrating robustness on open-set evaluations.
  • The optimal margin value is found to be $ m = 0.35 $, with performance degrading when $ m $ is increased beyond 0.4.
  • Feature normalization significantly improves performance on MegaFace, while using unnormalized features yields better results on high-quality LFW.
  • AM-Softmax outperforms A-Softmax, Center Loss, and NormFace on both CMC and ROC curves, especially at low ranks and false positive rates.
  • The ablation study confirms that the additive margin strategy is more effective than multiplicative or complex angular margin formulations in practice.

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.