Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

ArcFace: Additive Angular Margin Loss for Deep Face Recognition

Angular margin softmax makes face features more discriminative

  • Problem Softmax face features don't separate identities well enough for open-set recognition. Margin methods also assume clean training data, and web-scale faces carry label noise.
  • Method ArcFace adds a margin to the target angle inside the normalized softmax loss. Sub-center ArcFace gives each identity K sub-centers, so clean faces join one dominant sub-center while noisy faces fall into others.
  • Results The IBUG-500K model with ResNet100 scored 96.02 on IJB-B and 97.27 on IJB-C. Those are results above CurricularFace at 94.86 and 96.15.

Why plain softmax features fall short

Face embeddings are usually trained either as a multi-class classifier with softmax or by learning an embedding directly with the triplet loss. Softmax features separate the training identities, but they are not discriminative enough for open-set recognition. The softmax weight matrix also grows linearly with the number of identities.

The triplet loss targets the open-set problem more directly, but its training is hard at scale. Triplets grow combinatorially with dataset size, and choosing semi-hard samples is difficult. Margin-based softmax methods try to keep the margin benefit while staying inside the softmax, where every class center takes part in each comparison.

SphereFace brings an angular margin into this framework, but its multiplicative integer margin makes the target logit curve so steep that training needs a softmax term to converge.

Margin methods also assume well-annotated training data, and web-scale faces carry label noise that lowers recognition accuracy.

Turning the target logit into a geodesic margin

Start from the softmax loss with the bias set to zero, so each class logit is a dot product between the feature and a class weight. Normalizing each class weight and the feature turns that logit into a scaled cosine of the angle between them. The embeddings then lie on a hypersphere of radius s, and the prediction depends only on angles.

ArcFace adds the margin m to the target angle before taking the cosine, and the other logits stay unchanged. The loss is \[ L_3 = -\log \frac{e^{s\cos(\theta_{y_i}+m)}}{e^{s\cos(\theta_{y_i}+m)}+\sum_{j=1,\, j\neq y_i}^{N} e^{s\cos\theta_j}} \] Because the margin acts on the angle, it corresponds to a distance along the arc of the sphere.

The authors also argue that the ArcFace margin is constant along the arc in the binary case, whereas SphereFace and CosFace give a nonlinear margin.

A two-dimensional toy run on eight identities shows the effect on the feature layout. Norm-Softmax leaves the decision boundaries ambiguous, while ArcFace enforces a clearer margin between the nearest classes.

How the margin compares on CASIA

The embedding network is ResNet50 trained on CASIA, with feature scale s of 64 and angular margin 0.5. On this setting ArcFace with margin 0.5 scored 99.53 on LFW, 95.56 on CFP-FP and 95.15 on AgeDB. Softmax scored 99.08, 94.39 and 92.33 on the same three sets.

The authors swept the margin from 0.4 to 0.55 and found 0.5 gave the best CFP-FP and AgeDB scores. Under the combined framework, SphereFace was best at m of 1.35 and CosFace at 0.35, and the combined settings CM1 and CM2 stayed below ArcFace.

Adding Intra-Loss, Inter-Loss or the triplet loss to ArcFace gave no obvious gain. The authors read this as ArcFace already enforcing intra-class compactness, inter-class discrepancy and a classification margin.

Sub-centers let noisy faces settle in side clusters

Each identity gets K sub-centers, and the embedding and all sub-centers are L2 normalized. A matrix product gives a similarity score per sub-center, and max pooling over the K sub-centers gives one class-wise score. The angle uses the nearest sub-center, \( \theta_j = \arccos(\max_k W_{jk}^T x_i) \) with \( k \in \{1,\dots,K\} \), and the same additive margin is then applied to the target angle.

Because only the nearest sub-center counts, a clean face sits close to one sub-center. A noisy face doesn't need to join the dominant sub-class, so it tends to form a non-dominant one. On one CASIA identity with K=10, profile and occluded faces separated from the majority of clean samples.

The authors use this split as a cleaning signal, dropping non-dominant sub-centers and samples whose angle exceeds 75 degrees. This runs offline: a first-round model at K=3 is trained on MS1MV0, and a new model is then trained from scratch on the cleaned data.

Building IBUG-500K from cleaned web faces

The cleaning was applied to MS1MV0 and Celeb500K. After removing about 50K overlapping identities by ID string, the two cleaned sets were merged into IBUG-500K. IBUG-500K holds 11.96 million images of 493K identities.

The first cleaning round follows the MS1MV3 learning rate schedule, which lowers the rate at epochs 8 and 14 and stops at epoch 18. Celeb500K uses the same schedule as IBUG-500K, and only the learning rate schedule differs from the MS1MV0 runs.

Robustness on noisy MS1MV0 and Celeb500K

Measured by TPR@FPR=1e-4 on IJB-C with ResNet50, ArcFace with K=1 on MS1MV0 scored 90.27, compared to 96.50 on clean MS1MV3. Sub-center ArcFace with K=3 raised the MS1MV0 score to 93.72.

At K=10 the score fell to 67.94, so the authors balance noise tolerance against intra-class compactness and chose K=3 partly for GPU memory. Max pooling scored 93.72 and softmax pooling scored 93.55 on the same setting.

Dropping non-dominant sub-centers and noisy samples above 75 degrees scored 95.92 on MS1MV0.

Co-mining scored 93.82, while the re-weighting methods NT and NR scored 93.65 and 93.60. On clean MS1MV3, the same 75 degree drop gave 96.43, compared to 96.50 for plain ArcFace, and the authors read this as residual noise in MS1MV3. On Celeb500K, K=3 with the drop scored 96.91, compared to 92.15 for K=1.

Large-scale verification and identification results

ArcFace trained on MS1MV3 with ResNet100 scored 95.42 on IJB-B and 96.83 on IJB-C. Trained on IBUG-500K with ResNet100, it scored 96.02 and 97.27. Relative to CurricularFace at 94.86 and 96.15, the authors report error reductions of 22.57% on IJB-B and 29.09% on IJB-C.

At TPR@FPR=1e-5, the IBUG-500K model scored 93.48 on IJB-B and 96.07 on IJB-C, while the MC-FaceGraph model scored 92.82 and 95.62. IBUG-500K is smaller than MC-FaceGraph, at 11.96M images of 493K identities against 18.8M images of 636.2K identities, yet the authors report gains of 0.66% and 0.45%.

The LFR2019 challenge caps models at computational complexity below 1.0 GFlops and requires MS1MV3 as training data. An EfficientNet-B0 trained with ArcFace scored 86.44 on LFR2019-Image and 61.47 on LFR2019-Video. A ResNet100 ArcFace teacher on MS1MV3 scored 92.75 and 64.89, and distillation raised the student to 88.65 and 63.60. The authors say the distilled model is comparable to the Image champion and surpasses the Video champion by 0.37%.

Recovering faces from ArcFace features

The inverse problem maps a feature or a class center back to a face image using the pre-trained model alone. Random inputs are updated by the network gradient, while the BN statistics constrain the image. In close-set mode the class centers in the linear layer are targets under a classification loss, and in open-set mode embedding features are targets under an L2 loss.

Each mini-batch has 256 images at 112 by 112 pixels, optimized with Adam at a learning rate of 0.25 for 20K steps. Image quality is measured by FID, identity by cosine similarity from a third-party IBUG-500K ResNet100 ArcFace model, and open-set identity by LFW verification.

How close the inverted faces are

In close-set mode with 5K training identities, ArcFace scored FID 70.39 and mean cosine similarity 0.6248. Softmax scored 75.59 and 0.5612 under the same protocol, and SphereFace and CosFace fell between the two. The authors note identity-unrelated artifacts and some grey images, which they tie to the BN statistics of MS1MV3.

In open-set mode, with the 13,233 LFW face features as targets, ArcFace scored FID 73.16 and cosine similarity 0.5849. Its LFW verification accuracy was 93.30, the highest of the four margin and softmax baselines. On real LFW faces the ResNet50 ArcFace model scored 99.81%, and on the generated faces the same model scored 97.75%.

Figure 15 varies age, gender, race, pose and occlusion, and Figure 16 compares inversions with and without BN constraints. Without BN constraints the generated faces lack natural image statistics and look unnatural.

Limitations

Inversion targets only the identity feature, so the pose and expression of generated faces can't be controlled. Some inverted faces show gender confusions that human eyes distinguish easily but that look similar to the model.

The standard ArcFace loss assumes clean training data, which the authors say doesn't hold for large-scale datasets. The noisy-data study uses MS1MV0, Celeb500K and MS1MV3, with IJB-C as the main metric. The authors also estimate that MS1MV3 still contains some noise, so the clean-data comparison isn't fully clean.

Paper info

Authors
Deng, Jiankang, Guo, Jia, Yang, Jing, Xue, Niannan, Kotsia, Irene, Zafeiriou, Stefanos
Venue
arXiv · Preprint
First published
2018-1-23
Added
2026-11-26
Updated
2022-9-4
Version
v4
arXiv
1801.07698
DOI
10.1109/tpami.2021.3087709
Category
cs.CV
Original paper terms
CC BY 4.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Deng, Jiankang, Guo, Jia, Yang, Jing, Xue, Niannan, Kotsia, Irene, Zafeiriou, Stefanos (2018). ArcFace: Additive Angular Margin Loss for Deep Face Recognition. arXiv:1801.07698v4. https://doi.org/10.1109/tpami.2021.3087709

BibTeX
@article{jiankang2018arcface,
  title = {{ArcFace: Additive Angular Margin Loss for Deep Face Recognition}},
  author = {Deng, Jiankang and Guo, Jia and Yang, Jing and Xue, Niannan and Kotsia, Irene and Zafeiriou, Stefanos},
  year = {2018},
  eprint = {1801.07698},
  archivePrefix = {arXiv},
  doi = {10.1109/tpami.2021.3087709},
  url = {https://arxiv.org/abs/1801.07698v4}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up