ArcFace: Additive Angular Margin Loss for Deep Face Recognition

Jiankang Deng, Jia Guo

2019 · 472 citations · 101 references

DOIFull text

Open access

Concepts

TL;DR

Designing loss functions that enhance discriminative power in deep face recognition remains challenging, with prior work such as centre loss and SphereFace focusing on intra‑class compactness and angular margins, and recent research exploring margin‑based losses to maximize class separability. This work proposes ArcFace, an additive angular margin loss that yields highly discriminative face features. ArcFace is defined as a geodesic distance on a hypersphere and is evaluated extensively against state‑of‑the‑art methods on ten benchmarks, including a trillion‑pair image database and a large‑scale video set. ArcFace consistently outperforms existing methods with negligible computational cost, and its implementation is publicly available.

Abstract

One of the main challenges in feature learning using Deep Convolutional Neural Networks (DCNNs) for large-scale face recognition is the design of appropriate loss functions that can enhance the discriminative power. Centre loss penalises the distance between deep features and their corresponding class centres in the Euclidean space to achieve intra-class compactness. SphereFace assumes that the linear transformation matrix in the last fully connected layer can be used as a representation of the class centres in the angular space and therefore penalises the angles between deep features and their corresponding weights in a multiplicative way. Recently, a popular line of research is to incorporate margins in well-established loss functions in order to maximise face class separability. In this paper, we propose an Additive Angular Margin Loss (ArcFace) to obtain highly discriminative features for face recognition. The proposed ArcFace has a clear geometric interpretation due to its exact correspondence to geodesic distance on a hypersphere. We present arguably the most extensive experimental evaluation against all recent state-of-the-art face recognition methods on ten face recognition benchmarks which includes a new large-scale image database with trillions of pairs and a large-scale video dataset. We show that ArcFace consistently outperforms the state of the art and can be easily implemented with negligible computational overhead. To facilitate future research, the code has been made available.

References

101