Title: CURRICULARFACE: ADAPTIVE CURRICULUM LEARN-ING LOSS FOR DEEP FACE RECOGNITION

Abstract: As an emerging topic in face recognition, designing margin-based loss functions can increase the feature margin between different classes for enhanced discriminability. More recently, absorbing the idea of mining-based strategies is adopted to emphasize the misclassified samples and achieve promising results. However, during the entire training process, the prior methods either do not explicitly emphasize the sample based on its importance that renders the hard samples not fully exploited; or explicitly emphasize the effects of semi-hard/hard samples even at the early training stage that may lead to convergence issue. In this work, we propose a novel Adaptive Curriculum Learning loss (CurricularFace) that embeds the idea of curriculum learning into the loss function to achieve a novel training strategy for deep face recognition, which mainly addresses easy samples in the early training stage and hard ones in the later stage. Specifically, our CurricularFace adaptively adjusts the relative importance of easy and hard samples during different training stages. In each stage, different samples are assigned with different importance according to their corresponding difficultness. Extensive experimental results on popular benchmarks demonstrate the superiority of our CurricularFace over the state-of-the-art competitors. Code will be available upon publication.

INTRODUCTION:

The success of Convolutional Neural Networks (CNNs) on face recognition can be mainly credited to : enormous training data, network architectures, and loss functions. Recently, designing appropriate loss functions that enhance discriminative power is pivotal for training deep face CNNs.

Current state-of-the-art face recognition methods mainly adopt softmax-based classification loss. Since the learned features with the original softmax is not discriminative enough for the open-set face recognition problem, several margin-based variants have been proposed to enhance features' discriminative power. For example, explicit margin, i.e., CosFace (Wang et al., 2018a) , Sphereface (Li et al., 2017) , ArcFace (Deng et al., 2019) , and implicit margin, i.e., Adacos (Zhang et al., 2019a) , supplement the original softmax function to enforce greater intra-class compactness and inter-class discrepancy, which are shown to result in more discriminate features. However, these margin-based loss functions do not explicitly emphasize each sample according to its importance.

As demonstrated in Chen et al. (2019) , hard sample mining is also a critical step to further improve the final accuracy. Recently, Triplet loss (Schroff et al., 2015) and SV-Arc-Softmax (Wang et al., 2018b) integrate the motivations of both margin and mining into one framework for deep face recognition. Triplet loss adopts a semi-hard mining strategy to obtain semi-hard triplets and enlarge the margin between triplet samples. SV-Arc-Softmax (Wang et al., 2018b) clearly defines hard samples as misclassified samples and emphasizes them by increasing the weights of their negative cosine similarities with a preset constant. In a nutshell, mining-based loss functions explicitly emphasize the effects of semi-hard or hard samples.

However, there are drawbacks in training strategies of both margin-and mining-based loss functions. For margin-based methods, mining strategy is ignored and thus the difficultness of each sample is not fully exploited, which may lead to convergence issues when using a large margin on small backbones, e.g., MobileFaceNet (Chen et al., 2018) . As shown in Fig. 1 , the modulation coefficient for the negative cosine similarities I(•) is fixed as a constant 1 in ArcFace for all samples during the entire training process. For mining-based methods, over-emphasizing hard samples in early training Specifically, the smaller the angle θj is, the larger the modulation coefficient should be.

stage may hinder the model to converge. As SV-Arc-Softmax claimed, the manually defined constant t plays a key role in the model convergence property and a slight larger value (e.g., >1.4) may cause the model difficult to converge. Thus t needs to be carefully tuned.

In this work, we propose a novel adaptive curriculum learning loss, termed CurricularFace, to achieve a novel training strategy for deep face recognition. Motivated by the nature of human learning that easy cases are learned first and then come the hard ones (Bengio et al., 2009) , our Cur-ricularFace incorporates the idea of Curriculum Learning (CL) into face recognition in an adaptive manner, which differs from the traditional CL in two aspects. First, the curriculum construction is adaptive. In traditional CL, the samples are ordered by the corresponding difficultness, which are often defined by a prior and then fixed to establish the curriculum. In CurricularFace, the samples are randomly selected in each mini-batch, while the curriculum is established adaptively via mining the hard samples online, which shows the diversity in samples with different importance. Second, the importance of hard samples are adaptive. On one hand, the relative importance between easy and hard samples is dynamic and could be adjusted in different training stages. On the other hand, the importance of each hard sample in current mini-batch depends on its own difficultness.

Specifically, the mis-classified samples in mini-batch are chosen as hard samples and weighted by adjusting the modulation coefficients I(t, cosθ j ) of cosine similarities between the sample and the non-ground truth class center vectors, i.e., negative cosine similarity N (t, cosθ j ). To achieve the goal of adaptive curricular learning in the entire training, we design a novel coefficient function I(•) that is determined by two factors: 1) the adaptively estimated parameter t that utilizes moving average of positive cosine similarities between samples and the corresponding ground-truth class center to unleash the burden of manually tuning; and 2) the angle θ j that defines the difficultness of hard samples to achieve adaptive assignment. To sum up, the contributions of this work are:

• We propose an adaptive curriculum learning loss for face recognition, which automatically emphasizes easy samples first and hard samples later. To the best of our knowledge, it is the first work to introduce the idea of adaptive curriculum learning for face recognition. (Liu et al., 2016; Li et al., 2017; Deng et al., 2019) are proposed. Though the margin-based loss functions are verified to obtain good performance, they do not take the difficultness of each sample into consideration, while our CurricularFace emphasizes easy samples first and hard samples later, which is more reasonable and effectiveness.

Mining-based loss function Though some mining-based loss function such as Focal loss (Lin et al., 2017) , Online Hard Sample Mining (OHEM) (Shrivastava et al., 2016) are prevalent in the field of object detection, they are rarely used in face recognition. OHEM focuses on the large-loss samples in one mini-batch, in which the percentage of the hard samples is empirically determined and easy samples are completely discarded. Focal loss is a soft mining variant that rectifies the loss function to an elaborately designed form, where two hyper-parameters should be tuned with a lot of efforts to decide the weights of each samples and hard samples are emphasized by reducing the weight of easy samples. The recent work, SV-Arc-Softmax (Wang et al., 2018b) fuses the motivations of both margin and mining into one framework for deep face recognition. They define hard samples as misclassified samples and enlarge the weight of hard samples with a preset constant. Our method differs from SV-Arc-Softmax in three aspects: 1) We do not always emphasize the hard samples, especially in the early training stages. 2) We assign different weights for hard samples according to their corresponding difficultness. 3) There's no need in our method to manually tune the additional hyper-parameter t, which is estimated adaptively.

Curriculum Learning Learning from easier samples first and harder samples later is a common strategy in Curriculum Learning (CL) (Bengio et al., 2009) , (Zhou & Bilmes, 2018) . The key problem in CL is to define the difficultness of each sample. For example, Basu & Christensen (2013) takes the negative distance to the boundary as the indicator for easiness in classification. However, the ad-hoc curriculum design in CL turns out to be difficult to implement in different problems.

To alleviate this issue, Kumar et al. 

THE PROPOSED CURRICULARFACE PRELIMINARY KNOWLEDGE ON LOSS FUNCTION:

The original softmax loss is formulated as follows:

EQUATION

where x i ∈ R d denotes the deep feature of i-th sample which belongs to the y i class, W j ∈ R d denotes the j-th column of the weight W ∈ R d×n and b j is the bias term. The class number and the embedding feature size are n and d, respectively. In practice, the bias is usually set to b j = 0 and the individual weight is set to ||W j || = 1 by l 2 normalization. The deep feature is also normalized and re-scaled to s. Thus, the original softmax can be modified as follows:

L = -log e s(cos θy i ) e s(cos θy i ) + n j=1,j =y i e s(cos θ j ) .

(2)

Since the learned features with original softmax loss may not be discriminative enough for open-set face recognition problem, several variants are proposed and can be formulated in a general form:

EQUATION

where p(x i ) = e sT (cos θy i ) e sT (cos θy i )+ n j=1,j =y i e sN (t,cos θ j ) is the predicted ground truth probability and G(p(x i )) is an indicator function. T (cos θ yi ) and N (t, cos θ j ) = I(t, cos θ j ) cos θ j + c are the functions to modulate the positive and negative cosine similarities, respectively, where c is a constant, and I(t, cos θ j ) denotes the modulation coefficients of negative cosine similarities. In margin-based loss function, e.g, ArcFace, G(p(x i )) = 1, T (cos θ yi ) = cos(θ yi + m), and N (t, cos θ j ) = cos θ j . It only modifies the positive cosine similarity of each sample to enhance the feature discrimination. As shown in Fig. 1 , the modulation coefficients of each sample' negative cosine similarity I(•) is fixed as 1. The recent work, SV-Arc-Softmax emphasizes hard samples by increasing I(t, cos θ j ) for hard samples. That is, G(p(x i )) = 1 and N (t, cos θj ) is formulated as follows:

N (t, cos θ j ) = cos θj, T (cos θy i ) -cos θj ≥ 0 t cos θj + t -1, T (cos θy i ) -cos θj < 0. (4)

If a sample is defined to be easy, its negative cosine similarity is kept the same as the original one, cos θ j ; if as a hard sample, its negative cosine similarity becomes t cos θ j + t -1. That is, as shown in Fig. 1 , I(•) is a constant and determined by a preset hyper-parameter t. Meanwhile, since t is always larger than 1, t cos θ j + t -1 > cos θ j always holds true, which means the model always focuses on hard samples, even in the early training stage. However, the parameter t is sensitive that a large pre-defined value (e.g., > 1.4) may lead to convergence issue.

ADAPTIVE CURRICULAR LEARNING LOSS:

Next, we present the details of our proposed adaptive curriculum learning loss, which is the first attempt to introduce adaptive curriculum learning into deep face recognition. The formulation of our loss function is also contained in the general form, where G(p(x i )) = 1, positive and negative cosine similarity functions are defined as follows:

EQUATION

N (t, cos θ j ) = cos θj, T (cos θy i ) -cos θj ≥ 0 cos θj(t + cos θj), T (cos θy i ) -cos θj < 0.

(6)

It should be noted that the positive cosine similarity can adopt any margin-based loss functions and here we adopt ArcFace as the example. As shown in Fig. 1 , the modulation coefficient of hard sample negative cosine similarity I(t, θ j ) depends on both the value of t and θ j . In the early training stage, learning from easy samples is beneficial to model convergence. Thus, t should be close to zero and I(•) is smaller than 1. Therefore, the weights of hard samples are reduced and the easy samples are emphasized relatively. As training goes on, the model gradually focuses on the hard samples, i.e., the value of t shall increase and I(•) is larger than 1. Then, the weights of hard samples are enlarged, which are thus emphasized. Moreover, within the same training stage, I(•) is monotonically decreasing with θ j so that harder sample can be assigned with larger coefficient according to its difficultness. The value of the parameter t is automatically estimated in our CurricularFace, otherwise it would require a lot of efforts for manually tuning.

Adaptive estimation of t It is critical to determine appropriate values of t in different training stages. Ideally the value of t can indicate the model training process. We empirically find the average of positive cosine similarities is a good indicator. However, mini-batch statistic-based methods usually face an issue: when many extreme data are sampled in one mini-batch, the statistics can be vastly noisy and the estimation will be unstable. Exponential Moving Average (EMA) is a common solution to address this issue (Li et al., 2019) . Specifically, let r (k) be the average of the positive cosine similarities of the k-th batch and be formulated as r (k) = i cos θ yi , we have:

EQUATION

where t 0 = 0, α is the momentum parameter and set to 0.99. As shown in Fig. 2 e s cos(θy i +m) + n j=1,j =y i e sN (t (k) ,cos θ j ) ,

EQUATION

where N (t (k) , cos θ j ) is defined in Eq. 6. The entire training process is summarized in Algorithm 1. 2) The ratio is monotonically increasing with cosθ j , since the larger cosθ j is, the harder the sample is.

Early Stage:

Later Stage

3) The positive cosine similarity of a perceptualwell image is often large. However, during the early training stage, the negative cosine similarities of the perceptual-well image may also be large so that it could be classified as the hard one.

Optimization Next, we show our CurricularFace can be easily optimized by the conventional stochastic gradient descent. Assuming x i denotes the deep feature of i-th sample which belongs to the y i class, the input of the proposed function is the logit f j , where j denotes the j-th class.

In the forwarding process, when j = y i , it is the same as the ArcFace, i.e., f j = sT (cos θ yi ), T (cos θ yi ) = cos(θ yi + m). When j = y i , it has two cases, if x i is an easy sample, it is the the same as the original softmax, i.e., f j = s cos θ j . Otherwise, it will be modulated as f j = sN (t, cos θ j ), where N (t, cos θ j ) = (t + cos θ j ) cos θ j . In the backward propagation process, the gradient of x i and W j can also be divided into three cases and formulated as follows:

EQUATION

Based on the above formulations, we can find the gradient magnitude of the hard sample is determined by two parts, the negative cosine similarity N (•) and the value of t. 

EXPERIMENTS IMPLEMENTATION DETAILS:

Datasets We separately employ CASIA-WebFace (Yi et al., 2014) and refined MS1MV2 (Deng et al., 2019) as our training data for fair comparisons with other methods. We extensively test our method on several popular benchmarks, including LFW (Huang et al., 2007) , CFP-FP (Sengupta et al., 2016) , CPLFW (Zheng et al., 2018) , AgeDB (Moschoglou et al., 2017) , CALFW (Zheng et al., 2017) , IJB-B (Whitelam et al., 2017) , IJB-C (Maze et al., 2018) , and MegaFace (Kemelmacher-Shlizerman et al., 2016) .

Training Setting We follow Deng et al. (2019) to generate the normalised faces (112 × 112) with five landmarks (Zhang et al., 2016) . For the embedding network, we adopt ResNet50 and ResNet100 as in Deng et al. (2019) . Our framework is implemented in Pytorch (Paszke et al., 2017) . We train models on 4 NVIDIA Tesla P40 (24GB) GPU with batch size 512. The models are trained with SGD algorithm, with momentum 0.9 and weight decay 5e -4. On CASIA-WebFace, the learning rate starts from 0.1 and is divided by 10 at 28, 38, 46 epochs. The training process is finished at 50 epochs. On MS1MV2, we divide the learning rate at 10, 18, 22 epochs and finish at 24 epochs. We follow the common setting as Deng et al. (2019) to set scale s = 64 and margin m = 0.5, respectively. Last but not least, since we only modify the loss function but use the same backbone as previous methods (e.g., ArcFace), NO additional time complexity is introduced for inference. 

ABLATION STUDY:

Effects on Fixed vs. Adaptive Parameter t We first investigate the effect of adaptive estimation of t. We choose four fixed values between 0 and 1 for comparison. Specifically, 0 means the modulation coefficient I(•) of each hard sample's negative cosine similarity is always reduced based on its difficultness. In contrast, 1 means the hard samples are always emphasized. 0.3 and 0.7 are between the two cases. Tab. 2 shows that it is more effective to learn from easier samples first and hard samples later based on our adaptively estimated parameter t.

Effects on Different Statistics for Estimating t We now investigate the effects of several other statistics, i.e., mode of positive cosine similarities in a mini-batch, or mean of the predicted ground truth probability for estimating t in our loss. As Tab. 3 shows, on one hand, the mean of positive cosine similarities is better than the mode. On the other hand, the positive cosine similarity is more accurate than the predicted ground truth probability to indicate the training stages.

Robustness on Training Convergence:

As claimed in Li (2019) , ArcFace exists divergence issue when using small backbones like MobileFaceNet. As the result, softmax loss must be incorporated for pre-training. To illustrate the robustness of our loss function on convergence issue with small backbone, we use the MobileFaceNet as the network architecture and train it on CASIA-WebFace.

As shown in Fig. 5 , when the margin m is set to 0.5, the model trained with our loss achieves 99.25 accuracy on LFW, while the model trained with ArcFace does not converge and the loss is NAN at about 2, 400-th step. When the margin m is set to 0.45, both losses can converge, but our loss achieves better performance (99.20% vs. 99.10%). Comparing the yellow and red curves, since the losses of hard samples are reduced in early training stages, our loss converges much faster in the beginning, leading to lower loss than ArcFace. Later on, the value of our loss is slightly larger than ArcFace, because we emphasize the hard samples in later stages. The results prove that learning from easy samples first and hard samples later is beneficial to model convergence.

COMPARISONS WITH SOTA METHODS:

Results on LFW, CFP-FP, CPLFW, AgeDB and CALFW Next, we train our CurricularFace on dataset MS1MV2 with ResNet100, and compare with the SOTA competitors on various benchmarks, including LFW for unconstrained face verification, CFP-FP and CPLFW for large pose variations, AgeDB and CALFW for age variations. As reported in Tab. 4, our CurricularFace achieves comparable result (i.e., 99.80%) with the competitors on LFW where the performance is near saturated. While for both CFP-FP and CPLFW, our method shows superiority over the baselines including general methods, e.g., (Wen et al., 2016) , (Cao et al., 2018b) , and cross-pose methods, e.g., (Tran et al., 2017) , (Peng et al., 2017) , (Cao et al., 2018a) and (Deng et al., 2018) . As a recent face recognition method, SV-Arc-Softmax achieves better performance than ArcFace, but still worse than Our Cur-ricularFace. Finally, for AgeDB and CALFW, as Tab. 4 shows, our CurricularFace again achieves the best performance than all of the other state-of-the-art methods. Results on IJB-B and IJB-C The IJB-B dataset contains 1, 845 subjects with 21.8K still images and 55K frames from 7, 011 videos. In the 1:1 verification, there are 10, 270 positive matches and 8M negative matches. The IJB-C dataset is a further extension of IJB-B, which contains about 3, 500 identities with a total of 31, 334 images and 117, 542 unconstrained video frames. In the 1:1 verification, there are 19, 557 positive matches and 15, 638, 932 negative matches. On IJB-B and IJB-C datasets, we employ MS1MV2 and the ResNet100 for a fair comparison with recent methods. We follow the testing protocol in ArcFace and take the average of the image features as the corresponding template representation without bells and whistles. Tab. 5 exhibits the performance of different methods, e.g., Multicolumn (Xie & Zisserman, 2018) , DCN (Xie et al., 2018) , Adacos (Zhang et al., 2019a) , P2SGrad (Zhang et al., 2019b) , PFE (Shi et al., 2019) and SV-Arc-Softmax (Wang et al., 2018b) on IJB-B and IJB-C 1:1 verification, our method again achieves the best performance.

Results on MegaFace Finally, we evaluate the performance on the MegaFace Challenge. The gallery set of MegaFace includes 1M images of 690K subjects, and the probe set includes 100K photos of 530 unique individuals from FaceScrub. We report the two testing results under two protocols (large or small training set). Here, we use CASIA-WebFace and MS1MV2 under the small protocol and large protocol, respectively. In Tab. 6, our method achieves the best singlemodel identification and verification performance under both protocols, surpassing the recent strong competitors, e.g., CosFace, ArcFace, Adacos, P2SGrad and PFE. We also report the results following the ArcFace testing protocol, which refines both the probe set and the gallery set. As shown from the figure in Tab. 6, our method still clearly outperforms the competitors and achieves the best performance on both verification and identification.

CONCLUSIONS:

In this paper, we propose a novel Adaptive Curriculum Learning Loss that embeds the idea of adaptive curriculum learning into deep face recognition. Our key idea is to address easy samples in the early training stage and hard ones in the later stage. Our method is easy to implement and robust to converge. Extensive experiments on popular facial benchmarks demonstrate the effectiveness of our method compared to the state-of-the-art competitors. Following the main idea of this work, future research can be expanded in various aspects, including designing a better function N (•) for negative cosine similarity that shares similar adaptive characteristic during training, and investigating the effects of noise samples that could be optimized as hard samples.

:



Figures and Tables:

Figure 1: Different training strategies for modulating negative cosine similarities of hard samples (i.e., the mis-classified sample) in ArcFace, SV-Arc-Softmax and our CurricularFace. Left: The modulation coefficients I(t, cos θj) for negative cosine similarities of hard samples in different methods, where t is an adaptively estimated parameter and θj denotes the angle between the hard sample and the non-ground truth j-class center.Right: The corresponding hard samples' negative cosine similarities N (t, cos θj) = I(t, cos θj) cos θj + c after modulation, where c indicates a constant. On one hand, during early training stage (e.g., t is close to 0), hard sample's negative cosine similarities is usually reduced and thus leads to smaller hard sample loss than the original one. Therefore, easier samples are relatively emphasized; during later training stage (e.g., t is close to 1), the hard sample's negative cosine similarities are enhanced and thus leads to larger hard sample loss. On the other hand, in the same training stage, we modulate the hard samples' negative cosine similarities with cos θj. Specifically, the smaller the angle θj is, the larger the modulation coefficient should be.

(2010)  designs a new formulation, called Self-PacedLearning (SPL), where examples with lower losses are considered to be easier and emphasized during training. The key differences between our CurricularFace with SPL are: 1) Our method focuses on easier samples in the early training stage and emphasizes hard samples in the later training stage. 2) Our method proposes a novel modulation function N (•) for negative cosine similarities, which achieves not only adaptive assignment on modulation coefficients I(•) for different samples in the same training stage, but also adaptive curriculum learning strategy in different training stages.

k) ; Update the parameter t by Eq. 7; end Output: W , Θ negative cosine similarities I(•) adaptive to the current training stage. To sum up, the loss function of our CurricularFace is formulated as follows: L = -log e s cos(θy i +m)

Figure 2: Illustrations on the adaptive parameter t (red line) and gradient modulation coefficients M (•) = 2 cos θj + t of hard samples (green area). Since the number of mined hard samples reduces with the model training, the green area M (•) is relatively smooth in early stage and there are some burrs in later stage.

Figure 3: Illustrations on (ratio between our loss and ArcFace, maximum cosθj) from early (Top) to later (Bottom) training stages.

cos θy i = cos θj SphereFace cos(mθy i ) = cos θj CosFace cos θy i -m = cos θj ArcFace cos(θy i + m) = cos θj SV-Arc-Softmax cos(θy i + m) = cos θj (easy) cos(θy i + m) = t cos θj + t -1 (hard) CurricularFace (Ours) cos(θy i + m) = cos θj (easy) cos(θy i + m) = (t + cos θj ) cos θj (hard)

DISCUSSIONS WITH SOTA LOSS FUNCTIONSComparison with ArcFace and SV-Arc-Softmax We first discuss the difference between our CurricularFace and the two competitors, ArcFace and SV-Arc-Softmax, from the perspective of the decision boundary in Tab. 1. ArcFace introduces a margin function T (cos θ yi ) = cos(θ yi + m) from the perspective of positive cosine similarity. As shown in Fig.4, its decision condition changes from cos θ yi = cos θ j (i.e., blue line) to cos(θ yi + m) = cos θ j (i.e., red line) for each sample. SV-Arc-Softmax introduces additional margin from the perspective of negative cosine similarity for hard samples, and the decision boundary becomes cos(θ yi + m) = t cos θ j + t -1 (i.e., green line). Conversely, we adaptively adjust the weights of hard samples in different training stages. The decision condition becomes cos(θ yi +m) = (t+cos θ j ) cos θ j (i.e., purple line). During the training stage, the decision boundary for hard samples changes from one purple line (early stage) to another (later stage), which emphasizes easy samples first and hard samples later.Comparison with Focal loss Focal loss is a soft mining-based loss, which is formulated as: G(p(x)) = α(1 -p(x i )) β , where α and β are modulating factors that need to be tuned manually. The definition of hard samples in Focal loss is ambiguous, since it always focuses on relatively hard samples by reducing the weight of easier samples during the entire training process. In contrast, the definition of hard samples in our CurricularFace is more clear, i.e., mis-classified samples. Meanwhile, the weights of hard samples are adaptively determined in different training stages.

Figure 4: From left to right, decision boundaries of ArcFace, SV-Arc-Softmax, and ours. Blue line, red line, green line and purple line denote the decision boundary of Softmax, ArcFace, SV-Arc-Softmax, and ours, respectively. m denotes the angular margin added by ArcFace. d denotes the additional margin of SV-Arc-Softmax and ours. In SV-Arc-Softmax, d = (t -1) cos θj + t -1. In ours, d = (t + cos θj -1) cos θj.

Figure 5: Illustration on convergence issue with small backbone.

The deep feature of i-th sample xi with its corresponding label yi, last fully-connected layer parameters W , cosine similarity cos θj between two vectors, embedding network parameters Θ, learning rate λ, number of iteration k, parameter t, and margin m k ← 0, t ← 0, m ← 0.5; while not converged do k ← k + 1; if cos(θy i + m) > cos θj then N (t, cos θj) = cos θj; else N (t, cos θj) = (t (k) + cos θj) cos θj ; end T (cos θy i ) = cos(θy i + m); Compute the loss L by Eq. 8; Compute the back-propagation error of xi and Wj by Eq. 9; Update the parameters W and Θ by:

Table content: <table/>

Decision boundaries of popular loss functions.

Table content: <table/>

Verification performance of different values of t.

Table content: <table><tr><td>Dataset (%)</td><td>t = 0</td><td>t = 0.3</td><td>t = 0.7</td><td>t = 1</td><td>Adaptive t</td></tr><tr><td>LFW</td><td>99.32</td><td>99.37</td><td>99.42</td><td>99.45</td><td>99.47</td></tr><tr><td>CFP-FP</td><td>95.90</td><td>96.47</td><td>96.66</td><td>93.94</td><td>96.96</td></tr></table>

Verification performance of different strategies for setting t.

Table content: <table><tr><td>Methods (%)</td><td>LFW</td><td>CFP-FP</td></tr><tr><td>Mode(cos θy i ) Mean(px i ) Mean(cos θy i )</td><td>99.42 99.42 99.47</td><td>96.49 95.39 96.96</td></tr></table>

Verification comparison with SOTA methods on various small-scale benchmarks.

Table content: <table><tr><td>Methods (%)</td><td>LFW</td><td>CFP-FP</td><td>CPLFW</td><td>AgeDB</td><td>CALFW</td></tr><tr><td>Center Loss (ECCV'16)</td><td>98.75</td><td>-</td><td>77.48</td><td>-</td><td>85.48</td></tr><tr><td>SphereFace (CVPR'17)</td><td>99.27</td><td>-</td><td>81.40</td><td>-</td><td>90.30</td></tr><tr><td>DRGAN (CVPR'17)</td><td>-</td><td>93.41</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Peng et al. (ICCV'17)</td><td>-</td><td>93.76</td><td>-</td><td>-</td><td>-</td></tr><tr><td>VGGFace2 (FG'18)</td><td>99.43</td><td>-</td><td>84.00</td><td>-</td><td>90.57</td></tr><tr><td>Dream (CVPR'18)</td><td>-</td><td>93.98</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Deng et al. (CVPR'18)</td><td>99.60</td><td>94.05</td><td>-</td><td>-</td><td>-</td></tr><tr><td>ArcFace (CVPR'19)</td><td>99.77</td><td>98.27</td><td>92.08</td><td>98.15</td><td>95.45</td></tr><tr><td>SV-Arc-Softmax</td><td>99.78</td><td>98.28</td><td>92.83</td><td>97.95</td><td>96.10</td></tr><tr><td>CurricularFace (Ours)</td><td>99.80</td><td>98.37</td><td>93.13</td><td>98.32</td><td>96.20</td></tr></table>

1:1 verification TAR (@FAR = 1e -4) on IJB-B and IJB-C.

Table content: <table><tr><td>Methods (%)</td><td>IJB-B</td><td>IJB-C</td></tr><tr><td>SENet50 (FG'18)</td><td>80.0</td><td>84.1</td></tr><tr><td>Multicolumn (BMVC'18)</td><td>83.1</td><td>86.2</td></tr><tr><td>DCN (ECCV'18)</td><td>84.9</td><td>88.5</td></tr><tr><td>ArcFace-R100 (CVPR'19)</td><td>94.2</td><td>95.6</td></tr><tr><td>Adacos (CVPR'19)</td><td>-</td><td>92.4</td></tr><tr><td>P2SGrad (CVPR'19)</td><td>-</td><td>92.3</td></tr><tr><td>PFE (ICCV'19)</td><td>-</td><td>93.3</td></tr><tr><td>SV-Arc-Softmax</td><td>93.6</td><td>95.2</td></tr><tr><td>CurricularFace (Ours)</td><td>94.8</td><td>96.1</td></tr></table>

Verification comparison with SOTA methods on MegaFace Challenge 1 using FaceScrub as the probe set. Left table: 'Id' refers to the rank-1 face identification accuracy with 1M distractors, and 'Ver' refers to the face verification TAR at 10 -6 FAR. 'R' refers to data refinement on both probe set and 1M distractors. Right figure: Rank-1 identification results of recent SOTA methods on probe set refined from ArcFace.

Table content: <table><tr><td>CASIA (%)</td><td>Id</td><td>Ver</td><td>MS1MV2 (%)</td><td>Id</td><td>Ver</td><td/><td/><td/><td/><td/></tr><tr><td>Contrastive Loss (CVPR'14)</td><td>65.21</td><td>78.86</td><td>CosFace-MS1MV2-R100</td><td>80.56</td><td>96.56</td><td/><td/><td/><td/><td/></tr><tr><td>Triplet (CVPR'15)</td><td>64.79</td><td>78.32</td><td>CosFace-MS1MV2-R100, R</td><td>97.91</td><td>97.91</td><td/><td/><td/><td/><td/></tr><tr><td>Center Loss (ECCV'16)</td><td>65.49</td><td>80.14</td><td>ArcFace-MS1MV2-R100</td><td>81.03</td><td>96.98</td><td/><td/><td/><td/><td/></tr><tr><td>SphereFace (CVPR'17)</td><td>72.73</td><td>85.56</td><td>ArcFace-MS1MV2-R100, R</td><td>98.35</td><td>98.48</td><td/><td/><td/><td/><td/></tr><tr><td>CosFace (CVRP'18)</td><td>77.11</td><td>89.88</td><td>PFE (ICCV'19)</td><td>78.95</td><td>92.51</td><td/><td/><td/><td/><td/></tr><tr><td>AM-Softmax (SPL'18)</td><td>72.47</td><td>84.44</td><td>Adacos, R(CVPR'19')</td><td>97.41</td><td>-</td><td/><td/><td/><td/><td/></tr><tr><td>ArcFace-CASIA-R50 (CVPR'19)</td><td>77.50</td><td>92.34</td><td>P2SGrad, R(CVPR'19')</td><td>97.25</td><td>-</td><td/><td/><td/><td/><td/></tr><tr><td>ArcFace-CASIA-R50, R</td><td>91.75</td><td>93.69</td><td>SV-Arc-Softmax, R</td><td>97.14</td><td>97.57</td><td/><td/><td/><td/><td/></tr><tr><td>Ours-CASIA-R50</td><td>77.65</td><td>92.91</td><td>Ours-MS1MV2-R100</td><td>81.26</td><td>97.26</td><td/><td/><td/><td/><td/></tr><tr><td>Ours-CASIA-R50, R</td><td>92.48</td><td>94.55</td><td>Ours-MS1MV2-R100, R</td><td>98.71</td><td>98.64</td><td>96.5</td><td>97</td><td>97.5</td><td>98</td><td>98.5</td></tr></table>



Table content: <table/>

Peer review (iclr2020):
This paper presents a new adaptive curriculum learning loss (CurricularFace) that embeds the idea of curriculum learning into the loss function to achieve a novel training strategy for deep face recognition, which mainly addresses easy samples in the early training stage and hard ones in the later stage. Experimental results on LFW, CFP-FP, CPLFW, AgeDB, CALFW, IJB-B, IJB-C, and MegaFace verified the efficacy of the proposed method. The writing is clear and the presentation is satisfactory. My concerns regarding this paper are as below. 1) What is the training computational complexity and testing time cost compared with previous works, e.g., ArcFace [Deng et al., CVPR 2019], Enforced Cross-Entropy [Zhao et al., CVPR 2018]? 2) When perform evaluations on IJB-B/C, did the authors adopt specific strategies for set-based face recognition? What are the quantitative comparisons between the proposed CurricularFace and NAN [Yang et al., CVPR 2017], MPNet [Zhao et al., IJCAI 2019]? 3) Does the proposed CurricularFace only work on face? Can it generalize to other tasks? e.g., detection, segmentation. 4) Any theoretical analysis on the choice of scale s and margin m? Based on the above comments, I decide to give the initial rate of Weak Reject for this paper, if the authors could solve my concerns in rebuttal, I would like to further adjust my rate.