All models

arcface_ir_se50

ArcFace's IR-SE50: a 50-layer residual network that maps an aligned face crop to a 512-D embedding.

Image classification · 330 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 (20 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

Parameters
43.8M
Operations
330
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
m3530
Graph hash
97dc7a911f2722ee6ac1820529b955b65aeb60faf41136632e61c905bcdc5137
Skeleton hash
91f1f0e976e8bd6a7ab609fd37ba1f5d9a55cbc7f0b649d552a468e5e14434a0
Architecture hash
aad71acd37360f384b7dbcba1fcd5884bdf46badc234cf34ae17667522d94097
Diagram SHA-256
c4112d55ba7ad8847102067490fc6d98b85c9e3537b570447c423178e13f9117
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

IR-SE50 is a face recognition backbone from the ArcFace paper: it maps a normalized 112 by 112 face crop to a 512-D feature vector. ArcFace itself is a training loss, the Additive Angular Margin Loss, which adds a margin to the angle between a face's feature and the center of its identity class. Because angle and arc correspond exactly on the normalized hypersphere, the paper says the method directly optimizes the geodesic distance margin, and that is where the name comes from. The authors add that the loss needs only several lines of code.

The first version of the paper describes the network: face crops are only 112 by 112, so to preserve feature map resolution the first convolutional layer uses a 3 by 3 convolution with stride 1 instead of 7 by 7 with stride 2. The residual blocks are the paper's improved residual unit, marked by IR at the end of model names, which has a BN-Conv-BN-PReLu-Conv-BN structure. After the last convolutional layer comes the output setting the paper found best, option E, which is BN-Dropout-FC-BN.

That version of the paper reports the best results at the time on the MegaFace Challenge, which it describes as the largest public face benchmark with one million faces for recognition.

Key idea. ArcFace adds an additive angular margin to the angle between a face feature and its class center, which directly optimizes the geodesic distance margin on the normalized hypersphere.

  • ArcFace
  • IR-SE50
  • SE-LResNet50E-IR
  • arcface_ir_se50
  • face recognition
  • face embedding
  • additive angular margin loss
  • InsightFace
  • face verification

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}, 
}