deepid v2

作者:Fire_Light_
原文:https://blog.csdn.net/Fire_Light_/article/details/79559051

论文地址:Deep Learning Face Representation by Joint Identification-Verification


文章思想

reducing the intra-personal variations while enlarging the inter-personal differences is a central topic in face recognition

分类任务,我们需要的是减少类内差距,增加类间差距。

The identification supervisory signal tends to pull apart the DeepID2 features of different identities since they have to be classified into different classes

分类的监督信号可以增大类间差距

However, the identification signal has a relatively weak constraint on DeepID2 features extracted from the same identity, since dissimilar DeepID2 features could be mapped to the same identity through function g(·) ,This leads to problems when DeepID2 features are generalized to new tasks and new identities in test where g is not applicable anymore

但是却对类内差距影响不大

We solve this by using an additional face verification signal, which requires that every two DeepID2 feature
vectors extracted from the same identity are close to each other while those extracted from different
identities are kept away

而增加验证的监督信号,就可以减少类内差距。

网络结构


网络结构类似DeepID1,不同之处在于使用了两种不同的损失函数:

损失函数

分类信号:

Softmax函数的交叉熵,类似于一般的卷积神经网络


验证信号

使用l2范数距离表示,m为阈值,括号内的θve={m}

(这一损失函数在后面的人脸识别论文中通常会被称为‘contrastive loss‘)


训练过程:

其中m不参于训练

过程简单概括为

1.一次使用2个输入,计算了他们的L(Ident)和L(Verif),总损失L为二者通过λ加权求和

2.通过L来执行梯度下降更新卷积参数

3.通过L(Ident)来更新softmax层的参数
多patches操作:

每张图片使用了21 facial landmarks

分成200patches(20regions*5scales*2RGB&Gray),水平翻转后变为400patches

使用了200个卷积神经网络,提取400(200*2)个Deepid2特征

(一个神经网络对应的是一个patch与它的翻转对应的Patch)

使用 Adaptive forward-backward greedy algorithm降为25个Deepid2特征

使用PCA将25*160Deepid2特征降为180维

输入联合贝叶斯算法中,进行验证。


实验:

在celebrate+上训练

在LFW上进行验证。

λ对类间与类内特征的影响:


文中选取λ=0.05
验证信号使用什么计算方法的试验:


可以看出来联合贝叶斯算法略优于L2距离。
最终试验结果

选择效果最好的25个patches对应的25个网络,在LFW上得到的最终准确率是98.97%

之后,重复使用贪婪的方式寻找其他6组patches(每组25个),得到7组25Paches,用联合贝叶斯算法计算相应的神经网络输出特征可以得到7个得分,使用SVM融合这7个得分来得到最终的准确率是99.15%
(论文没有提到怎么融合的,猜测具体的融合方法大概是构建一个7维的向量,然后根据该得分向量来分类)
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值