Semi-Supervised AUC Optimization based on Positive-Unlabeled Learning
Tomoya Sakai, Gang Niu, Masashi Sugiyama

TL;DR
This paper introduces a semi-supervised AUC optimization method that effectively utilizes positive and unlabeled data without relying on strong distributional assumptions, improving performance in imbalanced classification tasks.
Contribution
The paper proposes a novel PU-AUC method and extends it to semi-supervised learning, removing restrictive assumptions and proving unlabeled data's beneficial impact.
Findings
Unlabeled data improves generalization in AUC optimization.
The proposed methods outperform existing approaches in experiments.
The approach is effective without strong distributional assumptions.
Abstract
Maximizing the area under the receiver operating characteristic curve (AUC) is a standard approach to imbalanced classification. So far, various supervised AUC optimization methods have been developed and they are also extended to semi-supervised scenarios to cope with small sample problems. However, existing semi-supervised AUC optimization methods rely on strong distributional assumptions, which are rarely satisfied in real-world problems. In this paper, we propose a novel semi-supervised AUC optimization method that does not require such restrictive assumptions. We first develop an AUC optimization method based only on positive and unlabeled data (PU-AUC) and then extend it to semi-supervised learning by combining it with a supervised AUC optimization method. We theoretically prove that, without the restrictive distributional assumptions, unlabeled data contribute to improving the…
| Data set | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| PNU-AUC | SSRboost | sAUC-LS | OptAG | PNU-AUC | SSRboost | sAUC-LS | OptAG | ||
| Banana | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| skin_nonskin | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| cod-rna | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| Magic | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| Image | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| SUSY | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| Ringnorm | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| Twonorm | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| Waveform | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| covtype | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| phishing | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| a9a | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| mushrooms | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| USPS | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| w8a | () | () | () | () | () | () | () | () | |
| () | () | () | () | () | () | () | () | () | |
| Data set | Dimension | #samples | Class balance | Source |
|---|---|---|---|---|
| Banana | IDA | |||
| skin_nonskin | LIBSVM | |||
| cod-rna | LIBSVM | |||
| Magic | UCI | |||
| Image | IDA | |||
| SUSY | LIBSVM | |||
| Ringnorm | IDA | |||
| Twonorm | IDA | |||
| Waveform | IDA | |||
| covtype | LIBSVM | |||
| phishing | LIBSVM | |||
| aa | LIBSVM | |||
| mushrooms | LIBSVM | |||
| USPS | SSL | |||
| wa | LIBSVM | |||
| rcv | LIBSVM | |||
| amazon | Amazon | |||
| news | LIBSVM |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Semi-Supervised AUC Optimization
based on Positive-Unlabeled Learning
Tomoya Sakai
Graduate School of Frontier Sciences,
The University of Tokyo, Japan
Center for Advanced Intelligence Project,
RIKEN, Japan
Gang Niu
Graduate School of Frontier Sciences,
The University of Tokyo, Japan
Center for Advanced Intelligence Project,
RIKEN, Japan
Masashi Sugiyama
Center for Advanced Intelligence Project,
RIKEN, Japan
Graduate School of Frontier Sciences,
The University of Tokyo, Japan
Abstract
Maximizing the area under the receiver operating characteristic curve (AUC) is a standard approach to imbalanced classification. So far, various supervised AUC optimization methods have been developed and they are also extended to semi-supervised scenarios to cope with small sample problems. However, existing semi-supervised AUC optimization methods rely on strong distributional assumptions, which are rarely satisfied in real-world problems. In this paper, we propose a novel semi-supervised AUC optimization method that does not require such restrictive assumptions. We first develop an AUC optimization method based only on positive and unlabeled data (PU-AUC) and then extend it to semi-supervised learning by combining it with a supervised AUC optimization method. We theoretically prove that, without the restrictive distributional assumptions, unlabeled data contribute to improving the generalization performance in PU and semi-supervised AUC optimization methods. Finally, we demonstrate the practical usefulness of the proposed methods through experiments.
1 Introduction
Maximizing the area under the receiver operating characteristic curve (AUC) (Hanley and McNeil, 1982) is a standard approach to imbalanced classification (Cortes and Mohri, 2004). While the misclassification rate relies on the sign of the score of a single sample, AUC is governed by the ranking of the scores of two samples. Based on this principle, various supervised methods for directly optimizing AUC have been developed so far and demonstrated to be useful (Herschtal and Raskutti, 2004; Zhao et al., 2011; Rakhlin et al., 2012; Kotlowski et al., 2011; Ying et al., 2016).
However, collecting labeled samples is often expensive and laborious in practice. To mitigate this problem, semi-supervised AUC optimization methods have been developed that can utilize unlabeled samples (Amini et al., 2008; Fujino and Ueda, 2016). These semi-supervised methods solely rely on the assumption that an unlabeled sample that is “similar” to a labeled sample shares the same label. However, such a restrictive distributional assumption (which is often referred to as the cluster or the entropy minimization principle) is rarely satisfied in practice and thus the practical usefulness of these semi-supervised methods is limited (Cozman et al., 2003; Sokolovska et al., 2008; Li and Zhou, 2015; Krijthe and Loog, 2017).
On the other hand, it has been recently shown that unlabeled data can be effectively utilized without such restrictive distributional assumptions in the context of classification from positive and unlabeled data (PU classification) (du Plessis et al., 2014). Furthermore, based on recent advances in PU classification (du Plessis et al., 2014, 2015; Niu et al., 2016), a novel semi-supervised classification approach has been developed that combines supervised classification with PU classification (Sakai et al., 2017). This approach inherits the advances of PU classification that the restrictive distributional assumptions are not necessary and is demonstrated to perform excellently in experiments.
Following this line of research, we first develop an AUC optimization method from positive and unlabeled data (PU-AUC) in this paper. Previously, a pairwise ranking method for PU data has been developed (Sundararajan et al., 2011), which can be regarded as an AUC optimization method for PU data. However, it merely regards unlabeled data as negative data and thus the obtained classifier is biased. On the other hand, our PU-AUC method is unbiased and we theoretically prove that unlabeled data contribute to reducing an upper bound on the generalization error with the optimal parametric convergence rate without the restrictive distributional assumptions.
Then we extend our PU-AUC method to the semi-supervised setup by combining it with a supervised AUC optimization method. Theoretically, we again prove that unlabeled data contribute to reducing an upper bound on the generalization error with the optimal parametric convergence rate without the restrictive distributional assumptions, and further we prove that the variance of the empirical risk of our semi-supervised AUC optimization method can be smaller than that of the plain supervised counterpart. The latter claim suggests that the proposed semi-supervised empirical risk is also useful in the cross-validation phase. Finally, we experimentally demonstrate the usefulness of the proposed PU and semi-supervised AUC optimization methods.
2 Preliminary
We first describe our problem setting and review an existing supervised AUC optimization method.
Let covariate and its corresponding label be equipped with probability density , where is a positive integer. Suppose we have sets of positive and negative samples:
[TABLE]
Furthermore, let be a decision function and classification is carried out based on its sign: .
The goal is to train a classifier by maximizing the AUC (Hanley and McNeil, 1982; Cortes and Mohri, 2004) defined and expressed as
[TABLE]
where and be the expectations over and , respectively. is the indicator function, which is replaced with the zero-one loss, , to obtain the last equation. Let
[TABLE]
be a composite classifier. Maximizing the AUC corresponds to minimizing the second term in Eq.(1). Practically, to avoid the discrete nature of the zero-one loss, we replace the zero-one loss with a surrogate loss and consider the following PN-AUC risk (Herschtal and Raskutti, 2004; Kotlowski et al., 2011; Rakhlin et al., 2012):
[TABLE]
In practice, we train a classifier by minimizing the empirical PN-AUC risk defined as
[TABLE]
Similarly to the classification-calibrated loss (Bartlett et al., 2006) in misclassification rate minimization, the consistency of AUC optimization in terms of loss functions has been studied recently (Gao and Zhou, 2015; Gao et al., 2016). They showed that minimization of the AUC risk with a consistent loss function is asymptotically equivalent to that with the zero-one loss function. The squared loss , the exponential loss , and the logistic loss are shown to be consistent, while the hinge loss and the absolute loss are not consistent.
3 Proposed Method
In this section, we first propose an AUC optimization method from positive and unlabeled data and then extend it to a semi-supervised AUC optimization method.
3.1 PU-AUC Optimization
In PU learning, we do not have negative data while we can use unlabeled data drawn from marginal density in addition to positive data:
[TABLE]
where
[TABLE]
We derive an equivalent expression to the PN-AUC risk that depends only on positive and unlabeled data distributions without the negative data distribution. In our derivation and theoretical analysis, we assume that and are known. In practice, they are replaced by their estimate obtained, e.g., by du Plessis et al. (2017), Kawakubo et al. (2016), and references therein.
From the definition of the marginal density in Eq. (3), we have
[TABLE]
where denotes the expectation over . Dividing the above equation by and rearranging it, we can express the PN-AUC risk in Eq. (2) based on PU data (the PU-AUC risk) as
[TABLE]
We refer to the method minimizing the PU-AUC risk as PU-AUC optimization. We will theoretically investigate the superiority of in Section 4.1.
To develop a semi-supervised AUC optimization method later, we also consider AUC optimization from negative and unlabeled data, which can be regarded as a mirror of PU-AUC optimization. From the definition of the marginal density in Eq. (3), we have
[TABLE]
where denotes the expectation over . Rearranging the above equation, we can obtain the PN-AUC risk in Eq. (2) based on negative and unlabeled data (the NU-AUC risk):
[TABLE]
We refer to the method minimizing the NU-AUC risk as NU-AUC optimization.
3.2 Semi-Supervised AUC Optimization
Next, we propose a novel semi-supervised AUC optimization method based on positive-unlabeled learning. The idea is to combine the PN-AUC risk with the PU-AUC/NU-AUC risks, similarly to Sakai et al. (2017).111 In Sakai et al. (2017), the combination of the PU and NU risks has also considered and found to be less favorable than the combination of the PN and PU/NU risks. For this reason, we focus on the latter in this paper.
First of all, let us define the PNPU-AUC and PNNU-AUC risks as
[TABLE]
where is the combination parameter. We then define the PNU-AUC risk as
[TABLE]
where is the combination parameter. We refer to the method minimizing the PNU-AUC risk as PNU-AUC optimization. We will theoretically discuss the superiority of and in Section 4.1.
3.3 Discussion about Related Work
Sundararajan et al. (2011) proposed a pairwise ranking method for PU data, which can be regarded as an AUC optimization method for PU data. Their approach simply regards unlabeled data as negative data and the ranking SVM (Joachims, 2002) is applied to PU data so that the score of positive data tends to be higher than that of unlabeled data. Although this approach is simple and shown computationally efficient in experiments, the obtained classifier is biased. From the mathematical viewpoint, the existing method ignores the second term in Eq. (4) and maximizes only the first term with the hinge loss function. However, the effect of ignoring the second term is not negligible when the class prior, , is not sufficiently small. In contrast, our proposed PU-AUC risk includes the second term so that the PU-AUC risk is equivalent to the PN-AUC risk.
Our semi-supervised AUC optimization method can be regarded as an extension of the work by Sakai et al. (2017). They considered the misclassification rate as a measure to train a classifier and proposed a semi-supervised classification method based on the recently proposed PU classification method (du Plessis et al., 2014, 2015). On the other hand, we train a classifier by maximizing the AUC, which is a standard approach for imbalanced classification. To this end, we first developed an AUC optimization method for PU data, and then extended it to a semi-supervised AUC optimization method. Thanks to the AUC maximization formulation, our proposed method is expected to perform better than the method proposed by Sakai et al. (2017) for imbalanced data sets.
4 Theoretical Analyses
In this section, we theoretically analyze the proposed risk functions. We first derive generalization error bounds of our methods and then discuss variance reduction.
4.1 Generalization Error Bounds
Recall the composite classifier . As the classifier , we assume the linear-in-parameter model given by
[TABLE]
where ⊤ denotes the transpose of vectors and matrices, is the number of basis functions, is a parameter vector, and is a basis function vector. Let be a function class of bounded hyperplanes:
[TABLE]
where and are certain positive constants. This assumption is reasonable because the -regularizer included in training and the use of bounded basis functions, e.g., the Gaussian kernel basis, ensure that the minimizer of the empirical AUC risk belongs to such the function class . We assume that a surrogate loss is bounded from above by and denote the Lipschitz constant by . For simplicity,222 Our theoretical analysis can be easily extended to the loss satisfying with a certain .
we focus on a surrogate loss satisfying . For example, the squared loss and the exponential loss satisfy the condition.333 These losses are bounded in our setting, since the input to , i.e., is bounded.
Let
[TABLE]
be the generalization error of in AUC optimization. For convenience, we define
[TABLE]
In the following, we prove the generalization error bounds of both PU and semi-supervised AUC optimization methods.
For the PU-AUC/NU-AUC risks, we prove the following generalization error bounds (its proof is available in Appendix B):
Theorem 1**.**
For any , the following inequalities hold separately with probability at least for all :
[TABLE]
where and are unbiased empirical risk estimators corresponding to and , respectively.
Theorem 1 guarantees that can be bounded from above by the empirical risk, , plus the confidence terms of order
[TABLE]
Since () and can increase independently in our setting, this is the optimal convergence rate without any additional assumptions (Vapnik, 1998; Mendelson, 2008).
For the PNPU-AUC and PNNU-AUC risks, we prove the following generalization error bounds (its proof is also available in Appendix B):
Theorem 2**.**
For any , the following inequalities hold separately with probability at least for all :
[TABLE]
where and are unbiased empirical risk estimators corresponding to and , respectively.
Theorem 2 guarantees that can be bounded from above by the empirical risk, , plus the confidence terms of order
[TABLE]
Again, since , , and can increase independently in our setting, this is the optimal convergence rate without any additional assumptions.
4.2 Variance Reduction
In the existing semi-supervised classification method based on PU learning, the variance of the empirical risk was proved to be smaller than the supervised counterpart under certain conditions (Sakai et al., 2017). Similarly, we here investigate if the proposed semi-supervised risk estimators have smaller variance than its supervised counterpart.
Let us introduce the following variances and covariances:444 , , and are the variances over , , and , respectively. , , , and are the covariances over , , , and , respectively.
[TABLE]
Then, we have the following theorem (its proof is available in Appendix C):
Theorem 3**.**
Assume . For any fixed , the minimizers of the variance of the empirical PNPU-AUC and PNNU-AUC risks are respectively obtained by
[TABLE]
where
[TABLE]
Additionally, we have for any if and . Similarly, we have for any if and .
This theorem means that, if is chosen appropriately, our proposed risk estimators, and , have smaller variance than the standard supervised risk estimator . A practical consequence of Theorem 3 is that when we conduct cross-validation for hyperparameter selection, we may use our proposed risk estimators and instead of the standard supervised risk estimator since they are more stable (see Section 5.3 for details).
5 Practical Implementation
In this section, we explain the implementation details of our proposed methods.
5.1 General Case
In practice, the AUC risks introduced above are replaced with their empirical version , where the expectations in are replaced with the corresponding sample averages.
Here, we focus on the linear-in-parameter model given by
[TABLE]
where ⊤ denotes the transpose of vectors and matrices, is the number of basis functions, is a parameter vector, and is a basis function vector. The linear-in-parameter model allows us to express the composite classifier as
[TABLE]
where
[TABLE]
is a composite basis function vector. We train the classifier by minimizing the -regularized empirical AUC risk:
[TABLE]
where is the regularization parameter.
5.2 Analytical Solution for Squared Loss
For the squared loss , the empirical PU-AUC risk555We discuss the way of estimating the PU-AUC risk in Appendix A. can be expressed as
[TABLE]
where
[TABLE]
and is the -dimensional vector whose elements are all one. With the -regularizer, we can analytically obtain the solution by
[TABLE]
where is the -dimensional identity matrix.
The computational complexity of computing , , and are , , and , respectively. Then, solving a system of linear equations to obtain the solution requires the computational complexity of . In total, the computational complexity of this PU-AUC optimization method is .
As given by Eq. (6), our PNU-AUC optimization method consists of the PNPU-AUC risk and the PNNU-AUC risk. For the squared loss , the empirical PNPU-AUC risk can be expressed as
[TABLE]
where
[TABLE]
The solution for the -regularized PNPU-AUC optimization can be analytically obtained by
[TABLE]
Similarly, the solution for the -regularized PNNU-AUC optimization can be obtained by
[TABLE]
where
[TABLE]
The computational complexity of computing and are and , respectively. Then, obtaining the solution () requires the computational complexity of . Including the computational complexity of computing , , and , the total computational complexity of the PNPU-AUC optimization method is . Similarly, the total computational complexity of the PNNU-AUC optimization method is . Thus, the computational complexity of the PNU-AUC optimization method is .
From the viewpoint of computational complexity, the squared loss and the exponential loss are more efficient than the logistic loss because these loss functions reduce the nested summations to individual ones. More specifically, for example, in the PU-AUC optimization method, the logistic loss requires operations for evaluating the first term in the PU-AUC risk, i.e., the loss over positive and unlabeled samples. In contrast, the squared loss and exponential loss reduce the number of operations for loss evaluation to .666 For example, the exponential loss over positive and unlabeled data can be computed as follows:
Thus, the number of operations for loss evaluation is reduced to rather than . This property is beneficial especially when we handle large scale data sets.
5.3 Cross-Validation
To tune the hyperparameters such as the regularization parameter , we use the cross-validation.
For the PU-AUC optimization method, we use the PU-AUC risk in Eq. (4) with the zero-one loss as the cross-validation score.
For the PNU-AUC optimization method, we use the PNU-AUC risk in Eq. (6) with the zero-one loss as the score. To this end, however, we need to fix the combination parameter in the cross-validation score in advance and then, we tune the hyperparameters including the combination parameter. More specifically, let be the predefined combination parameter. We conduct cross-validation with respect to for tuning the hyperparameters. Since the PNU-AUC risk is equivalent to the PN-AUC risk for any , we can choose any in principle. However, when the empirical PNU-AUC risk is used in practice, choice of may affect the performance of cross-validation.
Here, based on the theoretical result of variance reduction given in Section 4.2, we give a practical method to determine . Assuming the covariances, e.g., , are small enough to be neglected and , we can obtain a simpler form of Eqs. (7) and (8) as
[TABLE]
They can be computed simply from the number of samples and the (estimated) class-prior. Finally, to select the combination parameter , we use for , and for .
6 Experiments
In this section, we numerically investigate the behavior of the proposed methods and evaluate their performance on various data sets. All experiments were carried out using a PC equipped with two GHz Intel® Xeon® E- v CPUs.
As the classifier, we used the linear-in-parameter model. In all experiments except text classification tasks, we used the Gaussian kernel basis function expressed as
[TABLE]
where is the Gaussian bandwidth, are the samples randomly selected from training samples and is the number of training samples. In text classification tasks, we used the linear kernel basis function:
[TABLE]
The number of basis functions was set at . The candidates of the Gaussian bandwidth were and that of the regularization parameter were . All hyper-parameters were determined by five-fold cross-validation. As the loss function, we used the squared loss function .
6.1 Effect of Variance Reduction
First, we numerically confirm the effect of variance reduction. We compare the variance of the empirical PNU-AUC risk against the variance of the empirical PN-AUC risk, vs. , under a fixed classifier .
As the fixed classifier, we used the minimizer of the empirical PN-AUC risk, denoted by . The number of positive and negative samples for training varied as , , and . We then computed the variance of the empirical PN-AUC and PNU-AUC risks with additional positive, negative, and unlabeled samples. As the data set, we used the Banana data set (Rätsch et al., 2001). In this experiment, the class-prior was set at and assumed to be known.
Figure 1 plots the value of the variance of the empirical PNU-AUC risk divided by that of the PN-AUC risk,
[TABLE]
as a function of the combination parameter under different numbers of positive and negative samples. The results show that can be achieved by an appropriate choice of , meaning that the variance of the empirical PNU-AUC risk can be smaller than that of the PN-AUC risk.
We then investigate how the class-prior affects the variance reduction. In this experiment, the number of positive and negative samples for are and , respectively. Figure 2 showed the values of as a function of the combination parameter under different class-priors. When the class-prior, , is and , the variance can be reduced for . When the class-prior is , the range of the value of that yields variance reduction becomes smaller. However, this may not be that problematic in practice, because AUC optimization is effective when two classes are highly imbalanced, i.e., the class-prior is far from ; when the class-prior is close to , we may simply use the standard misclassification rate minimization approach.
6.2 Benchmark Data Sets
Next, we report the classification performance of the proposed PU-AUC and PNU-AUC optimization methods, respectively. We used benchmark data sets from the IDA Benchmark Repository (Rätsch et al., 2001), the Semi-Supervised Learning Book (Chapelle et al., 2006), the LIBSVM (Chang and Lin, 2011), and the UCI Machine Learning Repository (Lichman, 2013). The detailed statistics of the data sets are summarized in Appendix D.
6.2.1 AUC Optimization from Positive and Unlabeled Data
We compared the proposed PU-AUC optimization method against the existing AUC optimization method based on the ranking SVM (PU-RSVM) (Sundararajan et al., 2011). We trained a classifier with samples of size and under the different class-priors and . For the PU-AUC optimization method, the squared loss function was used and the class-prior was estimated by the distribution matching method (du Plessis et al., 2017). The results of the estimated class-prior are summarized in Table 6.2.1.
Table 6.2.1 lists the average with standard error of the AUC over trials, showing that the proposed PU-AUC optimization method achieves better performance than the existing method. In particular, when , the difference between PU-RSVM and our method becomes larger compared with the difference when . Since PU-RSVM can be interpreted as regarding unlabeled data as negative, the bias caused by this becomes larger when .
Figure 3 summarizes the average computation time over trials. The computation time of the PU-AUC optimization method includes both the class-prior estimation and the empirical risk minimization. The results show that the PU-AUC optimization method requires almost twice computation time as that of PU-RSVM, but it would be acceptable in practice to obtain better performance.
[math] [math]
6.2.2 Semi-Supervised AUC Optimization
Here, we compare the proposed PNU-AUC optimization method against existing AUC optimization approaches: the semi-supervised rankboost (SSRankboost) (Amini et al., 2008),777 We used the code available at http://ama.liglab.fr/~amini/SSRankBoost/
the semi-supervised AUC-optimized logistic sigmoid (sAUC-LS) (Fujino and Ueda, 2016),888 This method is equivalent to OptAG without a generative model, which only employs a discriminative model with the entropy minimization principle. To eliminate the adverse effect of the wrongly chosen generative model, we added this method for comparison.
and the optimum AUC with a generative model (OptAG) (Fujino and Ueda, 2016).
We trained the classifier with samples of size , , and , where is the number of labeled samples. For the PNU-AUC optimization method, the squared loss function was used and the candidates of the combination parameter were . For the class-prior estimation, we used the energy distance minimization method (Kawakubo et al., 2016). The results of the estimated class-prior are summarized in Table 6.2.2.
For SSRankboost, the discount factor and the number of neighbors were chosen from and , respectively. For sAUC-LS and OptAG, the regularization parameter for the entropy regularizer was chosen from . Furthermore, as the generative model of OptAG, we adapted the Gaussian distribution for the data distribution and the Gaussian and Gamma distributions for the prior of the data distribution. 999 As the generative model, we used the Gaussian distributions for positive and negative classes:
\displaystyle\propto\tau_{\mathrm{P}}^{\frac{d}{2}}\exp\Big{(}-\frac{\tau_{\mathrm{P}}}{2}\|\boldsymbol{x}^{\mathrm{P}}-\boldsymbol{\mu}_{\mathrm{P}}\|^{2}\Big{)},
\displaystyle\propto\tau_{\mathrm{N}}^{\frac{d}{2}}\exp\Big{(}-\frac{\tau_{\mathrm{N}}}{2}\|\boldsymbol{x}^{\mathrm{N}}-\boldsymbol{\mu}_{\mathrm{N}}\|^{2}\Big{)},
where and denote the precisions and and are the means. As the prior of , , , and , we used the Gaussian and Gamma distributions:
\displaystyle\propto\tau_{\mathrm{P}}^{\frac{d}{2}}\exp\Big{(}-\frac{\rho_{\mathrm{P}}^{0}\tau_{\mathrm{P}}}{2}\|\boldsymbol{\mu}_{\mathrm{P}}-\boldsymbol{\mu}_{\mathrm{P}}^{0}\|^{2}\Big{)},
\displaystyle\propto\tau_{\mathrm{N}}^{\frac{d}{2}}\exp\Big{(}-\frac{\rho_{\mathrm{N}}^{0}\tau_{\mathrm{N}}}{2}\|\boldsymbol{\mu}_{\mathrm{N}}-\boldsymbol{\mu}_{\mathrm{N}}^{0}\|^{2}\Big{)},
where , , , , , , , and are the hyperparameters.
Table 6.2.2 lists the average with standard error of the AUC over trials, showing that the proposed PNU-AUC optimization method achieves better performance than or comparable performance to the existing methods on many data sets.
Figure 4 summarizes the average computation time over trials. The computation time of the PNU-AUC optimization method includes both the class-prior estimation and the empirical risk minimization. The results show that even though our proposed method involves the class-prior estimation, the computation time is relatively faster than SSRankboost and much faster than sAUC-LS and OptAG. The reason for longer computation time of sAUC-LS and OptAG is that their implementation is based on the logistic loss in which the number of operations for loss evaluation is , unlike the PNU-AUC optimization method with the squared loss in which the number of operations for loss evaluation is (cf. the discussion about the computational complexity in Section 5).
6.4 Sensitivity Analysis
Here, we investigate the effect of the estimation accuracy of the class-prior for the PNU-AUC optimization method. Specifically, we added noise to the true class-prior and used as the estimated class-prior for the PNU-AUC optimization method. Under the different values of the class-prior , , and , we trained a classifier with samples of size , , and .
Figure 6 summarizes the average with standard error of the AUC as a function of the noise. The plots show that when and , the performance of the PNU-AUC optimization method is stable even when the estimated class-prior has some noise. On the other hand, when , as the noise is close to , the performance largely decreases. Since the true class-prior is small, it is sensitive to the negative bias. In particular, when , the gap between the estimated and true class-priors is larger than other values. For instance, when and , , but when and , . In contrast, the positive bias does not heavily affect the performance even when .
6.5 Scalability
Finally, we report the scalability of our proposed PNU-AUC optimization method. Specifically, we evaluated the AUC and computation time while increasing the number of unlabeled samples. We picked two large data sets: the SUSY and amazon data sets. The number of positive and negative samples were and , respectively.
Figure 7 summarizes the average with standard error of the AUC and computation time as a function of the number of unlabeled samples. The AUC on the SUSY data set slightly increased at , but the improvement on the amazon data set was not noticeable or the performance decreased slightly. In this experiment, the increase of the size of unlabeled data did not significantly improve the performance of the classifier, but it did not affect adversely, i.e., it did not cause significant performance degeneration.
The result of computation time shows that the proposed PNU-AUC optimization method can handle approximately samples within reasonable computation time in this experiment. The longer computation time on the SUSY data set before is because we need to choose one additional hyperparameter, i.e., the bandwidth of the Gaussian kernel basis function, compared with the linear kernel basis function. However, the effect gradually decreases; after , the matrix multiplication of the high dimensional matrix on the amazon data set () requires more computation time than the SUSY data set ().
7 Conclusions
In this paper, we proposed a novel AUC optimization method from positive and unlabeled data and extend it to a novel semi-supervised AUC optimization method. Unlike the existing approach, our approach does not rely on strong distributional assumptions on the data distributions such as the cluster and the entropy minimization principle. Without the distributional assumptions, we theoretically derived the generalization error bounds of our PU and semi-supervised AUC optimization methods. Moreover, for our semi-supervised AUC optimization method, we showed that the variance of the empirical risk can be smaller than that of the supervised counterpart. Through numerical experiments, we demonstrated the practical usefulness of the proposed PU and semi-supervised AUC optimization methods.
Acknowledgements
TS was supported by KAKNEHI J. GN was supported by the JST CREST program and Microsoft Research Asia. MS was supported by JST CREST JPMJCR. We thank Han Bao for his comments.
Appendix A PU-AUC Risk Estimator
In this section, we discuss the way of estimating the proposed PU-AUC risk. Recall that the PU-AUC risk in Eq. (4) is defined as
[TABLE]
If one additional set of positive samples is available, we obtain the unbiased PU-AUC risk estimator by
[TABLE]
We used this estimator in our theoretical analyses because learning is not involved. However, obtaining one additional set of samples is not always possible in practice. Thus, instead of the above risk estimator, we use the following risk estimator in our implementation:
[TABLE]
This estimator is also unbiased. To show unbiasedness of this estimator, let us rewrite the second term of the PU-AUC risk without coefficient in Eq. (4) as
[TABLE]
The unbiased estimator can be expressed as
[TABLE]
because the expectation of the above estimator can be computed as follows:
[TABLE]
where we used from the second to third lines. If the squared loss function is used, (cf. the implementation with the squared loss in Section 5). Therefore, the proposed PU-AUC risk estimator is unbiased.
Appendix B Proof of Generalization Error Bounds
Here, we give the proofs of generalization error bounds in Section 4.1. The proofs are based on Usunier et al. (2006).
Let and be two sets of samples drawn from the distribution equipped with densities and , respectively. Recall be a function class of bounded hyperplanes:
[TABLE]
where and are certain positive constants. Then, the AUC risk over distributions and and its empirical version can be expressed as
[TABLE]
For convenience, we define
[TABLE]
We first have the following theorem:
Theorem 4**.**
For any , the following inequality holds with probability at least for any :
[TABLE]
Proof.
By slightly modifying Theorem in Usunier et al. (2006) to fit our setting, for any , with probability at least for any , we have
[TABLE]
Applying the inequality
[TABLE]
to the first term in Eq. (9), we obtain the theorem. ∎
By using Theorem 4, we prove the risk bounds of the PU-AUC and NU-AUC risks:
Lemma 5**.**
For any , the following inequalities hold separately with probability at least for any :
[TABLE]
Proof.
Recall that the PU-AUC and NU-AUC risks are expressed as
[TABLE]
Based on Theorem 4, for any , we have these uniform deviation bounds with probability at least :
[TABLE]
Simple calculation showed that for any , with probability , we have
[TABLE]
where we used
[TABLE]
Similarly, for the NU-AUC risk, we have
[TABLE]
Eqs. (10) and (11) conclude the lemma. ∎
Finally, we give the proof of Theorem 1.
Proof.
Assume the loss satisfying . We have . When such as and , holds. This observation yields Theorem 1. ∎
Next, we prove the generalization error bounds of the PNPU-AUC and PNNU-AUC risks in Theorem 2. We first prove the following risk bounds:
Lemma 6**.**
For any , the following inequalities hold separately with probability at least for all :
[TABLE]
Proof.
Recall the PNPU-AUC and PNNU-AUC risks:
[TABLE]
Based on Theorem 4, for any , we have these uniform deviation bounds with probability at least :
[TABLE]
Combining three bounds from the above, for any , with probability , we have
[TABLE]
This concludes the risk bounds of the PNPU-AUC risk.
Similarly, we prove the risk bounds of the PNNU-AUC risk. ∎
Again, holds in our setting. This leads to Theorem 2.
Appendix C Proof of Variance Reduction
Here, we give the proof of Theorem 3.
Proof.
The empirical PNPU-AUC risk can be expressed as
[TABLE]
Assume , we obtain
[TABLE]
where the terms divided by are disappeared. Setting the derivative with respect to at zero, we obtain the minimizer in Eq. (7).
For the empirical PNNU-AUC risk, when , we obtain
[TABLE]
Setting the derivative with respect to at zero, we obtain the minimizer in Eq. (8). ∎
Appendix D Statistics of Data Sets
Table 6 summarizes the statistics of the data sets used in our experiments. The class balance is the number of positive samples divided by that of total samples. The sources of data sets are as follows: the IDA Benchmark Repository (IDA) (Rätsch et al., 2001), the UCI Machine Learning Repository (UCI) (Lichman, 2013), the LIBSVM data sets (LIBSVM) (Chang and Lin, 2011), the Semi-Supervised Learning Book (SSL) (Chapelle et al., 2006), and the Amazon Review (Amazon) (Blondel et al., 2013).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Amini et al. (2008) Amini, M. R., Truong, T. V., and Goutte, C. A boosting algorithm for learning bipartite ranking functions with partially labeled data. In Proceedings of the 31st Annual International ACM SIGIR Conference on Research and Development in Information Retrieval , pages 99–106, 2008.
- 2Bartlett et al. (2006) Bartlett, P. L., Jordan, M. I., and Mc Auliffe, J. D. Convexity, classification, and risk bounds. Journal of the American Statistical Association , 101(473):138–156, 2006.
- 3Blondel et al. (2013) Blondel, M., Seki, K., and Uehara, K. Block coordinate descent algorithms for large-scale sparse multiclass classification. Machine Learning , 93(1):31–52, 2013.
- 4Chang and Lin (2011) Chang, C.-C. and Lin, C.-J. LIBSVM: A library for support vector machines. ACM Transactions on Intelligent Systems and Technology , 2:27:1–27:27, 2011. Software available at http://www.csie.ntu.edu.tw/~cjlin/libsvm .
- 5Chapelle et al. (2006) Chapelle, O., Schölkopf, B., and Zien, A., editors. Semi-Supervised Learning . MIT Press, 2006.
- 6Cortes and Mohri (2004) Cortes, C. and Mohri, M. AUC optimization vs. error rate minimization. In Advances in Neural Information Processing Systems 16 , pages 313–320, 2004.
- 7Cozman et al. (2003) Cozman, F. G., Cohen, I., and Cirelo, M. C. Semi-supervised learning of mixture models. In Proceedings of the 20th International Conference on Machine Learning , pages 99–106, 2003.
- 8Dredze et al. (2008) Dredze, M., Crammer, K., and Pereira, F. Confidence-weighted linear classification. In Proceedings of the 25th International Conference on Machine learning , pages 264–271, 2008.
