2017的一篇cvpr,SphereFace: Deep Hypersphere Embedding for Face Recognition,继centerloss之后又一大作。

文章主要提出了归一化权值(normalize weights and zero biases)和角度间距(angular margin),基于这2个点,对传统的softmax进行了改进,从而实现了,最大类内距离小于最小类间距离的识别标准。

原始的softmax的loss损失是一个互熵损失,

人脸识别:Sphere face论文理解2017

其中,

人脸识别:Sphere face论文理解2017

将其代入第一个式子,得出了损失函数如下,

人脸识别:Sphere face论文理解2017人脸识别:Sphere face论文理解2017

进行归一化操作,将其都映射到一个单位球面上,令||W||=1,b=0,并且引入夹角,得出Modified Softmax Loss公式如下,

人脸识别:Sphere face论文理解2017

人脸识别:Sphere face论文理解2017

在此基础上,再引入angular margin,用m表示,最终产生A-softmax的loss公式

人脸识别:Sphere face论文理解2017

人脸识别:Sphere face论文理解2017

在LFW和YTF数据集上的识别率分别如下图所示,可以看出LFW已经达到了99.42的识别率。

人脸识别:Sphere face论文理解2017

这里分析一下,作者A-softmax 的参数,

人脸识别:Sphere face论文理解2017

在margin_inner_product_layer.cpp的Forward_cpu函数中,

人脸识别:Sphere face论文理解2017

也就是说,人脸识别:Sphere face论文理解2017

计算出来也就是说,lambda=5(iteration>1658)lambda=大于5的值(iteration<1658)

训练过程loss下降如下,

人脸识别:Sphere face论文理解2017 

自己在LFW上10折测试的结果如下,

人脸识别:Sphere face论文理解2017

reference:

https://github.com/wy1iu/sphereface

相关文章:

  • 2022-01-04
  • 2021-09-02
  • 2021-04-05
  • 2021-08-16
  • 2021-11-29
  • 2021-04-24
  • 2021-09-03
猜你喜欢
  • 2021-07-15
  • 2021-04-12
  • 2021-09-12
  • 2021-12-17
  • 2021-09-21
  • 2021-11-10
  • 2021-10-23
相关资源
相似解决方案