Partial FC: Training 10 Million Identities on a Single Machine
arXiv:2010.05222
Abstract
Training face recognition models with millions of identities is bottlenecked by the classification head: classifier storage, logit memory, and computation grow linearly with class count, making full softmax impractical even when the backbone fits in memory. We present Partial FC (PFC), an approximation to large-class softmax that keeps every positive class center while activating only a random subset of negatives per mini-batch. PFC partitions the classifier across GPUs and samples within each owned shard: sampling shrinks local GEMMs and logits, while permanent ownership removes classifier-gradient synchronization without feature retrieval. Our system scales to 64M classes on one eight-GPU machine. Moderate sampling rates match full-softmax accuracy, reaching 97.2\% TAR on IJB-C (FAR ) and 94.0\% on ICCV21-MFR (FAR ). Under 40\% label flips, PFC with conflict filtering lifts MFR TAR from 43.9\% to 80.2\%, and on long-tailed data PFC raises TAR from 87.4\% to 92.0\% overall.
arXiv comment8 pages, 9 figures
References in corpus (1)
Cited by in corpus (15)
- YOLO5Face: Why Reinventing a Face Detector
- SphereFace2: Binary Classification is All You Need for Deep Face Recognition
- Masked Face Recognition Challenge: The WebFace260M Track Report
- A Multi-modal and Multi-task Learning Method for Action Unit and Expression Recognition
- LOTR: Face Landmark Localization Using Localization Transformer
- Masked Face Recognition Challenge: The InsightFace Track Report
- Prototype Memory for Large-scale Face Representation Learning
- Fast and Reliable Probabilistic Face Embeddings in the Wild
- Built Year Prediction from Buddha Face with Heterogeneous Labels
- End-to-end Evaluation of Practical Video Analytics Systems for Face Detection and Recognition
- An Efficient Training Approach for Very Large Scale Face Recognition
- Dynamic Class Queue for Large Scale Face Recognition In the Wild
- Sub-pixel face landmarks using heatmaps and a bag of tricks
- MixFaceNets: Extremely Efficient Face Recognition Networks
- Face-NMS: A Core-set Selection Approach for Efficient Face Recognition