2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2022 · 78 citations · 42 references
ComputingComputer ScienceComputer VisionMachine LearningMachine VisionDeep LearningFace RecognitionImage ClassificationNeural NetworksPattern RecognitionRepresentation LearningClass Conflict AnalysisClass Imbalance LearningFace Recognition TrainingFace Representation LearningFully Convolutional NetworksMargin-based LossPartial Face RecognitionSubset Selection
Current face‑recognition models rely on million‑scale datasets and margin‑based softmax loss, yet the fully connected layer’s cost scales linearly with the number of identities and the data suffers inter‑class conflict and long‑tail imbalance. This work introduces Partial FC, a sparsely updating variant of the fully connected layer, to reduce training cost and mitigate inter‑class conflict. During training, each iteration selects the positive class center and a random subset of negative class centers to compute the margin‑based softmax loss, updating only the chosen subset while maintaining all class centers. Partial FC dramatically lowers computational demands, reduces inter‑class conflict, and lessens passive updates on tail classes, with extensive experiments on CNN and ViT backbones confirming its effectiveness, robustness, and efficiency. Source code is available at https://github.com/deepinsight/insightface/tree/master/recognition.
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 largescale 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.
42
Deep Residual Learning for Image Recognition
Kaiming He, Xiangyu Zhang, Shaoqing Ren et al. · 2016 · 222.1K citations · Full text
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov et al. · arXiv (Cornell University) · 2020 · 21.6K citations · Full text
FaceNet: A unified embedding for face recognition and clustering
2015 · 11.2K citations · Full text
Decoupled Weight Decay Regularization
Ilya Loshchilov, Frank Hutter · arXiv (Cornell University) · 2017 · 9.1K citations · Full text
SphereFace: Deep Hypersphere Embedding for Face Recognition
Weiyang Liu, Yandong Wen, Zhiding Yu et al. · 2017 · 3K citations