All models

arcface_ir50

A residual face recognition backbone, trained with the ArcFace loss, that maps a face crop to a 512-D embedding.

Image classification · 184 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (18 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
ArcFace
Parameters
43.6M
Operations
184
Framework
PyTorch
Recurrent
No
Published
CVPR 2019
Cited by
7,756 (as of 22 October 2026)
Authors
Jiankang Deng, Jia Guo, Jing Yang and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m3529
Graph hash
e148cbb1ee743dec28da609415f6ee4caeb9c3dfd4dc0e18459d08ef877ed437
Skeleton hash
aae11c9cc543bcb0e026837ef3f0ac7085d56af353eb705b9ca6aaa6fa6af517
Architecture hash
881fbe6de16de0895a4d48dd65c0a0678608ba8be875eac4f16aed0a21bf67bf
Diagram SHA-256
5bd5e79927c946186aff13f8d87181f4b417bf12e4ca06c95c0b7878515f20a9
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This model is the 50-layer backbone; the paper reports its ResNet50 embedding network at 160MB, extracting a 512-D feature in 8.9 ms per face.

About this model's family

ArcFace is a face recognition method named for its loss function, the Additive Angular Margin Loss; the network itself is an embedding backbone that turns an aligned face crop into a feature vector. The loss takes the angle between a face's feature and its class center, adds a fixed margin to that angle, and converts the result back to a logit with the cosine before the usual softmax steps. Because angle and arc correspond exactly on the normalized hypersphere, this is a margin in geodesic distance, which is where the name comes from.

For the embedding network the paper uses ResNet50 and ResNet100 without the bottleneck structure, fed with normalized face crops of 112 × 112 pixels. The feature scale is set to 64 and the angular margin to 0.5. At test time only the embedding network is kept, without the fully connected classification layer, and it yields a 512-D feature for each normalized face. The InsightFace project, which hosts ArcFace implementations, lists IResNet among its commonly used backbones.

The same paper adds sub-center ArcFace, in which each class has K sub-centers and a training sample only needs to be close to one of them, to cope with label noise. On LFW, the paper reports 99.81% verification accuracy for its ResNet50 ArcFace model.

Key idea. ArcFace adds an additive angular margin to the target angle in the softmax loss, directly optimizing the geodesic distance margin between face identities on a normalized hypersphere.

  • arcface
  • additive angular margin loss
  • iresnet
  • iresnet50
  • iresnet100
  • ir-50
  • ir-101
  • face recognition
  • face embedding
  • insightface

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{deng2022arcfaceadditiveangularmargin,
      title={ArcFace: Additive Angular Margin Loss for Deep Face Recognition}, 
      author={Jiankang Deng and Jia Guo and Jing Yang and Niannan Xue and Irene Kotsia and Stefanos Zafeiriou},
      year={2022},
      eprint={1801.07698},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      doi={https://doi.org/10.1109/TPAMI.2021.3087709},
      url={https://arxiv.org/abs/1801.07698}, 
}