Xiang An, Jiankang Deng, Jia Guo, Ziyong Feng, Xuhan Zhu, Jing Yang, Tongliang Liu
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.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Facial Recognition and Modelling | MFR | African | 98.07 | Partial FC |
| Facial Recognition and Modelling | MFR | Caucasian | 98.81 | Partial FC |
| Facial Recognition and Modelling | MFR | East Asian | 89.97 | Partial FC |
| Facial Recognition and Modelling | MFR | MFR-ALL | 97.85 | Partial FC |
| Facial Recognition and Modelling | MFR | MFR-MASK | 90.88 | Partial FC |
| Facial Recognition and Modelling | MFR | South Asian | 98.66 | Partial FC |
| Facial Recognition and Modelling | AgeDB-30 | Accuracy | 0.987 | PartialFC(R200) |
| Facial Recognition and Modelling | CFP-FP | Accuracy | 0.9951 | PartialFC (R200) |
| Facial Recognition and Modelling | IJB-B | TAR@FAR=0.0001 | 96.71 | PartialFC(WebFace42M) |
| Face Verification | AgeDB-30 | Accuracy | 0.987 | PartialFC(R200) |
| Face Verification | CFP-FP | Accuracy | 0.9951 | PartialFC (R200) |
| Face Verification | IJB-B | TAR@FAR=0.0001 | 96.71 | PartialFC(WebFace42M) |
| Face Reconstruction | MFR | African | 98.07 | Partial FC |
| Face Reconstruction | MFR | Caucasian | 98.81 | Partial FC |
| Face Reconstruction | MFR | East Asian | 89.97 | Partial FC |
| Face Reconstruction | MFR | MFR-ALL | 97.85 | Partial FC |
| Face Reconstruction | MFR | MFR-MASK | 90.88 | Partial FC |
| Face Reconstruction | MFR | South Asian | 98.66 | Partial FC |
| Face Reconstruction | AgeDB-30 | Accuracy | 0.987 | PartialFC(R200) |
| Face Reconstruction | CFP-FP | Accuracy | 0.9951 | PartialFC (R200) |
| Face Reconstruction | IJB-B | TAR@FAR=0.0001 | 96.71 | PartialFC(WebFace42M) |
| Face Recognition | MFR | African | 98.07 | Partial FC |
| Face Recognition | MFR | Caucasian | 98.81 | Partial FC |
| Face Recognition | MFR | East Asian | 89.97 | Partial FC |
| Face Recognition | MFR | MFR-ALL | 97.85 | Partial FC |
| Face Recognition | MFR | MFR-MASK | 90.88 | Partial FC |
| Face Recognition | MFR | South Asian | 98.66 | Partial FC |
| 3D | MFR | African | 98.07 | Partial FC |
| 3D | MFR | Caucasian | 98.81 | Partial FC |
| 3D | MFR | East Asian | 89.97 | Partial FC |
| 3D | MFR | MFR-ALL | 97.85 | Partial FC |
| 3D | MFR | MFR-MASK | 90.88 | Partial FC |
| 3D | MFR | South Asian | 98.66 | Partial FC |
| 3D | AgeDB-30 | Accuracy | 0.987 | PartialFC(R200) |
| 3D | CFP-FP | Accuracy | 0.9951 | PartialFC (R200) |
| 3D | IJB-B | TAR@FAR=0.0001 | 96.71 | PartialFC(WebFace42M) |
| 3D Face Modelling | MFR | African | 98.07 | Partial FC |
| 3D Face Modelling | MFR | Caucasian | 98.81 | Partial FC |
| 3D Face Modelling | MFR | East Asian | 89.97 | Partial FC |
| 3D Face Modelling | MFR | MFR-ALL | 97.85 | Partial FC |
| 3D Face Modelling | MFR | MFR-MASK | 90.88 | Partial FC |
| 3D Face Modelling | MFR | South Asian | 98.66 | Partial FC |
| 3D Face Modelling | AgeDB-30 | Accuracy | 0.987 | PartialFC(R200) |
| 3D Face Modelling | CFP-FP | Accuracy | 0.9951 | PartialFC (R200) |
| 3D Face Modelling | IJB-B | TAR@FAR=0.0001 | 96.71 | PartialFC(WebFace42M) |
| 3D Face Reconstruction | MFR | African | 98.07 | Partial FC |
| 3D Face Reconstruction | MFR | Caucasian | 98.81 | Partial FC |
| 3D Face Reconstruction | MFR | East Asian | 89.97 | Partial FC |
| 3D Face Reconstruction | MFR | MFR-ALL | 97.85 | Partial FC |
| 3D Face Reconstruction | MFR | MFR-MASK | 90.88 | Partial FC |
| 3D Face Reconstruction | MFR | South Asian | 98.66 | Partial FC |
| 3D Face Reconstruction | AgeDB-30 | Accuracy | 0.987 | PartialFC(R200) |
| 3D Face Reconstruction | CFP-FP | Accuracy | 0.9951 | PartialFC (R200) |
| 3D Face Reconstruction | IJB-B | TAR@FAR=0.0001 | 96.71 | PartialFC(WebFace42M) |