SphereFace: Deep Hypersphere Embedding for Face Recognition
Weiyang Liu, Yandong Wen, Zhiding Yu, Ming Li, Bhiksha Raj, Le Song
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/wy1iu/spherefaceOfficialIn papertf★ 0
- github.com/Faceplugin-ltd/FaceRecognition-Androidnone★ 460
- github.com/FaceOnLive/Face-Recognition-SDK-Androidnone★ 240
- github.com/Recognito-Vision/Android-FaceRecognition-FaceLivenessDetectionnone★ 110
- github.com/Armxyz1/Results-on-RFWpytorch★ 1
- github.com/2023-MindSpore-4/Code11/tree/main/spherefacemindspore★ 0
- github.com/vnbot2/arcfacepytorch★ 0
- github.com/clcarwin/sphereface_pytorchpytorch★ 0
- github.com/code-implementation1/Code8/tree/main/spherefacemindspore★ 0
- github.com/vohoaiviet/spherefacetf★ 0
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.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| CK+ | SphereFace | Accuracy | 93.8 | — | Unverified |
| MegaFace | SphereFace (3-patch ensemble) | Accuracy | 89.14 | — | Unverified |
| MegaFace | SphereFace (single model) | Accuracy | 85.56 | — | Unverified |
| Trillion Pairs Dataset | A-Softmax | Accuracy | 43.76 | — | Unverified |
| YouTube Faces DB | SphereFace | Accuracy | 95 | — | Unverified |