curricularface_ir50
A face recognition network trained with CurricularFace, a loss that builds curriculum learning into the loss function.
Image classification · 213 operations Checked
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
- Task
- Image classification
- Parameters
- 49M
- Operations
- 213
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2020
- Cited by
- 606 (as of 21 October 2026)
- Authors
- Yuge Huang, Yuhan Wang, Ying Tai 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 file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m3995
- Graph hash
- 6616339e542f12f9b43ff5323ab7d1ba66341d4b5e19d3c3acb82fe8acb00985
- Skeleton hash
- 3c0fc43cc39dd0a6f26dd3c3feb9cd2859adba86df06e8aa0142939642d15194
- Architecture hash
- d6ee3510e8f40c77bc6418d465f8944ef895bc4f6f89b188385d69a677dcf117
- Diagram SHA-256
- 2e77c88152a0746615d2e21f324a10b7aa43742bc421e734aa55b8bb8c505cd8
- 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
CurricularFace is a training loss for face recognition that builds the idea of curriculum learning into the loss function. It mainly addresses easy samples in the early training stage and hard ones in the later stage. The paper’s motivation is that mining-based losses which over-emphasize hard samples early in training may keep the model from converging.
Hard samples are the ones misclassified in the current mini-batch, and they are weighted through modulation coefficients on their negative cosine similarities. The coefficient depends on a parameter t that is estimated with an exponential moving average of the positive cosine similarities, which avoids tuning it by hand. Early in training the weights of hard samples are reduced, so easy samples are emphasized relatively. For the positive cosine similarity the paper adopts ArcFace as an example, noting that any margin-based loss function could be used.
For the embedding network, the paper adopts ResNet50 and ResNet100. With a small MobileFaceNet backbone trained on CASIA-WebFace at margin 0.5, the paper reports 99.25% accuracy on LFW for its loss, while the model trained with ArcFace did not converge.
Key idea. The paper proposes CurricularFace, an adaptive curriculum learning loss for face recognition that automatically emphasizes easy samples first and hard samples later in training.
- curricularface
- adaptive curriculum learning loss
- face recognition
- curriculum learning
- margin-based loss
- hard sample mining
- face embedding
- modulation coefficient
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{huang2020curricularfaceadaptivecurriculumlearning,
title={CurricularFace: Adaptive Curriculum Learning Loss for Deep Face Recognition},
author={Yuge Huang and Yuhan Wang and Ying Tai and Xiaoming Liu and Pengcheng Shen and Shaoxin Li and Jilin Li and Feiyue Huang},
year={2020},
eprint={2004.00288},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2004.00288},
}