On the Consistency of AUC Pairwise Optimization
Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 939-944.
Abstract
AUC (Area Under ROC Curve) has been an important critrion widely used in diversity learning tasks. To optimize AUC, many learning approaches have been developed, most working with pairwise surrogate losses. Thus, it is important to study the AUC consistency based on minimizing pairwise surrogate losses. In this paper, we introduce the generalized calibration for AUC optimization, and prove that it is a necessary condition for AUC consistency. We then provide a new sufficient condition for AUC consistency, and show its usefulness in studying the consistency of various surrogate losses, as well as the invetion of new consistent losses. Further, we derive regret bounds for exponential and logistic losses, and present regret bounds for more general surrogate losses in realizable setting. Finally, we prove regret bounds that disclose the equivalence between the pairwise exponential loss of AUC and the univariate exponential loss of accuracy.
- [Agarwal, 2013] S. Agarwal. Surrogate regret bounds for the area under the ROC curve via strongly proper losses. In COLT, pages 338-353, 2013.
- [Bartlett et al., 2006] P. L. Bartlett, M. I. Jordan, and J. D. McAuliffe. Convexity, classification, and risk bounds. J. Am. Stat. Assoc., 101(473):138-156, 2006.
- [Brefeld and Scheffer, 2005] U. Brefeld and T. Scheffer. AUC maximizing support vector learning. In ICML Work- shop, 2005.
- [Clemenćon et al., 2008] S. Clemenćon, G. Lugosi, and N. Vayatis. Ranking and empirical minimization of U- statistics. Ann. Stat., 36(2):844-874, 2008.
- [Cohen et al., 1999] W. W. Cohen, R. E. Schapire, and Y. Singer. Learning to order things. Neural Comput., 10:243-270, 1999.
- [Cossock and Zhang, 2008] D. Cossock and T. Zhang. Sta- tistical analysis of Bayes optimal subset ranking. IEEE T. Inform. Theory, 54(11):5140-5154, 2008.
- [Duchi et al., 2010] J. C. Duchi, L. W. Mackey, and M. I. Jor- dan. On the consistency of ranking algorithms. In ICML, pages 327-334, 2010.
- [Egan, 1975] J. Egan. Signal detection theory and ROC curve, Series in Cognition and Perception. Academic Press, New York, 1975.
- [Flach et al., 2011] P. A. Flach, J. Hernández-Orallo, and C. F. Ramirez. A coherent interpretation of AUC as a mea- sure of aggregated classification performance. In ICML, pages 657-664, 2011.
- [Freund and Schapire, 1997] Y. Freund and R. E. Schapire. A decision-theoretic generalization of on-line learning and an application to boosting. JCSS, 55(1):119-139, 1997.
- [Freund et al., 2003] Y. Freund, R. Iyer, R. E. Schapire, and Y. Singer. An efficient boosting algorithm for combining preferences. JMLR, 4:933-969, 2003.
- [Friedman et al., 2000] J. Friedman, T. Hastie, and R. Tib- shirani. Addtive logistic regression: A statistical view of boosting (with discussions). Ann. Stat., 28(2):337-407, 2000.
- [Gao and Zhou, 2012] W. Gao and Z.-H. Zhou. On the con- sistency of AUC optimization. CORR abs/1208.0645, 2012.
- [Gao and Zhou, 2013] W. Gao and Z.-H. Zhou. On the con- sistency of multi-label learning. AIJ, 199:22-44, 2013.
- [Gao et al., 2013] W. Gao, R. Jin, S. Zhu, and Z.-H. Zhou. One-pass auc optimization. In ICML, pages 906-914, 2013.
- [Joachims, 2005] T. Joachims. A support vector method for multivariate performance measures. In ICML, pages 377- 384, 2005.
- [Kotlowski et al., 2011] W. Kotlowski, K. Dembczynski, and E. Hüllermeier. Bipartite ranking through minimiza- tion of univariate loss. In ICML, pages 1113-1120, 2011.
- [Long and Servedio, 2013] P. Long and R. Servedio. Consis- tency versus realizable H-consistency for multiclass clas- sification. In ICML, pages 801-809, 2013.
- [Marron et al., 2007] J. Marron, M. Todd, and J. Ahn. Distance-weighted discrimination. J. Am. Stat. Assoc., 102(480):1267-1271, 2007.
- [Menon and Williamson, 2014] A. K. Menon and R. C. Williamson. Bayes-optimal scorers for bipartite ranking. In COLT, pages 68-106, 2014.
- [Rudin and Schapire, 2009] C. Rudin and R. E. Schapire. Margin-based ranking and an equivalence between Ad- aBoost and RankBoost. JMLR, 10:2193-2232, 2009.
- [Tewari and Bartlett, 2007] A. Tewari and P. L. Bartlett. On the consistency of multiclass classification methods. JMLR, 8:1007-1025, 2007.
- [Uematsu and Lee, 2012] K. Uematsu and Y. Lee. On the- oretically optimal ranking functions in bipartite ranking. Technical report, 2012.
- [Xia et al., 2008] F. Xia, T. Y. Liu, J. Wang, W. Zhang, and H. Li. Listwise approach to learning to rank: Theory and algorithm. In ICML, pages 1192-1199, 2008.
- [Zhang, 2004a] T. Zhang. Statistical analysis of some multi- category large margin classification methods. JMLR, 5:1225-1251, 2004.
- [Zhang, 2004b] T. Zhang. Statistical behavior and consis- tency of classification methods based on convex risk min- imization. Ann. Stat., 32(1):56-85, 2004.
- [Zhao et al., 2011] P. Zhao, S. Hoi, R. Jin, and T. Yang. On- line AUC maximization. In ICML, pages 233-240, 2011.
- [Zuva and Zuva, 2012] K. Zuva and T. Zuva. Evaluation of information retrieval systems. Int. J. Comput. Sci. Inform. Tech., 4:35-43, 2012.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
AUC (Area Under ROC Curve) has been an important criterion widely used in diverse learning tasks [Freund et al., 2003; Kotlowski et al., 2011; Flach et al., 2011; Zuva and Zuva, 2012]. Owing to its non-convexity and discontinuousness, direct optimization of AUC often leads to NP-hard problems. To make a compromise for avoiding computational difficulties, many pairwise surrogate losses, e.g., exponential loss [Freund et al., 2003; Rudin and Schapire, 2009], hinge loss [Brefeld and Scheffer, 2005; Joachims, 2005; Zhao et al., 2011] and least square loss [Gao et al., 2013], have been widely adopted in practical algorithms.
It is important to study the consistency of these pairwise surrogate losses. In other words, whether the expected risk of learning with surrogate losses converge to the Bayes risk? Here, consistency (also known as Bayes consistency) guarantees the optimization of a surrogate loss will yield an optimal solution with Bayes risk in the limit of infinite sample.
∗Supported by NSFC (61333014, 61321491) and JiangsuSF (BK20140613).
This work presents a theoretical study on the consistency of AUC optimization based on minimizing pairwise surrogate losses. The main contributions include:
- We introduce the generalized calibration, and prove that it is necessary yet insufficient for AUC consistency (cf. Theorem 1). This is because, for pairwise surrogate losses, minimizing the expected risk over the whole distribution is not equivalent to minimizing the conditional risk on each pair of instances from different classes. For example, hinge loss and absolute loss are shown to be calibrated but inconsistent with AUC.
- ii) We provide a sufficient condition for the AUC consistency based on minimizing pairwise surrogate losses (cf. Theorem 2). From this finding, we prove that exponential loss, logistic loss and distance-weighted loss are consistent with AUC. In addition, this result suggests the invention of some new consistent surrogate losses such as q-norm hinge loss and general hinge loss.
- iii) We present regret bounds for exponential and logistic losses (cf. Theorem 3 and Corollary 5). For general surrogate losses, we present the regret bounds in the realizable setting (cf. Theorem 4).
- iv) We provide regret bounds to disclose the equivalence (cf. Theorems 5 and 6) between the pairwise exponential surrogate loss of AUC and univariate exponential surrogate loss of accuracy. As a result, the univariate exponential loss is consistent AUC, and the pairwise exponential loss is consistent with accuracy by selecting a proper threshold. One direct consequence of this finding is the equivalence between AdaBoost and RankBoost in the limit of infinite sample.
Related Work
The studies on AUC can be traced back to 1970's in signal detection theory [Egan, 1975], and AUC has been an important performance measure for information retrieval and learning to rank, especially in bipartite ranking [Cohen et al., 1999; Freund et al., 2003; Rudin and Schapire, 2009].
Consistency has been an important issue. Zhang [2004b] and Bartlett et al. [2006] provided the fundamental analysis for binary classification, and many algorithms such as boosting and SVMs are proven to be consistent. The consistency studies on multi-class and multi-label learnings have been addressed in [Zhang, 2004a; Tewari and Bartlett, 2007] and [Gao and Zhou, 2013], respectively. Much attention has been paid to the consistency of learning to rank [Cossock and Zhang, 2008; Xia et al., 2008; Duchi et al., 2010].
It is noteworthy that previous consistency studies focus on univariate surrogate losses over single instance [Zhang, 2004b; Bartlett et al., 2006], whereas pairwise surrogate losses are defined on pairs of instances from different classes. This difference brings a challenge for studying AUC consistency: for univariate surrogate loss, it is sufficient to study the conditional risk; for pairwise surrogate losses, however, the whole distribution has to be considered (cf. Lemma 1). Because minimizing the expected risk over the whole distribution is not equivalent to minimizing the conditional risk.
Duchi et al. [2010] explored the consistency of supervised ranking, which is different from our setting: they considered "instances" consisting of a query, a set of inputs and a weighted graph, and the goal is to order the inputs according to the weighted graph; yet we consider instances with positive or negative labels, and aim to rank positive instances higher than negative ones. Clemen´con et al. [2008] studied the consistency of ranking, and shown that calibration is a necessary and sufficient condition. We study the consistency of score functions by pairwise surrogate losses, and calibration is necessary but insufficient for AUC consistency (cf. Theorem 1).
Kotlowski et al. [2011] studied the AUC consistency based on minimizing univariate exponential and logistic losses, and this study is generalized to proper (composite) surrogate losses in [Agarwal, 2013]. These studies focused on univariate surrogate losses, whereas our work considers pairwise surrogate losses. Almost at the same time of our earlier version [Gao and Zhou, 2012], Uematsu and Lee [2012] provided a sufficient condition similar to Theorem 2 (as to be shown in Section 3.2), but with different proof skills. Later, our Theorem 2 was extended by Menon and Williamson [2014]. [Uematsu and Lee, 2012; Menon and Williamson, 2014] did not provide the other three contributions (i.e., i, iii and iv in the previous section) of our work.
The rest of the paper is organized as follows. Section 2 introduces preliminaries. Section 3 presents consistent conditions. Section 4 gives regret bounds. Section 5 discloses the equivalence of exponential loss. Section 6 concludes.
2 Preliminaries
Let X and Y = {+1,-1} be the input and output spaces, respectively. Suppose that D is an unknown distribution over X ×Y, and DX corresponds to the instance-marginal distribution over X . Let η(x) = Pr[y = +1|x] be the conditional probability over x. For score function f : X → R, the AUC w.r.t. distribution D is defined as
where (x, y) and (x′ , y′ ) are drawn i.i.d. from distribution D, and I[·] is the indicator function which returns 1 if the argument is true and 0 otherwise. Maximizing the AUC is equivalent to minimizing the expected risk, which can be viewed as a reward formulation as follows.
where the expectation takes on x and x′ drawn i.i.d. from DX , and ℓ(f, x, x′ ) = I[f(x) > f(x′ )] + 1 2 I[f(x) = f(x′ )] is called ranking loss. Write the Bayes risk R∗ = inff [R(f)], and we get the set of Bayes optimal functions as
Ranking loss ℓ is non-convex and discontinuous, and directly optimizing it often leads to NP-hard problems. In practice, we consider pairwise surrogate losses as follows:
where φ is a convex function, e.g., exponential loss φ(t) = e-t [Freund et al., 2003; Rudin and Schapire, 2009], hinge loss φ(t) = max(0, 1 - t) [Brefeld and Scheffer, 2005; Joachims, 2005; Zhao et al., 2011], etc.
We define the expected φ-risk as
and denote by R∗φ = inff Rφ(f). Given two instances x, x′ ∈ X , we define the conditional φ-risk as
where α = f(x)-f(x′ ). For simplicity, denote by η = η(x) and η′ = η(x′ ) when it is clear from the context.
3 AUCConsistency
We first define the AUC consistency as follows:
Definition 1 The surrogate loss φ is said to be consistent with AUC if for every sequence {f 〈n〉 (x)}n≥1, the following holds over all distributions D on X × Y:
In binary classification, recall the notion of classification calibration, which is a sufficient and necessary condition for consistency of 0/1 error [Bartlett et al., 2006]. A surrogate loss φ is said to be classification-calibrated if, for every x ∈ X with η(x) ̸= 1/2,
We now generalize to AUC calibration as follows:
Definition 2 The surrogate loss φ is said to be calibrated if
where H-(η, η′ ) = infα: α(η-η′ )≤0 C(x, x′ , α), H(η, η′ ) = infα∈R C(x, x′ , α) and C(x, x′ , α) is defined in Eqn. (4).
We first have
It is noteworthy that the equality in the above does not hold for many surrogate losses from the following lemma:
Lemma 1 For hinge loss φ(t) = max(0, 1 - t), least square hinge loss φ(t) = (max(0, 1 - t))2 , least square loss φ(t) = (1 - t)2 and absolute loss φ(t) = |1 - t|, we have
Proof We will present detailed proof for hinge loss by contradiction, and similar considerations could be made to other losses. Suppose that there exists a function f ∗ s.t.
For simplicity, we consider three instances x1, x2, x3 ∈ X s.t. η(x1) < η(x2) < η(x3). The conditional risk of hinge loss is given by
Minimizing C(x, x′ , α) gives α = -1 if η(x) < η(x′ ). This yields f ∗ (x1) - f ∗ (x2) = -1, f ∗ (x1) - f ∗ (x3) = -1 and f ∗ (x2) - f ∗ (x3) = -1; yet they are contrary each other.
From Lemma 1, the study on AUC consistency should focus on the expected φ-risk over the whole distribution rather than conditional φ-risk on each pair of instances. This is quite different from binary classification where minimizing the expected risk over the whole distribution is equivalent to minimizing the conditional risk on each instance, and thus binary classification focuses on the conditional risk as illustrated in [Zhang, 2004b; Bartlett et al., 2006].
3.1 Calibration is Necessary yet Insufficient for AUC Consistency
We first prove that calibration is a necessary condition for AUC consistency as follows:
Lemma 2 If the surrogate loss φ is consistent with AUC, then φ is calibrated, and for convex φ, it is differentiable at t = 0 with φ′ (0) < 0.
Proof If φ is not calibrated, then there exist η0 and η′0 s.t. η0 > η′0 and H-(η0, η′0 ) = H(η0, η′0 ). This implies the existence of some α0 ≤ 0 such that
We consider an instance space X = {x1, x2} with marginal probability Pr[x1] = Pr[x2] = 1/2, η(x1) = η0 and η(x2) = η′0 . We construct a sequence {f 〈n〉}n̸=1 by selecting f 〈n〉 (x1) = f 〈n〉 (x2) +α0, and it is easy to get that
which shows that calibration is a necessary condition.
To prove φ′ (0) < 0, we consider the instance space X = {x1, x2} with Pr[x1] = Pr[x2] = 1/2, η(x1) = η1 and η(x2) = η2. Assume that φ is differentiable at t = 0 with φ′ (0) ≥ 0. For convex φ, we have η1(1 - η2)φ(α) + η2(1 - η1)φ(-α) ≥ (η1 - η2)αφ′ (0) + (η1(1 - η2) + η2(1 - η1))φ(0) ≥ (η1(1-η2)+η2(1-η1))φ(0) for (η1-η2)α ≥ 0. This follows that
which is contrary to H-(η1, η2) > H(η1, η2).
Suppose that φ is not differentiable at t = 0. There exists two subgradients g1 > g2 such that
If g1 > g2 ≥ 0, we select η1 = g1/(g1 + g2) and η2 = g2/(g1 + g2). It is obvious that η1 > η2, and for any α ≥ 0, we have η1(1 - η2)φ(α) + η2(1 - η1)φ(-α) ≥ η1(1 - η2)(g2α+φ(0))+η2(1-η1)(-g1α+φ(0)) ≥ (η1(1-η2)+ η2(1 - η1))φ(0).
In a similar manner, we can prove η1(1-η2)φ(α)+η2(1η1)φ(-α) ≥ (η1(1-η2)+η2(1-η1))φ(0) for g1 ≥ 0 > g2, g1 > 0 ≥ g2 and 0 ≥ g1 > g2 if (η1 - η2)α ≥ 0. This follows that H(η1, η2) = H-(η1, η2), which is contrary to the consistency of φ.
For the converse direction, we observe that hinge loss and absolute loss are convex with φ′ (0) < 0, and thus they are calibrated, yet inconsistent with AUC as follows:
Lemma 3 For hinge loss φ(t) = max(0, 1 - t) and absolute loss φ(t) = |1-t|, the surrogate loss Ψ(f, x, x′ ) = φ(f(x)- f(x′ )) is inconsistent with AUC.
Proof We present detailed proof for hinge loss and similar proof could be made to absolute loss. We consider the instance space X = {x1, x2, x3}, and assume that, for 1 ≤ i ≤ 3, the marginal probability Pr[xi] = 1/3 and conditional probability ηi = η(xi) s.t. η1 < η2 < η3, 2η2 < η1 + η3 and 2η1 > η2 + η1η3. We write fi = f(xi) for 1 ≤ i ≤ 3. Eqn. (3) gives
where κ0 > 0 and κ1 > 0 are constants and independent to f . Minimizing Rφ(f) yields the optimal expected φ-risk
when f ∗ = (f ∗ 1 , f ∗ 2 , f ∗ 3 ) s.t. f ∗ 1 = f ∗ 2 = f ∗ 3 - 1. Note that f ′ = (f ′1 , f ′2 , f ′3 ) s.t. f ′1 +1 = f ′2 = f ′3 -1 is not the optimal solution w.r.t. hinge loss since
This completes the proof.
Together with Lemma 2 and Lemma 3, we have Theorem 1 Calibration is necessary yet insufficient for AUC consistency.
The study on AUC consistency is not parallel to that of binary classification where the classification calibration is necessary and sufficient for the consistency of 0/1 error in [Bartlett et al., 2006]. The main difference is that, for AUC consistency, minimizing the expected risk over the whole distribution is not equivalent to minimizing the conditional risk on each pair of instances as shown by Lemma 1.
3.2 Sufficient Condition for AUCConsistency
We now present a sufficient condition for AUC consistency.
Theorem 2 The surrogate loss Ψ(f, x, x′ ) = φ(f(x) - f(x′ )) is consistent with AUC if φ: R → R is a convex, differentiable and non-increasing function s.t. φ′ (0) < 0.
Proof It suffices to prove inff /∈B Rφ(f) > inff Rφ(f) for convex, differentiable and non-increasing function φ s.t. φ′ (0) < 0. Assume that inff /∈B Rφ(f) = inff Rφ(f), i.e., there is an optimal function f ∗ s.t. Rφ(f ∗ ) = inff Rφ(f) and f ∗ /∈ B, i.e., for some x1, x2 ∈ X , we have f ∗ (x1) ≤ f ∗ (x2) yet η(x1) > η(x2). Recall the φ-risk's definition in Eqn. (3)
We introduce function h1 s.t. h1(x) = 0 if x ̸= x1 and h1(x1) = 1 otherwise, and write g(γ) = Rφ(f ∗ + γh1) for any γ ∈ R, and thus g is convex. For optimal function f ∗ , we have g′ (0) = 0 which implies that
Similarly, we have
For convex differentiable and non-increasing function φ, we have φ′ (f ∗ (x1) - f ∗ (x)) ≤ φ′ (f ∗ (x2) - f ∗ (x)) ≤ 0 if f ∗ (x1) ≤ f ∗ (x2). This follows
for η(x1) > η(x2). In a similar manner, we have
If f ∗ (x1) = f ∗ (x2), then we have
from φ′ (0) < 0 and η(x1) > η(x2), which is contrary to Eqns. (6) and (7) by combining Eqns. (8) and (9).
which is also contrary to Eqns. (6) and (7) by combining Eqns. (8) and (9).This theorem follows as desired.
From Theorem 2, we have
Corollary 1 For exponential loss φ(t) = e-t and logistic loss φ(t) = ln(1 + e-t ), the surrogate loss Ψ(f, x, x′ ) = φ(f(x) - f(x′ )) is consistent with AUC.
Marron et al. (2007) introduced the distance-weighted loss method for high-dimensional yet small-size sample, which was reformulated by Bartlett et al. (2006), for any ϵ > 0, as
Corollary 2 For distance-weighted loss, the surrogate loss Ψ(f, x, x′ ) = φ(f(x) - f(x′ )) is consistent with AUC.
Lemma 3 proves the inconsistency of hinge loss, and also shows the difficulty for consistency without differentiability. We now derive some variants of hinge loss that are consistent. For example, the q-norm hinge loss: φ(t) = (max(0, 1-t))q for q > 1 is consistent as follows:
Corollary 3 For q-norm hinge loss, the surrogate loss φ(f, x, x′ ) = φ(f(x) - f(x′ )) is consistent with AUC.
From this corollary, it is immediate to get the consistency of least-square hinge loss φ(t) = (max(0, 1 - t))2 .
For ϵ > 0, define the general hinge loss as φ(t) = 1-t for t ≤ 1-ϵ; φ(t) = 0 for t ≥ 1+ϵ; and φ(t) = (t-1-ϵ)2 /4ϵ otherwise.
Corollary 4 For general hinge loss, the surrogate loss Ψ(f, x, x′ ) = φ(f(x) - f(x′ )) is consistent with AUC.
Hinge loss is inconsistent with AUC, but we can use the general hinge loss to approach hinge loss when ϵ → 0. In addition, it is also interesting to derive other consistent surrogate losses under the guidance of Theorem 2.
4 Regret Bounds
We will present the regret bounds for exponential and logistic losses, and for general losses under the realizable setting.
4.1 Regret Bounds for Exponential and Logistic Losses
We begin with a special property as follows:
Proposition 1 For exponential loss and logistic loss, we have
Proof We provide the detailed proof for exponential loss. For a fixed instance x0 ∈ X and f(x0), we set
This holds that, for x1, x2 ∈ X,
which minimizes C(η(x1), η(x2), α) by α = f (x1)-f (x2). We complete the proof as desired.
Proposition 1 is specific to the exponential and logistic loss, and does not hold for hinge loss, absolute loss, etc. Based on this proposition, we study the regret bounds for exponential and logistic loss by focusing on conditional risk as follows:
if f ∗ ∈ arg inff Rφ(f) satisfies that, for η(x) ̸= η(x′ ), (f ∗ (x) - f ∗ (x′ ))(η(x) - η(x′ )) > 0 and |η(x) - η(x′ )| ≤ κ0 (C(η(x), η(x′ ), 0) - C(η(x), η(x′ ), f ∗ (x) - f ∗ (x′ )))κ1 .
Proof This proof is partly motivated from [Zhang, 2004b]. From Eqns. (1) and (2), we have
which yields that, by our assumption and Jensen's inequality,
for 0 < κ1 < 1. This remains to prove that
where the expectations take over (η(x) - η(x′ ))(f(x) - f(x′ )) ≤ 0. To see it, we consider the following cases: 1) For η(x) = η(x′ ) and convex φ, we have
3) For (η(x)-η(x′ ))(f(x)-f(x′ )) < 0, we derive that 0 is between f(x) - f(x′ ) and f ∗ (x) - f ∗ (x′ ) from assumption (f ∗ (x)-f ∗ (x′ ))(η(x)-η(x′ )) > 0. For convex φ, we have C(η(x), η(x′ ), 0) ≤ max(C(η(x), η(x′ ), f (x) - f (x′ )) and C(η(x), η(x′ ), f ∗ (x) - f ∗ (x′ ))) = C(η(x), η(x′ ), f(x) - f(x′ )). The theorem follows as desired.
Based on this theorem, we have
Corollary 5 The regret bounds for exponential and logistic loss are given, respectively, by
Proof We will present detailed proof for exponential loss and similarly consider logistic loss. The optimal function f ∗ satisfies f ∗ (x) - f ∗ (x′ ) = 12 ln η(x)(1-η(x′ )) η(x′ )(1-η(x) by minimizing C(η(x), η(x′ ), f(x) - f(x′ )). This follows (f ∗ (x) - f ∗ (x′ ))(η(x) - η(x′ )) > 0 for η(x) ̸= η(x′ ), C(η(x), η(x′ ), 0) = η(x)(1 - η(x′ )) + η(x′ )(1 - η(x)), and C(η(x), η(x′ ), f ∗ (x) - f ∗ (x′ )) = √η(x)(1 - η(x)) ×√η(x′ )(1 - η(x′ )). Therefore, we have
where we use the fact η(x), η(x′ ) ∈ [0, 1]. We complete the proof by applying Theorem 3.
4.2 Regret Bounds for Realizable Setting
We now define the realizable setting as:
Definition 3 A distribution D is said to be realizable if η(x)(1 - η(x)) = 0 for each x ∈ X .
This setting has been studied for bipartite ranking [Rudin and Schapire, 2009] and multi-class classification [Long and Servedio, 2013]. Under this setting, we have
Theorem 4 For some κ > 0, if R∗φ = 0, then we have
Proof Let D+ and D- denote the positive and negative instance distributions, respectively. Eqn. (1) gives that R(f) equals to
and R∗ = inff [R(f)] = 0 for f(x) > f(x′ ). From Eqn. (3), we get the φ-risk Rφ(f) = Ex∼D+,x′∼D- [φ(f(x)-f(x′ ))]. Then, R(f) - R∗ = Ex∼D+,x′∼D- [I[f(x) < f(x′ )] + I[f(x) = f(x′ )]/2] ≤ Ex∼D+,x′∼D- [κφ(f(x) - f(x′ ))] = κ(Rφ(f) - R∗φ ), which completes the proof.
Based on this theorem, we have
Corollary 6 For exponential loss, hinge loss, general hinge loss, q-norm hinge loss, and least square loss, we have
and for logistic loss, we have
Hinge loss is consistent with AUC under the realizable setting yet inconsistent for the general case as shown in Lemma 3. Corollary 5 shows regret bounds for exponential and logistic loss in the general case, whereas the above corollary provides tighter regret bounds under the realizable setting.
5 Equivalence Between AUC and Accuracy Optimization with Exponential Losses
In binary classification, we try to learn a score function f ∈ X → R, and make predictions based on sgn[f(x)]. The goal is to improve the accuracy by minimizing
Denote by R∗ acc = inff Racc(f), and we get the set of optimal solutions for accuracy as follows:
The popular formulation, called surrogate losses, is given by
where φ is a convex function such as exponential loss [Freund and Schapire, 1997], logistic loss [Friedman et al., 2000], etc. We define the expected φacc-risk as
and denote by R∗φacc = inff Rφacc (f).
Theorem 5 For exponential loss and classifier f, we have
Proof For accuracy's exponential surrogate loss, we have
and for AUC's exponential surrogate loss, we have
By using (ab - cd)2 ≤ a2 (b - d)2 + d2 (a - c)2 , we have
and in a similar manner, we have
For ranking function f , we select a proper threshold to construct classifier by
Based on such threshold, we have
Theorem 6 For ranking function f and exponential loss,
by selecting the threshold t∗f defined above.
Proof For score function f(x), we have
For pairwise exponential loss of AUC, we have
which completes the proof.
Together with Corollary 5, Theorems 5 and 6, and [Zhang, 2004b, Theorem 2.1], we have
Theorem 7 For exponential loss and classifier f, we have
For exponential loss and ranking function f, we have
This theorem discloses the asymptotic equivalence between univariate exponential loss of accuracy and the pairwise exponential loss of AUC. As a result, AdaBoost and RankBoost are equivalent, i.e., both of them optimize AUC and accuracy simultaneously, because AdaBoost and RankBoost essentially optimize φacc(f(x), y) = e-yf(x) and φ(f, x, x′ ) = e-(f(x)-f(x′ )) , respectively.
Rudin and Schapire [2009] established the equivalence between AdaBoost and RankBoost for finite training sample based on the assumption of equal contribution between negative and positive classes. Our work does not make any assumption, and regret bounds show the equivalence between pairwise and univariate exponential loss, providing a new explanation between AdaBoost and RankBoost.
In [Menon and Williamson, 2014], there is a proposition: Proposition 10 Given any DM,η ∈ ∆X×{±1}, strictly proper composite loss ℓ with inverse link function Ψ-1 (v) = 1/(1 + e-av ) for some a ∈ R \ {0}, and scorer s : X → R, there exists a convex function Fℓ : [0, 1] → R+ such that
where regretD,Univ Bipart,ℓ (s) equals to
where "Univ" means univariate loss, and the other notations please refer [Menon and Williamson, 2014]. This proposition shows that the univariate exponential loss is consistent with AUC optimization. In our Theorems 5 and 6, we show that the univariate exponential loss is equivalent to pairwise exponential loss, for the consistency of optimizing all performance measures such as AUC, rankloss, precision-recall, etc. Note that the cited proposition does not involve pairwise loss, needless to say the equivalence between pairwise and univariate losses; moreover, the cited proposition considers only AUC for performance measure, whereas we consider all performance measures. 1
6 Conclusion
This work studies the consistency of AUC optimization by minimizing pairwise surrogate losses. We first showed that calibration is necessary yet insufficient for AUC consistency. We then provide a new sufficient condition, and show the consistency of exponential loss, logistic loss, least-square hinge loss, etc. Further, we derive regret bounds for exponential and logistic losses, and obtain the regret bounds for many surrogate losses under the realizable setting. Finally, we provide regret bounds to show the equivalence between the pairwise exponential loss of AUC and univariate exponential loss of accuracy, with a direct consequence that AdaBoost and RankBoost are equivalent in the limit of infinite sample.
@inproceedings{ijcai2015p137,
title = {On the Consistency of AUC Pairwise Optimization},
author = {Gao, Wei and Zhou, Zhi-Hua},
booktitle = {Proceedings of the Twenty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-15}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Qiang Yang and Michael Wooldridge},
pages = {939--944},
year = {2015},
month = {7},
note = {Main Track},
url = {https://ijcai.org/proceedings/2015/137},
}
TY - CPAPER TI - On the Consistency of AUC Pairwise Optimization AU - Gao, Wei AU - Zhou, Zhi-Hua T2 - Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-15 PB - International Joint Conferences on Artificial Intelligence PY - 2015 SP - 939 EP - 944 UR - https://ijcai.org/proceedings/2015/137 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: