Methods › General › Loss Functions › ArcFace
Additive Angular Margin Loss
ArcFace
Introduced by Jiankang Deng et al. in ArcFace: Additive Angular Margin Loss for Deep Face Recognition
archive 2025-07-28 Description, source and code snippet are the archive's method entry.
ArcFace, or Additive Angular Margin Loss, is a loss function used in face recognition tasks. The softmax is traditionally used in these tasks. However, the softmax loss function does not explicitly optimise the feature embedding to enforce higher similarity for intraclass samples and diversity for inter-class samples, which results in a performance gap for deep face recognition under large intra-class appearance variations.
The ArcFace loss transforms the logits Wᵀⱼxᵢ = || Wⱼ || || xᵢ || cosθⱼ, where θⱼ is the angle between the weight Wⱼ and the feature xᵢ. The individual weight || Wⱼ || = 1 is fixed by l₂ normalization. The embedding feature ||xᵢ || is fixed by l₂ normalization and re-scaled to s. The normalisation step on features and weights makes the predictions only depend on the angle between the feature and the weight. The learned embedding features are thus distributed on a hypersphere with a radius of s. Finally, an additive angular margin penalty m is added between xᵢ and W_(yᵢ) to simultaneously enhance the intra-class compactness and inter-class discrepancy. Since the proposed additive angular margin penalty is equal to the geodesic distance margin penalty in the normalised hypersphere, the method is named ArcFace:
L₃ = -1/N∑ᴺᵢ₌₁log(e^(s(cos(θ_(yᵢ) + m))))/(e^(s(cos(θ_(yᵢ) + m))) + ∑ⁿ_(j=1, j ≠yᵢ)e^(scosθⱼ))
The authors select face images from 8 different identities containing enough samples (around 1,500 images/class) to train 2-D feature embedding networks with the softmax and ArcFace loss, respectively. As the Figure shows, the softmax loss provides roughly separable feature embedding but produces noticeable ambiguity in decision boundaries, while the proposed ArcFace loss can obviously enforce a more evident gap between the nearest classes.
Other alternatives to enforce intra-class compactness and inter-class distance include Supervised Contrastive Learning.
Papers archive 2025-07-28
30 shown of 94, newest first. Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code; it is per sample and not a correctness claim.
-
Enhancing Few-shot Keyword Spotting Performance through Pre-Trained Self-supervised Speech Models 21 Jun 2025 · 0 repositories · arXiv:2506.17686
-
Towards Large-Scale Pose-Invariant Face Recognition Using Face Defrontalization 4 Jun 2025 · 0 repositories · arXiv:2506.04496
-
Accuracy and Fairness of Facial Recognition Technology in Low-Quality Police Images: An Experiment With Synthetic Faces 20 May 2025 · 0 repositories · arXiv:2505.14320
-
LaPIG: Cross-Modal Generation of Paired Thermal and Visible Facial Images 20 Mar 2025 · 0 repositories · arXiv:2503.16376
-
Universal Embedding Function for Traffic Classification via QUIC Domain Recognition Pretraining: A Transfer Learning Success 18 Feb 2025 · 1 repository · arXiv:2502.12930
-
Omni-ID: Holistic Identity Representation Designed for Generative Tasks 12 Dec 2024 · 0 repositories · arXiv:2412.09694
-
Multispecies Animal Re-ID Using a Large Community-Curated Dataset 7 Dec 2024 · 1 repository · arXiv:2412.05602
-
Pairwise Discernment of AffectNet Expressions with ArcFace 1 Dec 2024 · 0 repositories · arXiv:2412.01860
-
Hypersphere Secure Sketch Revisited: Probabilistic Linear Regression Attack on IronMask in Multiple Usage 19 Sep 2024 · 0 repositories · arXiv:2409.12884
-
HyperSpaceX: Radial and Angular Exploration of HyperSpherical Dimensions 5 Aug 2024 · 0 repositories · arXiv:2408.02494
-
Analyzing the Feature Extractor Networks for Face Image Synthesis 4 Jun 2024 · 1 repository · arXiv:2406.02153
-
Deep Privacy Funnel Model: From a Discriminative to a Generative Approach with an Application to Face Recognition 3 Apr 2024 · 0 repositories · arXiv:2404.02696
-
Arc2Face: A Foundation Model for ID-Consistent Human Faces 18 Mar 2024 · 3 repositories · arXiv:2403.11641Syntology ran 1 of 4 samples · 3 unverified · 3 pointer-only (licence)
-
VIGFace: Virtual Identity Generation for Privacy-Free Face Recognition 13 Mar 2024 · 1 repository · arXiv:2403.08277
-
Mitigating the Impact of Attribute Editing on Face Recognition 12 Mar 2024 · 0 repositories · arXiv:2403.08092
-
X2-Softmax: Margin Adaptive Loss Function for Face Recognition 8 Dec 2023 · 0 repositories · arXiv:2312.05281
-
Improved Face Representation via Joint Label Classification and Supervised Contrastive Clustering 7 Dec 2023 · 0 repositories · arXiv:2312.04029
-
A Universal Anti-Spoofing Approach for Contactless Fingerprint Biometric Systems 23 Oct 2023 · 0 repositories · arXiv:2310.15044
-
An Empirical Study of Self-supervised Learning with Wasserstein Distance 16 Oct 2023 · 0 repositories · arXiv:2310.10143
-
Trading-off Mutual Information on Feature Aggregation for Face Recognition 22 Sep 2023 · 0 repositories · arXiv:2309.13137
-
UniTSFace: Unified Threshold Integrated Sample-to-Sample Loss for Face Recognition 21 Sep 2023 · 1 repository
-
Patent image retrieval using transformer-based deep metric learning 1 Sep 2023 · 1 repository
-
Global Features are All You Need for Image Retrieval and Reranking 14 Aug 2023 · 2 repositories · arXiv:2308.06954Syntology ran 13 of 18 samples · 5 unverified
-
Improving Face Recognition from Caption Supervision with Multi-Granular Contextual Feature Aggregation 13 Aug 2023 · 0 repositories · arXiv:2308.06866
-
On the Biometric Capacity of Generative Face Models 3 Aug 2023 · 0 repositories · arXiv:2308.02065
-
PromptStyler: Prompt-driven Style Generation for Source-free Domain Generalization 27 Jul 2023 · 1 repository · arXiv:2307.15199Syntology ran 0 of 1 samples · 1 unverified
-
RPG-Palm: Realistic Pseudo-data Generation for Palmprint Recognition 26 Jul 2023 · 0 repositories · arXiv:2307.14016
-
ChildGAN: Large Scale Synthetic Child Facial Data Using Domain Adaptation in StyleGAN 25 Jul 2023 · 0 repositories · arXiv:2307.13746
-
Imperceptible Physical Attack against Face Recognition Systems via LED Illumination Modulation 25 Jul 2023 · 0 repositories · arXiv:2307.13294
-
BlendFace: Re-designing Identity Encoders for Face-Swapping 20 Jul 2023 · 2 repositories · arXiv:2307.10854Syntology ran 5 of 9 samples · 4 unverified · 9 pointer-only (licence)
Tasks archive 2025-07-28
20 shown of 100 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.
Usage over time archive 2025-07-28
Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).
Categories archive 2025-07-28
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections