NormFace: L2 Hypersphere Embedding for Face Verification

Feng Wang, Xiang Xiang, Jian Cheng, Alan L. Yuille
4/21/2017
cs.CV

Official code: happynear/NormFace (367 stars, MIT, last commit 2017-12-13).

Abstract

Thanks to the recent developments of Convolutional Neural Networks, the performance of face verification methods has increased rapidly. In a typical face verification method, feature normalization is a critical step for boosting performance. This motivates us to introduce and study the effect of normalization during training. But we find this is non-trivial, despite normalization being differentiable. We identify and study four issues related to normalization through mathematical analysis, which yields understanding and helps with parameter settings. Based on this analysis we propose two strategies for training using normalized features. The first is a modification of softmax loss, which optimizes cosine similarity instead of inner-product. The second is a reformulation of metric learning by introducing an agent vector for each class. We show that both strategies, and small variants, consistently improve performance by between 0.2% to 0.4% on the LFW dataset based on two models. This is significant because the performance of the two models on LFW dataset is close to saturation at over 98%. Codes and models are released on https://github.com/happynear/NormFace

View on arXivView PDF

Code Implementations(1)

happynear/NormFaceOfficial100%
MIT

NormFace: L2 HyperSphere Embedding for Face Verification, 99.21% on LFW

367106MATLAB, BatchfileMar 29, 20178 years agoMIT
acm-mmcaffeface-verificationmirror-facenormface

Similar Papers

Cite this paper

@article{wang2017normface,
  title  = {NormFace: L2 Hypersphere Embedding for Face Verification},
  author = {Feng Wang and Xiang Xiang and Jian Cheng and Alan L. Yuille},
  year   = {2017},
  eprint = {1704.06369},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1704.06369}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1704.06369.svg)](https://codeofpaper.com/paper/1704.06369)

Discussion