<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>To Smooth or Not? When Label Smoothing Meets Noisy Labels</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>01/01/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10391572</idno>
					<idno type="doi"></idno>
					<title level='j'>International Conference on Machine Learning</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Jiaheng Wei</author><author>Hangyu Liu</author><author>Tongliang Liu</author><author>Gang Niu</author><author>Masashi Sugiyama</author><author>Yang Liu</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Label smoothing (LS) is an arising learning paradigm that uses the positively weighted average of both the hard training labels and uniformly distributed soft labels. It was shown that LS serves as a regularizer for training data with hard labels and therefore improves the generalization of the model. Later it was reported LS even helps with improving robustness when learning with noisy labels. However, we observed that the advantage of LS vanishes when we operate in a high label noise regime. Intuitively speaking, this is due to the increased entropy of ℙ(noisy label|X) when the noise rate is high, in which case, further applying LS tends to "over-smooth" the estimated posterior. We proceeded to discover that several learning-with-noisy-labels solutions in the literature instead relate more closely to negative/not label smoothing (NLS), which acts counter to LS and defines as using a negative weight to combine the hard and soft labels! We provide understandings for the properties of LS and NLS when learning with noisy labels. Among other established properties, we theoretically show NLS is considered more beneficial when the label noise rates are high. We provide extensive experimental results on multiple benchmarks to support our findings too.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Label smoothing (LS) <ref type="bibr">(Szegedy et al., 2016)</ref> is an arising learning paradigm that uses positively weighted average of both the hard training labels and the uniformly distributed 1 University of California, Santa Cruz 2 Brown University 3 TML Lab, Sydney AI Centre, The University of Sydney 4 RIKEN AIP 5 University of Tokyo. Correspondence to: Yang Liu &lt;yangliu@ucsc.edu&gt;.</p><p>Proceedings of the 39 th International Conference on Machine Learning, Baltimore, Maryland, USA, PMLR 162, 2022. Copyright 2022 by the author(s). soft label:</p><p>where we denote the one-hot vector form of hard label and an all one vector as y, 1 respectively. K is the number of label classes, and r is the smooth rate in the range of [0, 1]. It was shown that LS serves as a regularizer for the hard training data and therefore improves generalization of the model. The regularizer role of LS prevents the model from fitting overly on the target class. Empirical studies have demonstrated the effectiveness of LS in improving the model performance across various benchmarks <ref type="bibr">(Pereyra et al., 2017)</ref> (such as image classification <ref type="bibr">(Szegedy et al., 2016)</ref>, machine translation <ref type="bibr">(Vaswani et al., 2017)</ref>, language modelling <ref type="bibr">(Chorowski &amp; Jaitly, 2017</ref>)), and model calibration <ref type="bibr">(M&#252;ller et al., 2019)</ref>. Later it was reported LS even helps with improving robustness when learning with noisy labels <ref type="bibr">(Lukasik et al., 2020)</ref>. However, we observed that the advantage of LS vanishes when we operate in a high label noise regime: in Figure <ref type="figure">1</ref>, we present a set of experiments on some UCI datasets <ref type="bibr">(Dua &amp; Graff, 2017)</ref> with synthetic noisy labels. We highlight the best two smooth rates when the classifier is trained under each label noise rate. Since UCI datasets are of small scales, it is possible to have tied smooth rates when evaluating the classifier on the separate clean test data. Indeed, non-negative smooth rates (circles colored in red) outperform negative ones when the label noise rates are low. Nonetheless, with the increasing of noise rates, negative smooth rates r &lt; 0 (Eqn. (1), diamonds colored in green) appear to be more competitive when learning with noisy labels. Intuitively speaking, this is due to the increased entropy of P(noisy label|X) when the noise rate is high, in which case, further applying LS tends to "oversmooth" the estimated posterior. Motivated by this observation, we aim to provide a more thorough understanding of whether should we adopt label smoothing or not when learning with noisy labels, specifically, how to make a choice between LS and negative/not label smoothing (NLS)?</p><p>With the presence of label noise, we theoretically demonstrate that there exists a phase transition when finding the optimal label smoothing rate for r &#8712; (-&#8734;, 1]. Particularly, when the label noise rate is low, LS is able to uncover the optimal model while NLS is considered more beneficial in a high label noise regime. Discovering that NLS differs substantially from LS in their achieved model confidence, we then proceed to explain such a transition. We also bridge the gap between NLS and several learning-with-noisy-labels solutions in the literature, including Loss Correction <ref type="bibr">(Patrini et al., 2017)</ref>, NLNL <ref type="bibr">(Kim et al., 2019)</ref> and Peer Loss <ref type="bibr">(Liu &amp; Guo, 2020)</ref>, to further validate our results.</p><p>We provide extensive experimental evidences to support our findings. For instance, on multiple benchmark datasets, we present the clear transition of the optimal smoothing rate going from positive to negative when we keep increasing noise rates. In particular, we show a negative smoothing rate elicits higher model confidence on correct predictions and lower confidence on wrong predictions compared with the behavior of a positive one on CIFAR-10 test data.</p><p>Our contributions summarize as follows:</p><p>&#8226; We provide understandings for the decision between LS and NLS, when learning with noisy labels.</p><p>&#8226; We demonstrate learning with a negative smooth rate can be more robust to label noise compared with a positive rate when label noise rates are high. And this is best explained by the fact that NLS improves the confidence of model prediction. (Section 3 and 4)</p><p>&#8226; We show that several robust loss functions in the labelnoise literature correspond to learning with NLS, under certain noise rate models. (Section 5)</p><p>&#8226; Extensive empirical results validate our main theoretical conclusions. In Appendix, we discuss practical considerations to mitigate the impact of label noise, and empirically show how LS and NLS result in trade-offs in model confidence, bias and variance of the generalization error.</p><p>We defer all proofs to Appendix F. Our work primarily contributes to the literature of learning with noisy labels <ref type="bibr">(Scott et al., 2013;</ref><ref type="bibr">Natarajan et al., 2013;</ref><ref type="bibr">Liu &amp; Tao, 2015;</ref><ref type="bibr">Patrini et al., 2017;</ref><ref type="bibr">Liu &amp; Guo, 2020)</ref>. Our core results are contingent on recent works of understanding the effect of label smoothing when training deep neural network models, i.e., label smoothing improves model calibration <ref type="bibr">(M&#252;ller et al., 2019)</ref>, more complicated forms of label smoothing <ref type="bibr">(Li et al., 2020;</ref><ref type="bibr">Yuan et al., 2020)</ref>, and in particular when label noise presents <ref type="bibr">(Lukasik et al., 2020;</ref><ref type="bibr">Liu, 2021)</ref>. Due to the space limit, we defer a more detailed discussion of related works to Appendix A.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Preliminaries</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Learning with noisy labels</head><p>For a K-class classification task, we denote by X &#8712; X a high-dimensional feature and Y &#8712; Y := {1, 2, ..., K} the corresponding label. Suppose (X, Y ) &#8712; X &#215; Y are drawn from a joint distribution D. The noisy label literature <ref type="bibr">(Natarajan et al., 2013;</ref><ref type="bibr">Liu &amp; Tao, 2015;</ref><ref type="bibr">Patrini et al., 2017)</ref> considers the setting where we only have access to samples with noisy labels from (X, Y ). Suppose random variables (X, Y ) &#8712; X &#215; Y are drawn from a noisy joint distribution D. Statistically, the random variable of noisy labels Y can be characterized by a noise transition matrix T , where each element T i,j represents the probability of flipping the clean label Y = i to the noisy label Y = j, i.e., T ij = P( Y = j|Y = i). In this paper, we concentrate on the widely adopted class-dependent label noise <ref type="bibr">(Natarajan et al., 2013;</ref><ref type="bibr">Liu &amp; Tao, 2015;</ref><ref type="bibr">Patrini et al., 2017)</ref>, which assumes that the label noise is conditionally independent of features X, i.e.,</p><p>For the binary classification setting, define e 0 := P( Y = 1|Y = 0), e 1 := P( Y = 0|Y = 1). Without loss of generality, we assume e 1 -e 0 = e &#8710; &#8805; 0. The binary noise transition matrix in the noisy label setting then becomes:</p><p>1 -e 1 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Learning with smoothed labels</head><p>Let y i be the one-hot encoded vector form of y i which generates according to Y . The random variable of smoothed</p><p>To Smooth or Not? When Label Smoothing Meets Noisy Labels label Y LS,r with smooth rate r &#8712; [0, 1] generates y LS,r i as <ref type="bibr">(Szegedy et al., 2016)</ref>:</p><p>For example, when r = 0.3, the smoothed label of</p><p>To enable ease of presentations (instead of highlighting a crucial concept), we unify LS <ref type="bibr">(Szegedy et al., 2016;</ref><ref type="bibr">Lukasik et al., 2020)</ref> and NLS into the generalized label smoothing (GLS), i.e., r &#8712; (-&#8734;, 1]:</p><p>where y GLS,r i is given by the random variable of generalized smooth label Y GLS,r . We name the scenario r &lt; 0 as negative/not label smoothing (NLS). A negative r indicates that the smoothed label might be negatively related to the corresponding feature and should not be (positively) smoothed. For example, when r = -0.3, the smoothed label of</p><p>We observe that the entries in y GLS,r i still add up to 1:</p><p>Nonetheless we want to point out y GLS,r i is no longer a valid probability measure since for entries y &#824; = y i , the corresponding weight will be negative ( r K ) when r &lt; 0. This points us to the definition of an extended label distribution: Definition 2.1 (Extended label distribution). We call y an extended label distribution if 1 &#8868; y = 1, but y is not necessarily entry-wise non-negative.</p><p>What negative labels really mean Negative label smoothing is indeed one of such extended label distribution. We proceed the illustration using the previous three-class classification example: a one-hot label [1, 0, 0] &#8868; (three elements stand for class dog (0), cat (1), deer (2), respectively) means this sample x is categorized as a dog and is irrelevant to class cat and deer. LS [0.8, 0.1, 0.1] &#8868; indicates that the representation x might encode uncertainty and is slightly related to cat/deer (positive correlation between cat/deer and dog given x). NLS [1.2, -0.1, -0.1] &#8868; not only implies high confidence in label dog, but it is even more so that predicting cat (1) or deer (2) should be penalized by 0.1, i.e., given any loss &#8467; that is linear in y (e.g., CE loss), this x receives the loss</p><p>). Such a penalization mechanism is not uncommon and it appeared in the design of backward loss correction <ref type="bibr">(Natarajan et al., 2013)</ref> </p><p>is the inverse matrix of T ), peer loss <ref type="bibr">(Liu &amp; Guo, 2020)</ref> &#8467;(f (x), 0)-&#8467;(f (x), y rand ) where y rand = i with probability P( Y = i) for i &#8712; {0, 1, 2}, and complementary loss (more details in Section 5).</p><p>We will present the surprising power of negative labels in handling label noise, though a bit counter-intuitive at first sight. To clarify, although we may adopt the negative label for calculating the loss, the model prediction is processed by the soft-max function, so the prediction still lies on the K-simplex. Besides, we do not assume a strict lower bound for r. If r &#8594; -&#8734;, normalizing y GLS,r i by 1 -r returns y GLS,r i = y i -1 K . We will show when imposing a negative smoothing parameter will be considered beneficial as compared to a positive one. In the main paper, we mainly focus on the binary classification task where y i &#8712; {0, 1} and K = 2, although we do include the discussion of multi-class extensions in Section 3.4.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.">Model confidence</head><p>), the binary cross-entropy loss is then defined as &#8467; CE (f (x i ), y i ) := -log(f (x i ) yi ). Throughout this paper, we shorthand &#8467; CE as &#8467; for a clean presentation. We define a key quantity, model confidence, that plays an important role in later sections.</p><p>Definition 2.2 (Confidence of model f for sample (x, y)). Given a model f , a sample x with its target label y &#8712; {0, 1}, the model confidence of f w.r.t. sample x is defined as MC(f ; x, y) = f (x) y -f (x) 1-y . MC(f ; x, y) in Definition 2.2 characterizes the difference of the predicted probability between the target class and the other class. MC(f ; x, y) = 0 simply means f has no confidence on its predictions since the model can not identify the target class of x. MC(f ; x, y) is negative when f gives a wrong prediction and is not confident to predict the label of x as the target label y. To dig into how GLS influences the model confidence on correct and wrong predictions in following sections, we separate the distribution D into:</p><p>Similarly, we introduce the confidence of model prediction under the metric of &#8467;-loss as:</p><p>Definition 2.3 (&#8467;-based confidence of model f for sample (x, y)). Given a model f , a sample x with its target label y &#8712; {0, 1}, the &#8467;-based model confidence of f w.r.t. sample x is defined as MC &#8467; (f ; x, y) := -(&#8467;(f (x), y) -&#8467;(f (x), 1 -y)).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">To Smooth or Not? In the View of Risk Minimization</head><p>In this section, we aim to characterize the optimal candidates of r in the unified setting to distinguish the preferences for LS and NLS, when the label noise presents.</p><p>Let &#7929; be the vector form of noisy label &#7929; obtained from Y . For r &#8804; 1, we define the r-smoothed label of &#7929; as &#7929;GLS,r , where &#7929;GLS,r := (1 -r) &#8226; &#7929; + r K &#8226; 1 and is generated by the random variable Y GLS,r . Risk minimization w.r.t. smoothed noisy label distribution Y GLS,r is then defined as:</p><p>where in above F is the hypothesis space we consider. In Figure <ref type="figure">1</ref>, we have shown that given the unseen test data, learning with non-negative smooth rates may not always return the best outcome. Based on this observation, we delve into details to show when NLS is more favorable than LS and Vanilla Loss (VL, r = 0). We start with stating Assumption 3.1: Assumption 3.1. We assume learning with clean data distribution D with smooth rate r * &#8804; 1 in GLS makes the corresponding classifier f * D return the best performance on the unseen clean test data distribution D test , where f * D is given by:</p><p>Assumption 3.1 simply offers us a view to initiate our analysis for the noisy label setting. To clarify, the expected risk of random variables could be approximated/replaced by the empirical one over a finite number of samples: i.e., when</p><p>In this case, D represents the empirical distribution for the finite dataset, and Dtest can be thought of as the expected risk with infinite samples. With this being said, our analysis does require taking the expectation over the noisy labels (over Y |X, Y ). Besides, we don't rule out the possibility that other methods outperform LS, VL or NLS with optimal smooth rate r * . At the end of this section and Appendix D, we will empirically test what r * usually is on various benchmarks. We denote the r * smoothed label distribution as Y * : Y * = Y GLS,r * . With the introduction of r * and f * D , our goal is then to recover the classifier f * D using the noisy training labels. We define &#955; 1 , &#955; 2 and offer Theorem 3.2.</p><p>Theorem 3.2. The risk minimization w.r.t. Y GLS,r in the noisy setting (Eqn. (3)) is equivalent to the risk w.r.t Y * defined on the clean data, with two additional bias terms:</p><p>Remember that &#8467; = &#8467; ce , we have: MC</p><p>Both log( x 1-x ) and 2x -1 are monotonically increasing for x &#8712; (0, 1), model f with a high MC &#8467; (f ; X, Y ) has high MC(f ; X, Y ). The two extra bias terms explicitly affect the model confidence. Now we proceed to answer "what r is preferred in the noisy setting".</p><p>3.1. Symmetric noise rates with e &#8710; = 0 Symmetric noise rates e := e 0 = e 1 indicates the probability of flipping to the other class is equal for both classes. In this case, &#955; 2 = 0, Term M-Inc2 is cancelled and Eqn. (4) reduces to</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Noisy labels impair model confidence on Vanilla Loss</head><p>In the unified framework, define the optimal r that will cancel the impact of Term M-Inc1 as:</p><p>The threshold r opt in Eqn. 6 implies: Theorem 3.3. With Assumption 3.1, learning with smooth rate r = r opt under (X, Y ) &#8764; D yields f * D : &#8226; When noise rate e &lt; r * /2, r = r opt &gt; 0 (LS);</p><p>&#8226; When noise rate e = r * /2, r = 0 (VL);</p><p>&#8226; When noise rate e &gt; r * /2, r = r opt &lt; 0 (NLS).  In Theorem 3.3, adopting NLS when noise rate e &lt; r * 2 induces &#955; 1 &lt; 0, Term M-Inc1 makes f overly-confident on its predictions compared with Y * . In Figure <ref type="figure">2</ref>, with the decreasing of r * , LS is less tolerant of labels with high noise. Similarly, if e &#8805; r * 2 , with the decreasing of r * , NLS is more robust in the high noise regime while LS makes the model f become less-confident on its predictions. Clearly, NLS outperforms LS especially when noise rates are large and r * is small.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Asymmetric noise rates with e &#8710; &#824; = 0</head><p>In this case, adopting r = r * -2e0</p><p>1-2e0 removes the Term M-Inc1. However, when r &lt; 1, Term M-Inc2 is not negligible due to assymetric noise transition matrix. As a result, Term M-Inc2 becomes:</p><p>,</p><p>f . The model will then become overly-confident with the class that has a low noise rate e 0 . Meanwhile, Term M-Inc2 decreases the model confidence on (X, Y = 1) &#8764; D + f (less-confident to the class with a high noise rate e 1 ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Analysis of empirical risks</head><p>The popularity of LS is largely due to its effectiveness in practice, i.e., through the optimization of the smoothed empirical risk. Given the smooth rate r, potentially we could adopt the Rademacher bound on the maximal deviation between the expected risk R r exp (f ) (objective in Eqn. ( <ref type="formula">3</ref>)) and the empirical risk R r emp (f</p><p>) when learning with noisy labels, formally, we have: Theorem 3.4. With probability at least 1 -&#948;, we have:</p><p>where &#8467;, &#8467; denote the upper/lower bound of &#8467;, R is the Rademacher complexity.</p><p>Theorem 3.4 bridges the gap between the expected risk R r exp (f ) and the empirical risk R r emp (f ) by offering an upper bound. Intuitively, with a large sample size N and a low Rademacher complexity of the hypothesis space R(F ), R r emp (f ) is supposed to well-approximate R r exp (f ). When learning with finite samples, LS is popular by referring to its impacts on reducing the model confidence (or avoids over-fitting). NLS indeed may force model become confident on the prediction, including wrong ones. What we observe in practice is that neural nets firstly memorize on easy/clean samples <ref type="bibr">(Liu et al., 2020)</ref>, warm-up with CE and then switch to NLS significantly improves the model performance. Since in the latter stage, the model is encouraged to be more confident on learned patterns (clean samples) and less likely to over-confident on samples with wrong labels (large-loss samples). When noise rate is high, the noisy training data is already over-smoothing the training process. Think of the noisy label flipping corresponding to a certain smooth rate, and a case where a certain representation x, with its similar patterns, are sampled multiple times -then their associated noisy labels formed a smoothed distribution. In this case, applying the NLS corrects the over-smoothness.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.">Multi-class extension</head><p>As an extension to the binary classification task, we next show how Theorem 3.3 could be generalized to the multiclass setting under two broad families of noise transition model. We assume Assumption 3.1 holds in the multi-class setting. And for Y, Y &#8712; [K], we extend the definition of model confidence to multi-class classification tasks as:</p><p>Sparse noise transition matrix Sparse noise model <ref type="bibr">(Wei &amp; Liu, 2021)</ref> </p><p>2 disjoint pairs of classes (i c , j c ) to simulate the scenario where particular pairs of classes are ambiguity and misleading for human annotators. The off-diagonal element of T reads T ic,jc = e 0 , T jc,ic = e 1 . Suppose e 0 + e 1 &lt; 1, the diagonal entries become T ic,ic = 1 -e 0 , T jc,jc = 1 -e 1 . Clearly, our conclusions in Theorem 3.3 extends directly to the sparse noise transition matrix by simply splitting the K-class classification task into K 2 disjoint binary ones.</p><p>Symmetric noise transition matrix Symmetric noise model <ref type="bibr">(Kim et al., 2019</ref>) is a widely accepted synthetic noise model in the literature of learning with noisy labels. The symmetric noise model generates the noisy labels by randomly flipping the clean label to the other possible classes with probability &#1013;. &#8704;i &#824; = j, T i,j = &#1013; K-1 , and the diagonal entry is T i,i = 1 -&#1013;. Define the optimal r under the unified setting in the multi-class setting as r opt := (K-1)&#8226;r * -K&#8226;&#1013; (K-1)-K&#8226;&#1013; , Theorem 3.3 can be extended to the multi-class setting as: Theorem 3.6. Under Assumption 3.1, suppose the symmetric noise rate is not too large, i.e, &#1013; &lt; K-1 K , learning with smooth rate r = r opt under (X,</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.5.">Clean empirical risk v.s. noisy empirical risk</head><p>Now we empirically verify Theorem 3.2 under symmetric noise setting, which relates the risk in the noisy setting to the clean ones. Assume the the noise label is generated through the symmetric noise transition matrix. We name the noisy risk as E (X, Y )&#8764; D &#8467;(f (X), Y GLS,r ) , which is the objective in Eqn. (4).</p><p>We use a UCI dataset (Waveform, binary classification) for illustration where the value of r * is approximately 0. When the noise rates are 0.1, 0.2, 0.3, 0.4, the optimal smooth rate Table <ref type="table">1</ref>. Test accuracies of LS, VL, NLS on clean and noisy UCI Heart, Splice datasets, with best two smooth rates highlighted (green: NLS; red: VL or LS). We adopt the two independent sample T-test (5 non-negative smooth rates V.S. the last 5 rows of reported negative smooth rates) to verify the overall performance comparisons between VL/LS and NLS. p-value is highlighted in green if NLS generally returns a higher accuracy (i.e., t-value&lt; 0) than VL/LS, otherwise, in red. Results on more benchmark datasets are given in Appendix D. r * and r opt on CIFAR datasets <ref type="bibr">(Krizhevsky et al., 2009)</ref> When learning with a larger scale and more complex dataset, like CIFAR-10 and CIFAR-100, models are prone to converge on a local optimal solution rather than the global optimum. This phenomenon occurs frequently in NLS which ends up with performance degradation. Thus, in Table <ref type="table">3</ref> and 4, when learning with noisy labels, we report the better performance of LS and NLS between direct training and loading the same warm-up model. We observe that the performance of NLS is more competitive than LS when learning with clean data. Clearly, NLS outperforms LS in CIFAR-10 and CIFAR-100 under various synthetic noise settings. The gap is larger when the noise rates are high.</p><p>The results of two independent sample T-test<ref type="foot">foot_0</ref> further verify this conclusion. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">The Impacts on the Model Confidence</head><p>Continuing the discussion of differed model confidence in the previous section, we now empirically explore how such differences distinguish LS and NLS.</p><p>Remember that when the label is clean (e 0 = e 1 = 0), Eqn.</p><p>(3) reduces to:</p><p>.</p><p>The difference between LS and NLS lie in the weight of Term MC &#8467; (f ; X, Y ) when learning with clean labels: NLS encourages high MC &#8467; (f ; X, Y ) and MC(f ; X, Y ) while LS has an opposite effect.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Side-effects of over-confident</head><p>We adopt the generation of 2D (binary) synthetic dataset from <ref type="bibr">(Amid et al., 2019)</ref> by randomly sampling two circularly distributed classes. The inner annulus indicates one class (blue), while the outer annulus denotes the other class (red). We hold 20% data samples for performance comparison. In Figure <ref type="figure">3</ref>, the colored bands depict the different levels of prediction probabilities: light blue + orange bands indicate samples that satisfy MC &lt; 0.4 (low model confidence).</p><p>When learning with the clean data, a non-positive smooth rate may yield over-confidence on the model prediction and a relatively low test accuracy.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Label noise reduces model confidence</head><p>Recent works <ref type="bibr">(Liu, 2021;</ref><ref type="bibr">Cheng et al., 2021a)</ref> have demonstrated that with the presence of label noise, learning with noisy labels directly will eventually result in unconfident model predictions. Continuing the synthetic 2D dataset, we flip the clean labels according to a symmetric noise transition matrix with noise rate e i for both classes. With the presence of label noise in Figure <ref type="figure">4</ref>, the trained models generally become less confident on its predictions. Besides, when the smooth rate increases from negative to positive, more samples are of uncertain predictions. Thus, a smaller/negative smooth rate is beneficial when the noise rate increases by encouraging more confident predictions. The test accuracy is annotated above each plot.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.">Model confidence on CIFAR-10 test dataset</head><p>When trained on symmetric 0.2 noisy CIFAR-10 training dataset (see Figure <ref type="figure">5</ref>), with the decreasing of smooth rates (from right to left), the model confidence on correct predictions gradually approach to its maximum, while for wrong predictions, the model confidence converges to its minimum value. We observe that NLS makes the model prediction become over-confident on correct predictions and in-confident on wrong predictions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Connection to Other Robust Methods</head><p>In this section, we aim to theoretically explore the connection between NLS and popular robust methods such as backward/forward loss correction <ref type="bibr">(Natarajan et al., 2013;</ref><ref type="bibr">Patrini et al., 2017)</ref>, NLNL <ref type="bibr">(Kim et al., 2019)</ref> and peer loss <ref type="bibr">(Liu &amp; Guo, 2020)</ref>, under the unified setting. We defer the corresponding empirical verification to Appendix B. </p><p>The incurred Bias-LC controls the model confidence on (X, Y = 1) &#8764; D f . Note that when the noise rate is not substantially high, i.e., e 0 &#8712; [0, 1 2 ), &#955; LC &gt; 0. Then, compared with loss correction, NLS with smooth rate r LC makes the model f to be less confident on (X, Y = 1) &#8764; D + f and more confident on (X, Y = 1) &#8764; D - f (wrong predictions). However, the impact of term Bias-LC is diminishing when either e &#8710; &#8594; 0 (symmetric noise rates) or e 0 &#8594; 0 (low noise rates) as specified in Theorem 5.2. Theorem 5.2. Assume the noise transition matrix is symmetric, i.e., e &#8710; = 0, backward and forward loss correction are a special form of NLS with smooth rate r LC .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2.">Learning from complementary labels</head><p>Complementary labels <ref type="bibr">(Ishida et al., 2017)</ref> were firstly introduced to mitigate the cost of collecting data. Rather than encouraging the model to fit directly on the target, learning from complementary labels trains the model to not fit on the complementary label which differs from the target. Later, an indirect training method "Negative Learning" (NL) <ref type="bibr">(Kim et al., 2019)</ref> was proposed to reduce the risk of providing incorrect information with the presence of noisy labels and is robust to label noise in multi-class classification tasks. A more generic unbiased risk estimator of learning with complementary labels was proposed <ref type="bibr">(Ishida et al., 2019)</ref>, a popular case is: &#8467;</p><p>Theorem 5.3. Learning from complementary labels with &#8467; CL is equivalent to NLS with smooth rate r CL &#8594; -&#8734;:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3.">Peer loss functions</head><p>Peer loss functions <ref type="bibr">(Liu &amp; Guo, 2020)</ref> proposed a family of robust loss measures which do not require the knowledge of noise rates. The mathematical representation of peer loss functions is &#8467; PL (f (X), Y ) := &#8467;(f (X), Y ) -&#8467;(f (X 1 ), Y 2 ), where (X i , Y i ) &#8764; D. The second term of the peer loss evaluates on randomly paired data samples and labels (X 1 and Y 2 for two randomly selected samples) to punish f from overly fitting on noisy labels.</p><p>Proposition 5.4. For r PL := 2 &#8226; P( Y = 1), &#955; P L := 1 -r PL , risk minimization of peer loss is equivalent to negative label smoothing regularization with an extra term Bias-PL, i.e., min</p><p>The incurred term Bias-PL controls the model confidence on (X, Y = 1) &#8764; D and has a diminishing effect as P( Y = 1) &#8594; 1/2. Generally, the peer loss relates to the unified setting (GLS) as the negatively weighted GLS term appears to be a regularizer. Note that we have access to the P( Y = 1), we can bridge the gap by adding an estimable term Bias-PL. With some derivations, we further show in Theorem 5.5, when noisy priors are equal, the peer loss has an exact NLS form. Theorem 5.5. When the noisy labels have equal prior, i.e., P( Y = 0) = P( Y = 1), the peer loss is a special form of NLS regularization with the smooth rate r PL . Besides,</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.4.">Practical significance</head><p>In Table <ref type="table">5</ref>, we compare VL(CE), LS and NLS with several robust methods in synthetic noisy CIFAR datasets. Clearly, LS and NLS can be viewed as competitive and efficient robust loss functions which outperform Cross Entropy, Bootsrap <ref type="bibr">(Reed et al., 2014)</ref>, SCE <ref type="bibr">(Wang et al., 2019)</ref>, APL <ref type="bibr">(Ma et al., 2020)</ref> and Forward loss correction (FLC) <ref type="bibr">(Patrini et al., 2017)</ref> in most settings.</p><p>We also provide experimental results of LS and NLS on real-world human noise benchmarks: CIFAR-N <ref type="bibr">(Wei et al., 2022b)</ref> and Clothing 1M <ref type="bibr">(Xiao et al., 2015)</ref>, along with several baseline methods for comparisons, i.e., backward loss correction (BLC) <ref type="bibr">(Natarajan et al., 2013;</ref><ref type="bibr">Patrini et al., 2017)</ref>, forward loss correction (FLC) <ref type="bibr">(Patrini et al., 2017)</ref>, Peer Loss (PL) <ref type="bibr">(Liu &amp; Guo, 2020)</ref>, and F-div <ref type="bibr">(Wei &amp; Liu, 2021)</ref>. at different scenarios. The popularity of label smoothing is largely due to its simplicity and being complementary, so we expect our observations for NLS can be combined with other SOTA methods to further improve model performance in the high-noise regime. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Conclusion</head><p>In this paper, we provide understandings for whether should we adopt label smoothing or not when learning with noisy labels. We show that learning with negatively smoothed labels explicitly improves the confidence of model prediction. This key property acts as a significant role when the confidence of model prediction drops. In contrast to existing works that promote the use of positive label smoothing, we show both theoretically and empirically the advantage of a negative smooth rate when the label noise rate increases. We also bridge the gap between negative label smoothing and existing learning with noisy label solutions, which further demonstrates the importance of negative/not label smoothing. In a nutshell, our observations provide new understanding for the effects of label smoothing, especially when the training labels are imperfect. Future works include exploring the benefits of negative labels in other tasks.</p><p>&#8467;(f (X), Y GLS,r=0.5 ) which is equivalent to NLS when r &#8594; -&#8734;. Experiment results in Table <ref type="table">7</ref> on CIFAR-10 under symmetric noise settings demonstrate that the equivalent forms of GLS are robust to label noise. Explanation of the performance gap In practice, we adopt the same hyper-parameter setting as used for all other smooth rates for GLS form (VL, LS and NLS). Loss corrections will firstly warm-up with the cross-entropy loss, estimate the noise transition matrix with this pre-trained model, and then proceed to train with the backward/forward corrected loss. Peer loss functions adopt a dynamical adjustment for learning rate. The warming up, estimation error of noise transition matrix as well as the special hyper-parameter settings explain performance gaps.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Practical Consideration of LS and NLS</head><p>In the main paper, we theoretically show when we should adopt NLS and LS. In this section, we discuss more practical considerations, including the optimal smoothing parameter, how to reduce the impacts of bias terms, and multi-class extensions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.1. The optimal smoothing parameter</head><p>In practice, we don't have access to noise rates e i . Our work does not intend to particularly focus on the noise rate estimation.</p><p>For readers interested in the noise rate estimation, please refer to <ref type="bibr">(Liu &amp; Tao, 2015;</ref><ref type="bibr">Menon et al., 2015;</ref><ref type="bibr">Harish et al., 2016;</ref><ref type="bibr">Patrini et al., 2017;</ref><ref type="bibr">Yao et al., 2020b;</ref><ref type="bibr">Zhu et al., 2021c)</ref>. To estimate r opt = r * -2e 1-2e , one can simply assume r * &#8594; 0. And the noise rate e is estimable by a large family of noise estimation methods mentioned above. Our practical observations show that NLS with a CE warm-up is not sensitive to the negative smooth rate, for example, on CIFAR-10 and CIFAR-100 synthetic noisy datasets, r &lt; -1.0 frequently achieves best results (see Table <ref type="table">3</ref> in the main paper). Our current contribution focuses on understanding the generalized label smoothing, and we prefer leaving the task of identifying the optimal smooth rate to future works.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.2. Making LS and NLS more robust to label noise</head><p>There is a line of related works targeting at distinguishing clean labels from the noisy labels. Current literature in selecting clean samples from noisily labeled dataset is based on the empirical evidence that samples with noisy/wrong labels have a larger loss than clean ones. For interested readers, please refer to <ref type="bibr">(Han et al., 2018;</ref><ref type="bibr">Jiang et al., 2018;</ref><ref type="bibr">Yu et al., 2019;</ref><ref type="bibr">Yao et al., 2020a;</ref><ref type="bibr">Wei et al., 2020;</ref><ref type="bibr">Northcutt et al., 2021)</ref>. Compared with the risk minimization over the clean data distribution (X, Y ) &#8764; D, learning directly with GLS on the noisy distribution (X, Y ) &#8764; D will result in an extra term</p><p>] compared to the clean scenario. Empirically, we can estimate the bias term, perform a bias correction by subtracting the estimated bias term from the objective function in Eqn. (3).</p><p>Suppose we have access to a clean distribution D clean which consists of selected clean samples. Denote the estimated noise rates as &#234;i , when e &#8710; &#824; = 0, in order to make LS/NLS be more robust to label noise and fit on the optimal distribution Y * , we improve by performing a model confidence correction on the dominating class through:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Additional Experiment Results and Details</head><p>In this section, we include more experiment results, observations and details for learning with LS/NLS.</p><p>Generating noisy labels on synthetic datasets and UCI datasets Note that these datasets are all binary classification datasets, each label in the training and validation set is flipped to the other class with probability e, and we set e = 0.1, 0.4 for synthetic Type 1 dataset, e = 0.1, 0.3 for synthetic Type 2 dataset.</p><p>Training settings of synthetic datasets For both types of synthetic datasets, we adopted a three-layer ReLU Multi-Layer Perceptron (MLP), trained for 200 epochs with batch-size 128 and Adam <ref type="bibr">(Kingma &amp; Ba, 2014)</ref> optimizer. The initial learning rate is 0.1, and it multiplies 0.1 for every 40 epochs.</p><p>Training settings of UCI datasets <ref type="bibr">(Dua &amp; Graff, 2017)</ref> We adopted <ref type="bibr">(Liu &amp; Guo, 2020)</ref> a two-layer ReLU Multi-Layer Perceptron (MLP) for classification tasks on multiple UCI datasets, trained for 1000 episodes with batch-size 64 and Adam <ref type="bibr">(Kingma &amp; Ba, 2014)</ref> optimizer. We report the best performance for each smooth rate under a set of learning rate settings, [0.0007, 0.001, 0.005, 0.01, 0.05].</p><p>D.4. Additional experiment on r * and r opt r * and r opt on synthetic dataset We generate 2D (binary) synthetic dataset by randomly sampling two circularly distributed classes. The inner annulus indicates one class (blue), while the outer annulus denotes the other class (red). Clearly, the generated synthetic dataset is well-separable (Type 1) and we hold 20% data samples for performance comparison. The noise transition matrix takes a symmetric form with noise rate e i for both classes. To simulate the scenario where the clean data may not be perfectly separated due to a non-negligible amount of uncertainty samples clustering at the decision boundary, we flip the label of 50% samples near the intersection of two annulus to the other class (Type 2). As specified in Table <ref type="table">9</ref>, r * = [0.1, 0.4] for Type 1 data and r * = [0.0, 0.2] for Type 2 data. With the presence of label noise, the distribution of r opt shifts from non-negative ones to negative values. Even though NLS fails to outperform LS on clean data, we observe that NLS is less sensitive to noisy labels. Data with high level noise rates clearly favor NLS with a low smooth rate! r * and r opt on more UCI datasets We further test the performance of generalized label smoothing on 7 more UCI datasets (Heart, Breast 1, Breast 2, Diabetes, German, Image and Waveform). Our observation remains unchanged: there exists a general trend that with the increasing of noise rates, NLS becomes much more competitive than LS. Here, we attach the results of 4 additional UCI datasets for illustration.</p><p>Table <ref type="table">10</ref>. Test accuracy comparisons on clean and noisy UCI datasets (Image, Waveform, Heart, Banana) with best two smooth rates (green: NLS; red: CE or LS).  The noisy labels are generated by a symmetric noise transition matrix with noise rate e i = [0.1, 0.2, 0.3, 0.4]. As highlighted in Table <ref type="table">10</ref>, r opt appears with positive values when the data is clean (same as r * ) or of a low noise rate. With the increasing of noise rates, NLS becomes more competitive than LS. We color-code different noise regimes where either LS (red-ish) or NLS (green-ish) outperforms the other. Clearly, there is a separation of the favored smoothing rate for different noise scenarios (upper left &amp; low noise for LS, bottom right &amp; high noise for NLS).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Smooth Rate</head><p>r * and r opt on AGNews We next provide an additional empirical justification of Theorem 3.1. Note that when we have access to r * , Theorem 3.6 reveals what smooth rate recovers the performance on the clean data when learning with noisy labels. We adopt an NLP dataset AGNews <ref type="bibr">(Zhang et al., 2015)</ref> for illustration. In Table <ref type="table">11</ref>, we do observe that r opt achieves the best performance for most noise settings.    </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.6. Effect of LS and NLS on pre-logits</head><p>We visualise the pre-logits of a ResNet-34 for three classes on CIFAR-10. We adopt the method from <ref type="bibr">(M&#252;ller et al., 2019)</ref> which illustrates how representations differ between penultimate layers of networks trained with different smooth rates in GLS. In Figure <ref type="figure">8</ref>, NLS makes the model f be confident on her predictions and the distances between three clusters are clearly larger than those appeared in Vanilla Loss and LS. Empirical observation from <ref type="bibr">(Zhou et al., 2021)</ref> shows that the variance brought by learning with positive soft labels given by a teacher's model <ref type="bibr">(Hinton et al., 2015)</ref> is less than the direct training w.r.t hard labels. As an extension, we are interested in how LS/NLS interferes with the bias and variance of model prediction.</p><p>Bias and variance of LS/NLS on clean dataset We introduce our empirical observation regarding the role of LS/NLS in bias and variance trade-off in Figure <ref type="figure">9</ref>. We select nine smooth rates of LS/NLS for illustration. Each smooth rate setting of LS/NLS trains on the CIFAR-10 dataset for 5 times with different data augmentations. To estimate the variance and bias of pre-trained models, we adopt the implementation in <ref type="bibr">(Yang et al., 2020)</ref>. Empirical results show that learning directly with a larger positive smooth rate typically results in lower variance and higher bias. In Figure <ref type="figure">9</ref>, we can observe almost constant bias values and very low variance for NLS. This is best explained by the warm-up of pre-trained models and the fact that NLS pushes the classifier to give confident predictions. As for LS, with the increase of smooth rate, the overall bias has an increasing tendency while the variance has the decreasing pattern. Especially when the smooth rate approaches to 1, i.e., r = 0.9, the variance is close to 0.</p><p>- </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F. Omitted Proofs</head><p>We observe that NLS connects to a special case of label smoothing regularization <ref type="bibr">(Szegedy et al., 2016)</ref>. We highlight this in Theorem F.1.</p><p>Theorem F.1. &#8704;r &#8712; [0, 1], NLS with smooth rate -r is a special form of label smoothing regularization:</p><p>Before we prove Theorem F.1, we first introduce Lemma F.2.</p><p>Proof of Lemma F.2</p><p>Proof. For CE loss, due to its linear property w.r.t. the label, we directly have:</p><p>Proof of Theorem F.1</p><p>Proof. Based on Lemma F.2, with a bit of math, for NLS, we have:</p><p>To Smooth or Not? When Label Smoothing Meets Noisy Labels F.2. Proof of Theorem 3.2</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Proof.</head><p>Eqn</p><p>Proof. With the Rademacher bound on the maximal deviation between risks and empirical ones, for &#8704;f &#8712; F and with probability at least 1 -&#948;, we have:</p><p>where we define &#8467; GLS,r f (x), y GLS,r = 1-r 2 &#8226;&#8467; f (x), y + r 2 &#8226;&#8467; f (x), 1-y , and R indicates the Rademacher complexity. If &#8467; is L-Lipshitz for every y, then for any f 1 (x), f 2 (x), we have:</p><p>is also L r -Lipshitz such that for CE loss, we have:</p><p>Note that (1 -r 2 ) &#8805; r 2 so we need to concentrate on the term &#8467;(f (x), y), what is more, &#8467;(f (x), y) = &#8467;(f (x), 1 -y). We then have:</p><p>Thus we have:</p><p>Thus, we finally have:</p><p>F.4. Proof of Proposition 5.1</p><p>Proof. The risk minimization of backward correction is equivalent to:</p><p>(By Theorem 1 in <ref type="bibr">(Patrini et al., 2017</ref>))</p><p>The risk minimization of forward correction is equivalent to:</p><p>(By Theorem 2 in <ref type="bibr">(Patrini et al., 2017)</ref>)</p><p>Theorem 1 and 2 in <ref type="bibr">(Patrini et al., 2017)</ref> demonstrate that forward and backward corrected losses equal the original loss &#8467; computed on the clean data in expectation. Thus, for r LC = 2e0 2e0-1 , by Theorem 3.2 (adopt r * = 0), we have:</p><p>Thus,</p><p>Bias-LC .</p><p>F.5. Proof of Theorem 5.2</p><p>Proof. Based on Proposition 5.1, when e &#8710; = 0, &#955; LC = 0, we directly have:</p><p>F.6. Proof of Theorem 5.3</p><p>Proof. Note that</p><p>We have:</p><p>When r CL &#8594; -&#8734;, we have rCL 2-rCL &#8594; -1. Thus,</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F.7. of Proposition</head><p>Proof. Note that:</p><p>To Smooth or Not? When Label Smoothing Meets Noisy Labels</p><p>And we have:</p><p>Thus,</p><p>Thus, for r PL = 2 &#8226; P( Y = 1), &#955; PL = 1 -r PL , we have:</p><p>To Smooth or Not? When Label Smoothing Meets Noisy Labels</p><p>And we can conclude that: </p><p>When r PL &#8594; -&#8734;, we further have:</p><p>Thus, Theorem 5.5 is proved.</p><p>F.9. Proof of Theorem 3.3</p><p>Proof. Note that the optimal r that will cancel the impact of Term M-Inc1 is:</p><p>&#8226; When e &lt; r * 2 , r opt &gt; 0. In this case, learning LS with smooth rate r opt results in:</p><p>which yields f * D ;</p><p>&#8226; When e = r * 2 , r opt = 0. Learning with the Vanilla Loss yields f * D since:</p><p>&#8226; Similarly, when e &gt; r * 2 , learning NLS with r = r opt &lt; 0 yields f * D .</p><p>F.10. Proof of Theorem 3.6</p><p>Proof. Denote p i = P(Y = i) as the clean label distribution, pi = P( Y = i) as the clean label distribution. Let &#1013; &#8242; = K&#8226;&#1013; K-1 , we have:</p><p>&#8467; f (X), j</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>M-Inc1</head><p>.</p><p>Adopting r opt = r * -&#1013; &#8242; 1-&#1013; &#8242; , with a bit of math, the weight of Term M-Inc1 becomes 0 and</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>4 non-negative smooth rates V.S. the smallest 4 negative smooth rates, p-value is highlighted in green if NLS generally returns a higher accuracy (i.e., t-value&lt; 0) than VL/LS, otherwise, in red.</p></note>
		</body>
		</text>
</TEI>
