SFace: Sigmoid-Constrained Hypersphere Loss for Robust Face Recognition

Yaoyao Zhong, Weihong Deng, Jiani Hu, Dongyue Zhao, Xian Li +1 more
5/24/2022
cs.CV

Official code: zhongyy/SFace (108 stars, last commit 2021-07-27).

Abstract

Deep face recognition has achieved great success due to large-scale training databases and rapidly developing loss functions. The existing algorithms devote to realizing an ideal idea: minimizing the intra-class distance and maximizing the inter-class distance. However, they may neglect that there are also low quality training images which should not be optimized in this strict way. Considering the imperfection of training databases, we propose that intra-class and inter-class objectives can be optimized in a moderate way to mitigate overfitting problem, and further propose a novel loss function, named sigmoid-constrained hypersphere loss (SFace). Specifically, SFace imposes intra-class and inter-class constraints on a hypersphere manifold, which are controlled by two sigmoid gradient re-scale functions respectively. The sigmoid curves precisely re-scale the intra-class and inter-class gradients so that training samples can be optimized to some degree. Therefore, SFace can make a better balance between decreasing the intra-class distances for clean examples and preventing overfitting to the label noise, and contributes more robust deep face recognition models. Extensive experiments of models trained on CASIA-WebFace, VGGFace2, and MS-Celeb-1M databases, and evaluated on several face recognition benchmarks, such as LFW, MegaFace and IJB-C databases, have demonstrated the superiority of SFace.

View on arXivView PDF

Code Implementations(1)

zhongyy/SFaceOfficial100%

Code of TIP2021 Paper《SFace: Sigmoid-Constrained Hypersphere Loss for Robust Face Recognition》. We provide both MxNet and Pytorch versions.

10812Shell, PythonJun 22, 20215 years ago

Similar Papers

Cite this paper

@article{zhong2022sface,
  title  = {SFace: Sigmoid-Constrained Hypersphere Loss for Robust Face Recognition},
  author = {Yaoyao Zhong and Weihong Deng and Jiani Hu and Dongyue Zhao and Xian Li and Dongchao Wen},
  year   = {2022},
  eprint = {2205.12010},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.12010}
}

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

Discussion