arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.14852cs.CV
收藏

用于人脸识别的关键点相对位置编码

KeyPoint Relative Position Encoding for Face Recognition

Minchul Kim, Yiyang Su, Feng Liu, Anil Jain, Xiaoming Liu

AI总结:

提出KP-RPE方法,利用关键点相对位置编码使ViT对未见仿射变换更具鲁棒性,在图像对齐失败时显著提升人脸和步态识别性能。

摘要:

本文解决使ViT模型对未见仿射变换更具鲁棒性的挑战。当图像对齐失败时,这种鲁棒性在人脸识别等各种识别任务中非常有用。我们提出了一种名为KP-RPE的新方法,利用关键点(如面部特征点)使ViT对尺度、平移和姿态变化更具弹性。我们从观察开始:相对位置编码(RPE)是给ViT带来仿射变换泛化能力的好方法。然而,RPE只能向模型注入近处像素比远处像素更重要的先验知识。关键点相对位置编码(KP-RPE)是这一原理的扩展,像素的重要性不仅由其邻近性决定,还由其与图像内特定关键点的相对位置决定。通过将像素重要性锚定在关键点周围,模型能更有效地保留空间关系,即使这些关系被仿射变换破坏。我们展示了KP-RPE在人脸和步态识别中的优势。实验结果表明其在提升低质量图像人脸识别性能方面的有效性,特别是在对齐易失败的情况下。代码和预训练模型已公开。

英文摘要:

In this paper, we address the challenge of making ViT models more robust to unseen affine transformations. Such robustness becomes useful in various recognition tasks such as face recognition when image alignment failures occur. We propose a novel method called KP-RPE, which leverages key points (e.g.~facial landmarks) to make ViT more resilient to scale, translation, and pose variations. We begin with the observation that Relative Position Encoding (RPE) is a good way to bring affine transform generalization to ViTs. RPE, however, can only inject the model with prior knowledge that nearby pixels are more important than far pixels. Keypoint RPE (KP-RPE) is an extension of this principle, where the significance of pixels is not solely dictated by their proximity but also by their relative positions to specific keypoints within the image. By anchoring the significance of pixels around keypoints, the model can more effectively retain spatial relationships, even when those relationships are disrupted by affine transformations. We show the merit of KP-RPE in face and gait recognition. The experimental results demonstrate the effectiveness in improving face recognition performance from low-quality images, particularly where alignment is prone to failure. Code and pre-trained models are available.

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

↑