SphereFace: Deep Hypersphere Embedding for Face Recognition

Weiyang Liu, Yandong Wen, Zhiding Yu, Ming Li, Bhiksha Raj +1 more
4/26/2017
cs.CV

Official code: wy1iu/sphereface (1,607 stars, MIT, last commit 2022-07-24).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

wy1iu/spherefaceOfficial100%
MIT

Implementation for <SphereFace: Deep Hypersphere Embedding for Face Recognition> in CVPR'17.

1,607528C++, CSSJul 19, 20174 years agoMIT
angular-softmaxcaffecvpr-2017deep-learningface-detection+2 more

Similar Papers

Cite this paper

@article{liu2017sphereface,
  title  = {SphereFace: Deep Hypersphere Embedding for Face Recognition},
  author = {Weiyang Liu and Yandong Wen and Zhiding Yu and Ming Li and Bhiksha Raj and Le Song},
  year   = {2017},
  eprint = {1704.08063},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1704.08063}
}

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.08063.svg)](https://codeofpaper.com/paper/1704.08063)

Discussion