Manuscript Offprint
arXiv:2609.10928AUC Maximization from Biased Positive-unlabeled Data with Confidence
ABSTRACT
Maximizing the area under the receiver operating characteristic curve (AUC) is a standard approach to imbalanced binary classification. Although positive and negative data are required for maximizing the AUC, negative data are often difficult to collect in some real-world applications due to privacy concerns or the need for specialized expertise to annotate them. Thus, AUC maximization from positive and unlabeled (PU) data has been attracting attention. Existing methods assume that labeled positive data are unbiased samples from the true positive distribution. However, this ideal assumption is often violated in practice. In this paper, we propose a method to maximize the AUC from biased PU data. To address the bias, our key idea is to exploit confidence, i.e., the probability that an instance is positive, associated with the small number of labeled positive data. We derive an estimator of the AUC risk using biased PU data with confidence, enabling AUC maximization under such bias. We further show that the rewritten AUC risk induces a Bayes-optimal AUC ranking even when the available confidence is any strictly increasing transformation of the true posterior probability. We experimentally show the effectiveness of our method on eight real-world datasets.
1 INTRODUCTION
In many real-world binary classification tasks such as cyber security (Mirsky et al., 2018; Bagui & Li, 2021), medical care (Yang et al., 2021), product inspection (Park et al., 2016), and fraud detection (Su et al., 2021), class-imbalance frequently arises, where the amount of positive data is much smaller than that of negative data (Johnson & Khoshgoftaar, 2019). For such imbalanced data, classification accuracy, which is the standard performance metric in ordinary classification, is not a suitable measure (Yang & Ying, 2022). Instead, the area under the receiver operating characteristic curve (AUC) is widely used (Bradley, 1997; McDermott et al., 2024). The AUC represents the probability that a classifier will rank a positive instance higher than a negative one (Yang & Ying, 2022). Owing to the nature of the ranking, the AUC can adequately measure the classifier's performance even with imbalanced data. Consequently, maximizing the AUC enables accurate classifiers to be learned from imbalanced data (Liu et al., 2020; Yuan et al., 2021a; Yang & Ying, 2022).
Although labeled positive and negative (PN) data are required for AUC maximization, negative data are often difficult to collect in practice. For example, in cyber security, malicious data (positive data) can be collected from public blocklists, but benign data of legitimate users (negative data) are often unavailable due to privacy concerns, and identifying benign data from given unlabeled data requires a high level of expertise (Mirsky et al., 2018; Kumagai et al., 2024; 2025a). In medical care, although positive patient data can be collected on the basis of confirmed diagnoses, treating all other data as negative is problematic since such data often include false-negatives or pre-symptomatic patients who have already contracted the disease (Bekker & Davis, 2020). Similar situations occur in other applications such as product inspection (Kumagai et al., 2024) and fraud detection (Su et al., 2021).
To address such situations, several studies have proposed methods to maximize the AUC from only positive and unlabeled (PU) data (Sakai et al., 2018; Xie & Li, 2018; Xie et al., 2024). These methods assume that labeled positive data are unbiased samples from the true positive distribution, which is known as the selected completely at random (SCAR) setting (Elkan & Noto, 2008). Although
AUC Maximization

(a)
AUC Maximization from PU Data under the SCAR
(b)
AUC Maximization from PU Data under the SAR

(c)
Our Setting
AUC Maximization from
PU Data with Positive-confidence
under the SAR
(d)
Figure 1: Illustrations of our problem setting and other related settings. Red, blue, and gray points are positive, negative, and unlabeled data, respectively. The dark/light red colors show high/low confidence values for positive data. The black line is illustrated to visually distinguish positive and negative data. (a) Standard AUC maximization with PN data. (b) AUC Maximization from PU data under the SCAR setting where labeled positive data are unbiased. (c) AUC Maximization from PU data under the SAR setting where labeled positive data are biased. Note that there are no studies for this setting. (d) Our problem setting: AUC maximization from PU data with positive-confidence under the SAR setting. In class-imbalanced settings, the number of labeled positive instances (each equipped with confidence) is small.
this ideal assumption enables an unbiased estimator of the AUC to be derived with PU data, it is often violated in practice since labeled positive data are often biased. For example, blocklists tend to contain certain (widely known) types of malicious data, and diseases that can be diagnosed are usually limited to well-understood cases.
To cope with such biased situations, some PU learning studies for ordinary classification have recently considered the selected at random (SAR) setting, where the probability of selecting positive data to be labeled depends on their feature values (Kato et al., 2019; Teisseyre et al., 2025; Gerych et al., 2022). While this setting is more realistic, these methods are not designed for maximizing the AUC. In addition, to make the problem tractable, they require strong assumptions about data distributions or labeling mechanisms, such as the PN distributions being separated (Gerych et al., 2022) or the selection probability of positive data following some restricted function forms (Gerych et al., 2022; He et al., 2018; Teisseyre et al., 2025). When the assumption is violated, the performance of these methods drastically deteriorates.
To address this problem, we propose a method for maximizing the AUC under the SAR setting by using biased positive data equipped with confidence and unlabeled data, without such restrictive assumptions about data distributions or labeling mechanisms. Here, the confidence is formally defined as the probability that a given instance is positive, and we refer to this confidence for labeled positive data as positive-confidence. Figure 1 illustrates our problem setting.
Such confidence need not be collected specifically for the proposed method; in many applications, it is already produced as a by-product of existing labeling or operational processes. For example, when the same instance is labeled by multiple annotators to enhance reliability, the average of these labels can naturally form confidence (Ishida et al., 2023). Such multi-annotator labeling is used in various domains such as medical care, cyber security, and crowdsourcing (Le et al., 2023; Kantchelian et al., 2015; Tang et al., 2025). Confidence-like scores are also routinely available in applications, such as BI-RADS scores representing the likelihood of cancer in medical care (Sato, 2025), alert severity levels in security operations (Jalalvand et al., 2024), and risk scores in financial fraud detection. Moreover, automatic labeling systems, including LLM-based annotators and pre-trained classifiers, can also provide such information (Ishida et al., 2018; Tang et al., 2025). These examples motivate the growing body of confidence-based weakly supervised learning methods (Ishida et al., 2018; Cao et al., 2021; Berthon et al., 2021; Feng et al., 2021; Wang et al., 2023b).
However, to the best of our knowledge, positive-confidence has not been used for PU learning under the SAR setting. The key idea is that positive-confidence provides information that allows us to correct the bias in the labeled positive data. By using such confidence, we derive an estimator of the AUC risk from biased PU data without relying on the strong assumptions about data distributions or labeling mechanisms required by existing SAR methods. This enables us to maximize the AUC from biased PU data. A practical concern is that obtained confidence may not be accurately calibrated as a probability. We further show that the proposed method does not require exact calibration to recover the optimal AUC ranking: when the observed confidence is given by any strictly increasing transformation of the true posterior probability , minimizing the resulting AUC risk still yields the Bayes-optimal AUC ranking. This indicates that the proposed method can also exploit confidence that is systematically over- or under-confident, as long as its ordering is preserved. In addition, our method is model-agnostic: it can use any differentiable classifier such as linear classifier, kernel-based classifier, and neural network, which is preferable in practice.
PU learning methods train binary classifiers by using only PU data (Bekker & Davis, 2020). A representative approach is empirical risk minimization, which rewrites the empirical risk by using only PU data (Sugiyama et al., 2022). Although most methods are designed for ordinary classification on balanced data (Du Plessis et al., 2015; Kiryo et al., 2017; Jiang et al., 2023), several studies have recently shown the AUC can also be maximized from PU data (Sakai et al., 2018; Xie & Li, 2018; Charoenphakdee et al., 2019; Xie et al., 2024). However, these PU learning and AUC maximization methods assume the SCAR setting, i.e., labeled positive data are unbiased, which is not often satisfied in practice. This paper tackles the more realistic but challenging SAR setting where labeled positive data are biased.
Some PU learning methods for the SAR setting have recently been proposed (Bekker et al., 2019; Kato et al., 2019; Gerych et al., 2022; He et al., 2018; Teisseyre et al., 2025). Although several studies used EM algorithm-based methods (Bekker et al., 2019; Gong et al., 2021), they lack theoretical guarantees for learning the true classifier (Gerych et al., 2022; Teisseyre et al., 2025). To make the problem theoretically tractable, most studies impose restrictive assumptions about data distributions or labeling mechanisms, such as the data separation assumption (Gerych et al., 2022), the invariance of order assumption (Kato et al., 2019), and the probabilistic gap assumption (He et al., 2018; Gerych et al., 2022). However, when the assumption is violated, they cannot work well. In addition, they are not designed for maximizing the AUC. In contrast, the proposed method can maximize the AUC from biased PU data using positive-confidence, without relying on such restrictive assumptions.
Several confidence-based learning methods have recently been proposed (Ishida et al., 2018; Cao et al., 2021; Berthon et al., 2021; Feng et al., 2021; Wang et al., 2023b). Especially, Ishida et al. (2018) and Shinoda et al. (2021) use positive-confidence to learn binary classifiers. Although they do not require unlabeled data, they cannot be applied for maximizing the AUC, and require that labeled positive data are unbiased. One PU learning method uses positive-confidence information to deal with noisy labels (Tang et al., 2025). However, it is not designed for either AUC maximization or the SAR setting. In addition, existing confidence-based learning methods typically formulate confidence as true posterior probabilities. In contrast, the proposed method can maximize the AUC even if the observed confidence is given by any strictly increasing transformation of the true posterior.
3 PRELIMINARIES
We briefly introduce AUC maximization. Let input instance and its class label be associated with probability density , where 1 and 0 correspond to PN classes, respectively. The conditional probability densities for PN classes are denoted as and . Let be a score function that quantifies how likely an instance is
We say that a function is strictly increasing if it satisfies whenever .
positive. The classifier is defined by the score function with threshold , where is the indicator function that outputs 1 if is true and 0 otherwise.
The AUC is the probability that a randomly drawn positive instance is ranked higher than a randomly drawn negative instance with ties counted as one half (Yang & Ying, 2022). Formally, the AUC with score function s can be represented as
(1)
where is the zero-one loss, with if , 0 if , and if , and denotes the expectation. Maximizing the AUC is equivalent to minimizing the following AUC risk,
Since the gradient of the zero-one loss is zero almost everywhere, the AUC risk cannot be directly minimized with gradient descent methods. To address this, a common approach is to use the smoothed AUC risk by replacing with the sigmoid surrogate , where (Charoenphakdee et al., 2019):
Suppose we have positive instances drawn from and negative instances drawn from , the empirical estimator of Eq. (3) is given as
By minimizing this empirical AUC risk w.r.t. the parameters of s, we can obtain good score functions to maximize the AUC (Yang & Ying, 2022).
4 PROPOSED METHOD
4.1 PROBLEM FORMULATION
We assume that there exists probability density , where is an input instance, is its class, and represents whether its class is observed (labeled). Here, denotes that its class is labeled, and denotes that its class is unlabeled. In PU learning setting, only positive data are labeled. This PU assumption can be formally represented as
which means that negative data are never labeled (Elkan & Noto, 2008). Propensity score is defined as
which represents the probability that positive instance x is labeled. Most PU learning methods assume the SCAR setting, i.e., propensity score does not depend on feature values , (Sakai et al., 2018; Kiryo et al., 2017; Xie & Li, 2018; Xie et al., 2024). Although this assumption simplifies the problem, it is seldom met in practice. Thus, this paper assumes the SAR setting,
which means that depends on feature values . This is a more realistic but difficult setting. Following previous studies on biased PU learning (Bekker et al., 2019; Bekker & Davis, 2020; Gerych et al., 2022), we assume the positivity condition that for -almost every .
For collecting PU data, there are two possible scenarios: the one-sample scenario (also known as the censoring scenario) (Elkan & Noto, 2008) and the two-sample scenario (also known as the case-control scenario) (Ward et al., 2009). This paper focuses on the one-sample scenario since it is more commonly used in PU learning studies (Bekker & Davis, 2020). We can easily modify the proposed method for the two-sample scenario, which is described in Section D.2. In the one-sample scenario, a set of unlabeled data is first sampled from true marginal density where is the positive class-prior. Then, if instance is positive, it can be labeled with probability , and remains unlabeled with probability ; if instance is negative, it is never labeled and thus remains unlabeled with probability 1. In our problem setting, we additionally assume that each labeled positive instance is equipped with confidence . Note that this equality does not have to strictly hold as shown later. As a result, we are given PU data with positive-confidence :
(8)
where and are labeled (positive) and unlabeled densities, respectively. From the data generation process, true marginal density can be also represented as , where and . Note that in the SAR setting. Our goal is to learn score function that can maximize the AUC under the SAR setting by using given PU data with positive-confidence .
4.2 AUC RISK ESTIMATOR WITH BIASED PU DATA AND POSITIVE-CONFIDENCE
We derive the AUC risk estimator in the SAR setting from biased PU data with positive-confidence. The objective function to be minimized is the following smoothed AUC risk,
where we set . Although this AUC risk depends on and , data from both the distributions are unavailable in our setting; it seems impossible to calculate. However, we show that it is in fact possible below.
First, by the definition , the negative density can be represented as
By substituting Eq. (10) into Eq. (9), we obtain
Here, due to the symmetry of sigmoid function (Xie & Li, 2018; Charoenphakdee et al., 2019; Xie et al., 2024) (The proof is described in Section C.1). Thus, the AUC risk can be represented as
Labeled density and positive density are related as follows,
which means that a positive instance is first sampled from and then is observed as labeled data with probability in accordance with propensity score (Bekker & Davis, 2020). The derivation of Eq. (13) is described in Section C.2. Under the positivity condition described in Section 4.1, Eq. (13) can be inverted as for -almost every .
Additionally, by the PU assumption, , as shown in Section C.3. Thus, for , we obtain
, where we used the PU property (negative data are never labeled, i.e., ).
Since , we have for -almost every . Thus, Eq. (14) can be used together with the inverted form of Eq. (13) in the -expectation in Eq. (12). We can therefore rewrite Eq. (12) as
From this equation, we can see that weight becomes larger for labeled positive instance with higher (i.e., more likely to be positive) and lower (i.e., rarer as labeled data). By substituting into Eq. (15), we obtain
(16)
Here, we train probabilistic classifier to estimate using given training data . We also estimate labeled probability as . In addition, the confidence for labeled positive instances, , is given in our setting. Thus, by replacing and with their estimates and each expectation with the sample average in Eq. (16), we obtain the following estimator of the AUC risk:
where , and we omit the case of in the first term to avoid biases following (Sakai et al., 2018). Since coefficient and constant do not affect the optimization of , we can safely ignore them for training. This property is preferable in practice since and are difficult or impossible to estimate (Bekker & Davis, 2020). Note that although we use the sigmoid function in the AUC risk in Eq. (9), we can derive the AUC risk estimator of the same form in Eq. (17) whenever we use symmetric functions (i.e., function satisfying for any and is a constant). This is because the second term in Eq. (11) also becomes constant. The symmetric functions include many common loss functions such as sigmoid, ramp, and unhinged functions (Charoenphakdee et al., 2019). Even when using non-symmetric functions, we can derive a slightly modified version of the AUC risk estimator, which also enables us to maximize the AUC without requiring and . The details are described in Section D.1. We further analyze the sensitivity of the rewritten risk to labeling probability estimation errors in Section B.2 and the generalization behavior of its empirical estimator in Section B.3.
Algorithm 1 shows the training procedure of the proposed method with stochastic gradient descent methods. We first set mini-batch sizes and so as to maintain the original label ratio (Line 1). Then, we train probabilistic binary classifier to estimate with PU data (Line 2). Then, we randomly sample PU data with positive-confidence from given data (Lines 4–5). We calculate the loss in Eq. (17) for learning score function with trained classifier (Line 6). We update parameters of score function by using the gradient of the loss (Line 7). In the gradient calculation of the last step, parameters of trained classifier are frozen.
4.3 ROBUSTNESS TO STRICTLY INCREASING TRANSFORMATIONS OF POSITIVE-CONFIDENCE
By replacing true posterior in Eq. (15) with observed confidence , we obtain the objective, which is exactly equivalent to the original AUC risk when . However, we show below that this exact equality is not necessary to recover the Bayes-optimal ranking for the AUC.
The denominator in the resulting expectation is also nonzero almost surely. In fact, since , we have for -almost every .
Algorithm 1 Training procedure of the proposed method
Require: Biased PU data with positive-confidence and total mini-batch size M Ensure: Model parameters of score function s 1: Partition M into unlabeled and positive mini-batch sizes, U and P, so that 2: Train classifier to estimate with PU data 3: repeat 4: Sample unlabeled data with size U from X 5: Sample positive data with size P and their confidence from 6: Calculate the loss in Eq. (17) on the sampled data with trained classifier 7: Update parameters of s with the gradient of the loss 8: until End condition is satisfied;
Proposition 4.1. Suppose that the available confidence is , where is an arbitrary strictly increasing function. Then, the objective obtained by replacing with in Eq. (15), i.e.,
induces the same Bayes-optimal ranking for the AUC as the original AUC risk in Eq. (9).
The proof is provided in Section B.1. This result shows that the proposed method can recover the Bayes-optimal ranking for the AUC even when the available confidence is given as any strictly increasing transformation of the true posterior probability which includes systematic over- or under-confidence. In this sense, the proposed method can treat a broader class of confidence than true posterior probabilities.
5 EXPERIMENTS
5.1 DATA
We mainly used six real-world datasets: Mnist (LeCun et al., 1998), FashionMnist (Fmnist) (Xiao et al., 2017), Svhn (Netzer et al., 2011), Cifar10 (Krizhevsky et al., 2009), Diabetes (Gardner et al., 2023), and Blood (Gardner et al., 2023). The first four datasets are image datasets, while the remaining two are tabular datasets. These datasets have been commonly used in PU learning studies (Kumagai et al., 2024; 2025a;b; Xie et al., 2024; Kiryo et al., 2017; Jiang et al., 2023). Following the previous studies (Kumagai et al., 2025b; 2024; 2025a; Xie et al., 2024), we constructed binary classification problems for the image datasets by partitioning their original classes into positive and negative classes, while using the original binary labels for Diabetes and Blood. The detailed construction is provided in Section E.1.
For training and validation in each dataset, we first randomly sampled 5,000 and 1,000 instances from the original data with positive class-prior , respectively. To create the class-imbalanced data, we set to a small value. Specifically, we changed within in our experiments. Then, we set positive labeling rate to . We then selected a fraction of the positive instances within the initially sampled data as labeled positive data according to a biased sampling scheme. Specifically, to induce sampling bias, we made instances from a subset of the positive classes more likely to be labeled for the image datasets and introduced a distance-based selection bias for the tabular datasets. The detailed selection procedure for each dataset and results under other selection biases are provided in Sections E.1 and F.4, respectively. We used 2,500 positive and 2,500 negative data as test data for evaluation.
In the main experiments, positive-confidence was estimated using a probabilistic classifier trained on 10,000 labeled instances with class-prior , following the standard evaluation protocol in previous confidence-based learning studies (Ishida et al., 2018; Cao et al., 2021; Berthon et al., 2021;
Since the number of labeled positive training data is determined as , where V denotes the number of initially sampled training instances (i.e., ), becomes 25, 50, 75, and 100 for the respective values of .
Wang et al., 2023b). Note that these labeled data were used solely to generate confidence values for controlled evaluation. This protocol enables us to quantitatively assess the effectiveness of our AUC risk estimator. Confidence obtained from pre-trained classifiers is also practically relevant, as such classifiers are widely deployed in many real-world systems. Note that results with positive-confidence obtained from real-world human annotators are also reported in Section 5.3. All labeled positive data for training and validation were equipped with positive-confidence. Training data, validation data, test data, and data for the classifier to estimate positive-confidence did not overlap. We conducted 10 experiments for each positive class-prior changing the random seeds and evaluated the mean test AUC.
5.2 COMPARISON METHODS
We compared the proposed method (Ours) with eight methods: non-traditional classifier-based method (NTC) (Elkan & Noto, 2008), non-negative PU learning method (nnPU) (Kiryo et al., 2017), AUC maximization method with PU data (PUAUC) (Xie & Li, 2018; Xie et al., 2024), PU learning method with selection bias (PUSB) (Kato et al., 2019), probabilistic gap-based method (PG) (Gerych et al., 2022), positive-confidence-based method (Pconf) (Ishida et al., 2018), confidence-based noisy PU learning method (NPU) (Tang et al., 2025), and the proposed method without positive-confidence (w/oConf). We further evaluated LBE, a PU learning method under the SAR setting in Section F.6. All methods including our method used neural networks for modeling classifiers.
NTC learns the binary classifier with PU data by simply treating all unlabeled data as negative data. The proposed method also used it for estimating . nnPU and PUAUC are PU learning methods for the SCAR setting (i.e., they assume that labeled positive data are unbiased). Specifically, nnPU learns the classifier by minimizing the non-negative PU risk with PU data. PUAUC learns the classifier by minimizing the AUC risk that is calculated with PU data. PUSB and PG are PU learning methods for the SAR setting (i.e., they assume that labeled positive data are biased). To deal with the SAR setting, PUSB assumes that and induce the same order on the feature space. PG assumes propensity score to be a linear function of . PUSB and PG do not use positive-confidence information. In contrast, Pconf and NPU use positive-confidence information as in the proposed method. Pconf learns the classifier by using only positive data with confidence. NPU learns the classifier by using PU data with positive-confidence, which is designed to handle label noise in labeled positive data. w/oConf is the proposed method that assumes for all labeled positive data in Eq. (17). We compared it to evaluate the effectiveness of using positive-confidence in our framework. For nnPU, PUSB, and NPU, the absolute loss correction was used for preventing overfitting (Kumagai et al., 2025b).
For the proposed method and w/oConf, we rounded up in Eq. (17) less than 0.01 to 0.01 to stabilize the training process following the previous study (Ishida et al., 2018). We empirically confirm the robustness to this clipping value in Section F.9. The empirical risk with validation PU data was used for early-stopping to mitigate overfitting. All methods were implemented using PyTorch (Paszke et al., 2017). The details of settings such as network architectures are described in Section E.3.
5.3 RESULTS
Table 1 shows the average test AUCs of each method on the six real-world datasets. Full results including the standard deviations are described in Section F.11. The proposed method performed the best or comparably to it in all cases. NTC tended not to work well since it treats all unlabeled data as negative, which leads to biased results. nnPU and PUAUC did not work well since they are not designed for the SAR setting. In particular, since the main difference between the proposed method and PUAUC is whether the SAR setting is taken into account or not, this result indicates the importance of considering the bias of labeled positive data in AUC maximization framework. PUSB and PG, which are PU learning methods for the SAR setting, tended to perform worse than the proposed method because their assumptions to deal with the SAR setting were invalid in our experiments. By using positive-confidence information, the proposed method was able to perform well without relying on such assumptions. Since Pconf does not use unlabeled data and assumes that labeled positive data are unbiased, it also did not work well even with positive-confidence. NPU, which uses positive-confidence in the noisy PU learning framework, also did not work well since
Table 1: Average test AUCs over different positive class-prior within . We set . Values in bold are not statistically different at the level from the best performing method in each row according to a paired t-test.
| Data | Ours | w/oConf | NTC | nnPU | PUAUC | PUSB | PG | Pconf | NPU |
|---|---|---|---|---|---|---|---|---|---|
| Mnist | 0.8979 | 0.8769 | 0.8575 | 0.8196 | 0.8828 | 0.8841 | 0.8575 | 0.8193 | 0.8285 |
| Fmnist | 0.9495 | 0.9371 | 0.9165 | 0.9296 | 0.9409 | 0.9474 | 0.9165 | 0.7737 | 0.9470 |
| Svhn | 0.6673 | 0.6666 | 0.5328 | 0.4885 | 0.6704 | 0.5965 | 0.5328 | 0.4900 | 0.4893 |
| Cifar10 | 0.8643 | 0.8371 | 0.8013 | 0.4819 | 0.8620 | 0.8442 | 0.8013 | 0.4767 | 0.4883 |
| Diabetes | 0.7342 | 0.6926 | 0.7357 | 0.5234 | 0.7171 | 0.7230 | 0.7357 | 0.3974 | 0.4626 |
| Blood | 0.5509 | 0.5287 | 0.5409 | 0.4847 | 0.5395 | 0.5450 | 0.5409 | 0.4962 | 0.4828 |

(a) Mnist
(b) Cifar10
(c) Diabetes
(d) Blood
Figure 2: The average test AUCs and their standard errors over different positive class-priors for different parameters of the transformation . Due to space limitation, we reported the results on two image and two tabular datasets; results on all datasets are provided in Section F.7.
Table 2: Results on the Cifar10-H and Fmnist-H datasets: average test AUCs over different positive class-prior within . We set . Values in bold are not statistically different at the level from the best performing method in each row according to a paired t-test.
| Data | Ours | w/oConf | NTC | nnPU | PUAUC | PUSB | PG | Pconf | NPU |
|---|---|---|---|---|---|---|---|---|---|
| Cifar10-H | 0.5991 | 0.5998 | 0.4779 | 0.4404 | 0.5813 | 0.5106 | 0.4779 | 0.5828 | 0.5712 |
| Fmnist-H | 0.8285 | 0.8192 | 0.7823 | 0.6013 | 0.8324 | 0.8242 | 0.7823 | 0.5211 | 0.8061 |
it is not designed for either AUC maximization or the SAR setting. The proposed method often outperformed w/oConf, which is the proposed method without positive-confidence. Thus, this result indicates the effectiveness of using positive-confidence information in our framework. Overall, these results show the effectiveness of the proposed method. The results with each value are described in Section F.1. The proposed method worked well in each case.
We evaluated the performance of the proposed method when the confidence was distorted by strictly increasing transformation . As described in Section 4.3, minimizing the proposed AUC objective with such transformed confidence still leads to the Bayes-optimal ranking for the AUC. Thus, the proposed method is expected to be empirically robust to such transformations. We considered transformation , where , with corresponding to the original confidence. Figure 2 shows the average test AUCs with their standard errors when changing of the transformation . Overall, the performance of the proposed method remained relatively stable across different transformations and showed no systematic degradation as moved away from 1. In contrast, the performances of Pconf that also uses positive-confidence substantially degraded for some values of because it does not have the ranking-invariance property of the proposed method. Results for other transformations are also reported in Section F.7. We also evaluated the robustness of the proposed method to additive Gaussian noise in positive-confidence in Section F.8.
In our experiments so far, we have used classifier-based confidence. However, confidence can also be obtained from labels provided by multiple annotators. Therefore, we evaluated this setting using the Cifar10-H and Fmnist-H datasets, where each instance was labeled by multiple real-world human annotators (Peterson et al., 2019; Ishida et al., 2023), and which have been widely used in confidence-based learning studies (Ishida et al., 2023; Ushio et al., 2026). Confidence for each instance can be obtained by averaging the corresponding annotations (Ishida et al., 2023). Details of the datasets and data construction are provided in Section E.2. Table 2 shows the results. On both datasets, the proposed method achieved performance statistically comparable to the best-performing method, demonstrating its applicability to human-derived confidence. On Cifar10-H, the average positive-confidence value was close to one. Therefore, the proposed method behaved similarly to w/oConf, which sets all positive-confidence values to one, resulting in similar performance.
6 CONCLUSION
In this paper, we proposed an AUC maximization method under the SAR setting with biased PU data and positive-confidence. By using positive-confidence, the proposed method can maximize the AUC even in the SAR setting without restrictive assumptions about the data distributions or labeling mechanism. Our experiments on eight real-world datasets demonstrate the effectiveness of the proposed method.
REFERENCES
Sikha Bagui and Kunqi Li. Resampling imbalanced data for network intrusion detection datasets. Journal of Big Data, 8(1):6, 2021.
Jessa Bekker and Jesse Davis. Learning from positive and unlabeled data: A survey. Machine Learning, 109(4):719–760, 2020.
Jessa Bekker, Pieter Robberechts, and Jesse Davis. Beyond the selected completely at random assumption for learning from positive and unlabeled data. In ECML, 2019.
Antonin Berthon, Bo Han, Gang Niu, Tongliang Liu, and Masashi Sugiyama. Confidence scores make instance-dependent label-noise learning possible. In ICML, 2021.
Andrew P Bradley. The use of the area under the roc curve in the evaluation of machine learning algorithms. Pattern recognition, 30(7):1145–1159, 1997.
Ulf Brefeld, Tobias Scheffer, et al. Auc maximizing support vector learning. In Proceedings of the ICML 2005 workshop on ROC Analysis in Machine Learning, 2005.
Yuzhou Cao, Lei Feng, Yitian Xu, Bo An, Gang Niu, and Masashi Sugiyama. Learning from similarity-confidence data. In ICML, 2021.
Nontawat Charoenphakdee, Jongyeong Lee, and Masashi Sugiyama. On symmetric losses for learning from corrupted labels. In ICML, 2019.
Nitesh V Chawla, Kevin W Bowyer, Lawrence O Hall, and W Philip Kegelmeyer. Smote: synthetic minority over-sampling technique. Journal of artificial intelligence research, 16:321–357, 2002.
Marthinus Du Plessis, Gang Niu, and Masashi Sugiyama. Convex formulation for learning from positive and unlabeled data. In ICML, 2015.
Charles Elkan and Keith Noto. Learning classifiers from only positive and unlabeled data. In SIGKDD, 2008.
Lei Feng, Senlin Shu, Nan Lu, Bo Han, Miao Xu, Gang Niu, Bo An, and Masashi Sugiyama. Pointwise binary classification with pairwise confidence comparisons. In ICML, 2021.
Akinori Fujino and Naonori Ueda. A semi-supervised auc optimization method with generative models. In ICDM, 2016.
Josh Gardner, Zoran Popovic, and Ludwig Schmidt. Benchmarking distribution shift in tabular data with tableshift. NeurIPS, 2023.
Walter Gerych, Thomas Hartvigsen, Luke Buquicchio, Emmanuel Agu, and Elke Rundensteiner. Recovering the propensity score from biased positive unlabeled data. In AAAI, 2022.
Chen Gong, Qizhou Wang, Tongliang Liu, Bo Han, Jane You, Jian Yang, and Dacheng Tao. Instance-dependent positive and unlabeled learning with labeling bias estimation. IEEE transactions on pattern analysis and machine intelligence, 44(8):4163–4177, 2021.
Fengxiang He, Tongliang Liu, Geoffrey I Webb, and Dacheng Tao. Instance-dependent pu learning by bayesian optimal relabeling. arXiv preprint arXiv:1808.02180, 2018.
Takashi Ishida, Gang Niu, and Masashi Sugiyama. Binary classification from positive-confidence data. In NeurIPS, 2018.
Takashi Ishida, Ikko Yamane, Nontawat Charoenphakdee, Gang Niu, and Masashi Sugiyama. Is the performance of my deep network too good to be true? a direct approach to estimating the bayes error in binary classification. In ICLR, 2023.
Fatemeh Jalalvand, Mohan Baruwal Chhetri, Surya Nepal, and Cecile Paris. Alert prioritisation in security operations centres: a systematic survey on criteria and methods. ACM Computing Surveys, 57(2):1–36, 2024.
Yangbangyan Jiang, Qianqian Xu, Yunrui Zhao, Zhiyong Yang, Peisong Wen, Xiaochun Cao, and Qingming Huang. Positive-unlabeled learning with label distribution alignment. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023.
Justin M Johnson and Taghi M Khoshgoftaar. Survey on deep learning with class imbalance. Journal of Big Data, 6(1):1–54, 2019.
Takafumi Kanamori, Shohei Hido, and Masashi Sugiyama. A least-squares approach to direct importance estimation. The Journal of Machine Learning Research, 10:1391–1445, 2009.
Alex Kantchelian, Michael Carl Tschantz, Sadia Afroz, Brad Miller, Vaishaal Shankar, Rekha Bachwani, Anthony D Joseph, and J Doug Tygar. Better malware ground truth: Techniques for weighting anti-virus vendor labels. In AISec, 2015.
Masahiro Kato and Takeshi Teshima. Non-negative bregman divergence minimization for deep direct density ratio estimation. In ICML, 2021.
Masahiro Kato, Takeshi Teshima, and Junya Honda. Learning from positive and unlabeled data with a selection bias. In ICLR, 2019.
Diederik P Kingma and Jimmy Ba. Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
Ryuichi Kiryo, Gang Niu, Marthinus C Du Plessis, and Masashi Sugiyama. Positive-unlabeled learning with non-negative risk estimator. NeurIPS, 2017.
Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
Atsutoshi Kumagai, Tomoharu Iwata, Hiroshi Takahashi, Taishi Nishiyama, and Yasuhiro Fujiwara. Auc maximization under positive distribution shift. In NeurIPS, 2024.
Atsutoshi Kumagai, Tomoharu Iwata, Hiroshi Takahashi, Taishi Nishiyama, Kazuki Adachi, and Yasuhiro Fujiwara. Positive-unlabeled auc maximization under covariate shift. In ICML, 2025a.
Atsutoshi Kumagai, Tomoharu Iwata, Hiroshi Takahashi, Taishi Nishiyama, and Yasuhiro Fujiwara. Importance-weighted positive-unlabeled learning for distribution shift adaptation. In AISTATS, 2025b.
Khiem H Le, Tuan V Tran, Hieu H Pham, Hieu T Nguyen, Tung T Le, and Ha Q Nguyen. Learning from multiple expert annotators for enhancing anomaly detection in medical image analysis. IEEE Access, 11:14105–14114, 2023.
Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dollár. Focal loss for dense object detection. In ICCV, 2017.
Mingrui Liu, Zhuoning Yuan, Yiming Ying, and Tianbao Yang. Stochastic auc maximization with deep neural networks. In ICLR, 2020.
Matthew McDermott, Lasse Hyldig Hansen, Haoran Zhang, Giovanni Angelotti, and Jack Gallifant. A closer look at auroc and auprc under class imbalance. In NeurIPS, 2024.
Giovanna Menardi and Nicola Torelli. Training and assessing classification rules with imbalanced data. Data mining and knowledge discovery, 28:92–122, 2014.
Aditya Krishna Menon and Robert C Williamson. Bipartite ranking: a risk-theoretic perspective. Journal of Machine Learning Research, 17(195):1–102, 2016.
Yisroel Mirsky, Tomer Doitshman, Yuval Elovici, and Asaf Shabtai. Kitsune: an ensemble of autoencoders for online network intrusion detection. In NDSS, 2018.
Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Baolin Wu, Andrew Y Ng, et al. Reading digits in natural images with unsupervised feature learning. In NIPS workshop on deep learning and unsupervised feature learning, volume 2011, pp. 7. Granada, Spain, 2011.
Je-Kang Park, Bae-Keun Kwon, Jun-Hyub Park, and Dong-Joong Kang. Machine learning-based imaging system for surface defect inspection. International Journal of Precision Engineering and Manufacturing-Green Technology, 3:303–310, 2016.
Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. 2017.
Joshua C Peterson, Ruairidh M Battleday, Thomas L Griffiths, and Olga Russakovsky. Human uncertainty makes classification more robust. In ICCV, 2019.
Tomoya Sakai and Nobuyuki Shimizu. Covariate shift adaptation on learning from positive and unlabeled data. In AAAI, 2019.
Tomoya Sakai, Gang Niu, and Masashi Sugiyama. Semi-supervised auc optimization based on positive-unlabeled learning. Machine Learning, 107:767–794, 2018.
Ryoma Sato. Interestingness first classifiers. arXiv preprint arXiv:2508.19780, 2025.
Kazuhiko Shinoda, Hirotaka Kaji, and Masashi Sugiyama. Binary classification from positive data with skewed confidence. In IJCAI, 2021.
Guangxin Su, Weitong Chen, and Miao Xu. Positive-unlabeled learning from imbalanced data. In IJCAI, 2021.
Masashi Sugiyama, Taiji Suzuki, and Takafumi Kanamori. Density ratio estimation in machine learning. Cambridge University Press, 2012.
Masashi Sugiyama, Han Bao, Takashi Ishida, Nan Lu, and Tomoya Sakai. Machine learning from weak supervision: an empirical risk minimization approach. MIT Press, 2022.
Xijia Tang, Chao Xu, Hong Tao, Xiaoyu Ma, and Chenping Hou. Confidence-based pu learning with instance-dependent label noise. IEEE Transactions on Neural Networks and Learning Systems, 2025.
Pawel Teisseyre, Timo Martens, Jessa Bekker, and Jesse Davis. Learning from biased positive-unlabeled data via threshold calibration. In AISTATS, 2025.
Ryota Ushio, Takashi Ishida, and Masashi Sugiyama. Practical estimation of the optimal classification error with soft labels and calibration. In ICLR, 2026.
Guanjin Wang, Stephen Wai Hang Kwok, Mohammed Yousufuddin, and Ferdous Sohel. A novel auc maximization imbalanced learning approach for predicting composite outcomes in covid-19 hospitalized patients. IEEE journal of biomedical and health informatics, 2023a.
Wei Wang, Lei Feng, Yuchen Jiang, Gang Niu, Min-Ling Zhang, and Masashi Sugiyama. Binary classification with confidence difference. In NeurIPS, 2023b.
Gill Ward, Trevor Hastie, Simon Barry, Jane Elith, and John R Leathwick. Presence-only data and the em algorithm. Biometrics, 65(2):554–563, 2009.
Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
Zheng Xie and Ming Li. Semi-supervised auc optimization without guessing labels of unlabeled data. In AAAI, 2018.
Zheng Xie, Yu Liu, Hao-Yuan He, Ming Li, and Zhi-Hua Zhou. Weakly supervised auc optimization: a unified partial auc approach. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2024.
Chen Yang, Minghan Zhao, Chenyu Zhu, Suiwei Xie, and Yifei Chen. Automated detection of breast cancer metastases. In DSInS, 2021.
Tianbao Yang and Yiming Ying. Auc maximization in the era of big data and ai: A survey. ACM computing surveys, 55(8):1–37, 2022.
Yiming Ying, Longyin Wen, and Siwei Lyu. Stochastic online auc maximization. NeurIPS, 2016.
Zhuoning Yuan, Zhishuai Guo, Nitesh Chawla, and Tianbao Yang. Compositional training for end-to-end deep auc maximization. In ICLR, 2021a.
Zhuoning Yuan, Yan Yan, Milan Sonka, and Tianbao Yang. Large-scale robust deep auc maximization: a new surrogate loss and empirical studies on medical image classification. In ICCV, 2021b.
A EXTENDED RELATED WORK
Kumagai et al. (2025a) have recently proposed a distribution shift adaptation method for AUC maximization. Specifically, as distribution shift, this paper assumes the covariate shift, which refers to the situation in which the distribution of input instance changes while the input-output (class label) relationship remains unchanged between the training and test phases. This method uses not only PU data from the training phase but also unlabeled data from the test phase to address the covariate shift. The PU data in the training phase can be regarded as biased data. Specifically, although the distributions of labeled positive data and unlabeled positive data in the training phase are identical (i.e., the SCAR setting), the distributions of labeled positive data in the training phase and the unlabeled positive data in the test phase may differ due to the covariate shift (i.e., a SAR-like setting). While this approach requires a large amount of unlabeled data obtained in the training phase to handle covariate shift, such unlabeled data are not available in our problem setting. Instead, the proposed method requires confidence information for a small amount of positive data.
B THEORETICAL ANALYSIS
We first show a basic relationship between the supports of the labeling probability and the posterior probability, and derive an expectation identity used in the following analysis.
Lemma B.1. Let and . Under the PU assumption and the positivity condition in Section 4.1,
(19) and for -almost every . Moreover, for any measurable function such that the following expectations are finite,
Proof. By Eq. (98) in Section C.3,
Therefore, implies .
To show the reverse implication, the positivity condition implies
Therefore, letting , we have
(23)
where we used . Since on , this implies
Thus, for -almost every such that . Since , it follows that
Combining the two implications, we obtain
Next, by Bayes' rule,
Therefore,
(28)
Thus, for -almost every . We can therefore restrict the expectation under to the region where . Using Eq. (27), we obtain
where the last equality follows from Eq. (19).
B.1 PROOF OF THE ROBUSTNESS STATEMENT UNDER STRICTLY INCREASING TRANSFORMATIONS OF POSITIVE-CONFIDENCE
Proof. Let and . Since the multiplicative coefficient in Eq. (18) is positive and the additive term is independent of , minimizing is equivalent to minimizing
Applying Lemma B.1 with
we obtain
Define
and
Since and for , we have . Then,
Thus, up to a positive multiplicative constant, is the sigmoid AUC surrogate for bipartite ranking between and p. By the AUC consistency of the sigmoid loss (Charoenphakdee et al., 2019) and the Bayes characterization of bipartite ranking (Menon & Williamson, 2016), the Bayes-optimal ranking for this problem is determined by
Since is strictly increasing, is also strictly increasing on : for , , and for , . Thus, the Bayes-optimal ranking induced by is identical to that induced by .
On the other hand, the Bayes-optimal ranking for the original AUC risk in Eq. (9) is determined by
which is also strictly increasing in . Thus, the transformed objective and the original AUC risk induce the same Bayes-optimal ranking for the AUC.
B.2 SENSITIVITY TO LABELING-PROBABILITY ESTIMATION
In practice, the labeling probability in Eq. (15) is unknown and must be estimated from the given PU data. Here, we analyze how its estimation error affects the rewritten AUC risk and the resulting ranking.
Proposition B.2. Let and . For an estimate of , define
Note that in Eq. (15). Suppose that for all and
for p-almost every x satisfying . Then,
Furthermore, suppose that is an approximate minimizer satisfying
where . Then,
Proof. Since ,
Applying Lemma B.1 with
we obtain
(45)
where the second inequality follows from p-almost surely in Lemma B.1 and the assumptions on . In the last equality, we used and . By taking the supremum over , we obtain Eq. (40).
By Eq. (40),
(46)
which proves the second claim.
Eq. (40) shows that, for fixed and , the deviation of the rewritten AUC risk increases at most linearly with the labeling probability estimation error . The factor also indicates that the effect of estimation errors can be amplified when the estimated labeling probability is close to zero. This provides theoretical motivation for the clipping used in our experiments.
We next show how misspecification of the labeling probability affects the resulting ranking. Using , the part of that depends on can, up to a positive multiplicative constant, be written as
Define
By the same Bayes characterization of bipartite ranking used in Section B.1 (Menon & Williamson, 2016), the Bayes-optimal ranking associated with this objective is determined by .
This result shows that some estimation errors in the labeling probability do not affect the resulting ranking. First, suppose that for some constant for -almost every satisfying . On this set,
On the other hand, by Lemma B.1, implies p-almost surely. In addition, since when , we have
This almost-sure equality is sufficient for the population AUC. Since with , any p-null set is also null under both and . Hence, the pairwise ordering induced by and is identical -almost surely. Since , preserves the ordering induced by . Thus, a constant multiplicative error in the estimated labeling probability does not change the Bayes-optimal AUC ranking.
More generally, suppose that the relative estimation error is uniformly bounded as
for p-almost every x satisfying . Then,
and thus
For two instances x and outside the corresponding p-null set satisfying , their ordering is guaranteed to be preserved if the smallest possible value of is larger than the largest possible value of , namely, if
or equivalently,
If , their ordering is also preserved outside the corresponding p-null set. Therefore, under the relative-error bound in Eq. (51), a pair can have its ordering reversed only when their posterior probabilities are sufficiently close.
B.3 GENERALIZATION ERROR ANALYSIS
We next provide a finite-sample analysis of learning with the proposed AUC risk estimator. We consider finite score function and labeling probability classes to analyze the basic convergence behavior of the estimator.
Let S be a finite class of score functions, and let be a finite class of labeling probability functions such that
Define . Let denote the observed, possibly noisy confidence. To make the dependence on the score function explicit, we write
For and , define
Since , , and , we have
Define the empirical positive-positive and positive-unlabeled terms corresponding to Eq. (17) as
The corresponding population terms are
Let and define
We first derive a uniform finite-sample bound. For , define
Lemma B.3. With probability at least ,
Proof. Consider a fixed pair . Replacing one labeled positive instance changes at most summands in . Thus, by Eq. (59), replacing one labeled positive instance changes by at most . As a result, McDiarmid's inequality gives
For , replacing one labeled positive instance changes summands and thus changes the average by at most . Similarly, replacing one unlabeled instance changes summands and thus changes the average by at most . As a result, McDiarmid's inequality gives
Applying a union bound over the pairs in and over the two empirical terms yields, with probability at least ,
Eq. (66) follows by combining these two inequalities with Eq. (64).
In practice, is estimated as
Define its estimation error as
Since , we have
(73)
Thus, on the event in Eq. (66),
(74)
Thus, Eq. (74) also holds with probability at least .
For arbitrary confidence and , define the population and empirical rewritten risks by
Define
Then, Eq. (74) implies that, with probability at least ,
We next define the population risk corresponding to the true confidence and labeling probability. For the following analysis, we interpret as zero when . By Lemma B.1, for -almost every . Therefore, this convention does not affect expectations with respect to and thus does not change the rewritten AUC risk in Eq. (15).
We denote this population risk by
By Eq. (15), is equal to the original population AUC risk.
We next show the excess-risk bound for the score function learned with the proposed estimator.
Theorem B.4. Suppose that the data-dependent estimate and that is an approximate empirical minimizer satisfying
where . Suppose that the PU assumption and the positivity condition in Section 4.1 hold, and that
for p-almost every x satisfying . Then, with probability at least ,
Proof. On the event in Eq. (78), the uniform bound holds simultaneously for all . Therefore, since , it also holds for the data-dependent estimate :
Since S is finite, let
Then, by Eqs. (83) and (80), we have
(85)
By the definition of , this yields
We next analyze the effects of the confidence error and the labeling-probability estimation error. For any , using , we have
(87)
Here and below, is interpreted as zero when . By Lemma B.1, for -almost every . Thus, we can restrict the expectation in Eq. (87) to the set . On this set,
Since and for -almost every satisfying , the expectation of the first term is bounded as
For the second term, using , we obtain
(90)
By Lemma B.1, p-almost surely. Therefore,
(91)
Since , Eq. (90) gives
Combining Eqs. (87), (89), and (92), we obtain
(93)
Let
Using Eq. (93) for both and and Eq. (86), we obtain
(95)
which proves Eq. (82).
The bound in Eq. (82) decomposes the excess smoothed AUC risk into the finite-sample statistical error, the estimation error of , the confidence error, the labeling-probability estimation error, and the optimization error. For fixed finite function classes, converges to zero as . Thus, the excess risk converges to zero as the sample sizes increase, provided that the estimation errors of , the confidence, and the labeling probability, as well as the optimization error, also vanish. Here, we consider finite function classes for a self-contained analysis. Extending the result to infinite function classes using Rademacher complexity is left for future work.
C DERIVATIONS FOR THE PROPOSED AUC RISK
C.1 CONSTANCY OF THE POSITIVE-POSITIVE TERM
Lemma C.1.
Proof. Since and for all ,
(96)
It is clear that the lemma follows from this equation.
C.2 DERIVATION OF THE RELATION BETWEEN THE LABELED AND POSITIVE DENSITIES
Lemma C.2. Labeled density can be represented as , where , , and .
Proof.
where we used the PU property (labeled data are always positive) in the second equality and the Bayes' rule in the third equality.
C.3 RELATION BETWEEN THE PROPENSITY SCORE AND THE LABELING PROBABILITY
Lemma C.3. Labeling probability and propensity score satisfy
Consequently, for any x such that ,
Proof. By the law of total probability,
(100)
where the second equality follows from the definition of the propensity score and the PU assumption . Dividing both sides by gives Eq. (99). Moreover, since , we have for -almost every . Therefore, Eq. (14) holds for -almost every .
D EXTENSIONS OF THE PROPOSED METHOD
D.1 EXTENSION TO NON-SYMMETRIC LOSS FUNCTIONS
In this section, we derive the AUC risk estimator when using non-symmetric function , which also enables us to maximize the AUC without requiring and c.
Specifically, since the second term in Eq. (11) does not become a constant with non-symmetric functions, we need to calculate this term with biased positive data. Using Eqs. (13) and (14), as in the derivation of the proposed risk in the main paper, the second term in Eq. (11) can be rewritten as
(101)
where we used .
By replacing the constant term in Eq. (16) with the above-derived term, we can obtain the AUC risk with non-symmetric functions as follows:
(102)
The corresponding AUC risk estimator can be obtained by approximating the expectation with the sample average. Since the coefficient does not affect the optimization of s, we can also perform training without knowing and c.
D.2 EXTENSION TO THE TWO-SAMPLE SCENARIO
In the main paper, we assume the one-sample scenario for collecting PU data. In this section, we consider the proposed method for the two-sample scenario. In this scenario, PU data are sampled independently: labeled positive data are drawn from and unlabeled data are drawn from true marginal density . As a result, we are given the following data for training:
(103)
In this scenario, the relationship between and in Eq. (13) is also satisfied. Additionally, propensity score can be rewritten as
where we used the Bayes’ rule in the second equality, the PU property (labeled data are always positive), , in the fourth equality, and set and in the fifth equality. Here, unlike Eq. (14) of the one-sample scenario, we do not use to represent . This is because the numbers of PU data are arbitrarily determined by the users (data collectors) in the two-sample scenario and thus true label ratio cannot be estimated from the given data (Elkan & Noto, 2008). As a result, cannot also be estimated from the given data (Elkan & Noto, 2008). In contrast, density-ratio in Eq. (104) can be estimated from given PU data without knowing by using off-the-shelf density-ratio estimation methods (Kanamori et al., 2009; Kato & Teshima, 2021; Kato et al., 2019; Sugiyama et al., 2012).
By substituting Eqs. (13) and (104) into Eq. (12), AUC risk can be represented as
Here, coefficient and constant do not affect the optimization for score function and thus we can safely ignore them. The estimator of the AUC risk in Eq. (105) with training data can be represented as
where denotes the estimate of density-ratio for instance .
E ADDITIONAL EXPERIMENTAL DETAILS
E.1 DATASETS AND DATA CONSTRUCTION
Mnist consists of hand-written images of 10 digits. Fmnist consists of images of 10 fashion categories. In Mnist and Fmnist, each image is represented by gray scale with pixels. Svhn consists of images of 10 printed digits clipped from photographs of house number plates. Cifar10 consists of images of 10 animal and vehicle categories. In Svhn and Cifar10, each image is represented by RGB pixels. Diabetes is a tabular dataset whose task is to predict whether the respondent has diabetes or not. Each respondent is represented as 142-dimensional features. Blood is a tabular dataset whose task is hypertension diagnosis for high-risk age people. Each survey subject is represented as 100-dimensional features.
We created the binary classification problems from each dataset following the data creation procedure of previous studies (Kumagai et al., 2025b; 2024; 2025a; Xie et al., 2024). Specifically, for Mnist and Svhn, we used odd digits as positive and even digits as negative. For Fmnist, we used non-upper garment classes (1, 5, 7, 8, and 9) as positive and the others as negative. For Cifar10, we used the vehicle classes (0, 1, 8, and 9) as positive and the animal classes as negative. For Diabetes and Blood, we used the original binary class labels.
To create the sampling bias, for Mnist and Svhn, 90% of data were selected from digits 1, 3, and 5, and 10% of data were selected from digits 7 and 9 for labeled positive data. For Fmnist, 90% of data were selected from classes 1, 5, and 7, and 10% of data were selected from classes 8 and 9 for labeled positive data. For Cifar10, 90% of data were selected from classes 0, and 1, and 10% of data were selected from classes 8 and 9 for labeled positive data. The remaining unselected data were used for unlabeled data for training and validation.
To create the selection bias in Diabetes and Blood datasets, we followed the procedure used in previous studies (Sakai & Shimizu, 2019; Kumagai et al., 2025a). Specifically, we first calculated the Euclidean distance between positive instance and the mean vector of all positive data , . Then, we found the median from all . We split all into the first set whose elements were smaller than and the second set whose elements were greater than or equal to . Within labeled positive data, 90% data were selected from the first set and 10% data from the second set. In addition, we provide the results when using other selection biases for the image and tabular datasets in Section F.4.
E.2 DATASETS WITH HUMAN-DERIVED CONFIDENCE
Cifar10-H and Fmnist-H were real-world image datasets where each instance was labeled by approximately 50 and 67 real-world human annotators, respectively (Peterson et al., 2019; Ishida et al., 2023). In these datasets, confidence information for each instance can be obtained by averaging the corresponding annotations (Ishida et al., 2023). For Cifar10-H, we treated the land-related classes (1, 3, 4, 5, 7, and 9) as positive and the remaining classes (e.g., water- or sky-related classes) as negative following the previous study (Ishida et al., 2023). To create the sampling bias, 90% of the labeled positive data were sampled from classes 1, 3, and 4. For Fmnist-H, we treated the casual classes (0, 1, 2, 6, and 7) as positive and the non-casual classes (3, 4, 5, 8, and 9) as negative. To create the sampling bias, 90% of the labeled positive data were sampled from classes 0, 1, and 2. Since the amount of annotated data was limited, we set the number of initially sampled unlabeled training to 3,000 for both datasets. The other conditions were the same as those used for Cifar10 and Fmnist.
E.3 MODEL AND TRAINING DETAILS
For Mnist, Fmnist, Fmnist-H, Diabetes, and Blood, a three-layered feed-forward neural network with ReLU activation was used for the classifier (score function). The number of hidden nodes was 124. For Svhn, Cifar10, and Cifar10-H, a convolutional neural network, which consisted of two convolutional blocks followed by a three-layered feed-forward neural network, was used for the classifier (score function). The first (second) convolutional block comprised a 6 (16) filter convolution, the ReLU activation, and a max-pooling layer. For all comparison methods including the classifier to estimate positive-confidence, the same neural network architecture was used.
For the proposed method, w/oConf, nnPU, PUAUC, Pconf, and NPU, the sigmoid function was used as a surrogate, following the previous studies (Kiryo et al., 2017; Kumagai et al., 2024; 2025a). For PUSB, we used the logarithmic loss function to deal with the selection bias following the original paper (Kato et al., 2019). For NTC and the classifier to estimate , we used the logistic regression with the neural network as probabilistic classifiers. For nnPU, PUAUC, PUSB, and NPU, whose original objectives involve expectations over the marginal density, we exactly reexpressed these expectations in terms of the labeled positive and unlabeled densities under the one-sample sampling scheme (Bekker & Davis, 2020) for fair comparisons.
For all methods, the empirical risk (loss) with validation PU data was used for early-stopping to mitigate overfitting. For NPU, the weighting parameter was also chosen on the basis of the validation

(a) Mnist
(b) Fmnist
(c) Svhn

(d) Cifar10
(e) Diabetes
(f) Blood
Figure 3: Average test AUCs with their standard errors when changing positive class-prior within .
empirical risk from . Confidence score used in NPU was set to one since the observed positive labels are noise-free in our setting. For the proposed method and w/oConf, we rounded up in Eq. (17) less than 0.01 to 0.01 to stabilize the training process following the previous study (Ishida et al., 2018). Similarly, for Pconf and NPU, we rounded up less than 0.01 to 0.01 for their objectives. For all methods, we used the Adam optimizer (Kingma & Ba, 2014). We set the learning rate to . Total mini-batch size was set to 1,024 and PU mini-batch sizes and were set so as to maintain the label ratio in the given all data. For the classifier for estimating , we set the training epoch to 30. For other methods, the maximum number of epochs was 200 and the early-stopping was used. All methods were implemented using PyTorch (Paszke et al., 2017), and all experiments were conducted on a Linux server with an Intel Xeon CPU and A100 GPU.
F ADDITIONAL EXPERIMENTAL RESULTS
F.1 RESULTS WITH DIFFERENT POSITIVE CLASS-PRIORS
Figure 3 shows the average test AUCs with their standard errors when changing the value of positive class-prior . The proposed method tended to perform well with each value. Most methods tended to improve the performance as the value of increased. This is because the number of labeled positive data increased when increased due to the relationship with fixed .
Figure 4 shows the average test AUCs with their standard errors when changing the value of positive class-prior while maintaining the labeled positive data size. To maintain the size, we adjusted the value of such that for each . As a result, the labeled positive data and unlabeled data sizes were 100 and 4,900, respectively. The proposed method worked well in most cases and simply increasing did not lead to performance improving.
F.2 RESULTS WITH DIFFERENT POSITIVE LABELING RATES
Tables 3 and 4 show the average test AUCs over different positive class-prior when changing the value of . The proposed method performed well for each value. As increases, the number of labeled positive data increases, and thus the performance of the proposed method tends to improve.

(a) Mnist
(b) Fmnist
(c) Svhn

(d) Cifar10
(e) Diabetes
(f) Blood
Figure 4: Average test AUCs with their standard errors when changing positive class-prior within with the fixed number of labeled positive data.
Table 3: Average test AUCs over different positive class-prior within with .
| Data | Ours | w/oConf | NTC | nnPU | PUAUC | PUSB | PG | Pconf | NPU |
|---|---|---|---|---|---|---|---|---|---|
| Mnist | |||||||||
| Fmnist | |||||||||
| Svhn | |||||||||
| Cifar10 | |||||||||
| Diabetes | |||||||||
| Blood | |||||||||
| # Best |
Table 4: Average test AUCs over different positive class-prior within with .
| Data | Ours | w/oConf | NTC | nnPU | PUAUC | PUSB | PG | Pconf | NPU |
|---|---|---|---|---|---|---|---|---|---|
| Mnist | |||||||||
| Fmnist | |||||||||
| Svhn | |||||||||
| Cifar10 | |||||||||
| Diabetes | |||||||||
| Blood | |||||||||
| # Best |
F.3 VISUALIZATION
The proposed method assigns weight to the labeled positive instance in the AUC risk of Eq. (16) for dealing with the bias of given positive data. In this section, we investigated the distribution of the estimated weights for labeled positive data with the Mnist dataset. Figure 5 shows the result. As can be seen, the values of the weights ranged from around 0.05 to about 84.0, with the majority distributed between 0.0 and 10.0. By leveraging these estimated weights, the proposed method performed superiorly.

Figure 5: Weight distribution of the proposed method with the Mnist dataset when .
Table 5: The results using confidence-dependent selection bias: average test AUCs over different positive class-prior within . Values in bold are not statistically different at the level from the best performing method in each row according to a paired t-test.
| Data | Ours | w/oConf | NTC | nnPU | PUAUC | PUSB | PG | Pconf | NPU |
|---|---|---|---|---|---|---|---|---|---|
| Mnist | 0.9142 | 0.9063 | 0.8941 | 0.8876 | 0.9132 | 0.9162 | 0.8941 | 0.7540 | 0.8901 |
| Fmnist | 0.9748 | 0.9728 | 0.9488 | 0.9237 | 0.9738 | 0.9709 | 0.9488 | 0.4847 | 0.9494 |
| Svhn | 0.6546 | 0.6594 | 0.5290 | 0.4890 | 0.6650 | 0.5831 | 0.5290 | 0.4899 | 0.4894 |
| Cifar10 | 0.8614 | 0.8499 | 0.8103 | 0.5196 | 0.8595 | 0.8444 | 0.8103 | 0.5608 | 0.5788 |
| Diabetes | 0.7684 | 0.7395 | 0.7682 | 0.5923 | 0.7643 | 0.7699 | 0.7682 | 0.3808 | 0.5249 |
| Blood | 0.6129 | 0.5846 | 0.5927 | 0.5011 | 0.6076 | 0.6085 | 0.5927 | 0.4769 | 0.4762 |
Table 6: Training time [sec] of each method on the Mnist dataset.
| Ours | w/oConf | NTC | nnPU | PUAUC | PUSB | PG | Pconf | NPU |
|---|---|---|---|---|---|---|---|---|
| 84.5424 | 84.6170 | 84.8195 | 84.5650 | 83.3238 | 85.2143 | 0.3280 | 80.4764 | 84.9054 |
F.4 RESULTS WITH CONFIDENCE-DEPENDENT SELECTION BIAS
In the main paper, we considered class-based and distance-based selection biases for the image and tabular datasets, respectively. In this section, we evaluated the proposed method using a confidence-dependent selection bias, which often arises in real-world applications. Specifically, we fixed the fraction of labeled positive instances at , so that , and sampled these instances from the positive instances in an initial data pool of size , using sampling weights proportional to , where . We used the probabilistic classifier for estimating . In this setting, positive instances with higher confidence were more likely to be selected as labeled data. Table 5 shows the results. The proposed method performed well under this confidence-dependent selection bias.
F.5 COMPUTATION COSTS
We investigated the training time of the proposed method on the Mnist dataset. We used a Linux server with a 2.20GHz CPU. Table 6 shows the results. Although the proposed method (Ours), w/oConf, and PG require the training of , we omitted its training time here because we wanted to purely investigate the computation cost of our proposed loss function in Eq. (17). There were no significant differences in training time among all methods except for PG. The training time of PG is short since the classifier of PG can be obtained analytically from trained . However, it had lower test AUCs than the proposed method as described in Table 1. The full training times, including the training time of , for the proposed method (Ours), w/oConf, and PG were 169.3620, 169.4360, and 85.1475, respectively. Although the proposed method had a longer training time than other methods due to the additional training of , it had superior test AUCs.
Table 7: Comparison with LBE: average test AUCs over different positive class-prior within . We set . Values in bold are not statistically different at the level from the best performing method in each column according to a paired t-test.
| Method | Mnist | Fmnist | Svhn | Cifar10 | Diabetes | Blood |
|---|---|---|---|---|---|---|
| Ours | 0.8979 | 0.9495 | 0.6673 | 0.8643 | 0.7342 | 0.5509 |
| LBE | 0.8631 | 0.9245 | 0.5668 | 0.8271 | 0.7292 | 0.5399 |

(a) Mnist
(b) Fmnist
(c) Svhn

(d) Cifar10
(e) Diabetes
(f) Blood
Figure 6: The average test AUCs and their standard errors over different positive class-priors for different parameters of the transformation .
F.6 COMPARISON WITH AN ADDITIONAL SAR-SPECIFIC METHOD
To further compare the proposed method with methods specifically designed for the SAR setting, we additionally evaluated LBE (LBE-MLP) (Gong et al., 2021), a representative PU learning method for both the SAR setting and the one-sample scenario. This method estimates both and from biased PU data using the EM algorithm. Table 7 shows the results. The proposed method often outperformed LBE. This would be because LBE is not designed for AUC maximization and has difficulty identifying from biased PU data. In contrast, our method is designed to maximize AUC and to avoid the identifiability issue by using positive-confidence.
F.7 RESULTS UNDER STRICTLY INCREASING TRANSFORMATIONS OF POSITIVE-CONFIDENCE
Figures 6 and 7 show the average test AUCs with their standard errors when changing of the transformations and , respectively. For both transformation forms, the performance of the proposed method remained relatively stable across different values and showed no large degradation as moved away from 1. In contrast, the performances of Pconf that also uses positive-confidence substantially degraded for some values of , reflecting its sensitivity to transformations of the confidence values.
F.8 RESULTS WITH GAUSSIAN NOISE ON POSITIVE-CONFIDENCE
As shown in Section 4.3, the proposed method can recover the Bayes-optimal AUC ranking even when the positive-confidence is distorted by a strictly increasing transformation. We further evaluated its robustness when random noise was added to the positive-confidence. For noisy

(a) Mnist
(b) Fmnist
(c) Svhn

(d) Cifar10
(e) Diabetes
(f) Blood
Figure 7: The average test AUCs and their standard errors over different positive class-priors for different parameters of the transformation .
Table 8: The results with noisy positive-confidence: average test AUCs over different positive class-prior within . Std represents the standard deviation of Gaussian noise. Std = 0.0 means that there is no noise.
| Std | 0.0 | 0.01 | 0.05 | 0.1 | 0.15 | w/oConf |
|---|---|---|---|---|---|---|
| Mnist | 0.8979 | 0.8966 | 0.8932 | 0.8905 | 0.8883 | 0.8769 |
| Fmnist | 0.9495 | 0.9495 | 0.9501 | 0.9496 | 0.9489 | 0.9371 |
| Svhn | 0.6673 | 0.6662 | 0.6601 | 0.6367 | 0.6161 | 0.6666 |
| Cifar10 | 0.8643 | 0.8670 | 0.8623 | 0.8579 | 0.8552 | 0.8371 |
| Diabetes | 0.7342 | 0.7333 | 0.7277 | 0.7189 | 0.7013 | 0.6926 |
| Blood | 0.5509 | 0.5457 | 0.5435 | 0.5376 | 0.5321 | 0.5287 |
positive-confidence, we added the zero-mean Gaussian noise with standard deviations chosen from following the previous study (Ishida et al., 2018). As the standard deviation increases, the noise on positive-confidence becomes bigger. When the modified positive-confidence was less than 0 or greater than 1, we clipped the value to 0 and 1, respectively. Table 8 shows the results. As expected, the performance of the proposed method tended to decrease as the noise increased, because our objective function in Eq. (17) explicitly depends on confidence values. However, the degradation was relatively small on several datasets. Even with a standard deviation of 0.15, the proposed method often outperformed w/oConf, which does not use positive-confidence. These results suggest that using positive-confidence can remain beneficial even when the confidence contains random noise.
F.9 ROBUSTNESS ANALYSIS FOR THE CLIPPING
As mentioned in Section 5.2, we used the clipping for estimated labeling probability to stabilize the training process. Specifically, when the estimated labeling probability was smaller than a clipping value, we replaced it with the clipping value. Here, we empirically investigated the robustness of the proposed method to the clipping values. Table 9 shows the average test AUCs by changing clipping value within . These results show that the proposed method is relatively robust against the choice of the clipping values.
Table 9: Average test AUCs when varying the clipping value for the estimated labeling probability .
| Data | |||||
|---|---|---|---|---|---|
| Mnist | |||||
| Fmnist | |||||
| Svhn | |||||
| Cifar10 | |||||
| Diabetes | |||||
| Blood |
Table 10: The results with noisy estimated labeling probabilities: average test AUCs over different positive class-prior within . Std represents the standard deviation of Gaussian noise. Std = 0.0 means that there is no noise.
| Std | |||||
|---|---|---|---|---|---|
| Mnist | |||||
| Fmnist | |||||
| Svhn | |||||
| Cifar10 | |||||
| Diabetes | |||||
| Blood |
F.10 RESULTS WITH GAUSSIAN NOISE ON ESTIMATED LABELING PROBABILITY
The proposed method uses the labeling probability estimated from the given PU data, , to construct the rewritten AUC estimator. Here, we evaluated the proposed method when random noise was added to estimated labeling probability . Specifically, we added the zero-mean Gaussian noise with standard deviations chosen from to . When the modified labeling probability was less than 0.01 or greater than 1, we clipped the value to 0.01 and 1, respectively. Table 10 shows the results. As expected, the performance of the proposed method tended to decrease as the noise increased. However, the degradation was relatively small on several datasets. Even with a standard deviation of 0.15, the proposed method often worked well. These results empirically demonstrate that the proposed method is reasonably robust to estimation errors in the labeling probability.
F.11 FULL RESULTS
Table 11 shows the average test AUCs with their standard deviations over different positive class-prior in each dataset. The proposed method performed the best or comparably to it in all cases.
Table 11: Average test AUCs with their standard deviations over different positive class-prior within . We set . Values in bold are not statistically different at the level from the best performing method in each row according to a paired t-test.
| Data | Ours | w/oConf | NTC | nnPU | PUAUC |
|---|---|---|---|---|---|
| Mnist | 0.8979(0.0158) | 0.8769(0.0226) | 0.8575(0.0192) | 0.8196(0.0531) | 0.8828(0.0203) |
| Fmnist | 0.9495(0.0236) | 0.9371(0.0267) | 0.9165(0.0219) | 0.9296(0.0180) | 0.9409(0.0231) |
| Svhn | 0.6673(0.0688) | 0.6666(0.0579) | 0.5328(0.0305) | 0.4885(0.0069) | 0.6704(0.0539) |
| Cifar10 | 0.8643(0.0373) | 0.8371(0.0420) | 0.8013(0.0491) | 0.4819(0.1191) | 0.8620(0.0355) |
| Diabetes | 0.7342(0.0306) | 0.6926(0.0268) | 0.7357(0.0183) | 0.5234(0.0775) | 0.7171(0.0258) |
| Blood | 0.5509(0.0317) | 0.5287(0.0253) | 0.5409(0.0336) | 0.4847(0.0182) | 0.5395(0.0273) |
| Data | PUSB | PG | Pconf | NPU | |
| Mnist | 0.8841(0.0197) | 0.8575(0.0192) | 0.8193(0.0807) | 0.8285(0.0598) | |
| Fmnist | 0.9474(0.0195) | 0.9165(0.0219) | 0.7737(0.1616) | 0.9470(0.0276) | |
| Svhn | 0.5965(0.0763) | 0.5328(0.0305) | 0.4900(0.0070) | 0.4893(0.0068) | |
| Cifar10 | 0.8442(0.0446) | 0.8013(0.0491) | 0.4767(0.1310) | 0.4883(0.1395) | |
| Diabetes | 0.7230(0.0248) | 0.7357(0.0183) | 0.3974(0.0368) | 0.4626(0.0605) | |
| Blood | 0.5450(0.0323) | 0.5409(0.0336) | 0.4962(0.0204) | 0.4828(0.0200) |