Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Killing Two Birds with One Stone:Efficient and Robust Training of Face Recognition CNNs by Partial FC

About

Learning discriminative deep feature embeddings by using million-scale in-the-wild datasets and margin-based softmax loss is the current state-of-the-art approach for face recognition. However, the memory and computing cost of the Fully Connected (FC) layer linearly scales up to the number of identities in the training set. Besides, the large-scale training data inevitably suffers from inter-class conflict and long-tailed distribution. In this paper, we propose a sparsely updating variant of the FC layer, named Partial FC (PFC). In each iteration, positive class centers and a random subset of negative class centers are selected to compute the margin-based softmax loss. All class centers are still maintained throughout the whole training process, but only a subset is selected and updated in each iteration. Therefore, the computing requirement, the probability of inter-class conflict, and the frequency of passive update on tail class centers, are dramatically reduced. Extensive experiments across different training data and backbones (e.g. CNN and ViT) confirm the effectiveness, robustness and efficiency of the proposed PFC. The source code is available at \https://github.com/deepinsight/insightface/tree/master/recognition.

Xiang An, Jiankang Deng, Jia Guo, Ziyong Feng, Xuhan Zhu, Jing Yang, Tongliang Liu• 2022

Related benchmarks

TaskDatasetResultRank
Face VerificationLFW
Mean Accuracy99.85
339
Face VerificationIJB-C
TAR @ FAR=0.01%98
173
Face VerificationIJB-B
TAR (FAR=1e-4)96.71
152
Face RecognitionCFP-FP
Accuracy99.51
66
Face VerificationAgeDB
Accuracy98.7
55
Face VerificationIJB-C (test)
TAR@FAR=1e-497.97
16
Face VerificationMFR Ongoing (test)
Accuracy (Mask)91.87
3
Showing 7 of 7 rows

Other info

Code

Follow for update