This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Dual T: Reducing Estimation Error for Transition Matrix in Label-noise Learning

Yu Yao1 Tongliang Liu1 Bo Han2
Mingming Gong3  Jiankang Deng4  Gang Niu5  Masashi Sugiyama5,6
1University of Sydney; 2Hong Kong Baptist University; 3University of Melbourne;
4Imperial College London; 5RIKEN; 6University of Tokyo
Correspondence to Tongliang Liu (tongliang.liu@sydney.edu.au).
Abstract

The transition matrix, denoting the transition relationship from clean labels to noisy labels, is essential to build statistically consistent classifiers in label-noise learning. Existing methods for estimating the transition matrix rely heavily on estimating the noisy class posterior. However, the estimation error for noisy class posterior could be large due to the randomness of label noise, which would lead the transition matrix to be poorly estimated. Therefore, in this paper, we aim to solve this problem by exploiting the divide-and-conquer paradigm. Specifically, we introduce an intermediate class to avoid directly estimating the noisy class posterior. By this intermediate class, the original transition matrix can then be factorized into the product of two easy-to-estimate transition matrices. We term the proposed method the dual-TT estimator. Both theoretical analyses and empirical results illustrate the effectiveness of the dual-TT estimator for estimating transition matrices, leading to better classification performances.

1 Introduction

Deep learning algorithms rely heavily on large annotated training samples [6]. However, it is often expensive and sometimes infeasible to annotate large datasets accurately [11]. Therefore, cheap datasets with label noise have been widely employed to train deep learning models [41]. Recent results show that label noise significantly degenerates the performance of deep learning models, as deep neural networks can easily memorize and eventually fit label noise [47, 1].

Existing methods for learning with noisy labels can be divided into two categories: algorithms with statistically inconsistent or consistent classifiers. Methods in the first category usually employ heuristics to reduce the side-effects of label noise, such as extracting reliable examples [12, 43, 44, 11, 24, 30, 14], correcting labels [23, 15, 33, 29], and adding regularization [10, 9, 36, 35, 19, 18, 37]. Although those methods empirically work well, the classifiers learned from noisy data are not guaranteed to be statistically consistent. To address this limitation, algorithms in the second category have been proposed. They aim to design classifier-consistent algorithms [45, 49, 15, 20, 26, 31, 25, 8, 27, 34, 46, 21, 42, 39], where classifiers learned by exploiting noisy data will asymptotically converge to the optimal classifiers defined on the clean domain. Intuitively, when facing large-scale noisy data, models trained via classifier-consistent algorithms will approximate to the optimal models trained with clean data.

The transition matrix T(𝒙)T(\bm{x}) plays an essential role in designing statistically consistent algorithms, where Tij(𝒙)=P(Y¯=j|Y=i,X=𝒙)T_{ij}(\bm{x})=P(\bar{Y}=j|Y=i,X=\bm{x}) and we set P(A)P(A) as the probability of the event AA, XX as the random variable of instances/features, Y¯\bar{Y} as the variable for the noisy label, and Y{Y} as the variable for the clean label. The basic idea is that the clean class posterior can be inferred by using the transition matrix and noisy class posterior (which can be estimated by using noisy data). In general, the transition matrix T(𝒙)T(\bm{x}) is unidentifiable and thus hard to learn [4, 38]. Current state-of-the-art methods [11, 10, 27, 26, 25] assume that the transition matrix is class-dependent and instance-independent, i.e., P(Y¯=j|Y=i,X=𝒙)=P(Y¯=j|Y=i)P(\bar{Y}=j|Y=i,X=\bm{x})=P(\bar{Y}=j|Y=i). Given anchor points (the data points that belong to a specific class almost surely), the class-dependent and instance-independent transition matrix is identifiable [20, 31], and it could be estimated by exploiting the noisy class posterior of anchor points [20, 27, 46] (more details can be found in Section 2). In this paper, we will focus on learning the class-dependent and instance-independent transition matrix which can be used to improve the classification accuracy of the current methods if the matrix is learned more accurately.

Refer to caption
Figure 1: Estimation errors for clean class posteriors and noisy class posteriors on synthetic data. The estimation errors are calculated as the average absolute value between the ground-truth and estimated class posteriors on 1,0001,000 randomly sampled test data points. The other details are the same as those of the synthetic experiments in Section 4.

The estimation error for the noisy class posterior is usually much larger than that of the clean class posterior, especially when the sample size is limited. An illustrative example is in Fig. 1. The rationale is that label noise are randomly generated according to a class-dependent transition matrix. Specifically, to learn the noisy class posterior, we need to fit the mapping from instances to (latent) clean labels, as well as the mapping from clean labels to noisy labels. Since the latter mapping is much more random and independent of instances, the learned mapping that fits label noise is prone to overfitting and thus will lead to a large estimation error for the noisy class posterior [47]. The error will also lead to a large estimation error for the transition matrix. As estimating the transition matrix is a bottleneck for designing consistent algorithms, the large estimation error will significantly degenerate the classification performance [38].

Motivated by this phenomenon, in this paper, to reduce the estimation error of the transition matrix, we propose the dual transition estimator (dual-TT estimator) to effectively estimate transition matrices. In a high level, by properly introducing an intermediate class, the dual-TT estimator avoids directly estimating the noisy class posterior, via factorizing the original transition matrix into two new transition matrices, which we denote as TT^{\clubsuit} and TT^{\spadesuit}. TT^{\clubsuit} represents the transition from the clean labels to the intermediate class labels and TT^{\spadesuit} the transition from the clean and intermediate class labels to the noisy labels. Note that although we are going to estimate two transition matrices rather than one, we are not transforming the original problem to a harder one. In philosophy, our idea belongs to the divide and conquer paradigm, i.e., decomposing a hard problem into simple sub-problems and composing the solutions of the sub-problems to solve the original problem. The two new transition matrices are easier to estimate than the original transition matrix, because we will show that (1) there is no estimation error for the transition matrix TT^{\clubsuit}, (2) the estimation error for the transition matrix TT^{\spadesuit} relies on predicting noisy class labels, which is much easier than learning a class posterior, as predicting labels require much less information than estimating noisy posteriors111 Because the noisy labels come from taking the argmax of the noisy posteriors, where the argmax compresses information. Thus, the noisy labels contain much less information than the noisy posterior, and predicting the noisy labels require much less information than estimating the noisy posteriors., and (3) the estimators for the two new transition matrices are easy to implement in practice. We will also theoretically prove that the two new transition matrices are easier to predict than the original transition matrix. Empirical results on several datasets and label-noise settings consistently justify the effectiveness of the dual-TT estimator on reducing the estimation error of transition matrices and boosting the classification performance.

The rest of the paper is organized as follows. In Section 2, we review the current transition matrix estimator that exploits anchor points. In Section 3, we introduce our method and analyze how it reduces the estimation error. Experimental results on both synthetic and real-world datasets are provided in Section 4. Finally, we conclude the paper in Section 5.

2 Estimating Transition Matrix for Label-noise Learning

Problem setup. Let DD be the distribution of a pair of random variables (X,Y)𝒳×{1,,C}(X,Y)\in\mathcal{X}\times\{1,\ldots,C\}, where XX denotes the variable of instances, YY the variable of labels, 𝒳\mathcal{X} the feature space, {1,,C}\{1,\ldots,C\} the label space, and CC the size of classes. In many real-world classification problems, examples independently drawn from DD are unavailable. Before being observed, their clean labels are randomly flipped into noisy labels because of, e.g., contamination [32]. Let D¯\bar{D} be the distribution of the noisy pair (X,Y¯)(X,\bar{Y}), where Y¯\bar{Y} denotes the variable of noisy labels. In label-noise learning, we only have a sample set S¯={(𝒙i,y¯i)}i=1n\bar{S}=\{(\bm{x}_{i},\bar{y}_{i})\}_{i=1}^{n} independently drawn from D¯\bar{D}. The aim is to learn a robust classifier from the noisy sample S¯\bar{S} that can assign clean labels for test instances.

Transition matrix. To build statistically consistent classifiers, which will converge to the optimal classifiers defined by using clean data, we need to introduce the concept of transition matrix T(𝒙)C×CT(\bm{x})\in\mathbb{R}^{C\times C} [25, 20, 29]. Specifically, the ijij-th entry of the transition matrix, i.e., Tij(𝒙)=P(Y¯=j|Y=i,X=𝒙)T_{ij}(\bm{x})=P(\bar{Y}=j|Y=i,X=\bm{x}), represents the probability that the instance 𝒙\bm{x} with the clean label Y=iY=i will have a noisy label Y¯=j\bar{Y}=j. The transition matrix has been widely studied to build statistically consistent classifiers, because the clean class posterior P(𝒀|𝒙)=[P(Y=1|X=𝒙),,P(Y=C|X=𝒙)]P(\bm{Y}|\bm{x})=[P(Y=1|X=\bm{x}),\ldots,P(Y=C|X=\bm{x})]^{\top} can be inferred by using the transition matrix and the noisy class posterior P(𝒀¯|𝒙)=[P(Y¯=1|X=𝒙),,P(Y¯=C|X=𝒙)]P(\bar{\bm{Y}}|\bm{x})=[P(\bar{Y}=1|X=\bm{x}),\ldots,P(\bar{Y}=C|X=\bm{x})]^{\top}, i.e., we have P(𝒀¯|𝒙)=T(𝒙)P(𝒀|𝒙)P(\bar{\bm{Y}}|\bm{x})=T(\bm{x})P({\bm{Y}}|\bm{x}). Specifically, the transition matrix has been used to modify loss functions to build risk-consistent estimators, e.g., [8, 27, 46, 38], and has been used to correct hypotheses to build classifier-consistent algorithms, e.g., [25, 31, 27]. Moreover, the state-of-the-art statically inconsistent algorithms [14, 11] also use diagonal entries of the transition matrix to help select reliable examples used for training.

As the noisy class posterior can be estimated by exploiting the noisy training data, the key step remains how to effectively estimate the transition matrix. Given only noisy data, the transition matrix is unidentifiable without any knowledge on the clean label [38]. Specifically, the transition matrix can be decomposed to product of two new transition matrices, i.e., T(𝒙)=T(𝒙)A(𝒙)T(\bm{x})=T^{\prime}(\bm{x})A(\bm{x}), and a different clean class posterior can be obtained by composing P(𝒀¯|𝒙)P(\bar{\bm{Y}}|\bm{x}) with A(𝒙)A(\bm{x}), i.e., P(𝒀|𝒙)=A(𝒙)P(𝒀|𝒙)P\textquoteright({\bm{Y}}|\bm{x})=A(\bm{x})P({\bm{Y}}|\bm{x}). Therefore, P(𝒀¯|𝒙)=T(𝒙)P(𝒀|𝒙)=T(𝒙)P(𝒀|𝒙)P(\bar{\bm{Y}}|\bm{x})=T(\bm{x})P({\bm{Y}}|\bm{x})=T\textquoteright(\bm{x})P\textquoteright({\bm{Y}}|\bm{x}) are both valid decompositions. The current state-of-the-art methods [11, 10, 27, 26, 25] then studied a special case by assuming that the transition matrix is class-dependent and instance-independent, i.e., T(𝒙)=TT(\bm{x})=T. Note that there are specific settings [7, 22, 2] where noise is independent of instances. A series of assumptions [20, 31, 28] were further proposed to identify or efficiently estimate the transition matrix by only exploiting noisy data. In this paper, we focus on estimating the class-dependent and instance-independent transition matrix which is focused by vast majority of current state-of-the-art label-noise learning algorithms [11, 10, 27, 26, 25, 14, 11]. The estimated matrix by using our method then can be seamlessly embedded into these algorithms, and the classification accuracy of the algorithms can be improved, if the transition matrix is estimated more accurate.

Transition matrix estimation. The anchor point assumption [20, 31, 38] is a widely adopted assumption to estimate the transition matrix. Anchor points are defined in the clean data domain. Formally, an instance 𝒙i𝒳\bm{x}^{i}\in\mathcal{X} is an anchor point of the ii-th clean class if P(Y=i|𝒙i)=1P(Y=i|\bm{x}^{i})=1 [20, 38]. Suppose we can assess to the the noisy class posterior and anchor points, the transition matrix can be obtained via P(Y¯=j|𝒙i)=k=1CP(Y¯=j|Y=k,𝒙i)P(Y=k|𝒙i)=P(Y¯=j|Y=i,𝒙)=TijP(\bar{Y}=j|\bm{x}^{i})=\sum_{k=1}^{C}P(\bar{Y}=j|Y=k,\bm{x}^{i})P(Y=k|\bm{x}^{i})=P(\bar{Y}=j|Y=i,\bm{x})=T_{ij}, where the second equation holds because P(Y=k|𝒙i)=1P(Y=k|\bm{x}^{i})=1 when k=ik=i and P(Y=k|𝒙i)=0P(Y=k|\bm{x}^{i})=0 otherwise. The last equation holds because the transition matrix is independent of the instance. According to the Equation, to estimate the transition matrix, we need to find anchor points and estimate the noisy class posterior, then the transition matrix can be estimated as follows,

P^(Y¯=j|𝒙i)=k=1CP^(Y¯=j|Y=k,𝒙i)P(Y=k|𝒙i)=P^(Y¯=j|Y=i,𝒙)=P^ij.\displaystyle\hat{P}(\bar{Y}=j|\bm{x}^{i})=\sum_{k=1}^{C}\hat{P}(\bar{Y}=j|Y=k,\bm{x}^{i})P(Y=k|\bm{x}^{i})=\hat{P}(\bar{Y}=j|Y=i,\bm{x})=\hat{P}_{ij}. (1)

This estimation method has been widely used [20, 27, 38] in label-noise learning and we term it the transition estimator (TT estimator).

Note that some methods assume anchor points have already been given [46]. However, this assumption could be strong for applications, where anchor points are hard to identify. It has been proven that anchor points can be learned from noisy data [20], i.e., 𝒙i=argmax𝒙P(Y¯=i|𝒙)\bm{x}^{i}=\operatorname*{arg\,max}_{\bm{x}}P(\bar{Y}=i|\bm{x}), which only holds for binary classification. The same estimator has also been employed for multi-class classification [27]. It empirically performs well but lacks theoretical guarantee. How to identify anchor points in the multi-class classification problem with theoretical guarantee remains an unsolved problem.

Eq. (1) and the above discussions on learning anchor points show that the TT estimator relies heavily on the estimation of the noisy class posterior. Unfortunately, due to the randomness of label noise, the estimation error of the noisy class posterior is usually large. As the example illustrated in Fig. 1, with the same number of training examples, the estimation error of the noisy class posterior is significantly larger than that of the clean class posterior. This motivates us to seek for an alternative estimator that avoids directly using the estimated noisy class posterior to approximate the transition matrix.

3 Reducing Estimation Error for Transition Matrix

To avoid directly using the estimated noisy class posterior to approximate the transition matrix, we propose a new estimator in this section.

3.1 dual-TT estimator

By introducing an intermediate class, the transition matrix TT can be factorized in the following way:

Tij\displaystyle T_{ij} =P(Y¯=j|Y=i)=l{1,,C}P(Y¯=j|Y=l,Y=i)P(Y=l|Y=i)\displaystyle=P(\bar{Y}=j|Y=i)=\sum_{l\in\{1,\dots,C\}}P(\bar{Y}=j|{Y}^{\prime}=l,Y=i)P({Y}^{\prime}=l|Y=i)
l{1,,C}Tlj(Y=i)Til,\displaystyle\triangleq\sum_{l\in\{1,\dots,C\}}{T}^{\spadesuit}_{lj}(Y=i){T}^{\clubsuit}_{il}~{}, (2)

where YY^{\prime} represent the random variable for the introduced intermediate class, Tlj(Y=i)=P(Y¯=j|Y=l,Y=i){T}^{\spadesuit}_{lj}(Y=i)=P(\bar{Y}=j|{Y}^{\prime}=l,Y=i), and Til=P(Y=l|Y=i){T}^{\clubsuit}_{il}=P({Y}^{\prime}=l|Y=i). Note that T{T}^{\spadesuit} and T{T}^{\clubsuit} are two transition matrices representing the transition from the clean and intermediate class labels to the noisy class labels and transition from the clean labels to the intermediate class labels, respectively.

By looking at Eq. (2), it seems we have changed an easy problem into a hard one. However, this is totally not true. Actually, we break down a problem into simple sub-problems. Combining the solutions to the sub-problems gives a solution to the original problem. Thus, in philosophy, our idea belongs to the divide and conquer paradigm. In the rest of this subsection, we will explain why it is easy to estimate the transition matrices T{T}^{\spadesuit} and T{T}^{\clubsuit}. Moreover, in the next subsection, we will theoretically compare the estimation error of the dual-TT estimator with that of the TT estimator.

It can be found that Tij=P(Y=j|Y=i){T}^{\clubsuit}_{ij}=P(Y^{\prime}=j|Y=i) has a similar form to Tij=P(Y¯=j|Y=i){T}_{ij}=P(\bar{Y}=j|Y=i). We can employ the same method that is developed for TT, i.e., the TT estimator, to estimate T{T}^{\clubsuit}. However, there seems to have two challenges: (1) it looks as if difficult to access P(𝒀|𝒙)P(\bm{Y}^{\prime}|\bm{x}); (2) we may also have an error for estimating P(𝒀|𝒙)P(\bm{Y}^{\prime}|\bm{x}). Fortunately, these two challenges can be well addressed by properly introducing the intermediate class. Specifically, we design the intermediate class YY^{\prime} in such a way that P(𝒀|𝒙)P^(𝒀¯|𝒙)P(\bm{Y}^{\prime}|\bm{x})\triangleq\hat{P}(\bar{\bm{Y}}|\bm{x}), where P^(𝒀¯|𝒙)\hat{P}(\bar{\bm{Y}}|\bm{x}) represents an estimated noisy class posterior. Note that P^(𝒀¯|𝒙)\hat{P}(\bar{\bm{Y}}|\bm{x}) can be obtained by exploiting the noisy data at hand. As we have discussed, due to the randomness of label noise, estimating TT directly will have a large estimation error especially when the noisy training sample size is limited. However, as we have access to P(𝒀|𝒙)P(\bm{Y}^{\prime}|\bm{x}) directly, according to Eq. (1), the estimation error for T{T}^{\clubsuit} is zero if anchor points are given222If the anchor points are to learn, the estimation error remains unchanged for the TT estimator and dual-TT estimator by employing 𝒙i=argmax𝒙P^(Y¯=i|𝒙)\bm{x}^{i}=\arg\max_{\bm{x}}\hat{P}(\bar{Y}=i|\bm{x})..

Although the transition matrix TT^{\spadesuit} contains three variables, i.e., the clean class, intermediate class, and noisy class, we have class labels available for two of them, i.e., the intermediate class and noisy class. Note that the intermediate class labels can be assigned by using P(𝒀|𝒙)P(\bm{Y}^{\prime}|\bm{x}). Usually, the clean class labels are not available. This motivates us to find a way to eliminate the dependence on clean class for TT^{\spadesuit}. From an information-theoretic point of view [5], if the clean class YY is less informative for the noisy class Y¯\bar{Y} than the intermediate class YY^{\prime}, in other words, given YY^{\prime}, YY contains no more information for predicting Y¯\bar{Y}, then YY is independent of Y¯\bar{Y} conditioned on YY^{\prime}, i.e.,

Tlj(Y=i)=P(Y¯=j|Y=l,Y=i)=P(Y¯=j|Y=l).T^{\spadesuit}_{lj}(Y=i)=P(\bar{Y}=j|{Y}^{\prime}=l,Y=i)=P(\bar{Y}=j|{Y}^{\prime}=l). (3)

A sufficient condition for holding the above equalities is to let the intermediate class labels be identical to noisy labels. Note that it is hard to find an intermediate class whose labels are identical to noisy labels. The mismatch will be the main factor that contributes to the estimation error for TT^{\spadesuit}. Note also that since we have labels for the noisy class and intermediate class, P(Y¯=j|Y=l)P(\bar{Y}=j|{Y}^{\prime}=l) in Eq. (3) is easy to estimate by just counting the discrete labels, and it will have a small estimation error which converges to zero exponentially fast [3].

Based on the above discussion, by factorizing the transition matrix TT into TT^{\spadesuit} and TT^{\clubsuit}, we can change the problem of estimating the noisy class posterior into the problem of fitting the noisy labels. Note that the noisy class posterior is in the range of [0,1][0,1] while the noisy class labels are in the set {1,,C}\{1,\ldots,C\}. Intuitively, learning the class labels are much easier than learning the class posteriors. In Section 4, our empirical experiments on synthetic and real-world datasets further justify this by showing a significant error gap between the estimation error of the TT estimator and dual-TT estimator.

Implementation of the dual-TT estimator. The dual-TT estimator is described in Algorithm 1. Specifically, the transition matrix TT^{\clubsuit} can be easily estimated by letting P(Y=i|𝒙)P^(Y¯=i|𝒙)P({Y}^{\prime}=i|\bm{x})\triangleq\hat{P}(\bar{Y}=i|\bm{x}) and then employing the TT estimator (see Section 2). By generating intermediate class labels, e.g., letting argmaxi{1,,C}P(Y=i|𝒙)\operatorname*{arg\,max}_{i\in\{1,\dots,C\}}P({Y}^{\prime}=i|\bm{x}) be the label for the instance 𝒙\bm{x}, the transition matrix TT^{\spadesuit} can be estimating via counting, i.e.,

T^lj=P^(Y¯=j|Y=l)=i𝟙{(argmaxkP(Y=k|𝒙i)=l)y¯i=j}i𝟙{argmaxkP(Y=k|𝒙i)=l},\displaystyle{\hat{T}^{\spadesuit}}_{lj}=\hat{P}(\bar{Y}=j|{Y}^{\prime}=l)=\frac{\sum_{i}\mathbb{1}_{\{\left(\operatorname*{arg\,max}_{k}P({Y}^{\prime}=k|\bm{x}_{i})=l\right)\land\bar{y}_{i}=j\}}}{\sum_{i}\mathbb{1}_{\{\operatorname*{arg\,max}_{k}P({Y}^{\prime}=k|\bm{x}_{i})=l\}}}, (4)

where 𝟙{A}\mathbb{1}_{\{A\}} is an indicator function which equals one when AA holds true and zero otherwise, (𝒙i,y¯i)(\bm{x}_{i},\bar{y}_{i}) are examples from the training sample StrS_{\text{tr}}, and \land represents the AND operation.

  Input: Noisy training sample StrS_{\text{tr}}; Noisy validation sample SvalS_{\text{val}}.
1:  Obtain the learned noisy class posterior, i.e., P^(𝒀¯|𝒙)\hat{P}(\bar{\bm{Y}}|\bm{x}), by exploiting training and validation sets;
2:  Let P(𝒀|𝒙)P^(𝒀¯|𝒙)P(\bm{Y}^{\prime}|\bm{x})\triangleq\hat{P}(\bar{\bm{Y}}|\bm{x}) and employ TT estimator to estimate T^\hat{T}^{\clubsuit} according to Eq. (1);
3:  Use Eq. (4) to estimate T^\hat{T}^{\spadesuit};
4:  T^=T^T^\hat{T}=\hat{T}^{\spadesuit}\hat{T}^{\clubsuit};
  Output: The estimated transition matrix T^\hat{T}.
Algorithm 1 dual-TT estimator

Many statistically consistent algorithms [8, 27, 46, 38] consist of a two-step training procedure. The first step estimates the transition matrix and the second step builds statistically consistent algorithms, for example, via modifying loss functions. Our proposed dual-TT estimator can be seamlessly embedded into their frameworks. More details can be found in Section 4.

3.2 Theoretical Analysis

In this subsection, we will justify that the estimation error could be greatly reduced if we estimate T{T}^{\spadesuit} and T{T}^{\clubsuit} rather than estimating TT directly.

As we have discussed before, the estimation error of the TT estimator is caused by estimating the noisy class posterior; the estimation error of the dual-TT estimator comes from the estimation error of TT^{\spadesuit}, i.e., fitting the noisy class labels and estimating P(Y¯|Y)P(\bar{Y}|Y^{\prime}) by counting discrete labels. Note that to eliminate the dependence on the clean label for TT^{\spadesuit}, we need to achieve P(Y=Y¯|𝒙)=1P(Y^{\prime}=\bar{Y}|\bm{x})=1. Let the estimation error for the noisy class posterior be Δ1\Delta_{1}, i.e., |P(Y¯=j|𝒙)P^(Y¯=j|𝒙)|=Δ1\left|P(\bar{Y}=j|\bm{x})-\hat{P}(\bar{Y}=j|\bm{x})\right|=\Delta_{1}. Let the estimation error for P(Y¯=j|Y=l)P(\bar{Y}=j|Y^{\prime}=l) by counting discrete labels is Δ2\Delta_{2}, i.e., |P(Y¯=j|Y=l)P^(Y¯=j|Y=l)|=Δ2|P(\bar{Y}=j|Y^{\prime}=l)-\hat{P}(\bar{Y}=j|Y^{\prime}=l)|=\Delta_{2}. Let the estimation error for fitting the noisy class labels is Δ3\Delta_{3}, i.e., |P(Y¯=j|Y=l,Y=i,𝒙)P(Y¯=j|Y=l,𝒙)|=Δ3|P(\bar{Y}=j|Y^{\prime}=l,Y=i,\bm{x})-P(\bar{Y}=j|Y^{\prime}=l,\bm{x})|=\Delta_{3}. We will show that under the following assumption, the estimation error of the dual-TT estimator is smaller than the estimation error the TT estimator.

Assumption 1.

For all 𝐱S¯\bm{x}\in\bar{S}, Δ1Δ2+Δ3\Delta_{1}\geq\Delta_{2}+\Delta_{3}.

Assumption 1 is easy to hold. Theoretically, the error Δ2\Delta_{2} involves no predefined hypothesis space, and the probability that Δ2\Delta_{2} is larger than any positive number will converge to zero exponentially fast [3]. Thus, Δ2\Delta_{2} is usually much smaller than Δ1\Delta_{1} and Δ3\Delta_{3}. We therefore focus on comparing Δ1\Delta_{1} with Δ3\Delta_{3} by ignoring Δ2\Delta_{2}. Note that when p^(Y¯|𝒙)=p(Y¯|𝒙)\hat{p}(\bar{Y}|\bm{x})=p(\bar{Y}|\bm{x}), we have Δ1=0\Delta_{1}=0; when Y=Y¯Y^{\prime}=\bar{Y}, we have Δ3=0\Delta_{3}=0. Intuitively, the error Δ3\Delta_{3} is smaller than Δ1\Delta_{1} because it is easy to obtain a small estimation error for fitting noisy class labels than that for estimating noisy class posteriors. We note that the noisy class posterior is in the continuous range of [0,1][0,1] while the noisy class labels are in the discrete set {1,,C}\{1,\ldots,C\}. For example, suppose we have an instance (𝒙,y¯)(\bm{x},\bar{y}), then, as long as the empirical posterior probability P^(Y¯=y¯|𝒙)\hat{P}(\bar{Y}=\bar{y}|\bm{x}) is greater than 1/C1/C, the noisy label will be accurately learned. However, the estimated error of the noisy class posterior probability can be up to 11/C1-1/C. We also empirically verify the relation among these errors in Appendix 2.

Theorem 1.

Under Assumption 1, the estimation error of the dual-TT estimator is smaller than the estimation error the TT estimator.

4 Experiments

We compare the transition matrix estimator error produced by the proposed dual-TT estimator and the TT estimator on both synthetic and real-world datasets. We also compare the classification accuracy of state-of-the-art label-noise learning algorithms [20, 27, 14, 11, 38, 48, 24] obtained by using the TT estimator and the dual-TT estimator, respectively. The MNIST [17], Fashion-MINIST (or F-MINIST) [40], CIFAR10, CIFAR100 [16], and Clothing1M [41] are used in the experiments. Note that as there is no estimation error for TT^{\clubsuit}, we do not need to do ablation study to show how the two new transition matrices contribute to the estimation error for transition matrix estimation.

Refer to caption
Refer to caption
Refer to caption
Figure 2: Estimation error of transition matrix on the synthetic dataset.

4.1 Transition Matrix Estimation

We compare the estimation error between our estimator and the TT estimator on both synthetic and real-world datasets with different sample size and different noise types. The synthetic dataset is created by sampling from 2 different 10-dimensional Gaussian distributions. One of the distribution has unit variance and zero mean among all dimension. Another one has unit variance and mean of two among all dimensions. The real-world image datasets used to evaluate transition matrices estimation error are MNIST [17], F-MINIST [40], CIFAR10, and CIFAR100 [16].

We conduct experiments on the commonly used noise types [11, 38]. Specifically, two representative structures of the transition matrix TT will be investigated: Symmetry flipping (Sym-ϵ\epsilon) [27]; (2) Pair flipping (Pair-ϵ\epsilon) [11]. To generate noisy datasets, we corrupt the training and validation set of each dataset according to the transition matrix TT.

Neural network classifiers are used to estimate transition matrices. For fair comparison, the same network structure is used for both estimators. Specifically, on the synthetic dataset, a two-hidden-layer network is used, and the hidden unit size is 2525; on the real-world datasets, we follow the network structures used by the state-of-the-art method [27], i.e., using a LeNet network with dropout rate 0.50.5 for MNIST, a ResNet-1818 network for F-MINIST and CIFAR10, a ResNet-3434 network for CIFAR100, and a ResNet-5050 pre-trained on ImageNet for Clothing1M. The network is trained for 100 epochs, and stochastic gradient descent (SGD) optimizer is used. The initial learning rate is 0.010.01, and it is decayed by a factor 1010 after 5050-th epoch. The estimation error is calculated by measuring the 1\ell_{1}-distance between the estimated transition matrix and the ground truth TT. The average estimation error and the standard deviation over 55 repeated experiments for the both estimators is illustrated in Fig. 2 and 3.

It is worth mention that our methodology of anchor points estimation are different from the original paper of TT estimator [27]. Specifically, the original paper [27] includes a hyper-parameter to estimate anchor points for different datsets, e.g., selecting the points with 97%97\% and 100%100\% largest estimated noisy class posteriors to be anchor points on CIFAR-10 and CIFAR-100, respectively. However, clean data or prior information is needed to estimate the value of the hyper-parameter. By contrast, we assume that we only have noisy data, then it remains unclear to select the value of the hyper-parameter. In this case, from a theoretical point of view, we discard the hyper-parameter and select the points with the largest estimated intermediate class posteriors to be the anchor points for all datasets. This estimation method has been proven to be a consistent estimation of anchor points in binary case, and it also holds for multi-class classification when the noise rate is upper bounded by a constant [4]. Note that TT estimator [27] also selects the points with the largest estimated class posteriors to be anchor points on some datasets, which is the same as ours. Comparison on those datasets could directly justify the superiority of the proposed method. In addition, to estimate the anchor points, we need to estimate the noisy class posterior. However, deep networks are likely to overfit label noise [47, 1]. To prevent overfitting, we use 20%20\% training examples for validation, and the model with the best validation accuracy is selected for estimating anchor points. The anchor points are estimated on training sets.

Fig. 2 illustrates the estimation error of the TT estimator and the dual-TT estimator on the synthetic dataset. For two different noise types and sample sizes, the estimation error of the both estimation methods tend to decrease with the increasing of the training sample size. However, the estimation error of the dual-TT estimator is continuously smaller than that of the TT estimator. Moreover, the estimation error of the dual-TT estimator is less sensitive to different noise types compared to the TT estimator. Specifically, even the TT estimator is trained with all the training examples, its estimation error on Pair-45%45\% noise is approximately doubled than that on Sym-2020 noise, which is observed by looking at the right-hand side of the estimation error curves. In contrast, when training the dual TT estimator

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 3: Transition matrix estimation error on MNIST, F-MNIST, CIFAR10, and CIFAR100. The error bar for standard deviation in each figure has been shaded. The lower the better.

with all the training examples, its estimation error on the different noise types does not significantly different, which all less than 0.10.1. Similar to the results on the synthetic dataset, the experiments on the real-world image datasets illustrated in Fig. 3 also shows that the estimation error of the dual-TT estimator is continuously smaller than that of the TT estimator except CIFAR100, which illustrates the effectiveness of the proposed dual-TT estimator. On CIFAR100, both estimators have a larger estimation error compared to the results on MNIST, F-MINIST, and CIFAR10. The dual-TT estimator outperforms the TT estimator with the large sample size. However, when the training sample size is small, the estimation error of the dual-TT estimator can be larger than that of the TT estimator. Because the numbers of images per class are too small to estimate the transition matrix TT^{\spadesuit}, leading to a large estimation error.

4.2 Classification Accuracy Evaluation

MNIST F-MNIST
Sym-20% Sym-50% Pair-45% Sym-20% Sym-50% Pair-45%
CE 95.77±0.1195.77\pm 0.11 93.99±0.2193.99\pm 0.21 90.11±0.9690.11\pm 0.96 89.70±0.1489.70\pm 0.14 87.22±0.2987.22\pm 0.29 73.94±1.4473.94\pm 1.44
Mixup 91.14±0.2891.14\pm 0.28 77.18±2.8977.18\pm 2.89 80.14±1.7480.14\pm 1.74 91.82±0.0991.82\pm 0.09 89.83±0.1189.83\pm 0.11 86.98±0.8586.98\pm 0.85
Decoupling 98.34±0.1298.34\pm 0.12 63.70±0.5263.70\pm 0.52 56.66±0.2556.66\pm 0.25 92.03±0.3792.03\pm 0.37 86.96±0.8686.96\pm 0.86 70.87±2.0070.87\pm 2.00
TT MentorNet 91.51±0.3191.51\pm 0.31 81.59±3.25\mathbf{81.59}\pm 3.25 62.10±4.1162.10\pm 4.11 87.18±0.3187.18\pm 0.31 79.32±2.08\mathbf{79.32}\pm 2.08 49.65±3.1849.65\pm 3.18
DTDT MentorNet 96.73±0.07\mathbf{96.73}\pm 0.07 78.99±0.478.99\pm 0.4 85.27±1.19\mathbf{85.27}\pm 1.19 92.93±0.07\mathbf{92.93}\pm 0.07 75.67±0.3175.67\pm 0.31 81.84±1.34\mathbf{81.84}\pm 1.34
TT Coteaching 93.41±0.1593.41\pm 0.15 84.13±2.77\mathbf{84.13}\pm 2.77 63.60±3.1063.60\pm 3.10 88.10±0.2988.10\pm 0.29 83.43±0.41\mathbf{83.43}\pm 0.41 58.18±7.0058.18\pm 7.00
DTDT Coteaching 97.52±0.07\mathbf{97.52}^{*}\pm 0.07 83.20±0.4383.20\pm 0.43 86.78±0.76\mathbf{86.78}\pm 0.76 93.90±0.06\mathbf{93.90}^{*}\pm 0.06 77.45±0.5977.45\pm 0.59 87.37±1.13\mathbf{87.37}\pm 1.13
TT Forward 96.85±0.0796.85\pm 0.07 95.22±0.1395.22\pm 0.13 94.92±0.8994.92\pm 0.89 90.99±0.1690.99\pm 0.16 88.58±0.3088.58\pm 0.30 82.50±3.4582.50\pm 3.45
DTDT Forward 97.24±0.07\mathbf{97.24}\pm 0.07 95.89±0.14\mathbf{95.89}\pm 0.14 97.24±0.10\mathbf{97.24}^{*}\pm 0.10 91.37±0.09\mathbf{91.37}\pm 0.09 89.52±0.27\mathbf{89.52}\pm 0.27 91.91±0.24\mathbf{91.91}^{*}\pm 0.24
TT Reweighting 96.80±0.0596.80\pm 0.05 95.25±0.2395.25\pm 0.23 91.50±1.2791.50\pm 1.27 90.94±0.2990.94\pm 0.29 88.82±0.5288.82\pm 0.52 80.94±3.3880.94\pm 3.38
DTDT Reweighting 97.34±0.04\mathbf{97.34}\pm 0.04 96.19±0.13\mathbf{96.19}\pm 0.13 96.62±0.21\mathbf{96.62}\pm 0.21 91.68±0.21\mathbf{91.68}\pm 0.21 90.17±0.12\mathbf{90.17}\pm 0.12 88.31±1.76\mathbf{88.31}\pm 1.76
TT Revision 96.79±0.0496.79\pm 0.04 95.26±0.2195.26\pm 0.21 91.83±1.0891.83\pm 1.08 91.20±0.1291.20\pm 0.12 88.77±0.3688.77\pm 0.36 85.26±5.2985.26\pm 5.29
DTDT Revision 97.40±0.04\mathbf{97.40}\pm 0.04 96.21±0.13\mathbf{96.21}^{*}\pm 0.13 96.71±0.12\mathbf{96.71}\pm 0.12 91.78±0.16\mathbf{91.78}\pm 0.16 90.18±0.10\mathbf{90.18}^{*}\pm 0.10 90.70±0.37\mathbf{90.70}\pm 0.37
CIFAR10 CIAR100
Sym-20% Sym-50% Pair-45% Sym-20% Sym-50% Pair-45%
CE 69.37±0.4769.37\pm 0.47 55.92±0.4455.92\pm 0.44 46.47±1.8146.47\pm 1.81 33.16±0.5633.16\pm 0.56 22.65±0.3722.65\pm 0.37 21.62±0.5821.62\pm 0.58
Mixup 80.33±0.5980.33\pm 0.59 61.10±0.2661.10\pm 0.26 58.37±2.6658.37\pm 2.66 47.79±0.9147.79\pm 0.91 30.17±0.7430.17\pm 0.74 30.34±0.7230.34\pm 0.72
Decoupling 81.63±0.3481.63\pm 0.34 57.63±0.4757.63\pm 0.47 52.30±0.1652.30\pm 0.16 48.51±0.6148.51\pm 0.61 26.01±0.4026.01\pm 0.40 33.13±0.4933.13\pm 0.49
TT MentorNet 79.00±0.2079.00\pm 0.20 31.09±3.9931.09\pm 3.99 26.19±2.2426.19\pm 2.24 50.09±0.2850.09\pm 0.28 36.66±9.1336.66\pm 9.13 20.14±0.7720.14\pm 0.77
DTDT MentorNet 88.07±0.54\mathbf{88.07}\pm 0.54 69.34±0.61\mathbf{69.34}\pm 0.61 69.31±1.90\mathbf{69.31}\pm 1.90 59.7±0.41\mathbf{59.7}\pm 0.41 37.23±5.69\mathbf{37.23}\pm 5.69 30.88±0.58\mathbf{30.88}\pm 0.58
TT Coteaching 79.47±0.2079.47\pm 0.20 39.71±3.5239.71\pm 3.52 33.96±3.2433.96\pm 3.24 50.87±0.7750.87\pm 0.77 38.09±8.6338.09\pm 8.63 24.58±0.7024.58\pm 0.70
DTDT Coteaching 90.37±0.12\mathbf{90.37}^{*}\pm 0.12 71.49±0.65\mathbf{71.49}\pm 0.65 76.51±4.97\mathbf{76.51}\pm 4.97 60.63±0.36\mathbf{60.63}^{*}\pm 0.36 38.21±5.91\mathbf{38.21}^{*}\pm 5.91 35.46±0.33\mathbf{35.46}^{*}\pm 0.33
TT Forward 75.36±0.3975.36\pm 0.39 65.32±0.5765.32\pm 0.57 54.70±3.0754.70\pm 3.07 37.45±0.5437.45\pm 0.54 27.91±1.4827.91\pm 1.48 25.10±0.7725.10\pm 0.77
DTDT Forward 78.36±0.34\mathbf{78.36}\pm 0.34 69.94±0.66\mathbf{69.94}\pm 0.66 55.75±1.53\mathbf{55.75}\pm 1.53 41.76±0.97\mathbf{41.76}\pm 0.97 32.69±0.73\mathbf{32.69}\pm 0.73 26.08±0.93\mathbf{26.08}\pm 0.93
TT Reweighting 73.28±0.4473.28\pm 0.44 64.20±0.3864.20\pm 0.38 50.19±1.1050.19\pm 1.10 38.07±0.3438.07\pm 0.34 27.26±0.5027.26\pm 0.50 25.86±0.55\mathbf{25.86}\pm 0.55
DTDT Reweighting 79.09±0.21\mathbf{79.09}\pm 0.21 73.29±0.23\mathbf{73.29}\pm 0.23 52.65±2.25\mathbf{52.65}\pm 2.25 41.04±0.72\mathbf{41.04}\pm 0.72 34.56±1.39\mathbf{34.56}\pm 1.39 25.84±0.4225.84\pm 0.42
TT Revision 75.71±0.9375.71\pm 0.93 65.66±0.4465.66\pm 0.44 75.14±2.4375.14\pm 2.43 38.25±0.2738.25\pm 0.27 27.70±0.6427.70\pm 0.64 25.74±0.4425.74\pm 0.44
DTDT Revision 80.45±0.39\mathbf{80.45}\pm 0.39 73.76±0.22\mathbf{73.76}^{*}\pm 0.22 77.72±1.80\mathbf{77.72}^{*}\pm 1.80 42.11±0.76\mathbf{42.11}\pm 0.76 35.09±1.44\mathbf{35.09}\pm 1.44 26.10±0.43\mathbf{26.10}\pm 0.43
Table 1: Classification accuracy (percentage) on MNIST, F-MNIST, CIFAR10, and CIFAR100.
CE Mixup Decoupling T(DT)T(DT) MentorNet T(DT)T(DT) Coteaching T(DT)T(DT) Forward T(DT)T(DT) Reweighting T(DT)T(DT) Revision
69.0369.03 71.2971.29 54.6354.63 57.6357.63 (60.25\mathbf{60.25}) 60.3760.37 (64.54\mathbf{64.54}) 69.9369.93 (70.17)(\mathbf{70.17}) 70.3870.38 (70.86\mathbf{70.86}) 71.0171.01 (71.49\mathbf{71.49}^{*})
Table 2: Classification accuracy (percentage) on Clothing1M.

We investigate how the estimation of the TT estimator and the dual-TT estimator will affect the classification accuracy in label-noise learning. The experiments are conducted on MNIST, F-MINIST, CIFAR10, CIFAR100, and Clothing1M. The classification accuracy are reported in Table 1 and Table 2. Eight popular baselines are selected for comparison, i.e., Coteaching [11], and MentorNet [14] which use diagonal entries of the transition matrix to help selecting reliable examples used for training; Forward [27], and Revision [38], which use the transition matrix to correct hypotheses; Reweighting [20], which uses the transition matrix to build risk-consistent algorithms. There are three baselines without requiring any knowledge of the transition matrix, i.e., CE, which trains a network on the noisy sample directly by using cross entropy loss; Decoupling [24], which trains two networks and updates the parameters only using the examples which have different prediction from two classifiers; Mixup [48] which reduces the memorization of corrupt labels by using linear interpolation to feature-target pairs. The estimation of the TT estimator and the dual-TT estimator are both applied to the baselines which rely on the transition matrix. The baselines using the estimation of TT estimator are called TT Coteaching, TT MentorNet, TT Forward, TT Revision, and TT Reweighting. The baselines using estimation of dual-TT estimator are called DTDT Coteaching, DTDT MentorNet, DTDT Forward, DTDT Revision, and DTDT Reweighting.

The settings of our experiments may be different from the original paper, thus the reported accuracy can be different. For instance, in the original paper of Coteaching [11], the noise rate is given, and all data are used for training. In contrast, we assume the noise rate is unknown and needed to be estimated. We only use 80%80\% data for training, since 20%20\% data are leaved out as the validation set for transition matrix estimation. In the original paper of TT revision [38], the experiments on Clothing1M use clean data for validation. In contrast, we only use noisy data for validation.

In Table 1 and Table 2, we bold the better classification accuracy produced by the baseline methods integrated with the TT estimator or the dual-TT estimator. The best classification accuracy among all the methods in each column is highlighted with *. The tables show the classification accuracy of all the methods by using our estimation is better than using that of the TT estimator for most of the experiments. It is because that the dual-TT estimator leads to a smaller estimation error than the TT estimator when training with large sample size, which can be observed at the right-hand side of the estimation error curves in Fig. 3. The baselines with the most significant improvement by using our estimation are Coteaching and MentorNet. DTDT Coteaching outperforms all the other methods under Sym-20%20\% noise. On Clothing1M dataset, DTDT revision has the best classification accuracy. The experiments on the real-world datasets not only show the effectiveness of the dual-TT estimator for improving the classification accuracy of the current noisy learning algorithms, but also reflect the importance of the transition matrix estimation in label-noise learning.

5 Conclusion

The transition matrix TT plays an important role in label-noise learning. In this paper, to avoid the large estimation error of the noisy class posterior leading to the poorly estimated transition matrix, we have proposed a new transition matrix estimator named dual-TT estimator. The new estimator estimates the transition matrix by exploiting the divide-and-conquer paradigm, i.e., factorizes the original transition matrix into the product of two easy-to-estimate transition matrices by introducing an intermediate class state. Both theoretical analysis and experiments on both synthetic and real-world label noise data show that our estimator reduces the estimation error of the transition matrix, which leads to a better classification accuracy for the current label-noise learning algorithms.

Broader Impact

In the era of big data, it is expensive to expert-labeling each instance on a large scale. To reduce the annotation cost of the large datasets, non-expert labelers or automated annotation methods are widely used to annotate the datasets especially for startups and non-profit organizations which need to be thrifty. However, these cheap annotation methods are likely to introduce label-noise to the datasets, which put threats to the traditional supervised learning algorithm, and label-noise learning algorithms, therefore, become more and more popular.

The transition matrix which contains knowledge of the noise rates is essential to building the classifier-consistent label-noise learning algorithms. The classification accuracy of the state-of-the-art label-noise learning applications are usually positively correlated to the estimation accuracy of the transition matrix. The proposed method is to estimate the transition matrix of noisy datasets. We have shown that our method usually leads to a better estimation compared to the current estimator and improves the classification accuracy of current label-noise learning applications. Therefore, outcomes of this research including improving the accuracy, robustness, accountability of the current label-noise learning applications, which should benefit science, society, and economy internationally. Potentially, our method may have a negative impact on the job of annotators.

Because the classification accuracy of the label-noise learning applications is usually positively correlated to the estimation accuracy of the transition matrix. Therefore, the failure of our method may lead to a degenerating of the performance of the label-noise learning applications.

The proposed method does not leverage biases in the data.

Acknowledgments

TL was supported by Australian Research Council Project DE-190101473. BH was supported by the RGC Early Career Scheme No. 22200720, NSFC Young Scientists Fund No. 62006202, HKBU Tier-1 Start-up Grant and HKBU CSD Start-up Grant. GN and MS were supported by JST AIP Acceleration Research Grant Number JPMJCR20U3, Japan. The authors thank the reviewers and the meta-reviewer for their helpful and constructive comments on this work.

References

  • Arpit et al. [2017] Devansh Arpit, Stanisław Jastrzębski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. In ICML, pages 233–242. JMLR. org, 2017.
  • Bao et al. [2018] Han Bao, Gang Niu, and Masashi Sugiyama. Classification from pairwise similarity and unlabeled data. In ICML, pages 452–461, 2018.
  • Boucheron et al. [2013] Stéphane Boucheron, Gábor Lugosi, and Pascal Massart. Concentration inequalities: A nonasymptotic theory of independence. Oxford university press, 2013.
  • Cheng et al. [2020] Jiacheng Cheng, Tongliang Liu, Kotagiri Ramamohanarao, and Dacheng Tao. Learning with bounded instance-and label-dependent label noise. In ICML, 2020.
  • Csiszár et al. [2004] Imre Csiszár, Paul C Shields, et al. Information theory and statistics: A tutorial. Foundations and Trends® in Communications and Information Theory, 1(4):417–528, 2004.
  • Daniely and Granot [2019] Amit Daniely and Elad Granot. Generalization bounds for neural networks via approximate description length. In NeurIPS, pages 12988–12996, 2019.
  • Elkan and Noto [2008] Charles Elkan and Keith Noto. Learning classifiers from only positive and unlabeled data. In SIGKDD, pages 213–220, 2008.
  • Goldberger and Ben-Reuven [2017] Jacob Goldberger and Ehud Ben-Reuven. Training deep neural-networks using a noise adaptation layer. In ICLR, 2017.
  • Guo et al. [2018] Sheng Guo, Weilin Huang, Haozhi Zhang, Chenfan Zhuang, Dengke Dong, Matthew R Scott, and Dinglong Huang. Curriculumnet: Weakly supervised learning from large-scale web images. In ECCV, pages 135–150, 2018.
  • Han et al. [2018a] Bo Han, Jiangchao Yao, Gang Niu, Mingyuan Zhou, Ivor Tsang, Ya Zhang, and Masashi Sugiyama. Masking: A new perspective of noisy supervision. In NeurIPS, pages 5836–5846, 2018a.
  • Han et al. [2018b] Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In NeurIPS, pages 8527–8537, 2018b.
  • Han et al. [2020] Bo Han, Gang Niu, Xingrui Yu, Quanming Yao, Miao Xu, Ivor W Tsang, and Masashi Sugiyama. Sigua: Forgetting may make learning with noisy labels more robust. ICML, 2020.
  • He et al. [2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, pages 770–778, 2016.
  • Jiang et al. [2018] Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li, and Li Fei-Fei. MentorNet: Learning data-driven curriculum for very deep neural networks on corrupted labels. In ICML, pages 2309–2318, 2018.
  • Kremer et al. [2018] Jan Kremer, Fei Sha, and Christian Igel. Robust active label correction. In AISTATS, pages 308–316, 2018.
  • Krizhevsky et al. [2009] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
  • LeCun et al. [2010] Yann LeCun, Corinna Cortes, and CJ Burges. Mnist handwritten digit database. ATT Labs [Online]. Available: http://yann. lecun. com/exdb/mnist, 2, 2010.
  • Li et al. [2020] Mingchen Li, Mahdi Soltanolkotabi, and Samet Oymak. Gradient descent with early stopping is provably robust to label noise for overparameterized neural networks. In AISTATS, 2020.
  • Li et al. [2017] Yuncheng Li, Jianchao Yang, Yale Song, Liangliang Cao, Jiebo Luo, and Li-Jia Li. Learning from noisy labels with distillation. In ICCV, pages 1910–1918, 2017.
  • Liu and Tao [2016] Tongliang Liu and Dacheng Tao. Classification with noisy labels by importance reweighting. IEEE Transactions on pattern analysis and machine intelligence, 38(3):447–461, 2016.
  • Liu and Guo [2019] Yang Liu and Hongyi Guo. Peer loss functions: Learning from noisy labels without knowing noise rates. arXiv preprint arXiv:1910.03231, 2019.
  • Lu et al. [2018] Nan Lu, Gang Niu, Aditya Krishna Menon, and Masashi Sugiyama. On the minimal supervision for training any binary classifier from only unlabeled data. In ICLR, 2018.
  • Ma et al. [2018] Xingjun Ma, Yisen Wang, Michael E Houle, Shuo Zhou, Sarah M Erfani, Shu-Tao Xia, Sudanthi Wijewickrema, and James Bailey. Dimensionality-driven learning with noisy labels. In ICML, pages 3361–3370, 2018.
  • Malach and Shalev-Shwartz [2017] Eran Malach and Shai Shalev-Shwartz. Decoupling" when to update" from" how to update". In NeurIPS, pages 960–970, 2017.
  • Natarajan et al. [2013] Nagarajan Natarajan, Inderjit S Dhillon, Pradeep K Ravikumar, and Ambuj Tewari. Learning with noisy labels. In NeurIPS, pages 1196–1204, 2013.
  • Northcutt et al. [2017] Curtis G Northcutt, Tailin Wu, and Isaac L Chuang. Learning with confident examples: Rank pruning for robust classification with noisy labels. In UAI, 2017.
  • Patrini et al. [2017] Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pages 1944–1952, 2017.
  • Ramaswamy et al. [2016] Harish Ramaswamy, Clayton Scott, and Ambuj Tewari. Mixture proportion estimation via kernel embeddings of distributions. In ICML, pages 2052–2060, 2016.
  • Reed et al. [2014] Scott E Reed, Honglak Lee, Dragomir Anguelov, Christian Szegedy, Dumitru Erhan, and Andrew Rabinovich. Training deep neural networks on noisy labels with bootstrapping. CoRR, 2014.
  • Ren et al. [2018] Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. In ICML, pages 4331–4340, 2018.
  • Scott [2015] Clayton Scott. A rate of convergence for mixture proportion estimation, with application to learning from noisy labels. In Artificial Intelligence and Statistics, pages 838–846, 2015.
  • Scott et al. [2013] Clayton Scott, Gilles Blanchard, and Gregory Handy. Classification with asymmetric label noise: Consistency and maximal denoising. In Conference On Learning Theory, pages 489–511, 2013.
  • Tanaka et al. [2018] Daiki Tanaka, Daiki Ikami, Toshihiko Yamasaki, and Kiyoharu Aizawa. Joint optimization framework for learning with noisy labels. In CVPR, pages 5552–5560, 2018.
  • Thekumparampil et al. [2018] Kiran K Thekumparampil, Ashish Khetan, Zinan Lin, and Sewoong Oh. Robustness of conditional gans to noisy labels. In NeurIPS, pages 10271–10282, 2018.
  • Vahdat [2017] Arash Vahdat. Toward robustness against label noise in training deep discriminative neural networks. In NeurIPS, pages 5596–5605, 2017.
  • Veit et al. [2017] Andreas Veit, Neil Alldrin, Gal Chechik, Ivan Krasin, Abhinav Gupta, and Serge Belongie. Learning from noisy large-scale datasets with minimal supervision. In CVPR, pages 839–847, 2017.
  • Wu et al. [2020] Songhua Wu, Xiaobo Xia, Tongliang Liu, Bo Han, Mingming Gong, Nannan Wang, Haifeng Liu, and Gang Niu. Class2simi: A new perspective on learning with label noise. arXiv preprint arXiv:2006.07831, 2020.
  • Xia et al. [2019] Xiaobo Xia, Tongliang Liu, Nannan Wang, Bo Han, Chen Gong, Gang Niu, and Masashi Sugiyama. Are anchor points really indispensable in label-noise learning? In NeurIPS, pages 6835–6846, 2019.
  • Xia et al. [2020] Xiaobo Xia, Tongliang Liu, Bo Han, Nannan Wang, Mingming Gong, Haifeng Liu, Gang Niu, Dacheng Tao, and Masashi Sugiyama. Parts-dependent label noise: Towards instance-dependent label noise. In NeurIPS, 2020.
  • Xiao et al. [2017] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
  • Xiao et al. [2015] Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In CVPR, pages 2691–2699, 2015.
  • Xu et al. [2019] Yilun Xu, Peng Cao, Yuqing Kong, and Yizhou Wang. L_dmi: A novel information-theoretic loss function for training deep nets robust to label noise. In NeurIPS, pages 6222–6233, 2019.
  • Yao et al. [2020] Quanming Yao, Hansi Yang, Bo Han, Gang Niu, and J Kwok. Searching to exploit memorization effect in learning with noisy labels. In Proceedings of the 37th International Conference on Machine Learning, ICML, volume 20, 2020.
  • Yu et al. [2019] Xingrui Yu, Bo Han, Jiangchao Yao, Gang Niu, Ivor W Tsang, and Masashi Sugiyama. How does disagreement help generalization against label corruption? ICML, 2019.
  • Yu et al. [2017] Xiyu Yu, Tongliang Liu, Mingming Gong, Kun Zhang, Kayhan Batmanghelich, and Dacheng Tao. Transfer learning with label noise. arXiv preprint arXiv:1707.09724, 2017.
  • Yu et al. [2018] Xiyu Yu, Tongliang Liu, Mingming Gong, and Dacheng Tao. Learning with biased complementary labels. In ECCV, pages 68–83, 2018.
  • Zhang et al. [2017] Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In ICLR, 2017.
  • Zhang et al. [2018] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In ICLR, 2018.
  • Zhang and Sabuncu [2018] Zhilu Zhang and Mert Sabuncu. Generalized cross entropy loss for training deep neural networks with noisy labels. In NeurIPS, pages 8778–8788, 2018.

Appendix

Proof of Theorem 1

Proof.

According to Eq. (1) in the main paper, the estimation error for the TT estimator is

ϵT=i,j|TijT^ij|=i,j|P(Y¯=j|X=𝒙i)P^(Y¯=j|X=𝒙i)|.\epsilon_{T}=\sum_{i,j}\left|T_{ij}-\hat{T}_{ij}\right|=\sum_{i,j}\left|P(\bar{Y}=j|X=\bm{x}^{i})-\hat{P}(\bar{Y}=j|X=\bm{x}^{i})\right|. (5)

As we have assumed, for all instance 𝒙𝒳\bm{x}\in\mathcal{X}, for all j{1,,C}j\in\{1,\ldots,C\},

|P(Y¯=j|X=𝒙)P^(Y¯=j|X=𝒙)|=Δ1.\left|P(\bar{Y}=j|X=\bm{x})-\hat{P}(\bar{Y}=j|X=\bm{x})\right|=\Delta_{1}. (6)

Then, we have

ϵT=C2Δ1.\displaystyle\epsilon_{T}=C^{2}\Delta_{1}. (7)

The estimation error for the i,ji,j-the entry of the dual-TT estimator is

|lP(Y¯=j|Y=l,Y=i)P(Y=l|Y=i)\displaystyle\left|\sum_{l}P(\bar{Y}=j|Y^{\prime}=l,Y=i)P(Y^{\prime}=l|Y=i)\right.
lP^(Y¯=j|Y=l)P(Y=l|Y=i)|\displaystyle\left.-\sum_{l}\hat{P}(\bar{Y}=j|Y^{\prime}=l)P(Y^{\prime}=l|Y=i)\right| (8)
=l|P(Y¯=j|Y=l,Y=i)P^(Y¯=j|Y=l)|P(Y=l|Y=i),\displaystyle=\sum_{l}\left|P(\bar{Y}=j|Y^{\prime}=l,Y=i)-\hat{P}(\bar{Y}=j|Y^{\prime}=l)\right|P(Y^{\prime}=l|Y=i),

where the first equation holds because there is no estimation error for the transition matrix denoting the transition from the clean class to the intermediate class (as we have discussed in Section 3.1). The estimation error for the dual-TT estimator comes from the estimation error for fitting the noisy class labels (to eliminate the dependence on the clean label) and the estimation error for P(Y¯=j|Y=l)P(\bar{Y}=j|Y^{\prime}=l) by counting discrete labels.

We have assumed that the estimation error for P(Y¯=j|Y=l)P(\bar{Y}=j|Y^{\prime}=l) is Δ2\Delta_{2}, i.e., |P(Y¯=j|Y=l)P^(Y¯=j|Y=l)|=Δ2|P(\bar{Y}=j|Y^{\prime}=l)-\hat{P}(\bar{Y}=j|Y^{\prime}=l)|=\Delta_{2}. Note that, to eliminate the dependence on the clean label for TT^{\spadesuit}, a sufficient condition is to let the intermediate class labels and the noisy labels be identical. If they are not identical, an error Δ3\Delta_{3} might be introduced, i.e., |P(Y¯=j|Y=l,Y=i,𝒙)P(Y¯=j|Y=l,𝒙)|=Δ3|P(\bar{Y}=j|Y^{\prime}=l,Y=i,\bm{x})-P(\bar{Y}=j|Y^{\prime}=l,\bm{x})|=\Delta_{3}. We have

|P(Y¯=j|Y=l,Y=i)P^(Y¯=j|Y=l)|\displaystyle\left|P(\bar{Y}=j|Y^{\prime}=l,Y=i)-\hat{P}(\bar{Y}=j|Y^{\prime}=l)\right|
=\displaystyle= |P(Y¯=j|Y=l,Y=i)P(Y¯=j|Y=l)+P(Y¯=j|Y=l)P^(Y¯=j|Y=l)|\displaystyle\left|P(\bar{Y}=j|Y^{\prime}=l,Y=i)-P(\bar{Y}=j|Y^{\prime}=l)+P(\bar{Y}=j|Y^{\prime}=l)-\hat{P}(\bar{Y}=j|Y^{\prime}=l)\right|
=\displaystyle= |±Δ3+P(Y¯=j|Y=l)P^(Y¯=j|Y=l)|\displaystyle\left|\pm\Delta_{3}+P(\bar{Y}=j|Y^{\prime}=l)-\hat{P}(\bar{Y}=j|Y^{\prime}=l)\right|
\displaystyle\leq Δ3+|P(Y¯=j|Y=l)P^(Y¯=j|Y=l)|\displaystyle\Delta_{3}+\left|P(\bar{Y}=j|Y^{\prime}=l)-\hat{P}(\bar{Y}=j|Y^{\prime}=l)\right|
\displaystyle\leq Δ2+Δ3.\displaystyle\Delta_{2}+\Delta_{3}.

Hence, the estimation error of T{{T}^{\spadesuit}} is

ϵDT\displaystyle\epsilon_{DT} =i,j,l|P(Y¯=j|Y=l,Y=i)P^(Y¯=j|Y=l)|P(Y=l|Y=i)\displaystyle=\sum_{i,j,l}\left|P(\bar{Y}=j|Y^{\prime}=l,Y=i)-\hat{P}(\bar{Y}=j|Y^{\prime}=l)\right|P(Y^{\prime}=l|Y=i)
<i,jl(Δ2+Δ3)P(Y=l|Y=i)\displaystyle<\sum_{i,j}\sum_{l}(\Delta_{2}+\Delta_{3})P(Y^{\prime}=l|Y=i)
=i,j(Δ2+Δ3)=C2(Δ2+Δ3).\displaystyle=\sum_{i,j}(\Delta_{2}+\Delta_{3})=C^{2}(\Delta_{2}+\Delta_{3}). (9)

Therefore, under Assumption 1 in the main paper, the estimation error ϵDT\epsilon_{DT} of the dual-TT estimator is smaller than the estimation error ϵT\epsilon_{T} the TT estimator. ∎

Empirical Validation of Assumption 1

We empirically verify the relations among the three different errors in Assumption 1 on different type of classifiers. Note that Δ1\Delta_{1} is the estimation error for the noisy class posterior, i.e., Δ1=|P(Y¯=j|𝒙)P^(Y¯=j|𝒙)|\Delta_{1}=\left|P(\bar{Y}=j|\bm{x})-\hat{P}(\bar{Y}=j|\bm{x})\right|; Δ2\Delta_{2} is the estimation error for counting discrete labels, i.e., |P(Y¯=j|Y=l)P^(Y¯=j|Y=l)|=Δ2|P(\bar{Y}=j|Y^{\prime}=l)-\hat{P}(\bar{Y}=j|Y^{\prime}=l)|=\Delta_{2}; Δ3\Delta_{3} is the estimation error for fitting the noisy class labels, i.e., |P(Y¯=j|Y=l,Y=i,𝒙)P(Y¯=j|Y=l,𝒙)|=Δ3|P(\bar{Y}=j|Y^{\prime}=l,Y=i,\bm{x})-P(\bar{Y}=j|Y^{\prime}=l,\bm{x})|=\Delta_{3}.

The experiments are conducted on the synthetic dataset, and setting is same as those of the synthetic experiments in Section 44. The three errors are calculated on the training set, since both the TT estimator and the dual-TT estimator estimates the transition matrix on the training set. We employ a 1616-layer neural network with short cut connection [13] for feature extraction. Then the extracted features are passed to a linear classifier by employing cross entropy loss and a logistic regression classifier by employing logistics loss, respectively.

Refer to caption
Refer to caption
Refer to caption
Figure 4: The relations among Δ1\Delta_{1}, Δ2\Delta_{2} and Δ3\Delta_{3} by employing logistic loss function.
Refer to caption
Refer to caption
Refer to caption
Figure 5: The relations among Δ1\Delta_{1}, Δ2\Delta_{2} and Δ3\Delta_{3} by employing cross entropy loss.

Both Figure 4 and Figure 5 show that the error Δ2\Delta_{2} is very small and can be ignored. Δ3\Delta_{3} is continuously smaller than Δ1\Delta_{1} when the sample size is small. The recent work [6] shows that the sample complex of the network is linear in the number of parameters, which means that, usually, we may not have enough training examples to learn the noisy class posterior well (e.g., CIFAR10, CIFAR100, and Fashion-MNIST), and Assumption 1 can be easily satisfied. It is also worth to mention that, even Assumption 1 does not hold, the estimation error of the dual-TT estimator may also be smaller than the TT estimator. Specifically, the error ϵDT\epsilon_{DT} of the proposed estimator is upper bounded by C2(Δ2+Δ3)C^{2}(\Delta_{2}+\Delta_{3}). Generally, the increasing of the upper bound C2(Δ2+Δ3)C^{2}(\Delta_{2}+\Delta_{3}) does not imply the increasing of the error ϵDT\epsilon_{DT}. Figure 4 and Figure 5 also show that different types of the classifiers have different capabilities to fit the noisy labels. Specifically, the linear classifier has smaller error Δ3\Delta_{3} on pair flipping 45%45\% compared to that on symmetry flipping 20%20\%, by contrast, the logistic regression classifier has larger error Δ3\Delta_{3} on pair flipping 45%45\% compared to that on symmetry flipping 20%20\%.