arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1801.09414cs.CV
收藏

CosFace:用于深度人脸识别的大裕度余弦损失

CosFace: Large Margin Cosine Loss for Deep Face Recognition

Tencent AI Lab(腾讯人工智能实验室)

Hao Wang, Yitong Wang, Zheng Zhou, Xing Ji, Dihong Gong, Jingchao Zhou, Zhifeng Li, Wei Liu

摘要:

由于深度卷积神经网络(CNN)的进步,人脸识别取得了非凡的进展。人脸识别的核心任务包括人脸验证和身份识别,其中人脸特征鉴别是人脸识别的核心任务。然而,深度CNN的传统softmax损失通常缺乏区分能力。为了解决这个问题,最近已经提出了几种损失函数,例如中心损失、大裕度softmax损失和角度softmax损失。所有这些改进的损失都有一个相同的想法:最大化类间方差和最小化类内方差。在本文中,我们提出了一种新的损失函数,即大裕度余弦损失(LMCL),从不同的角度来实现这一想法。更具体地说,我们通过$L_2$对特征和权重向量进行归一化以去除径向变化,将softmax损失重新表示为余弦损失,在此基础上引入余弦裕度项以进一步最大化角空间中的决策裕度。结果,最小类内方差和最大类间方差是凭借归一化和余弦判决裕度最大化。我们将使用LMCL训练的模型称为CosFace。在最流行的公共领域人脸识别数据集上进行了广泛的实验评估,如MegaFace Challenge,Youtube Faces(YTF)和Labeled Face in the Wild(LFW)。我们在这些基准上实现了最先进的性能,这证实了我们所提出的方法的有效性。

英文摘要:

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 $L_2$ normalizing both features and weight vectors to remove radial variations, based on which a cosine margin term is introduced to further maximize the decision margin in the angular space. As a result, minimum intra-class variance and maximum inter-class variance are achieved by virtue of normalization and cosine decision margin maximization. We refer to our model trained with LMCL as CosFace. Extensive experimental evaluations are conducted on the most popular public-domain face recognition datasets such as MegaFace Challenge, Youtube Faces (YTF) and Labeled Face in the Wild (LFW). We achieve the state-of-the-art performance on these benchmarks, which confirms the effectiveness of our proposed approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑