Partial FC: Training 10 Million Identities on a Single Machine
- Publication
- ICCV Workshops 2021Workshop
- First submitted to arXiv
- arXiv:2010.05222
Cite this paper · BibTeX
The citation identifies the linked source version. It cites the original paper and its authors.
@misc{facerecognitionpartialfc2020,
title = {{Partial FC: Training 10 Million Identities on a Single Machine}},
author = {Xiang An and Xuhan Zhu and Yang Xiao and Lan Wu and Ming Zhang and Yuan Gao and Bin Qin and Debing Zhang and Ying Fu and Jiankang Deng},
year = {2020},
eprint = {2010.05222},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2010.05222}
}
ResNet-100, the usual backbone for face recognition, has about 65 million parameters. Hook it up to a training set of ten million people, and the final fully connected layer has , or 5.12 billion, parameters, 78 times the backbone; stored as 32-bit floats, the weights alone take 20 GB.
This layer is the classifier. During training, every face is scored once against each of the ten million identities, and then one softmax runs over all of them. Partial FC lets only some of the identities take part in this comparison at each step, but the identities of the photos in the batch are always present. All the positive classes are kept and only a sample of the negative classes is drawn; that is what the Partial in the title refers to.
The first author, Xiang An, was at DeepGlint at the time, and the paper also released Glint360K, a cleaned and merged dataset. The method was later written into InsightFace's official PyTorch training code, arcface_torch, where a sampling rate of 1 is plain model parallelism; the official config files for WebFace42M (two million people) all have sampling turned on. The paper has gone through four versions; arXiv v3 and v4, from August 2026, are heavy rewrites, and the robustness experiments on noise and long tails were added in the 2022 CVPR version.
Defining the Problem
One class center per identity
First, write the classifier out. The backbone turns a face into a -dimensional feature (usually ), and the classifier has weight vectors , one per identity. The score (logit) for class is the inner product , and after the softmax we take the negative log of the correct class :
Differentiate with respect to and take one SGD step with learning rate , and you get v4's Eq. (2):
When the coefficient is , and the correct class's weight is pulled toward this face; for every other class the coefficient is , and it is pushed away from the face, with the classes that look more like it ( larger) pushed harder. An identity's weight is pulled by its own photos and pushed by everyone else's, and over time it settles in that person's direction, which is why these weight vectors are called class centers.
Face recognition actually uses a normalized version. Features and weights are both shrunk to unit length, the logit becomes , where is the angle between the two and is the scale (64 is common), and a margin is added on the correct class, for example CosFace's . The pull-and-push structure stays the same.
Where the GPU memory goes
Once reaches the millions, one GPU can't hold all of . ArcFace's answer is model parallelism, splitting the class centers evenly across GPUs. Each GPU first all-gathers the features from every GPU and computes local logits with its own share of the centers; the softmax denominator needs every class, so for each row there is first an all-reduce of the per-GPU maxima and then an all-reduce of the per-GPU sums of exponentials. The denominator is therefore exact, and these two communications move only one scalar per sample, independent of . The class-center gradients stay on their own GPU, and the feature gradients go back to their original GPUs via reduce-scatter.
That takes care of the weights, but the logits remain. Say each GPU's batch is ; after gathering, each GPU handles all samples against each of its own centers, so there are logits. v4 writes the classification layer's GPU memory as (in bytes, 4 bytes per fp32 number):
The factor 3 covers the weights, gradients and momentum; the factor 2 covers the logits and their gradients. shrinks as GPUs are added, while has nothing to do with .

This figure's setting is per GPU and , with each GPU always responsible for 125K classes, so the number of classes grows along with the number of GPUs. Plug the numbers in.
- , about 768 MB, the same however many GPUs there are; that's the orange segment in the middle plot.
- At 8 GPUs and 1 million classes, , about 512 MB, for a total of 1.3 GB, with logits taking 40%.
- At 80 GPUs and 10 million classes, , about 5.12 GB, for a total of 5.9 GB, with logits taking 87%.
Adding GPUs can only spread out the weights, not the logits, because every GPU has to see the whole global batch. , which at 80 GPUs is exactly 10. The left plot shows communication isn't the issue, with each GPU moving only about 500K elements per step, three orders of magnitude fewer than the two never-gathered 512M blocks.
Two flaws of web data
The CVPR version points out two more problems unrelated to GPU memory, both coming from data crawled off the web.
The first is inter-class conflict, the same person split under two labels. Even after automatic cleaning, WebFace42M still has quite a few pairs of classes whose centers have a cosine above 0.4. In that case the "duplicate self" is a negative class, and at every step full softmax is pushing two centers of the same person apart.
The second is the long tail. In WebFace42M, 44.57% of the identities have fewer than 10 photos. Work it out with the CVPR version's setup: 4 machines and 32 GPUs, 128 images per GPU, a global batch of 4,096, about 10,370 steps per epoch, about 207K steps over 20 epochs. An identity with only 5 photos is a positive class just 100 times in the whole run; under full softmax it is a negative class for the other 207K steps, pushed at every step by every photo in the batch. Pulled 100 times and pushed 200K times; with that much passive updating, the center easily drifts away from its own photos.
Existing ways to save
The paper compares against several ways to save. HF-Softmax uses a hashing forest to find the nearest class centers in feature space and computes only those, at the cost of keeping the centers in RAM and of the search time itself; Softmax Dissection (D-Softmax) separates the intra-class and inter-class objectives to save redundant inter-class computation, but only works for the loss it splits up; Virtual FC has a group of identities share one anchor, cutting the parameters by more than a hundredfold, with a clear drop in accuracy.
So can each step compute only some of the classes, without any extra search structure, and without losing accuracy?
Solving the Problem
Keep every positive, sample the negatives
Partial FC's rule fits in one equation. The whole batch shares one active set , which contains the correct class of every photo in the batch plus randomly drawn negative classes, about in total, where is the sampling rate. The softmax is computed only within :
The positive classes are always present, so every photo is pulled toward its own center; only the sampled negative classes get pushed, and the ones not drawn stay put this step and are redrawn next step.
Why can't the positive classes be sampled too? The original 2020 version ran that comparison. On CASIA at a sampling rate of 0.1, the version that samples randomly from all centers without guaranteeing the positives lost a lot of verification accuracy; the version that puts the positives in first and then samples negatives (called PPRN in the original version) was about the same as full softmax. In a step where its positive class isn't drawn, a feature only learns "stay farther from the others," not "move closer to yourself."
v4 also says plainly that with the denominator computed only over , the resulting gradient is not an unbiased estimate of the full softmax gradient. So why is it good enough?
Working through one sample
Take one photo through CosFace (, ). Say the training set has 2 million classes, this photo's cosine with its correct class is 0.75, there is one look-alike hard negative class at cosine 0.4, and the remaining 1.99-million-odd negative classes all have cosine 0.
- Positive logit: , .
- Hard negative: , .
- Other negatives: each, adding up to about .
The full softmax denominator is about , the positive-class probability is , the hard negative's is , and those 1.99-million-odd together come to only . The pull on the positive class is , equal to the sum of all the negative probabilities, almost all of it held up by that one hard negative.
Switch to Partial FC with . Only about 200K of those 1.99-million-odd get drawn; their contribution was negligible to begin with, and losing ninety percent of them makes no visible difference. What really matters is whether that hard negative gets drawn.
- Drawn (probability about 0.1): positive probability 0.039 and hard negative 0.961, the same as full softmax to the fourth decimal place.
- Not drawn (probability about 0.9): the denominator is left with only the positive class and 200K ones, the positive probability becomes 0.99996, and this photo gets almost no gradient this step.
So Partial FC handles the hard negative by computing full softmax in one step out of ten and letting it go in the other nine. The hard negative still gets pushed away, just at frequency . If it is actually the same person under a duplicate label, the number of wrong pushes also falls to a tenth. The tail identity from earlier with only 5 photos likewise goes from being pushed 207K times to about 20K. The CVPR version treats this as the source of robustness.
The numbers in this example are assumed for this note, only to see the makeup of the denominator clearly. In real training, a hard negative in the batch may happen to be another photo's positive class, in which case it is always present.
Each GPU samples its own
On multiple GPUs, v4 separates two things. Ownership decides which GPU stores which class centers, and it is fixed; activation decides which centers take part in the computation this step, and it is redrawn every step.

Walk a small example through the figure. There are 4 GPUs and 40 classes, each GPU responsible for 10 consecutive classes, with GPU 2 handling 10 through 19. The sampling rate is , so each GPU gets slots.
- Each GPU has 2 photos, so after gathering the global batch has 8 labels, say .
- GPU 2 marks the labels it doesn't own as and converts its own to local indices, giving . The local positives are .
- All positives are kept, and the remaining 3 slots are drawn without replacement from the other 8 local classes, say 0, 4 and 9. Sorted, this step's active local classes are .
- The labels are renumbered once more, to their positions among these 5, so 2 becomes 1 and 7 becomes 3.
- Multiplying the 8 features by the 5 centers gives this GPU an block of logits, against under full model parallelism.
After that, the denominator and gradients follow the model-parallel procedure from before, with all-reduce over each GPU's maxima and sums of exponentials, except that each GPU only sums over the few columns it drew. When the positive classes outnumber the slots, all of them are kept. At , the procedure falls back to plain model parallelism.
The sampling in the official partial_fc_v2.py is only a dozen or so lines. Below it is reorganized from the original file with .cuda() omitted, and the comments were added for this note:
# PartialFC_V2.sample: labels already shifted to this rank's range, -1 = owned by another rank
with torch.no_grad():
positive = torch.unique(labels[index_positive], sorted=True)
if self.num_sample - positive.size(0) >= 0:
perm = torch.rand(size=[self.num_local])
perm[positive] = 2.0 # rand() < 1, so positives always survive top-k
index = torch.topk(perm, k=self.num_sample)[1]
index = index.sort()[0]
else:
index = positive # more positives than slots: keep all of them
self.weight_index = index
labels[index_positive] = torch.searchsorted(index, labels[index_positive])
return self.weight[self.weight_index]
Setting the positives' random score to 2 guarantees that topk picks them first, and the remaining slots go by the random scores; after sorting, searchsorted does the renumbering of step 4.
Same FLOPs, different speed
After sampling, you could also have every GPU hold a copy of the drawn centers and train with data parallelism (v4 calls this DP-PFC); Partial FC uses shard-then-sample (MP-PFC). The two have the same number of multiply-adds, each, but different matrix shapes.
- DP-PFC: each GPU multiplies its own features by centers, , short and wide.
- MP-PFC: each GPU multiplies all features by its own centers, , tall and narrow.
For each center it reads in, MP-PFC can multiply it against rows of features, DP-PFC against only . v4 works out the first-order memory traffic with , , and ; per GPU, MP-PFC reads and writes 19.7 million elements, DP-PFC 64.1 million, and model parallelism without sampling 192.5 million. Communication differs as well. DP-PFC has to synchronize the gradients of the drawn centers at every step, on the order of ; in MP-PFC each center has exactly one owner, its gradient never leaves that GPU, and the communication is only the features, the feature gradients and a few scalars per sample, independent of .
Conflicting negatives and filtering
Sampling already cuts the pushes on duplicate-label negatives by ninety percent. For very dirty data, the CVPR version adds an online filter on top (written PFC*). For each sample, negative classes whose cosine before the margin exceeds are kept out of that sample's denominator; positive classes are never filtered.
Why 0.4? The authors randomly split 200K identities in WebFace12M into 600K fake classes, making WebFace12M-Conflict, with heavy conflicts and 1 million classes in total. Since they did the splitting themselves, they know which negative classes are actually the same person, and can watch "true hard negatives" and "conflicting negatives" separately.

The vertical axis is the cosine between each feature and its closest negative class center, averaged over the batch. The left plot is full FC: the lines for the two kinds of negatives tangle between 0.3 and 0.45, the conflicting group forced as far away as the true hard negatives, which the authors call overfitting to wrong labels. The right plot is : the true hard negatives are still held below 0.4, while the conflicting negatives rise above 0.6, leaving a gap between the two groups, and that's where the 0.4 threshold is drawn.
Full FC can take the same threshold too, written FC*; its results come later along with the robustness experiments.
Training setup
- Original experiments: IR50 and IR100 (ResNets as modified by ArcFace), CosFace with or ArcFace with , ; 8 RTX 2080 Ti, total batch 512, learning rate 0.1. On Glint360K the rate drops tenfold at steps 200K, 400K, 500K and 550K, with 600K steps in total.
- CVPR version: PyTorch mixed precision, horizontal flips as the only augmentation; CNNs train for 20 epochs with 128 images per GPU, SGD with quadratic polynomial decay, learning rate 0.1 on a single machine with 8 V100s; WebFace42M uses 4 machines and 32 GPUs, ramping linearly to 0.4 over the first 2 epochs. ViTs train for 40 epochs with 384 images per GPU, AdamW with learning rate 0.001 and weight decay 0.1, on 8 machines and 64 GPUs.
Discussion
Speed and GPU memory

This is how three classification layers change with the number of classes on 8 GPUs with 512-dimensional features and a fixed backbone. Data parallelism and PFC use ; DTensor is PyTorch's built-in class sharding, without sampling. PFC has the highest throughput throughout, its memory grows the slowest, and it is the only one that holds up all the way to 64 million classes.
v4 also measured where the time goes within one step, on 8 H800s with a global batch of 2,048 and ViT-S/16. At 32 million classes, compute-kernel time is 713 ms for MP-PFC, 2,492 ms for DTensor and 3,741 ms for DP-PFC; DTensor's memory copies grow from 234 ms at 1 million classes to 847 ms, while MP-PFC stays between 194 and 224 ms. At 64 million classes the other two both OOM, and MP-PFC only fails to run at 128 million.
The CVPR version made a comparison closer to practice with ResNet-100 on V100s, with speed in samples per second and memory in GB per GPU:
| Method | IDs | Batch/GPU | Memory | Speed |
|---|---|---|---|---|
| Model parallel | 2M | 128 | 18.9 | 2,463 |
| HF-Softmax | 2M | 128 | 10.7 | 1,034 |
| D-Softmax | 2M | 128 | 13.8 | 1,840 |
| PFC-0.1 | 2M | 128 | 11.8 | 3,552 |
| Model parallel | 10M | 16 | 32.0 | 502 |
| PFC-0.1 | 10M | 64 | 14.1 | 2,497 |
Compiled from Table 6 of the CVPR version of the paper, all on 8 V100s. 2M is WebFace42M; 10M is a synthetic identity count, used only to measure speed.
Accuracy is measured with MFR-All. It is the test set InsightFace built for the ICCV 2021 Masked Face Recognition challenge (MFR), with 242K non-celebrity identities and 1.62 million photos, and its metric is TAR@FAR=, meaning the threshold is set so that only one pair in a million pairs of different people may be mistaken for the same person, and then the fraction of same-person pairs that pass is counted.
On WebFace42M, PFC-0.1 is 44% faster than model parallelism, with an MFR-All of 96.19 against 95.35. HF-Softmax does save memory, but its CPU feature search is too slow, and its MFR-All is only 93.21; the authors' explanation is that WebFace42M still has inter-class conflicts, so going out of your way to pick the hardest negatives ends up picking mislabeled ones. At ten million classes, model parallelism's logits are so large that the per-GPU batch can only go up to 16, while PFC runs 64, at 5 times the speed.
How much accuracy is lost?
First, the comparison already present in the original version, ResNet-100 with CosFace, where the IJB-B/IJB-C columns are TAR@FAR=, the threshold relaxed to one mistaken pair in ten thousand pairs of different people:
| Training set | IJB-B | IJB-C | CFP-FP | |
|---|---|---|---|---|
| MS1MV2 | 1.0 | 95.0 | 96.4 | 98.5 |
| MS1MV2 | 0.1 | 94.6 | 96.0 | 98.6 |
| Glint360K | 1.0 | 96.1 | 97.3 | 99.3 |
| Glint360K | 0.1 | 96.1 | 97.2 | 99.3 |
Compiled from Table 2 of the v4 paper (the same numbers as the original version, rounded to one decimal place).
On MS1MV2, with 85K classes, loses about 0.4 points in the table, and at most 0.6 across all of v4's metrics; on Glint360K, with 360K classes, there's almost no difference. Any smaller, and the data starts to lose out. v4 compares IR50 on eight training sets, and CASIA (about 10K classes) drops from 87.2 to 85.0 on IJB-C, while MS1MV3 drops from 82.5 to 81.7 on MFR-All. Sampling a tenth of CASIA leaves only about a thousand classes per step; v4's reading of the WebFace results in the next section also looks at how many negative classes actually take part in each step.
What sampling rate to use
From the CVPR version on, the ablations all use WebFace and MFR-All. The table below is ResNet-50 at three training scales:
| WF4M | WF12M | WF42M | |
|---|---|---|---|
| 1.0 | 86.25 | 91.70 | 93.86 |
| 0.4 | 86.81 | 91.81 | 93.95 |
| 0.3 | 86.85 | 91.82 | 94.03 |
| 0.2 | 86.36 | 91.78 | 94.04 |
| 0.1 | 85.76 | 91.24 | 93.95 |
| Minimal | 74.11 | 87.85 | 91.27 |
Compiled from Table 1 of the CVPR version of the paper. WF4M, WF12M and WF42M have 200K, 600K and 2M identities; "Minimal" is 0.04, 0.013 and 0.008 respectively.
With between 0.2 and 0.4, all three scales do at least as well as full softmax. is about 0.5 points lower on each of the two smaller datasets and already level on WF42M. v4's reading is to look at how many negative classes each step actually has, rather than only the ratio. means 20K classes on WF4M and 200K on WF42M; the three worst settings have only 8K to 16K classes per step.
The "Minimal" row actually draws no extra negatives, using only the batch's own positives as each other's negatives, so the sampling rate equals the batch size divided by the number of identities. The fix here is a bigger batch. The CVPR version pushed the WF42M batch to 16K (), where the classification layer's computation becomes almost negligible, and ResNet-100 still reaches 97.51% on IJB-C.
Better on dirty data
The three robustness stress tests, all MFR-All of ResNet-50 on WebFace:
| Stress test | FC | PFC-0.1 | PFC*-0.1 |
|---|---|---|---|
| Class conflict | 79.93 | 91.20 | 91.58 |
| 20% label flips | 85.42 | 87.62 | 88.17 |
| 40% label flips | 43.87 | 78.53 | 80.20 |
Compiled from Tables 3 and 4 of the CVPR version of the paper. On clean WebFace12M, FC scores 91.70.
The conflict row is the easiest to read. After 200K people are split into 600K classes, full softmax drops by almost 12 points; sampling alone brings it back to 91.20, only 0.5 short of clean data, and filtering adds another 0.38. Full FC with filtering (FC*) also reaches 91.18. The CVPR version's explanation is that the two groups can't be separated in full FC, so filtering can't block them cleanly and it ends up 0.4 below PFC*-0.1; v4, looking at the same numbers, says instead that sampling and filtering suppress the same failure. At 40% label flips, full softmax collapses to 43.87, and sampling pulls it back up to 78.53.
The long-tail test keeps 200K of WebFace42M's identities and cuts the other 1.8 million down to 2 to 4 photos each. Full FC scores 87.44 and scores 91.96, 2.59 above DCQ (89.37), which was also designed for large-scale training. Raising further makes the score fall steadily, down to 91.03 at 0.4.
Swapping the backbone
The CVPR version also tried eight backbones on WebFace42M with . ResNet-200 reaches 97.70 on MFR-All; ViT-L, at 25.3 GFLOPs, reaches 97.85 on MFR-All and 98.00% on IJB-C at TAR@FAR=, the paper's best result. At similar compute (11.4 vs. 12.1 GFLOPs), ViT-B's MFR-All of 97.42 beats ResNet-100's 96.69.
The official ViT config files all use the CosFace margin. In issue #2043 (July 2022), a user who trained ViT-B following the config found the ArcFace loss stuck around 20, while switching to CosFace converged; the first author's advice was to keep AdamW's learning rate at 0.001 rather than scaling it down with the batch, and to use gradient accumulation to push the batch past twenty thousand. In May 2023 another user added that AdamW with ArcFace only trains once the margin is turned down.
Four versions
This paper's versions are a bit tangled; in chronological order:
- arXiv v1/v2 (October 2020, January 2021): authors from DeepGlint, Beijing University of Posts and Telecommunications, Xiangtan University and Beijing Institute of Technology. Proposes "positives plus random negatives" sampling and releases Glint360K (Celeb-500K cleaned and merged with MS1MV2, 17.09 million images, 360K people). Trains ten million classes on 8 RTX 2080 Ti with the class centers in CPU memory; with 64 GPUs and it can train a hundred million classes.
- ICCV 2021 workshop version: in the masked face recognition workshop, 5 pages, with Yongle Zhao and Ziyong Feng added as authors. The abstract says 29 million classes trained on 8 V100s and a hundred million on 64 2080 Ti.
- CVPR 2022 version: the title changes to Killing Two Birds with One Stone, and the authors become a mix from DeepGlint, Huawei, InsightFace, Peng Cheng Laboratory and the University of Sydney, with Jiankang Deng as corresponding author. The two birds are efficiency and robustness. Inter-class conflict, passive updates of tail classes, PFC* filtering, the WebFace ablations and ViT were all added in this version.
- arXiv v3/v4 (August 2026): keeps the original title, adds Jiankang Deng as an author, and no longer lists affiliations on the first page. It is rewritten around a general "keep the positives, sample the negatives" view, which puts contrastive learning like CLIP into the same equation (one positive and a pile of negatives per softmax row); it adds the matrix-shape and traffic analysis of MP-PFC vs. DP-PFC, profiling on H800s, scaling experiments up to 64 million classes, and a design that keeps class centers in host memory or on NVMe with double-buffered asynchronous transfers. The WebFace ablations are carried over from the CVPR version, with the numbers rounded to one decimal place.
v4's abstract says its best configuration reaches 97.2% on IJB-C and 94.0% on MFR, lower than the CVPR version's 98.00% and 97.85%, because v4 dropped the ViT and ResNet-200 results.
The official code
The code lives in InsightFace's recognition/arcface_torch, and the sampling was covered above. Set against the paper, three things differ.
The first is whether updates are sparse. The paper says centers that aren't drawn stay unchanged that step. The current PartialFC_V2 hands the whole GPU's centers to SGD as a single parameter (momentum 0.9, weight decay ); the rows not drawn get zero gradient, but momentum still carries the velocity from their last push, and weight decay shrinks them at every step. v1's partial_fc.py was the truly sparse update, swapping the momentum of the drawn rows into the optimizer each step and writing it back afterward. In issue #2140 (October 2022), the first author explained the trade-off. v1 updates sparsely and can offload the centers to the CPU, saving GPU memory at ten million classes and up; but sparse updates break gradient accumulation, so with few GPUs and a need for large batches, use v2. v2 was added in July 2022 and v1 was deleted from the repo in April 2023, yet the training script still carries the TODO comment "the params of partial fc must be last in the params list."
The second is where the class centers live. In the original version's table, the ten-million-class row keeps the centers in RAM, and v4 even draws an asynchronous pipeline across host memory and NVMe. The V2 that exists now on the PyTorch side keeps the whole shard, plus gradients and momentum of the same size, on the GPU; the MXNet version's memory bank has an option to live on the CPU, and its training script defaults to the GPU as well. Neither v4's asynchronous pipeline nor the H800 profiling code can be found anywhere in the repo. (each rewrite hogs more memory)
The third is filtering. CombinedMarginLoss multiplies the logits of negatives whose cosine exceeds the threshold by 0, so after multiplying by , an still remains in the denominator, only without a gradient. At this is almost the same as removing them, though strictly speaking it differs from the paper's "kept out of the denominator."
Also, the ResNet-100 in the README model table that uses only in-batch negatives and gets 97.51 on IJB-C is labeled "WF42M-PFC-0.0018," its config file is called wf42m_pfc0008_32gpu_r100.py, and inside it says sample_rate = 0. Three places, three different values, and only the file name matches the paper's 0.008.
Community reports
No speedup without enough classes. In issue #1622 (July 2021), a user changed from 1 to 0.1 and saw almost the same speed at 600K classes. The first author replied that the difference only shows up above two million identities or beyond 32 GPUs of model parallelism. In issue #1606, someone used for image retrieval with a million classes and got an mAP 0.05 below full softmax; the author suggested a larger margin after sampling, added that sampling helps more on dirty data, and said model parallelism is enough at a million classes. This agrees with the CASIA drop above; Partial FC is designed for the scale of millions to tens of millions of classes.
Sampling in the PyTorch version once lost accuracy. In issue #1283, the first author said in October 2020 that full softmax in the PyTorch version reproduced the paper but sampling's accuracy was far below the MXNet version, and that they were hunting for the bug; when someone followed up in June 2021, the author answered in a single line that it had been reproduced.
What Glint360K is made of. The paper says it was cleaned and merged from Celeb-500K and MS1MV2. issue #1317 asked in November 2020 for the mapping of original identities and for the overlap with other datasets; people were still following up in 2021 and in August 2025, with no official reply. issue #1852 (December 2021) asked whether Glint360K and MS1MV3 share any identities, and the author's entire reply was two Chinese characters meaning "there are" (succinct). Glint360K and the models trained on it are restricted to non-commercial research.
The evaluation server went offline. The CVPR version's ablations use MFR-All as the main metric almost throughout, and the scores can only be had by submitting models to InsightFace's online server. Since February 2025, that page has said the service is temporarily offline due to insufficient GPU resources and is looking for a company or individual willing to take it over. The 2026 v4 still lists ICCV21-MFR numbers as usual, and anyone who wants to measure their own model with the same yardstick now has nowhere to hand in the exam. The models aren't necessarily available either. issue #2562 (April 2024) asked where to download the WF42M-PFC-0.3 model listed in the README, with the asker saying it wasn't in the official cloud folders, and there has been no reply.
Hard negative mining. issue #2770 (June 2025) proposed adding hard negatives to the sampling. HF-Softmax, which the paper compared against, also goes specifically for the nearest centers, and on WebFace42M, which still has mislabels, it scored nearly 3 points below PFC-0.1. The proposal has had no reply.
Conclusion
Partial FC splits the classification layer's computation into fixed ownership and per-step redrawn activation, keeping all the positives and sampling a fraction of the negatives. Model parallelism's logits don't shrink as GPUs are added, and sampling multiplies them directly by ; at ten million classes on 8 GPUs, the per-GPU batch goes from 16 to 64, at 5 times the speed. On WebFace, an of 0.2 to 0.3 does no worse than full softmax, on inter-class conflict and 40% label flips, beats full softmax by about 11 and 35 points, and on long-tailed data gains 4.5 points.
If you actually want to use it, first check how many classes you have. Below a few hundred thousand classes, model parallelism is enough, and forcing a 10% sample may even cost accuracy; turn it on from two million classes up, starting at 0.2 or 0.3. If the data has many duplicate identities, also turn on the 0.4 filtering threshold. With arcface_torch, be aware that the current V2 lets momentum and weight decay touch every center; to update only the drawn rows as in the paper, you'll have to dig up the v1 that was deleted in 2023 yourself.
v4 draws an asynchronous pipeline that puts the class centers on NVMe, while the repo has already deleted even the version that could put them on the CPU.