Classification with a Reject Option using a Hinge Loss
Paper · 2008 · Peter L. Bartlett and Marten H. Wegkamp
Summary
A diagnostic classifier can give either of two answers, but sometimes the most useful answer is to ask for another test. Peter L. Bartlett and Marten H. Wegkamp study how to train a classifier that can make that choice. They give every wrong prediction the same cost and charge a smaller, fixed cost for withholding a prediction. When the probability of each label is high enough that even the better guess would cost more on average than abstaining, the optimal decision is to reject. The difficulty is learning where to do so from examples. The actual cost changes abruptly when a score crosses a decision boundary, which makes it hard to minimize directly.
The authors replace this decision cost during training with a generalized hinge loss. It uses the signed score for each example, rewarding scores that favor the correct label and penalizing strongly mistaken scores more steeply. The price of rejection determines how steep that penalty is. When averaged over the possible labels at a given input, the loss has an optimal score that favors the negative class, lies in the rejection region, or favors the positive class, according to the same probability cutoffs as the original decision problem. A kernel classifier can fit the loss by solving a finite convex optimization problem.
The agreement goes beyond the optimum. The authors bound how much extra decision cost an imperfect classifier incurs in terms of how far its expected hinge loss is from its minimum. With the score threshold set to 1/2, the factor in this bound is 2d, where d is the rejection cost relative to an error costing 1. They also show when the expected surrogate loss can approach its minimum quickly. What matters is how often the true probability of the positive class falls near either boundary between predicting and rejecting, together with the complexity of the class of scoring functions. These are mathematical guarantees. The paper establishes them through conditional risk calculations, convex optimization and finite-sample analysis.
Deep dive: Classification with a Reject Option using a Hinge Loss
A generalized hinge loss lets a binary classifier abstain at a fixed cost, with guarantees for the decisions it makes and the rate at which it learns. · about 35 minutes to read
The problem and its context
When a binary decision can wait
A binary classifier assigns one of two labels to an observation. The paper studies observations described by features from an arbitrary feature space, so its decision problem applies without committing to a particular representation. The label is either negative or positive. A scoring function gives the observation a real number, and an ordinary binary rule uses the sign of that number to choose a label. To understand what such a rule can achieve, the authors start with the ideal decision that would be possible if the conditional probability of the positive label were known at each input.
Suppose the negative label is less likely and the classifier predicts positive. At that input, it will be wrong with a probability equal to the chance of a negative label. Predicting negative instead gives the complementary error probability. If the only objective is to minimize errors, the better decision is to pick the more probable label. The two choices become equally good when the positive-label probability is 1/2. A choice still has to be made there under an ordinary binary rule, even though the features offer no preference between the labels.
A reject option gives the classifier a third action. On an input where a prediction carries too much expected cost, it can withhold its answer. The paper motivates this with tumor diagnosis, where an unreliable classification may have serious consequences and further investigation can draw on clinical expertise. Rejecting can itself be costly. The authors mention additional tests and delays in treatment. The decision is therefore between taking the risk of a wrong automated classification and paying the cost associated with withholding it.
The price of rejection changes which inputs are worth classifying. If withholding a decision is cheap, even a guess that is fairly likely to be correct can be a poor choice. If withholding is expensive, the classifier has more reason to issue a label. Under the paper's cost convention, the largest conditional error probability the classifier should accept is the rejection cost itself. This interpretation gives the cost an operational meaning before any data are used to fit a scoring function.
The cost of an error is normalized to 1. A rejection cost above 1/2 makes abstention more expensive than choosing the more probable class, whatever the input. The interesting range for a genuine abstention region lies below 1/2. The paper includes the ordinary binary hinge loss at 1/2 as a special case. As rejection becomes cheaper, the range of ambiguous inputs where it is optimal expands. Those inputs are defined by their label probabilities, which are unknown to the learner.
Learning a decision from labeled examples
The decision problem suggests estimating the positive-label probability at every input and then applying the cost rule. This is the plug-in approach described in the paper. It replaces the unknown conditional probability with an estimate and inserts that estimate into the ideal decision rule. The quality of a decision then depends on where an estimation error occurs. A probability estimate can be off while leaving the decision intact if both the estimate and the truth fall on the same side of the relevant cutoff. A smaller error can matter if it carries the estimate across that cutoff.
The authors cite earlier work by Herbei and Wegkamp that analyzes this dependence for rejection. In that work, the accuracy of the probability estimator and the frequency of inputs near the rejection boundaries both influence how fast the decision risk approaches its optimum. This generalizes a condition used for ordinary binary classification, where the only critical probability is 1/2. The paper also credits the same earlier work with risk bounds for directly minimizing the observed decision cost over a class of scoring functions on independent examples.
Direct minimization is attractive because it uses the same loss in training as in the definition of success. It is difficult because the loss has jumps. For an individual training example, changing the score can have no effect over an entire range, then abruptly turn a prediction into a rejection or a rejection into an error. A sample average of such losses inherits the jumps. A statistical bound on the rule that minimizes this average still leaves the computational question of how to find that rule.
The paper situates this question in a field where rejection was already in use. According to the authors, empirical work in engineering had shown that allowing rejection could reduce misclassification, while comparatively few theoretical results were available in statistics. The paper names work on error and rejection tradeoffs, decision rules with several thresholds, and rejection in support vector classifiers. Its contribution focuses on a particular loss for training and the mathematical connection between that loss and the cost of the final decision.
The ordinary support vector machine provides the starting point. Its hinge loss gives a convex penalty to a score that falls short of the desired signed margin. Convexity makes available optimization techniques that are suited to the resulting training objective. Adding abstention to the decision rule creates a new requirement for the loss. A score in the middle has to be an optimal response across a whole interval of label probabilities. The paper asks how to build that property into a convex objective while preserving a meaningful relationship to the cost the classifier will ultimately pay.
The method, step by step
From a score to an action
The authors distinguish the threshold in probability space from the threshold in score space. The rejection cost determines the probability at which the ideal action switches. A separate threshold determines how a fitted score will be read. The score can be any real number. Scores far enough below zero give the negative label, scores far enough above zero give the positive label, and scores near zero give rejection. The probability cutoffs express which action is worth taking. The score threshold translates the output of a learned function into that action.
Training and using the reject-option classifier
The steps in order.
η(x) = P(Y = +1 | X = x)
Here X is the random feature input, x is a particular value of it, and Y is the random label. +1 denotes the positive label. P is probability and the vertical bar means that the probability is conditional on the input being x. The function η gives that probability at each input.
Aδ(x) = { −1 if f(x) < −δ, r if |f(x)| ≤ δ, +1 if f(x) > δ }
Here Aδ(x) is the action at x when the score threshold is δ. The function f assigns the real score f(x) to x. The symbols −1 and +1 are the predicted labels and r denotes rejection. The absolute value bars measure the score's distance from zero, and ≤ includes both boundaries in the rejection band. The paper takes the score threshold to be non-negative and smaller than 1.
Using an absolute score to decide whether to reject makes the two sides of this band symmetric. The negative and positive labels both require a score magnitude beyond the same threshold. That symmetry is in the decision rule on scores. The probability of each label can vary arbitrarily across inputs, and the learned scoring function controls which inputs land in each part of the range.
The loss is easiest to express using the signed margin. Multiplication by the label makes a score that points toward the correct label positive, whether the example belongs to the positive class or the negative class. A sufficiently negative signed margin therefore represents a committed error, and a margin with small absolute value represents abstention regardless of the actual label. This representation allows the training loss and the decision loss to be written as functions of a single scalar.
ℓd,δ(z) = { 1 if z < −δ, d if |z| ≤ δ, 0 if z > δ }
Here ℓd,δ is the actual decision loss, indexed by the rejection cost d and score threshold δ. Its argument z is the signed margin, the product of the label and the score. The three values are the cost 1 of predicting the wrong label, the cost d of rejecting, and the cost 0 of predicting correctly. The inequalities associate each margin with its outcome.
Ld,δ(f) = E[ℓd,δ(Y f(X))] = P(Y f(X) < −δ) + d P(|Y f(X)| ≤ δ)
Here Ld,δ(f) is the population risk of the scoring function f, meaning its expected decision cost on a fresh observation. E takes an expectation over X and Y, and P gives the probability of each event in parentheses. The product Y f(X) is the signed margin. The first probability counts wrong predictions made outside the band. The second counts rejections and is multiplied by their cost d.
The error probability in this expression counts committed errors across the entire input distribution. It has the same denominator as the rejection probability. In particular, a low value of the first term can come from committing on fewer inputs. The second term is what gives the classifier a reason to answer when it can do so reliably enough. This is how the paper puts the error and rejection tradeoff on a single scale.
The decision when the label probability is known
At a fixed input, each action has an expected cost. Predicting negative incurs an error if the actual label is positive, so its cost is the positive-label probability. Predicting positive incurs the complementary probability. Rejecting costs d for either label. The best action can therefore be chosen by comparing these three quantities directly. A low positive-label probability favors a negative prediction, and a high one favors a positive prediction. Between the two cutoffs, the fixed cost of rejecting is at least as good as either alternative.
f*d(x) = { −1 if η(x) < d, 0 if d ≤ η(x) ≤ 1 − d, +1 if η(x) > 1 − d }
Here f*d denotes the generalized Bayes scoring function, a population optimum. The notation η(x) gives the positive-label probability at input x, and d is the rejection cost. The values −1, 0, and +1 are scores. Since δ is smaller than 1, the outer scores commit to a label, while 0 falls inside the rejection band. The formula chooses rejection when costs are tied at either boundary.
L*d = E[min{η(X), 1 − η(X), d}]
Here L*d is the Bayes risk in the decision problem, the smallest attainable expected cost. The operation min selects the least of the three conditional costs for each random input X. E averages this best attainable cost over the input distribution.
The same Bayes actions can be represented at different score magnitudes. The costs only require that each score land in the proper region. The chosen values are convenient because they also occur at the important corners of the surrogate calculation. This shared representation lets the authors compare two objectives using the same reference scoring function. A learned score can then be studied through what it pays relative to that reference.
A hinge loss that favors rejection in the middle
The ordinary hinge loss falls as the signed margin rises and becomes zero at a margin of 1. The generalized loss keeps the part of that shape from zero onward. On the negative side, where the score points towards the wrong label, the authors give the loss a steeper slope. This change is controlled by the rejection cost. If the cost is low, the loss assigns a greater penalty to putting a strongly signed score on the wrong side. An intermediate score can then be preferable in expectation even when one label is more probable than the other.
a = (1 − d)/d
Here a is the magnitude of the negative-margin slope, and d is the rejection cost. The ratio is defined for positive d. When d is at most 1/2, a is at least 1.
φd(z) = { 1 − a z if z < 0, 1 − z if 0 ≤ z < 1, 0 if z ≥ 1 }
Here φd is the generalized hinge loss at cost d, z is the signed margin, and a is the slope magnitude just defined. The loss joins continuously at margins 0 and 1. Its slopes from left to right are a decrease of magnitude a, a decrease of magnitude 1, and a flat segment, which makes the function convex. At d = 1/2, the first two segments have the same slope and the loss becomes the ordinary hinge.
An individual training example has a known label. The hinge loss for that example favors putting its score on the correct side with sufficient magnitude. A reason to reject emerges when the same input can carry either label. A scoring function has to assign that input a single score. Moving the score away from zero helps on one possible label and can incur the steeper penalty on the other. The balance between those two effects creates the rejection region in the conditional optimum.
Lφd(f) = E[φd(Y f(X))]
Here Lφd(f) is the population surrogate risk of f. The expectation E averages the generalized hinge loss φd over the joint draw of X and Y. The margin inside the loss is the product of Y and f(X). This risk measures the objective that training is intended to reduce.
rη,φd(z) = η φd(z) + (1 − η) φd(−z)
Here rη,φd(z) is the conditional surrogate risk at an input with positive-label probability η, when its score is fixed to z. In this expression, z is the score before multiplying by the label. The positive label gives margin z and weight η. The negative label gives margin −z and weight 1 − η.
The conditional surrogate risk is piecewise linear. Its breakpoints occur where one of the two possible signed margins meets a corner of the generalized hinge. On the central intervals, the slopes change sign precisely as η crosses the probability cutoffs for the original decision. The tails have slopes that allow −1 or +1 to be chosen even when the loss stays flat beyond one of them.
rη,φd(z) = { η − aηz if z ≤ −1,
1 + z[1 − (1 + a)η] if −1 ≤ z ≤ 0,
1 + z[−η + a(1 − η)] if 0 ≤ z ≤ 1,
a(1 − η)z + (1 − η) if z ≥ 1 }
Here rη,φd is the conditional risk, η is the fixed positive-label probability, z is the proposed score and a is the negative-margin slope magnitude. Each line gives the risk on one interval of scores. The brackets group the slope on a central interval, and adjacent formulas agree at a shared boundary.
On the interval leading up to zero, the slope is positive for probabilities below d. In that case, going left from zero improves the objective until the score reaches −1. On the interval immediately to the right of zero, the slope is negative for probabilities above 1 − d. Moving right then improves the objective until the score reaches +1. Between the probability cutoffs, moving from zero in either direction cannot improve the objective. At a cutoff, an interval of scores can have the same minimum value. The Bayes score selects one minimizer.
H(η) = infz rη,φd(z)
= { η/d if η < d, 1 if d ≤ η ≤ 1 − d, (1 − η)/d if η > 1 − d }
Here H(η) is the lowest achievable conditional surrogate risk. infz means taking the infimum over all real scores z. The terms η and 1 − η are the probabilities of the positive and negative labels, and d is the rejection cost. The middle value is the surrogate cost achieved by the score 0 when rejection is optimal.
d Lφd(f*d) = L*d
Here Lφd(f*d) is the surrogate risk at the Bayes scoring function f*d, d is the rejection cost, and L*d is the Bayes decision risk. The conditional minima have the same relation at each input. Averaging over inputs therefore gives the equality for the full population.
From a surrogate error to a decision error
A learner has finitely many examples and may search a restricted class of functions. Even a well-fitted function can miss the population optimum. The authors therefore compare the excess risks, meaning each risk after subtracting its own optimum. This comparison addresses the practically important case in which the surrogate risk has become small relative to its minimum and the reader wants to know what that implies about the decisions.
The conditional proof first takes the best achievable decision cost at each input. It then asks how much more each action costs. This amount is zero for an optimal action, and it depends on the input's label probability when the action is suboptimal. The authors perform an analogous calculation for the surrogate, with a constraint. For each action they find the lowest surrogate risk available among scores that would produce that action under the chosen threshold.
ξ(η) = min{η, d, 1 − η}
Here ξ(η) is the smallest conditional decision cost when η is the positive-label probability and d is the rejection cost. The entries in the minimum correspond to predicting negative, rejecting and predicting positive, respectively.
ξb(η) = { η − ξ(η) if b = −1, d − ξ(η) if b = r, 1 − η − ξ(η) if b = +1 }
Here ξb(η) is the extra conditional decision cost of taking action b. The action is negative, rejection r, or positive. The costs in the three branches each subtract the minimal conditional cost ξ(η) at the same label probability η, with d as the price of rejection.
Hb(η) = { infz<−δ rη,φd(z) if b = −1,
inf|z|≤δ rη,φd(z) if b = r,
infz>δ rη,φd(z) if b = +1 }
Here Hb(η) is the infimum of the conditional surrogate risk rη,φd(z) over scores z producing action b at threshold δ. The subscript under each infimum gives the corresponding score region. The use of an infimum is important because the lowest value approached on a predicting region can lie on a boundary that the rule assigns to rejection.
The paper compares the surrogate gap from each constrained infimum with the cost of taking the associated action. Consider an input where the positive label is sufficiently probable that the Bayes action is positive. If the fitted score instead leads to rejection, it can go as far as the upper edge of the rejection band while retaining that action. Even the best score in that band leaves a conditional surrogate gap. Widening the rejection band moves its edge toward the preferred positive score and can make that gap smaller. For a prediction made where rejection is optimal, the relevant change goes in the other direction. The score must travel farther from zero as the rejection band widens.
This reasoning applies separately to negative predictions, rejections and positive predictions. A score used by an actual classifier pays at least the surrogate infimum for the action that it takes. The comparison therefore survives averaging over the inputs. At the threshold highlighted by the authors, the result is the following risk bound.
Ld,1/2(f) − L*d ≤ 2d [Lφd(f) − Lφd(f*d)]
Here Ld,1/2(f) is the expected decision cost when f is read with score threshold 1/2. L*d is the Bayes decision risk, Lφd(f) is the expected surrogate loss of f, and Lφd(f*d) is the minimum surrogate risk. The factor 2d depends on the rejection cost. The comparison bounds decision regret even for a scoring function that only approximately minimizes the surrogate.
Fitting a kernel scoring function
The decision rule and the loss apply to real-valued scoring functions in general. For a concrete training procedure, the authors choose functions in a reproducing kernel Hilbert space, abbreviated RKHS. This is a space with a norm and an inner product in which evaluation at an input is represented by an inner product with a kernel function. The kernel associates a function of the second input with each first input. The training procedure minimizes the average surrogate loss on labeled observations subject to a bound on the norm of the score function.
L̂φd(f) = (1/n) ∑ᵢ₌₁ⁿ φd(Yᵢ f(Xᵢ))
Here L̂φd(f) is the empirical surrogate risk, n is the number of training observations, and i indexes them. Xᵢ is the feature input on example i, Yᵢ is its label, and f(Xᵢ) is its score. The summation adds the losses at the observed margins and 1/n turns the total into an average.
f̂ ∈ arg min{ L̂φd(f) : f ∈ ℋ, ‖f‖ℋ² ≤ R² }
Here f̂ is a fitted function attaining the minimum, ℋ is the RKHS, and ‖f‖ℋ² is its squared norm. R denotes the positive norm radius. The notation arg min refers to the functions attaining the smallest feasible objective. The condition after the colon defines which functions the procedure may choose.
Searching directly over the entire space would leave the procedure in terms of functions. The paper uses the reproducing property to reduce it to a problem in coefficients. A candidate function can be split into a part in the span of the kernel functions centered at the training inputs and an orthogonal part. The orthogonal part contributes zero to evaluations at those inputs. Removing it preserves every training margin and weakly reduces the norm. Consequently, at least one minimizing function can be sought in the finite span.
f̂(x) = ∑ᵢ₌₁ⁿ α̂ᵢ K(xᵢ, x)
Here K is the kernel, xᵢ is the feature input observed in training example i, and x is the input to be scored. α̂ᵢ is the fitted real coefficient for the kernel function centered at xᵢ. The sum runs over all n examples. Finding the score function now means finding those coefficients.
The finite representation alone leaves a piecewise linear loss in the objective. The paper rewrites it as an ordinary hinge plus a second hinge term that activates for negative margins. This makes each term representable by a variable with linear constraints. An optimizer can then work with the coefficients and those additional variables together.
φd(z) = max{0, 1 − z} + [(1 − 2d)/d] max{0, −z}
Here φd is the generalized loss, z is the signed margin, and d is the rejection cost. Each max takes the larger of its arguments. The first term is the ordinary hinge, and the second adds a penalty only when the margin is negative. Its multiplier is non-negative for the cost range used in the paper.
minimize over α, ξ, γ: (1/n) ∑ᵢ₌₁ⁿ [ξᵢ + ((1 − 2d)/d) γᵢ]
Here α collects the kernel coefficients, and ξ and γ collect the auxiliary variables for the ordinary hinge and the extra negative-margin penalty. Their entries ξᵢ and γᵢ contribute to the objective for observation i. The number of observations is n, and d gives the additional hinge its weight. The auxiliary variables here play a computational role distinct from the conditional cost function ξ(η) used in the risk comparison.
ξᵢ ≥ max{0, 1 − yᵢ ∑ⱼ₌₁ⁿ αⱼ K(xᵢ, xⱼ)}
Here ξᵢ is the auxiliary variable for the ordinary hinge on example i, yᵢ is its observed label, and j indexes the terms in the fitted score at xᵢ. The αⱼ are candidate coefficients. The maximum abbreviates two linear lower bounds, one given by zero and the other by the shortfall of the signed margin from 1.
γᵢ ≥ max{0, −yᵢ ∑ⱼ₌₁ⁿ αⱼ K(xᵢ, xⱼ)}
Here γᵢ is the auxiliary variable for the extra wrong-side penalty on example i. The sum over j gives its score in the kernel expansion and multiplication by yᵢ gives the signed margin. The two lower bounds represented by the maximum are zero and the negative of that margin.
∑ᵢ,ⱼ αᵢ αⱼ K(xᵢ, xⱼ) ≤ R²
Here i and j range over the training inputs, αᵢ and αⱼ are their coefficients, and K(xᵢ, xⱼ) is the kernel evaluated on the pair. The left side is the squared norm of the finite kernel expansion. The right side uses the squared radius R² to constrain that norm.
For fixed coefficients, the smallest feasible auxiliary values give the intended hinge terms. Minimizing the objective thus recovers the original empirical-loss problem under the norm constraint. The objective in the auxiliary variables is linear and the norm inequality is convex and quadratic, so the problem fits the class of quadratically constrained quadratic programs described by the authors. They also explain that constraining the norm or using its associated penalty parameter traces the same family of solutions as the parameter varies. The paper gives the constrained version explicitly.
Experiments and results
What the paper measures
The evaluation is mathematical. There is no dataset, training and test split, empirical baseline or measured accuracy. The optimization result concerns an arbitrary sample of labeled inputs. The statistical result concerns a sample drawn from a distribution satisfying stated conditions. The reference for the decision cost is the Bayes risk, which assumes access to the true conditional label probabilities. The reference for the training objective is the minimum expected surrogate loss over all measurable scoring functions. Both are population benchmarks.
The central comparison uses excess risk. For decision risk, the metric combines the probability of a committed error and the cost-weighted probability of rejection, then subtracts the least possible value of that combination. For surrogate risk, it subtracts the minimum expected generalized hinge loss. This distinction matters because the optimal decision loss at an input where rejection is best is d, whereas the optimal surrogate loss there is 1. The values measure different quantities even though their optima give the same action.
The chart compares conditional surrogate minima in two settings used in the analysis. At a deterministic positive input a sufficiently positive score can bring the conditional loss to 0. In the probability region where rejection is optimal, the minimum is 1. The higher value in the rejection region reflects uncertainty in the label that a scoring function cannot remove by fitting better. In both settings, a score that attains the indicated minimum has zero conditional excess surrogate risk.
Minimum conditional surrogate risk by input setting in the population analysis
The generalized hinge reaches a lower conditional minimum when the label is certain.
The numbers
| System or setting | conditional surrogate risk |
|---|---|
| Generalized hinge, rejection region | 1 |
| Generalized hinge, deterministic positive label (this paper) | 0 |
How strong the risk comparison is
For positive score thresholds up to 1/2, the paper bounds excess decision risk by the excess surrogate risk multiplied by d/δ. For the range from 1/2 to 1 − d, it gives a bound with multiplier 1. The conditional analysis also supplies the unit multiplier throughout the interval from d to 1 − d. The authors highlight the multiplier 2d at δ = 1/2, where the first bound is strongest within its stated range. For a genuine reject option with d below 1/2, this factor is below 1.
This is a uniform risk inequality for a measurable scoring function at the specified threshold. It does not assign an error or rejection rate to a sample. It shows that the fitted surrogate objective has the right population target and controls the cost gap from an imperfect fit. If a statistical analysis bounds expected excess surrogate risk, the same inequality transfers that control to expected excess decision risk. The hypothesis class and training sample enter through the surrogate bound.
The paper treats ordinary classification at the pair of settings δ = 0 and d = 1/2 separately. At this endpoint the surrogate is the standard hinge, and the paper states the familiar comparison of ordinary classification excess risk with hinge excess risk using multiplier 1. The paper credits the ordinary hinge comparison to Zhang. The reject-option result adds a comparison for the decision rule with an interval of scores reserved for abstention.
When the estimation term can shrink quickly
The authors measure the difficulty of learning the decision by how much probability is concentrated near the two critical values of η(X). These values are the places where the expected costs of predicting and rejecting tie. An input near a tie offers only a small improvement in conditional risk when its score is moved to the correct decision region. If such inputs are scarce, a function with nearly optimal loss has stronger constraints on where it can deviate from the Bayes score. This is the premise that drives the faster rates.
P(|η(X) − d| ≤ t) ≤ c t^α
Here P gives the probability over random inputs X, η(X) is their conditional positive-label probability, and d is the lower cutoff. The number t is any positive tolerance, c is a constant at least 1, and α is the positive margin exponent. The inequality limits the mass within the tolerance of the lower cutoff.
P(|η(X) − (1 − d)| ≤ t) ≤ c t^α
Here 1 − d is the upper cutoff, while P, X, η, t, c and α have the same meanings as above. This is the corresponding assumption for the upper cutoff. When d = 1/2, the cutoffs coincide, and the two conditions concern the usual binary classification boundary.
The margin assumption is stated in terms of true probabilities, even though the method can train scores without estimating those probabilities. It is a condition used to understand the distribution, rather than a quantity required by the convex program. To see its role in the proof, consider the difference between a scoring function's loss and the Bayes function's loss on a single observation. This difference can vary by label. Its expectation is the excess surrogate risk, which is always non-negative.
gf(x, y) = φd(y f(x)) − φd(y f*d(x))
Here gf is the excess loss for candidate f on an observation with features x and label y. The function φd evaluates the respective margins of f and the Bayes function f*d. On an individual observation the difference can have either sign. Its population expectation is the excess surrogate risk because f*d minimizes that risk.
The proof controls the second moment of this difference using a distance between scores that respects the shape of the loss. A plain absolute distance would count every movement beyond −1 or +1 equally. In a region where the Bayes action is a label, a move farther in that direction changes the hinge loss only when the label disagrees with the action. The authors discount the distance for those excursions by the probability of that less likely label. If the label is certain, a score farther into the appropriate flat region can have the same loss as the Bayes score.
ρη(u, v) = { η |u − v| if η < d and u < −1,
(1 − η) |u − v| if η > 1 − d and u > 1,
|u − v| otherwise }
Here ρη is the weighted discrepancy used in the proof at a fixed input. u is the candidate score and v is the Bayes score there. The positive-label probability is η and the cost is d. The absolute value |u − v| is discounted in the two outward regions, using the probability of the label that can still incur a loss there.
d [rη,φd(u) − rη,φd(v)] ≥ min{|η − d|, |η − (1 − d)|} ρη(u, v)
Here rη,φd is the conditional surrogate risk, u is the candidate score and v is the Bayes score. The factor multiplying the weighted discrepancy ρη(u, v) is the distance of η to the closer critical probability. The cost d scales the conditional excess risk on the left. The inequality follows from the slopes of the conditional risk near its minimum and their behavior beyond the hinge corners.
The weighted discrepancy also controls the conditional mean squared loss difference. The steepest slope of the hinge limits how much the loss can change for a given change in margin. Uniformly bounded scores then put a limit on the size of the score difference. For the outward excursions, the terms from the label that already lies on the flat hinge vanish, and the other label contributes with the small weight built into the discrepancy. Both the lower bound on expected excess and the upper bound on the squared difference can therefore use the same quantity.
To turn the pointwise bound into one over inputs, the authors split the distribution according to distance from the nearest cutoff. Outside a small neighborhood, the distance factor is bounded below by the neighborhood width. Inside it, the discrepancy is bounded by the uniform score bound, and the margin assumption controls how much probability is available to contribute. Choosing the width in relation to the expected discrepancy gives a power bound on the second moment in terms of the excess risk.
E[gf(X, Y)²] ≤ B₀ [E gf(X, Y)]^β
Here E averages over the joint population of X and Y, gf is the single-observation excess loss, and B₀ is a finite constant valid uniformly over the function class. β is the Bernstein exponent, a number that governs how quickly the upper bound on the second moment shrinks as the mean shrinks. A class with such a bound is called a Bernstein class.
β = α/(1 + α)
Here α is the exponent in the two margin inequalities and β is the resulting exponent for the excess-loss class. The larger the margin exponent, the stronger the second-moment control near the optimum. The proof uses this control to obtain concentration for candidates whose losses are close to the minimum.
From concentration to a finite-sample bound
To bound the performance of an empirical minimizer, the authors also need to count how many distinguishable functions it could choose among. They measure this with a covering number in the uniform norm. Imagine trying to approximate every candidate function by a representative whose value differs by at most a specified tolerance at every input. The covering number is the smallest number of such representatives, expressed in terms of balls of that radius. A small covering number means that the class can be approximated uniformly by relatively few candidates at that resolution.
log N(ε, L∞, ℱ) ≤ C ε^(−p)
Here N is the covering number of the class ℱ, ε is its positive covering radius, and L∞ denotes the uniform distance between functions. The logarithm of the covering number is bounded by the right side. C is a constant and p, in the stated range from 0 to 2, describes how quickly the bound grows as the tolerance shrinks.
The argument first separates the best attainable surrogate risk in the class from the extra difficulty of searching it using a sample. For any candidate, the population mean and the sample mean of its excess loss can differ. The empirical minimizer gets a small sample mean by construction. To infer a small population mean, the proof bounds the largest relevant deviation between the two across the class. It replaces the class by a finite cover, using the Lipschitz property of the hinge to control the error introduced by this replacement.
Bernstein's inequality bounds the chance of a large deviation at a representative of the cover. Its usefulness here comes from the relationship between second moment and mean. A representative close to the optimum has a smaller second-moment bound. A representative with a larger population excess would require a larger downward fluctuation to appear competitive in the empirical objective. The proof accounts for all the representatives with a union bound and picks a covering scale that balances the growth of the cover with the strength of concentration.
E[Lφd(f̂d)] − L*φd ≤ 2 inf_{f ∈ ℱ} [Lφd(f) − L*φd] + C₀ n^(−(1+α)/(2+p+α+pα))
Here f̂d is an empirical surrogate risk minimizer in ℱ, and E outside its risk averages over training samples of size n. L*φd is the minimum population surrogate risk over all measurable scores. The infimum over f ∈ ℱ is the approximation error of the class, with coefficient 2. The last term is the sample-dependent estimation bound. The margin exponent is α, the covering exponent is p, and C₀ is independent of n under the theorem's assumptions.
The two terms answer different questions. The approximation term asks how closely the selected class could approach the Bayes surrogate risk if its population optimum were available. The estimation term asks how much the process of learning from a finite sample adds to the bound. A faster estimation rate alone gives no rate of approach to the Bayes risk when the approximation error stays positive. The authors describe how a sequence of function classes can be used together with a separate approximation bound, so both sources of excess risk can be tracked as the sample grows.
For a finite class, the authors discuss the endpoints of the margin analysis explicitly. With α = 0, which imposes no restriction on the label probabilities, the estimation order they give is (log |ℱ|/n)^(1/2). With the margin condition in the α = +∞ regime, they give the order log |ℱ|/n. Here |ℱ| is the number of candidate functions, and n is the number of independent observations. These are orders from the analysis, with constants suppressed. They describe expected excess surrogate risk through the estimation term of the bound.
The paper also illustrates the covering assumption with smooth function classes. It uses β as a smoothness parameter in its Sobolev example, a separate use of the symbol from the Bernstein exponent. For this example, d in the rate expressions denotes the dimension of the input space, and n is again the sample size. With the stated entropy bound, the paper gives rates ranging from n^(−β/(2β+d)) at α = 0 to n^(−β/(d+β)) at α = +∞, in the setting to which the theorem applies. It also discusses Gaussian kernel spaces as an example where a covering bound can be supplied for a fixed radius and scale on the specified cube.
What the ablations show
The paper contains no empirical ablations. It analyzes the method by varying the score threshold in exact conditional comparisons, recovering ordinary classification as an endpoint, and examining how assumptions on the data distribution and the function class enter the learning bound.
What changes when the score threshold moves
Changing δ holds the scoring function and the loss used to fit it fixed. At the same inputs, a larger threshold assigns more of the score range to rejection. The authors compare δ = d and δ = 1 − d as two ends of an interval where excess decision risk can be bounded by excess surrogate risk with a unit multiplier. The smaller threshold has a narrower rejection band, while the larger threshold has a wider one. The actual change in rejection frequency depends on whether the input distribution places scores in the part of the band that was added.
The upper endpoint 1 − d has another interpretation. In the range described by the paper, it is the largest threshold for which the convex loss lies everywhere above the original decision loss. In the rejection band the decision loss is the flat cost d, while the generalized hinge decreases on the positive-margin side. A band that reaches farther along that side would include margins at which the surrogate has fallen below the cost it is meant to dominate. This pointwise comparison concerns absolute losses. The excess-risk comparison considers the gaps above their respective optima.
The choice δ = 1/2 lies midway between the two endpoints discussed by the authors. At that setting their stronger comparison gives the coefficient 2d. The calculations explain why studying the threshold requires looking at multiple possible errors. For an input where predicting is optimal, expanding the rejection region lets some scores closer to the Bayes score still count as abstentions. For an input where rejecting is optimal, expanding the same region makes an erroneous commitment require a score farther from zero. The choice highlighted in the paper comes from reconciling these effects in the risk bound.
What changes when the task becomes ordinary classification
At a rejection cost of 1/2, the steeper penalty on the negative half of the margin disappears. The generalized hinge has the same slope on both sides of zero until it reaches the flat part. At the same cost, the interval of conditional probabilities favoring rejection reduces to the central tie. The binary endpoint therefore connects the shape of the generalized loss directly to the ordinary hinge analysis.
The authors also use the endpoint to identify a feature of their statistical proof. Earlier analyses they cite imposed conditions near conditional label probabilities 0 and 1. In the paper's ordinary hinge case, the weighted discrepancy handles the circumstances that made those extremes troublesome. When a score moves outward past the hinge corner in the correct direction, only the rarer label can contribute to the corresponding loss difference. The proof gives that movement less weight, allowing the fast-rate analysis to rely on the margin condition at 1/2 without imposing the additional restrictions near the probability endpoints.
What the rate comparisons isolate
The finite-class examples hold the basic learning rule fixed and change the conditions near the cutoffs. In the unrestricted case, there can be substantial probability near a boundary. On examples in that region, changing the decision can make little difference to the expected loss, while the individual outcomes still fluctuate. Stronger margin behavior limits how much of the distribution can have that combination. The resulting control of the second moment explains why the finite-class bound improves in the favorable regime.
The covering assumption addresses a different problem. Even when candidates have favorable loss fluctuations, an empirical minimizer searches over many possible functions. Finer covers require more representatives and make it harder to control all their deviations together. The exponent in the bound records this dependence on the function class alongside the margin dependence. The Sobolev calculation illustrates how the complexity changes with the smoothness of the functions and the dimension of the input domain. The paper supplies these comparisons through theorems and examples of covering behavior, with assumptions that a particular application would have to justify.
Limitations
Limits the authors state
The authors treat the rejection cost as known in advance. Their medical example gives reasons it could reflect measurable expenses and consequences, including tests and treatment delays. The optimization solves the problem specified by that cost. It gives no procedure for deciding how much those consequences should count or for learning a suitable cost from the labeled sample. In an application where the cost is disputed, the theorem applies after that part of the decision problem has been settled.
The expected-risk theorem concerns empirical minimization over a uniformly bounded class. In its stated form the class is countable, which the authors use to avoid problems with measurability. They indicate that other mild sufficient conditions can play that role. They also distinguish their analysis from the case of optimizing the empirical surrogate plus a regularization term, which they say requires further work. The finite convex program describes how to obtain a constrained solution. Applying the statistical theorem to a chosen class still requires the theorem's assumptions.
The authors describe a route to convergence to the Bayes risk using an expanding sequence of classes and a separate bound on approximation error. The main rate theorem already includes the best excess risk in the class as a term. It therefore leaves a concrete question for any application of the bound. The class must have enough capacity to approximate the relevant scoring rule, and its complexity and uniform bound must also support the statistical analysis. The paper does not give a universal rule for making that choice.
Limits that follow from the setup
The guarantee concerns average cost with a single price of rejection and a common cost for either kind of mistake. It gives no class-specific limit on false decisions, and it does not specify which inputs must be classified. If a decision maker needs separate costs for false positives and false negatives, or if deferring some inputs is more expensive than deferring others, the conditional comparison of actions changes. The thresholds and surrogate derived for a common rejection cost cover the simpler decision problem defined in the paper.
The fast-rate condition is about the true label probability within the distribution being studied. A score far from zero is enough for the fitted classifier to give a label under its decision rule. That score does not by itself estimate the probability that the label is correct. The proof shows how aggregate excess surrogate risk controls aggregate excess decision cost, subject to its assumptions. It does not turn a score into a per-input error guarantee or provide a test for whether future inputs follow a different distribution.
The formulas for training use ratios with the rejection cost in the denominator. The concrete surrogate is therefore defined for positive d. At the free-rejection endpoint, rejecting every input has zero decision cost, while the displayed slope and convex program have no defined coefficient at that endpoint. At the opposite endpoint, the ordinary classification notation uses a strict negative-margin error event. Reading that formula as a binary decision risk at zero scores requires a tie convention. In the explicit rejection rule, boundary scores already have a specified action.
The paper gives neither runtime measurements for the convex program nor empirical measurements of the resulting error and rejection rates. Its efficiency claim rests on the type of optimization problem obtained. Its statistical claim rests on a specified population, a training sample, and conditions on the margins and function class. A calculated bound thus cannot answer how frequently a diagnostic procedure would send cases for review, how costly that review would be in practice, or how the method would fare against a competing procedure on the same observations.
What came after
Later citing work brings rejection into contact with a broader question about when an automated prediction deserves to be used. The connection is clearest when a system explicitly chooses which outputs to release. Other citing titles concern the loss used to fit a classifier, the confidence of its predictions, or the conditions under which those predictions are evaluated. Those problems relate to different assumptions in Bartlett and Wegkamp's analysis.
Out-of-Distribution Detection and Selective Generation studies selective generation alongside detection of inputs outside the distribution. Selective generation is the closest counterpart to the original paper's third action. A system can withhold an output when it judges that answering would be unreliable. The output in that setting is generated text, which shifts the question from choosing between fixed labels to deciding whether to supply a generated answer. The connection is the permission to decline an output.
Why ReLU Networks Yield High-Confidence Predictions Far Away From the Training Data examines confident predictions far from the training data and ways to mitigate them. This bears on the use of scores to decide whether to commit. Bartlett and Wegkamp derive a cost guarantee for scores under a population risk and a learning analysis based on a training distribution. Confidence far from the training data raises a separate question about the evidence behind a decisive score. High confidence in that setting would matter to any rejection rule that uses confidence to decide when to answer.
WILDS provides a benchmark for distribution shifts found in practice. Its connection is to the scope of an evaluation. The reject-option paper defines its costs and margin condition relative to the distribution of the observations. When evaluation moves to a different distribution, the frequencies of errors and rejections can change, as can the prevalence of inputs near a decision boundary. A benchmark centered on such shifts addresses the conditions under which predictions are tested.
Asymmetric Loss for Multi-Label Classification studies a loss with asymmetric treatment in a task that can assign multiple labels to an input. The connection is at the level of training objectives. Bartlett and Wegkamp introduce an asymmetry between the slopes of the hinge on the negative and positive sides of the signed margin, using it to make rejection optimal over an interval of conditional probabilities. The multi-label work addresses a different decision setting through the shape of its loss. Its citation connects the studies without establishing that its method uses the same rejection threshold or inherits the binary risk bound.
Cite
Cite as Peter L. Bartlett and Marten H. Wegkamp. 2008. Classification with a Reject Option using a Hinge Loss. QUT ePrints (Queensland University of Technology).
@inproceedings{bartlett2008classification,
title = {{Classification with a Reject Option using a Hinge Loss}},
author = {Peter L. Bartlett and Marten H. Wegkamp},
booktitle = {QUT ePrints (Queensland University of Technology)},
year = {2008},
doi = {10.5555/1390681.1442792},
url = {https://doi.org/10.5555/1390681.1442792}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bartlett-2008-classification-reject-option-hinge-loss/