Attentional Feature-Pair Relatio

2020-02-16  本文已影响0人  晨光523152

这是ICCV 2019 上的一篇文章。

人脸识别的一些数据集:

  1. LFW:Gary B. Huang, Manu Ramesh, Tamara Berg, and Erik
    Learned-Miller. Labeled faces in the wild: A database
    for studying face recognition in unconstrained environments. Technical Report 07-49, University of Massachusetts,
    Amherst, October 2007
  2. YTF:Lior Wolf, Tal Hassner, and Itay Maoz. Face recognition
    in unconstrained videos with matched background similarity.
    In CVPR 2011, pages 529–534, June 2011.
  3. Cross-Age LFW (CALFW),Cross-Pose LFW (CPLFW),Celebrities in Frontal-Profile in the Wild (CFP) : Soumyadip Sengupta, Jun-Cheng Chen, Carlos Castillo, Vishal M. Patel, Rama Chellappa, and David W. Jacobs. Frontal to profile face verification in the wild. In 2016 IEEE Winter Conference on Applications of Computer Vision (WACV), pages 1–9, March 2016
  4. AgeDB:Stylianos Moschoglou, Athanasios Papaioannou, Christos Sagonas, Jiankang Deng, Irene Kotsia, and Stefanos Zafeiriou. Agedb: The first manually collected, in-the wild age database. In 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 1997– 2005, July 2017
  5. IARPA Janus Benchmark-A (IJB-A):Brendan F. Klare, Ben Klein, Emma Taborsky, Austin Blanton, Jordan Cheney, Kristen Allen, Patrick Grother, Alan Mah, Mark Burge, and Anil K. Jain. Pushing the frontiers of unconstrained face detection and recognition: Iarpa janus benchmark a. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 1931–1939, June 2015
  6. IARPA Janus Benchmark-B (IJB-B):Cameron Whitelam, Emma Taborsky, Austin Blanton, Brianna Maze, Jocelyn Adams, Tim Miller, Nathan Kalka, Anil K. Jain, James A. Duncan, Kristen Allen, Jordan Cheney, and Patrick Grother. Iarpa janus benchmark-b face dataset. In 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 592–600, 2017.
  7. IARPA Janus Benchmark-C (IJB-C) :Brianna Maze, Jocelyn Adams, James A. Duncan, Nathan Kalka, Tim Miller, Charles Otto, Anil K. Jain, W. Tyler Niggel, Janet Anderson, Jordan Cheney, and Patrick Grother. Iarpa janus benchmark - c: Face dataset and protocol. In 2018 International Conference on Biometrics (ICB), pages 158–165, Feb 2018.

2. Facial Local Feature
Representation

卷积层的激活输出的规模为:H\times W\times D
H表示特征图的高,W表示特征图的宽,D表示特征图的通道数。
文章中把这个输出看成是DH\times W的子区域,用D维的局部外光特征块f_{i}\in \mathbb{R}^{D}作为第i个面部部分。

基于在 conv5_3 的残差块中的特征图,面部趋于被分解为 81 个局部块,每一个快都是 9 x 9,如图2所示:

图2
因此,我们总共提取了81个本地
外观块特征,其中

3. Attentional Feature-Pair Relation Network

AFRN 基于低秩双线性池化,其提供了比线性模型更富有的表示并且能够通过考虑每个特征对发现注意力分布

参考:Jin-Hwa Kim, Kyoung Woon On, Woosang Lim, Jeonghee Kim, Jung-Woo Ha, and Byoung-Tak Zhang. Hadamard product for low-rank bilinear pooling. CoRR, abs/1610.04325, 2016

要提取所有局部外观块特征对的联合特征对关系并减少局部外观块特征对的数量,我们将低秩双线性池与特征对双线性注意图A结合使用:

公式
其中,,是线性投影。是投影后的维度,在低秩双线性池化中的线性投影矩阵是为了特征对关系。
,。表示中间特征对关系的第个元素。表示的是矩阵的列索引。是 ReLU 非线性激活函数。公式(3)可以将其视为一对局部外观块特征的双线性模型,其中是双线性权重矩阵(图5)。
图5
公式(3)能被重写为:
image.png
最后,通过将投影到可学习的池化矩阵上获得联合特征对关系。
公式
,。是通过池化以获得最终关节特征对关系的关节特征对关系的维数。

4. Pair Selection and Attention Allocation

只有一些面部部分对与面部识别有关,而无关的可能会导致神经网络的过度拟合。 我们需要选择相关的局部外观块特征对,因此我们选择具有前K个特征对双线性注意力得分:

公式
其中,是和的选择对具有前K个特征对注意力得分。

不同的局部外观块特征对始终具有相等的价值标度,但它们在面部识别方面提供不同的贡献。 因此,我们应该重新缩放成对的局部外观块特征,以反映它们的确实影响。 在数学上,它被建模为乘以相应的特征对双线性注意力得分。 因此,我们可以改写公式(4)为:


公式

其中w_{i}(k)w_{j}(k)\Phi中第kp_{i,j}ij索引。 K表示由对选择层选择的对的数量。

因为等式 (6)不是微分函数,它没有要更新的参数,并且在反向传播期间仅将梯度从后一层传递到前一层。 所选的局部外观块特征对的梯度将从后一层复制到前一层,并且通过将对应值设置为零来丢弃局部外观块特征对的下降对。

在对选择和注意分配之后,下一步将传播局部外观块特征的加权对,以提取联合特征对关系。 联合特征对关系\widetilde{r}被馈入两层多层感知器(MLP)\mathcal{F}(\theta),然后是损失函数。 我们使用\mathcal{F}(\theta)的最后一个完全连接层的1,024维输出向量作为最终的面部表示。

参考资料:Attentional Feature-Pair Relation Networks for Accurate Face Recognition

上一篇下一篇

猜你喜欢

热点阅读