Introduction
A calibration analysis turns a property of a surrogate loss into a precise statement about decisions. For a convex margin loss, the derivative at zero provides a quick test for whether minimizing conditional surrogate risk favors the correct sign. The test is only the start: to quantify the penalty for a wrong sign, we must also solve the conditional-risk minimization problem.
We carry out both steps for a particular loss, the fourth-power hinge loss. Its positive-part definition makes the loss flat for margins of at least one, but its conditional risk can still be minimized explicitly. This gives an exact calibration function, not just a certificate that the loss is calibrated.
The Loss and Its Conditional Risks
A positive score predicts \(+1\), and a negative score predicts \(-1\). At \(\eta>1/2\), the Bayes-optimal label is \(+1\); scores on the wrong side, including the boundary for the purpose of taking an infimum, satisfy \(\alpha\leq 0\). The conditional risk under this constraint is called the wrong-sign risk. We use the closed constraint even if a convention assigns the score zero to \(+1\): continuity means its infimum is the same as the infimum over strictly negative scores.
For \(\eta>1/2\), the loss is differentiable at zero and \[ C_\eta'(0)=\eta\phi'(0)-(1-\eta)\phi'(0)=(2\eta-1)\phi'(0). \] Here \(\phi'(0)=-4\), so \(C_\eta'(0)=4(1-2\eta)<0\). Convexity then implies that the conditional risk is decreasing up to zero from the left: no wrong-sign score has smaller risk than the boundary score zero. For \(\eta<1/2\), symmetry gives the corresponding result with the constraint \(\alpha\geq0\). This is the convex margin derivative criterion applied to the specified loss; it certifies calibration, while the calculations below quantify the resulting risk gap.
Worked Example: A Conditional Risk at a Tie
Let \(\eta=1/2\). Then \(C_{1/2}(\alpha)=\{\phi(\alpha)+\phi(-\alpha)\}/2\), which is symmetric in \(\alpha\). At zero, \(C_{1/2}(0)=1\). The derivative is zero there, and the risk is convex, so zero is a minimizer. The Bayes classification regret is also zero at a tie: either label has the same conditional classification risk. Thus the calibration gap is zero, not a positive penalty for choosing either sign.
Minimizing the Unconstrained Conditional Risk
To calculate the surrogate excess risk of a wrong-sign decision, we need \(C_\eta^*\). First take \(0<\eta<1\). On \(-1<\alpha<1\), both positive-part terms are active, and \[ C_\eta'(\alpha)=-4\eta(1-\alpha)^3+4(1-\eta)(1+\alpha)^3. \] At \(\alpha=-1\), the derivative from the active interval is \(-32\eta<0\); at \(\alpha=1\), it is \(32(1-\eta)>0\). Within this interval, the derivative is strictly increasing: its derivative is \(12\eta(1-\alpha)^2+12(1-\eta)(1+\alpha)^2>0\). Consequently there is a unique minimizer in \((-1,1)\). Setting the first derivative to zero gives \[ \eta(1-\alpha)^3=(1-\eta)(1+\alpha)^3. \] Taking positive cube roots and solving yields the minimizer.
Proof. Write \(a=\eta^{1/3}\) and \(b=(1-\eta)^{1/3}\). The derivative equation is \(a(1-\alpha)=b(1+\alpha)\), so \(\alpha_\eta^*=(a-b)/(a+b)\), which lies in \((-1,1)\). At this score, \(1-\alpha_\eta^*=2b/(a+b)\) and \(1+\alpha_\eta^*=2a/(a+b)\). Substitution into the conditional risk gives \[ C_\eta^* =\eta\frac{16b^4}{(a+b)^4} +(1-\eta)\frac{16a^4}{(a+b)^4} =\frac{16a^3b^3(a+b)}{(a+b)^4} =\frac{16\eta(1-\eta)}{(a+b)^3}. \] The derivative is strictly increasing through its zero on \((-1,1)\), and has negative and positive signs at the respective endpoints, so this stationary point is the global minimum. At \(\eta=1\), a score \(\alpha\geq1\) has zero risk; at \(\eta=0\), a score \(\alpha\leq-1\) has zero risk. Nonnegativity of the loss proves these are minimum values. \(\square\)
The optimizer has the sign of \(\eta-1/2\), since the cube-root function is increasing. At a tie, the formula gives \(\alpha_{1/2}^*=0\), and the minimum risk is one. These facts also show directly how the score minimizer recovers the Bayes sign.
Worked Example: Exact Minimization When \(\eta=8/9\)
Here \(\eta^{1/3}=2/9^{1/3}\) and \((1-\eta)^{1/3}=1/9^{1/3}\). The minimizer is therefore \(\alpha_\eta^*=(2-1)/(2+1)=1/3\). Direct substitution checks the minimum: \[ C_{8/9}(1/3) =\frac89(1-1/3)^4+\frac19(1+1/3)^4 =\frac89\frac{16}{81}+\frac19\frac{256}{81} =\frac{384}{729}=\frac{128}{243}. \] The theorem gives the same value: \[ \frac{16(8/9)(1/9)} {\bigl(3/9^{1/3}\bigr)^3} =\frac{128/81}{3} =\frac{128}{243}. \] The positive minimizing score agrees with the more probable label.
The Exact Calibration Function
For \(\eta>1/2\), the wrong-sign constraint is \(\alpha\leq0\). The derivative at zero is negative, and convexity makes the derivative at every \(\alpha\leq0\) no larger than its value at zero. Thus the conditional risk decreases as \(\alpha\) increases toward zero, and its constrained minimum is \(C_\eta(0)=1\). For \(\eta<1/2\), symmetry gives the same constrained minimum. In either case, the classification regret of choosing the wrong label is \(|2\eta-1|\).
Derivation. Fix \(\eta>1/2\). The wrong-sign risk has infimum one, while the unrestricted minimum is \(C_\eta^*\). Its conditional surrogate excess is therefore \(1-C_\eta^*\). By symmetry the same gap holds at \(1-\eta\). To see which \(\eta\) gives the least gap subject to classification regret at least \(t\), note that \(C_\eta^*\) decreases as \(\eta\) increases from \(1/2\) to \(1\). One way to verify this is to differentiate the minimized risk in the interior: since \(C_\eta'(\alpha_\eta^*)=0\), \[ \frac{d}{d\eta}C_\eta^* =\phi(\alpha_\eta^*)-\phi(-\alpha_\eta^*)<0 \quad\text{for }\eta>1/2. \] The inequality follows from \(\alpha_\eta^*>0\), which implies \(\phi(\alpha_\eta^*)<\phi(-\alpha_\eta^*)\). Thus the smallest gap for regret at least \(t\) occurs at the boundary \(\eta=(1+t)/2\), or its reflection. Substitution of the theorem’s minimum risk gives the displayed formula. The endpoint values follow from \(C_{1/2}^*=1\) and \(C_1^*=0\). This proves the claimed calibration function. \(\square\)
Worked Example: The Calibration Gap at Regret \(7/9\)
For \(\eta=8/9\), the classification regret of the wrong label is \(2\eta-1=16/9-1=7/9\). The wrong-sign risk has infimum one, attained at the boundary score zero, so the conditional surrogate excess for a wrong sign is \[ 1-C_{8/9}^* =1-\frac{128}{243} =\frac{115}{243}. \] The formula for \(\psi\) gives the same result at \(t=7/9\): its two class probabilities are \(8/9\) and \(1/9\), whose cube roots have ratio \(2:1\), and hence \(C_\eta^*=128/243\). Thus \(\psi(7/9)=115/243\).
Worked Example: The Pure-Label Boundary
Let \(\eta=1\). The Bayes label is certainly \(+1\), and any \(\alpha\geq1\) has zero conditional risk, so \(C_1^*=0\). Under the wrong-sign constraint \(\alpha\leq0\), the risk is \(\phi(\alpha)=(1-\alpha)^4\), which decreases up to zero and has minimum one there. The classification regret is \(|2(1)-1|=1\), and the surrogate excess is \(1-0=1\). This verifies \(\psi(1)=1\), including the boundary case where the interior minimizer formula does not apply.
Common Pitfalls and Why the Calculation Matters
The derivative test is useful because it detects whether the conditional risk slopes toward the correct sign at the decision boundary. The constrained minimization then turns that directional fact into a quantitative statement. Here it shows exactly how much surrogate excess is unavoidable when the score has the wrong sign, at each level of classification regret. A calibration function is therefore a pointwise bridge between conditional surrogate risk and conditional classification risk; it is not by itself a statement about a fitted model or a learning algorithm.
- Using the wrong derivative sign. The derivative is \((2\eta-1)\phi'(0)\), not \((1-2\eta)\phi'(0)\). Since \(\phi'(0)=-4\), it is negative when \(\eta>1/2\), so the risk falls as the score moves right toward the Bayes sign.
- Minimizing over the wrong region. The calibration gap uses the best score constrained to the wrong side, not the unrestricted minimizer. For \(\eta>1/2\), that constraint is \(\alpha\leq0\), whose minimum risk is one.
- Confusing classification regret with surrogate excess. At a fixed \(\eta\), classification regret is \(|2\eta-1|\); the surrogate excess here is \(1-C_\eta^*\). They are different quantities, related by the calibration function.
- Ignoring the endpoints. The formula for the interior score minimizer uses \(0<\eta<1\). At a pure label, the minimizing scores form a half-line, and the minimum risk should be checked directly.
Check Your Understanding
Use the loss \(\phi(u)=(1-u)_+^4\) and the definitions above.
- Compute \(\phi'(0)\) and \(C_\eta'(0)\). For which values of \(\eta\) is the latter negative?
- For \(0<\eta<1\), verify that the stated \(\alpha_\eta^*\) lies strictly between \(-1\) and \(1\).
- When \(\eta=1/2\), what are the minimum conditional risk and classification regret?
- For \(\eta=8/9\), calculate the wrong-sign conditional risk and the surrogate excess of a wrong-sign score.
- Why does the pure-label case \(\eta=1\) need a separate check from the interior minimizer calculation?