HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

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

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

Abstract

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.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
face-recognition-on-mfrPartial FC
African: 98.07
Caucasian: 98.81
East Asian: 89.97
MFR-ALL: 97.85
MFR-MASK: 90.88
South Asian: 98.66
face-verification-on-agedb-30PartialFC(R200)
Accuracy: 0.9870
face-verification-on-cfp-fpPartialFC (R200)
Accuracy: 0.9951
face-verification-on-ijb-bPartialFC(WebFace42M)
TAR@FAR=0.0001: 96.71
face-verification-on-ijb-cPartialFC
TAR @ FAR=1e-4: 97.97%
TAR @ FAR=1e-5: 96.93%
model: R200
training dataset: WebFace42M
face-verification-on-ijb-cPartial FC
TAR @ FAR=1e-4: 98.00%
TAR @ FAR=1e-5: 97.23%
model: ViT-L
training dataset: WebFace42M

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Killing Two Birds with One Stone:Efficient and Robust Training of Face Recognition CNNs by Partial FC | Papers | HyperAI