SphereFace: Deep Hypersphere Embedding for Face Recognition

CVPR 2017  ยท  Weiyang Liu, Yandong Wen, Zhiding Yu, Ming Li, Bhiksha Raj, Le Song ยท

This paper addresses deep face recognition (FR) problem under open-set protocol, where ideal face features are expected to have smaller maximal intra-class distance than minimal inter-class distance under a suitably chosen metric space. However, few existing algorithms can effectively achieve this criterion. To this end, we propose the angular softmax (A-Softmax) loss that enables convolutional neural networks (CNNs) to learn angularly discriminative features. Geometrically, A-Softmax loss can be viewed as imposing discriminative constraints on a hypersphere manifold, which intrinsically matches the prior that faces also lie on a manifold. Moreover, the size of angular margin can be quantitatively adjusted by a parameter $m$. We further derive specific $m$ to approximate the ideal feature criterion. Extensive analysis and experiments on Labeled Face in the Wild (LFW), Youtube Faces (YTF) and MegaFace Challenge show the superiority of A-Softmax loss in FR tasks. The code has also been made publicly available.

PDF Abstract CVPR 2017 PDF CVPR 2017 Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Face Verification CK+ SphereFace Accuracy 93.80 # 1
Face Identification MegaFace SphereFace (3-patch ensemble) Accuracy 75.766% # 10
Face Identification MegaFace SphereFace (single model) Accuracy 72.729% # 12
Face Verification MegaFace SphereFace (single model) Accuracy 85.561% # 11
Face Verification MegaFace SphereFace (3-patch ensemble) Accuracy 89.142% # 10
Face Verification YouTube Faces DB SphereFace Accuracy 95.0% # 10

Results from Other Papers


Task Dataset Model Metric Name Metric Value Rank Source Paper Compare
Face Verification Trillion Pairs Dataset A-Softmax Accuracy 43.76 # 4
Face Identification Trillion Pairs Dataset A-Softmax Accuracy 43.89 # 4

Methods