CosFace: Large Margin Cosine Loss for Deep Face Recognition
Hao Wang, Yitong Wang, Zheng Zhou, Xing Ji, Dihong Gong, Jingchao, Zhou, Zhifeng Li, Wei Liu

TL;DR
This paper introduces CosFace, a novel large margin cosine loss function that enhances face recognition accuracy by improving feature discrimination through normalization and angular margin maximization, achieving state-of-the-art results.
Contribution
The paper proposes a new loss function, LMCL, reformulating softmax as a cosine loss with a margin, leading to better discrimination in face recognition tasks.
Findings
Achieves state-of-the-art performance on multiple face recognition benchmarks.
Effectively maximizes inter-class variance and minimizes intra-class variance.
Demonstrates the superiority of cosine margin loss over previous methods.
Abstract
Face recognition has made extraordinary progress owing to the advancement of deep convolutional neural networks (CNNs). The central task of face recognition, including face verification and identification, involves face feature discrimination. However, the traditional softmax loss of deep CNNs usually lacks the power of discrimination. To address this problem, recently several loss functions such as center loss, large margin softmax loss, and angular softmax loss have been proposed. All these improved losses share the same idea: maximizing inter-class variance and minimizing intra-class variance. In this paper, we propose a novel loss function, namely large margin cosine loss (LMCL), to realize this idea from a different perspective. More specifically, we reformulate the softmax loss as a cosine loss by normalizing both features and weight vectors to remove radial variations,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFace recognition and analysis · Face and Expression Recognition · Video Surveillance and Tracking Methods
MethodsSoftmax
