Saved in:
Bibliographic Details
Main Authors: Fan, Weijia, Wen, Jiajun, Jia, Xi, Shen, Linlin, Zhou, Jiancan, Li, Qiufu
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.12447
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910454003007488
author Fan, Weijia
Wen, Jiajun
Jia, Xi
Shen, Linlin
Zhou, Jiancan
Li, Qiufu
author_facet Fan, Weijia
Wen, Jiajun
Jia, Xi
Shen, Linlin
Zhou, Jiancan
Li, Qiufu
contents Prototype learning is widely used in face recognition, which takes the row vectors of coefficient matrix in the last linear layer of the feature extraction model as the prototypes for each class. When the prototypes are updated using the facial sample feature gradients in the model training, they are prone to being pulled away from the class center by the hard samples, resulting in decreased overall model performance. In this paper, we explicitly define prototypes as the expectations of sample features in each class and design the empirical prototypes using the existing samples in the dataset. We then devise a strategy to adaptively update these empirical prototypes during the model training based on the similarity between the sample features and the empirical prototypes. Furthermore, we propose an empirical prototype learning (EPL) method, which utilizes an adaptive margin parameter with respect to sample features. EPL assigns larger margins to the normal samples and smaller margins to the hard samples, allowing the learned empirical prototypes to better reflect the class center dominated by the normal samples and finally pull the hard samples towards the empirical prototypes through the learning. The extensive experiments on MFR, IJB-C, LFW, CFP-FP, AgeDB, and MegaFace demonstrate the effectiveness of EPL. Our code is available at $\href{https://github.com/WakingHours-GitHub/EPL}{https://github.com/WakingHours-GitHub/EPL}$.
format Preprint
id arxiv_https___arxiv_org_abs_2405_12447
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle EPL: Empirical Prototype Learning for Deep Face Recognition
Fan, Weijia
Wen, Jiajun
Jia, Xi
Shen, Linlin
Zhou, Jiancan
Li, Qiufu
Computer Vision and Pattern Recognition
Prototype learning is widely used in face recognition, which takes the row vectors of coefficient matrix in the last linear layer of the feature extraction model as the prototypes for each class. When the prototypes are updated using the facial sample feature gradients in the model training, they are prone to being pulled away from the class center by the hard samples, resulting in decreased overall model performance. In this paper, we explicitly define prototypes as the expectations of sample features in each class and design the empirical prototypes using the existing samples in the dataset. We then devise a strategy to adaptively update these empirical prototypes during the model training based on the similarity between the sample features and the empirical prototypes. Furthermore, we propose an empirical prototype learning (EPL) method, which utilizes an adaptive margin parameter with respect to sample features. EPL assigns larger margins to the normal samples and smaller margins to the hard samples, allowing the learned empirical prototypes to better reflect the class center dominated by the normal samples and finally pull the hard samples towards the empirical prototypes through the learning. The extensive experiments on MFR, IJB-C, LFW, CFP-FP, AgeDB, and MegaFace demonstrate the effectiveness of EPL. Our code is available at $\href{https://github.com/WakingHours-GitHub/EPL}{https://github.com/WakingHours-GitHub/EPL}$.
title EPL: Empirical Prototype Learning for Deep Face Recognition
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2405.12447