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

03/28/2022
by   Xiang An, et al.
0

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 ://github.com/deepinsight/insightface/tree/master/recognition.

READ FULL TEXT
research
05/24/2021

Dynamic Class Queue for Large Scale Face Recognition In the Wild

Learning discriminative representation using large-scale face datasets i...
research
03/05/2020

MarginDistillation: distillation for margin-based softmax

The usage of convolutional neural networks (CNNs) in conjunction with a ...
research
05/16/2023

Latent Distribution Adjusting for Face Anti-Spoofing

With the development of deep learning, the field of face anti-spoofing (...
research
08/08/2022

Rethinking Robust Representation Learning Under Fine-grained Noisy Faces

Learning robust feature representation from large-scale noisy faces stan...
research
07/20/2020

NPCFace: A Negative-Positive Cooperation Supervision for Training Large-scale Face Recognition

Deep face recognition has made remarkable advances in the last few years...
research
10/11/2020

Partial FC: Training 10 Million Identities on a Single Machine

Face recognition has been an active and vital topic among computer visio...
research
11/28/2016

Range Loss for Deep Face Recognition with Long-tail

Convolutional neural networks have achieved great improvement on face re...

Please sign up or login with your details

Forgot password? Click here to reset