面向不确定决策阈值的预算约束适当损失设计

arXiv cs.LG 论文

摘要

本文研究在二元概率估计面临不确定决策阈值时,如何在固定权重预算下设计适当损失,并推导出一种“包络损失”:通过截断阈值密度包络,使从替代损失遗憾到阈值平均决策遗憾的最优分布无关乘数最小化。

arXiv:2611.23247v1 Announce Type: new Abstract: A binary probability estimate may be used by several decision makers with different error costs. Proper scoring rules can emphasize selected probability thresholds, but a single average threshold distribution need not give a good worst-case regret guarantee. We study the choice of a proper loss when the threshold distribution belongs to a finite specified family. Among integrable loss weights with a positive pointwise floor and a fixed total mass, we derive the weight that minimizes the sharp, distribution-free multiplier from surrogate regret to threshold-averaged decision regret. The solution clips a rescaled upper envelope of the threshold densities at the prescribed floor; its normalization is found by a one-dimensional root search. We give proofs of sharpness, optimality, and stability under density misspecification, as well as a limitation for atomic threshold laws. An exact histogram implementation and two synthetic experiments across 20 seeds verify the construction. The optimized multiplier improves over uniform and average-density weights, while fitted-model performance does not improve uniformly. The result is a loss-design guarantee under an explicit budget, rather than a general claim of predictive superiority.
查看原文
查看缓存全文

缓存时间: 2026/11/19 08:59

# Budgeted Proper Loss Design for Uncertain Decision Thresholds
Source: [https://arxiv.org/html/2611.23247](https://arxiv.org/html/2611.23247)
Ankit SharmaAffiliation:International Institute of Information Technology BangaloreAffiliation:Bengaluru, IndiaEmail:[ankitankitsharm\.eml36@iiitb\.net](mailto:)

September 2026

###### Abstract

A binary probability estimate may be used by several decision makers with different error costs\. Proper scoring rules can emphasize selected probability thresholds, but a single average threshold distribution need not give a good worst\-case regret guarantee\. We study the choice of a proper loss when the threshold distribution belongs to a finite specified family\. Among integrable loss weights with a positive pointwise floor and a fixed total mass, we derive the weight that minimizes the sharp, distribution\-free multiplier from surrogate regret to threshold\-averaged decision regret\. The solution clips a rescaled upper envelope of the threshold densities at the prescribed floor; its normalization is found by a one\-dimensional root search\. We give proofs of sharpness, optimality, and stability under density misspecification, as well as a limitation for atomic threshold laws\. An exact histogram implementation and two synthetic experiments across 20 seeds verify the construction\. The optimized multiplier improves over uniform and average\-density weights, while fitted\-model performance does not improve uniformly\. The result is a loss\-design guarantee under an explicit budget, rather than a general claim of predictive superiority\.

## 1Introduction

A model that estimates a binary event probability is often shared across decisions\. A prediction may determine whether to allocate a resource, flag an item, or accept an opportunity\. When the relative costs of false positives and false negatives differ across these uses, the same probability is compared with different thresholds\. Choosing one training loss then raises a practical question: which parts of the probability interval should receive additional emphasis?

Threshold emphasis is not a new loss principle\. Binary proper scoring rules admit a representation as weighted mixtures of cost\-sensitive decisions\[[1](https://arxiv.org/html/2611.23247#bib.bib1),[2](https://arxiv.org/html/2611.23247#bib.bib2),[3](https://arxiv.org/html/2611.23247#bib.bib3)\]\. Tailoring these weights to a relevant threshold is established practice\[[1](https://arxiv.org/html/2611.23247#bib.bib1)\], and weighted Brier scores explicitly average over threshold preferences\[[4](https://arxiv.org/html/2611.23247#bib.bib4)\]\. This paper instead asks a constrained design question\. Suppose several threshold laws are plausible, no mixing probabilities among them are specified, and the training loss must retain a uniform probability\-estimation floor\. How should a fixed amount of additional weight be allocated to minimize a worst\-case regret multiplier?

The resulting problem has a simple exact solution\. Take the pointwise maximum of the threshold densities, divide it by a scalar, and clip it from below at the required floor\. Choose the scalar so that the resulting weight uses the available mass\. We call the induced scoring rule the*envelope loss*\. The name denotes this particular design rule within the existing class of proper losses; it does not denote a newly discovered representation of scoring rules\.

The principal result is the solution of this budgeted design problem together with an exact characterization of the multiplier being optimized\. The analysis also quantifies sensitivity to an inaccurate threshold family and explains why a locally bounded weight cannot give the same linear guarantee for a fixed atomic threshold\. A numerical study distinguishes this guarantee from the separate question of which fitted model performs best\.

## 2Setting and relation to existing work

LetY∈\{0,1\}Y\\in\\\{0,1\\\}, letXXbe a feature vector, and writeη⁡\(x\)=Pr⁡\(Y=1∣X=x\)\\eta\(x\)=\\Pr\(Y=1\\mid X=x\)\. A predictionq⁡\(x\)q\(x\)takes values in\[0,1\]\[0,1\]\. For thresholdt∈\(0,1\)t\\in\(0,1\), use actionaq\(t\)=𝟏\{q≥t\}a\_\{q\}\(t\)=\\mathbf\{1\}\\\{q\\geq t\\\}and cost

ct​\(y,a\)=t⁡\(1−y\)​a\+\(1−t\)​y​\(1−a\)\.c\_\{t\}\(y,a\)=t\(1\-y\)a\+\(1\-t\)y\(1\-a\)\.\(1\)The Bayes action isaη​\(t\)a\_\{\\eta\}\(t\)\. Ifqqandη\\etalead to different actions, the conditional excess cost is\|η−t\|\|\\eta\-t\|\.

We assume a specified finite family of bounded measurable densitiesf1,…,fKf\_\{1\},\\ldots,f\_\{K\}on\(0,1\)\(0,1\), each integrating to one\. A density describes a distribution of thresholds, independently of\(X,Y\)\(X,Y\), for one use of the model\. Only this threshold law varies; the joint law of\(X,Y\)\(X,Y\)is fixed\. Define the conditional decision regret

Df​\(η,q\)=∫min⁡\(η,q\)max⁡\(η,q\)\|t−η\|​f​\(t\)​𝑑t,ℛf​\(q\)=𝔼X​Df​\(η⁡\(X\),q⁡\(X\)\)\.D\_\{f\}\(\\eta,q\)=\\int\_\{\\min\(\\eta,q\)\}^\{\\max\(\\eta,q\)\}\|t\-\\eta\|f\(t\)\\,dt,\\qquad\\mathcal\{R\}\_\{f\}\(q\)=\\mathbb\{E\}\_\{X\}D\_\{f\}\(\\eta\(X\),q\(X\)\)\.\(2\)The worst family regret ismaxk⁡ℛfk​\(q\)\\max\_\{k\}\\mathcal\{R\}\_\{f\_\{k\}\}\(q\)\. It is also the worst regret over the convex hull of the family, since expectation is linear inff\. The maximum is outside the expectation: one law is used for the population, rather than selected separately for each example\.

#### Proper loss representation\.

For an integrable weightw≥0w\\geq 0, define

ℓw​\(y,q\)=\(1−y\)​∫0qt​w​\(t\)​𝑑t\+y​∫q1\(1−t\)​w​\(t\)​𝑑t\.\\ell\_\{w\}\(y,q\)=\(1\-y\)\\int\_\{0\}^\{q\}tw\(t\)\\,dt\+y\\int\_\{q\}^\{1\}\(1\-t\)w\(t\)\\,dt\.\(3\)This is the established integral representation used throughout the paper\. Uniform weightw=2w=2gives\(y−q\)2\(y\-q\)^\{2\}, the binary Brier loss\. The expected lossLw​\(η,q\)=𝔼Y∼Bern⁡\(η\)​ℓw​\(Y,q\)L\_\{w\}\(\\eta,q\)=\\mathbb\{E\}\_\{Y\\sim\\mathrm\{Bern\}\(\\eta\)\}\\ell\_\{w\}\(Y,q\)has regret

Dw​\(η,q\)=Lw​\(η,q\)−Lw​\(η,η\)=∫min⁡\(η,q\)max⁡\(η,q\)\|t−η\|​w​\(t\)​𝑑t\.D\_\{w\}\(\\eta,q\)=L\_\{w\}\(\\eta,q\)\-L\_\{w\}\(\\eta,\\eta\)=\\int\_\{\\min\(\\eta,q\)\}^\{\\max\(\\eta,q\)\}\|t\-\\eta\|w\(t\)\\,dt\.\(4\)Writeℛw​\(q\)=𝔼X​Dw​\(η⁡\(X\),q⁡\(X\)\)\\mathcal\{R\}\_\{w\}\(q\)=\\mathbb\{E\}\_\{X\}D\_\{w\}\(\\eta\(X\),q\(X\)\)\. In particular,DfD\_\{f\}is itself a proper\-score regret\. This identifies the design problem as a comparison of proper\-score regrets, not a different notion of probability calibration\.

#### Prior work and scope of the contribution\.

Buja, Stuetzle, and Shen\[[1](https://arxiv.org/html/2611.23247#bib.bib1)\]develop weight\-based proper scoring rules and threshold tailoring\. Reid and Williamson\[[2](https://arxiv.org/html/2611.23247#bib.bib2),[3](https://arxiv.org/html/2611.23247#bib.bib3)\]establish general relations among proper losses, links, divergences, and regret bounds\. Their framework supplies the representation and calculus used here\. Zhu, Zheng, and Chan\[[4](https://arxiv.org/html/2611.23247#bib.bib4)\]study a weighted Brier score for decision\-relevant evaluation\. Flores et al\.\[[5](https://arxiv.org/html/2611.23247#bib.bib5)\]examine cost\-aware scoring under uncertainty in class balance, a different source of deployment variation\. Painsky and Wornell\[[6](https://arxiv.org/html/2611.23247#bib.bib6)\]give divergence\-domination results for log loss under their regularity and convexity assumptions\. These works make a broad claim that “threshold\-aware proper loss is new” untenable\. The contribution considered here is the explicit floor\-and\-mass constrained minimax allocation for a specified finite family, with a sharp coefficient and an exact implementation\. We do not claim a new general scoring\-rule theory or an exhaustive classification of robust losses\.

## 3A sharp regret multiplier

Fix constantsm\>0m\>0andB\>0B\>0, and let

𝒲m,B=\{w∈L1\(0,1\):w≥ma\.e\.,∫01w\(t\)dt=m\+B\}\.\\mathcal\{W\}\_\{m,B\}=\\left\\\{w\\in L^\{1\}\(0,1\):w\\geq m\\ \\text\{a\.e\.\},\\ \\int\_\{0\}^\{1\}w\(t\)\\,dt=m\+B\\right\\\}\.\(5\)The floor preserves sensitivity over the full probability interval;BBis the extra mass that can be allocated\. A mass constraint is essential: unrestricted multiplication of a loss by an arbitrarily large number would make its regret multiplier arbitrarily small without changing unregularized empirical minimizers\.

LetF⁡\(t\)=max1≤k≤K⁡fk​\(t\)F\(t\)=\\max\_\{1\\leq k\\leq K\}f\_\{k\}\(t\)\. Forw∈𝒲m,Bw\\in\\mathcal\{W\}\_\{m,B\}, set

C⁡\(w\)=ess​supt∈\(0,1\)⁡F⁡\(t\)w⁡\(t\)\.C\(w\)=\\operatorname\*\{ess\\,sup\}\_\{t\\in\(0,1\)\}\\frac\{F\(t\)\}\{w\(t\)\}\.\(6\)The essential supremum ignores changes on sets of Lebesgue measure zero\.

###### Theorem 1\(Properness and sharp domination\)\.

For everyw∈𝒲m,Bw\\in\\mathcal\{W\}\_\{m,B\},ℓw\\ell\_\{w\}is strictly proper and

Dw​\(η,q\)≥m2​\(q−η\)2,maxk⁡ℛfk​\(q\)≤C⁡\(w\)​ℛw​\(q\)\.D\_\{w\}\(\\eta,q\)\\geq\\frac\{m\}\{2\}\(q\-\\eta\)^\{2\},\\qquad\\max\_\{k\}\\mathcal\{R\}\_\{f\_\{k\}\}\(q\)\\leq C\(w\)\\mathcal\{R\}\_\{w\}\(q\)\.\(7\)Moreover,C⁡\(w\)C\(w\)is the smallest nonnegative constant for which the second inequality holds for every joint law of\(X,Y\)\(X,Y\)and every measurable predictorqq\.

###### Proof\.

The derivative of conditional risk is\(q−η\)​w​\(q\)\(q\-\\eta\)w\(q\)almost everywhere\. Integration gives \([4](https://arxiv.org/html/2611.23247#S2.E4)\)\. The lower bound follows fromw≥mw\\geq mand is strictly positive whenq≠ηq\\neq\\eta\. Sincefk≤C⁡\(w\)​wf\_\{k\}\\leq C\(w\)walmost everywhere, integration in \([2](https://arxiv.org/html/2611.23247#S2.E2)\) followed by expectation proves domination\.

For sharpness, let0≤c<C⁡\(w\)0\\leq c<C\(w\)\. AsKKis finite, somekkhas a positive\-measure set on whichfk​\(t\)/w⁡\(t\)\>cf\_\{k\}\(t\)/w\(t\)\>c\. Choose an interior common Lebesgue pointt0t\_\{0\}offkf\_\{k\}andwwin this set, with finitew⁡\(t0\)≥mw\(t\_\{0\}\)\\geq m\. Take a degenerate feature distribution withη=t0\\eta=t\_\{0\}and predictionq=t0\+hq=t\_\{0\}\+h\. Forg=fkg=f\_\{k\}orww, one\-sided Lebesgue differentiation gives

∫0hu​g​\(t0\+u\)​𝑑u=12​g​\(t0\)​h2\+o⁡\(h2\)\.\\int\_\{0\}^\{h\}ug\(t\_\{0\}\+u\)\\,du=\\tfrac\{1\}\{2\}g\(t\_\{0\}\)h^\{2\}\+o\(h^\{2\}\)\.Indeed, the absolute remainder is at mosth​∫0h\|g⁡\(t0\+u\)−g⁡\(t0\)\|​𝑑u=o⁡\(h2\)h\\int\_\{0\}^\{h\}\|g\(t\_\{0\}\+u\)\-g\(t\_\{0\}\)\|\\,du=o\(h^\{2\}\)\. ThusDfk​\(t0,t0\+h\)/Dw​\(t0,t0\+h\)→fk​\(t0\)/w⁡\(t0\)\>cD\_\{f\_\{k\}\}\(t\_\{0\},t\_\{0\}\+h\)/D\_\{w\}\(t\_\{0\},t\_\{0\}\+h\)\\to f\_\{k\}\(t\_\{0\}\)/w\(t\_\{0\}\)\>c\. The proposed smaller constant fails for sufficiently smallhh\. ∎

Sharpness is distribution\-free\. For a fixed dataset or restricted model family, predictions may never visit a region that attains the worst ratio\. Consequently, the best distribution\-free constant need not identify the best empirical predictor\.

## 4The budgeted envelope loss

DefineH⁡\(c\)=∫01\(F⁡\(t\)/c−m\)\+​𝑑tH\(c\)=\\int\_\{0\}^\{1\}\(F\(t\)/c\-m\)\_\{\+\}\\,dtforc\>0c\>0, where\(u\)\+=max⁡\(u,0\)\(u\)\_\{\+\}=\\max\(u,0\)\.

###### Theorem 2\(Optimal allocation\)\.

There is a uniquec∗\>0c\_\{\*\}\>0satisfyingH⁡\(c∗\)=BH\(c\_\{\*\}\)=B\. The weight

w∗​\(t\)=max⁡\{m,F⁡\(t\)/c∗\}\\boxed\{\\quad w\_\{\*\}\(t\)=\\max\\\{m,F\(t\)/c\_\{\*\}\\\}\\quad\}\(8\)belongs to𝒲m,B\\mathcal\{W\}\_\{m,B\}and uniquely minimizesC⁡\(w\)C\(w\)up to almost\-everywhere equality\. Its optimal value isC⁡\(w∗\)=c∗C\(w\_\{\*\}\)=c\_\{\*\}\. Substitution ofw∗w\_\{\*\}into \([3](https://arxiv.org/html/2611.23247#S2.E3)\) defines the envelope loss\.

###### Proof\.

The envelope is bounded and integrable, with1≤∫F≤K1\\leq\\int F\\leq K\. Dominated convergence on compact subintervals ofc\>0c\>0makesHHcontinuous\. It tends to infinity asc↓0c\\downarrow 0and is zero whenc≥‖F‖∞/mc\\geq\\\|F\\\|\_\{\\infty\}/m\. It is strictly decreasing wherever it is positive: forc1<c2c\_\{1\}<c\_\{2\}withH⁡\(c2\)\>0H\(c\_\{2\}\)\>0, the positive\-measure setF\>m​c2F\>mc\_\{2\}gives a strict decrease\. Existence and uniqueness follow forB\>0B\>0\.

IfC⁡\(w\)≤cC\(w\)\\leq c, thenw≥F/cw\\geq F/candw≥mw\\geq malmost everywhere\. ThereforeB=∫\(w−m\)≥H⁡\(c\)B=\\int\(w\-m\)\\geq H\(c\), which forcesc≥c∗c\\geq c\_\{\*\}\. The proposedw∗w\_\{\*\}attains the mass constraint\. On the positive\-measure active setF\>m​c∗F\>mc\_\{\*\}its ratio isF/w∗=c∗F/w\_\{\*\}=c\_\{\*\}; elsewhere the ratio is at mostc∗c\_\{\*\}\. It attains the lower bound\. If another weight attained it, it would dominatew∗w\_\{\*\}pointwise almost everywhere and have the same integral\. It must therefore equalw∗w\_\{\*\}almost everywhere\. ∎

ForB=0B=0the sole feasible weight ismmand the coefficient is‖F‖∞/m\\\|F\\\|\_\{\\infty\}/m\. ForB\>0B\>0, bisection or a bracketed scalar solver computesc∗c\_\{\*\}\. Feasibility also gives the useful lower bound

c∗≥∫01F⁡\(t\)​𝑑tm\+B\.c\_\{\*\}\\geq\\frac\{\\int\_\{0\}^\{1\}F\(t\)\\,dt\}\{m\+B\}\.\(9\)Equality holds ifF/c∗F/c\_\{\*\}exceeds the floor almost everywhere\. Regions below the floor threshold are left atmm, while the other regions share a common density\-to\-weight ratio\.

#### A closed\-form example\.

Takef1\(t\)=2𝟏\{0<t<1/2\}f\_\{1\}\(t\)=2\\mathbf\{1\}\\\{0<t<1/2\\\},f2\(t\)=4𝟏\{3/4<t<1\}f\_\{2\}\(t\)=4\\mathbf\{1\}\\\{3/4<t<1\\\},m=B=1m=B=1\. The envelope is22on the first interval,44on the second, and zero elsewhere\. The budget equation givesc∗=8/7c\_\{\*\}=8/7\. The optimal weights are7/47/4,7/27/2, and11on these three regions, respectively\. Uniform weight22has coefficient22\. The equally averaged weight1\+\(f1\+f2\)/21\+\(f\_\{1\}\+f\_\{2\}\)/2has coefficient4/34/3\. The optimized coefficient8/78/7improves both, with identical total weight22\.

#### What the optimum does not say\.

The training objective is ordinarily empiricalℓw∗\\ell\_\{w\_\{\*\}\}loss\. It is notmaxk⁡ℛfk\\max\_\{k\}\\mathcal\{R\}\_\{f\_\{k\}\}itself\. Nor does minimizingc∗c\_\{\*\}minimize the productc∗​ℛw∗​\(q\)c\_\{\*\}\\mathcal\{R\}\_\{w\_\{\*\}\}\(q\)over fitted models: changingwwchanges approximation error, estimation error, and optimization\. The theorem optimizes the multiplier for a fixed feasible loss scale\. Log loss has weight1/\[t⁡\(1−t\)\]1/\[t\(1\-t\)\], whose integral diverges, so it is outside \([5](https://arxiv.org/html/2611.23247#S3.E5)\); the theorem is not an optimality claim over log loss\.

## 5Misspecification and limits

###### Proposition 3\(Errors in the threshold family\)\.

Supposef^k\\widehat\{f\}\_\{k\}are bounded densities,F^=maxk⁡f^k\\widehat\{F\}=\\max\_\{k\}\\widehat\{f\}\_\{k\}, and‖F−F^‖∞≤δ\\\|F\-\\widehat\{F\}\\\|\_\{\\infty\}\\leq\\delta\. Letw^\\widehat\{w\}be the envelope design forF^\\widehat\{F\}under the samem,Bm,B, with coefficientc^\\widehat\{c\}\. Then

CF​\(w^\)≤c^\+δ/m,\|c∗​\(F\)−c∗​\(F^\)\|≤δ/m\.C\_\{F\}\(\\widehat\{w\}\)\\leq\\widehat\{c\}\+\\delta/m,\\qquad\|c\_\{\*\}\(F\)\-c\_\{\*\}\(\\widehat\{F\}\)\|\\leq\\delta/m\.\(10\)HereCF\(w\)=ess​supF/wC\_\{F\}\(w\)=\\operatorname\*\{ess\\,sup\}F/w\. Alternatively, ifmaxk⁡‖fk−f^k‖1≤ϵ\\max\_\{k\}\\\|f\_\{k\}\-\\widehat\{f\}\_\{k\}\\\|\_\{1\}\\leq\\epsilon, then for every predictor

maxk⁡ℛfk​\(q\)≤c^​ℛw^​\(q\)\+ϵ\.\\max\_\{k\}\\mathcal\{R\}\_\{f\_\{k\}\}\(q\)\\leq\\widehat\{c\}\\mathcal\{R\}\_\{\\widehat\{w\}\}\(q\)\+\\epsilon\.\(11\)

###### Proof\.

For any feasibleww,\|CF​\(w\)−CF^​\(w\)\|≤δ/m\|C\_\{F\}\(w\)\-C\_\{\\widehat\{F\}\}\(w\)\|\\leq\\delta/m\. Apply this first tow^\\widehat\{w\}, and then take infima in both directions to compare the optima\. For the second result, the integrand\|t−η\|​𝟏​\{t​between​η​and​q\}\|t\-\\eta\|\\mathbf\{1\}\\\{t\\text\{ between \}\\eta\\text\{ and \}q\\\}is bounded by one\. The difference between the two conditional regrets is at most‖fk−f^k‖1\\\|f\_\{k\}\-\\widehat\{f\}\_\{k\}\\\|\_\{1\}\. Average overXXand apply Theorem[1](https://arxiv.org/html/2611.23247#Thmtheorem1)for the estimated family\. ∎

These statements concern density approximation, not label noise, covariate shift, or a changing conditional event probability\. Estimating the family from data requires a separate analysis of that estimation procedure\. In the experiments below the laws are specified in advance, so there is no fitted\-density uncertainty\.

###### Proposition 4\(An atomic threshold prevents linear domination\)\.

Let a threshold law place massa\>0a\>0att0∈\(0,1\)t\_\{0\}\\in\(0,1\)\. Ifwwis bounded byM<∞M<\\inftyin a neighborhood oft0t\_\{0\}, no finite constantCCbounds its decision regret byC​Dw​\(η,q\)CD\_\{w\}\(\\eta,q\)uniformly in\(η,q\)\(\\eta,q\)\.

###### Proof\.

Chooseη=t0−h\\eta=t\_\{0\}\-h,q=t0\+hq=t\_\{0\}\+h, and smallh\>0h\>0\. The atom contributesa​hahto decision regret\. On the other hand,Dw​\(η,q\)≤M​∫ηq\(t−η\)​𝑑t=2​M​h2D\_\{w\}\(\\eta,q\)\\leq M\\int\_\{\\eta\}^\{q\}\(t\-\\eta\)dt=2Mh^\{2\}\. Their ratio is at leasta/\(2​M​h\)a/\(2Mh\)and diverges\. ∎

The density assumption is therefore substantive\. Smoothing a fixed threshold into a narrow density changes the target, even if it is operationally reasonable\. The floor still gives the weaker fixed\-threshold boundℛt0​\(q\)≤2​ℛw​\(q\)/m\\mathcal\{R\}\_\{t\_\{0\}\}\(q\)\\leq\\sqrt\{2\\mathcal\{R\}\_\{w\}\(q\)/m\}: conditional threshold regret is at most\|q−η\|\|q\-\\eta\|, followed by Cauchy–Schwarz and \([7](https://arxiv.org/html/2611.23247#S3.E7)\)\.

## 6Implementation

The loss is evaluated directly, not by multiplying a Brier loss by a prediction\-dependent weight\. In generalw⁡\(q\)​\(y−q\)2w\(q\)\(y\-q\)^\{2\}has extra derivative terms and is not the proper loss in \([3](https://arxiv.org/html/2611.23247#S2.E3)\)\. At differentiability points, a logitzzwithq=σ⁡\(z\)q=\\sigma\(z\)gives

∂ℓw​\(y,σ⁡\(z\)\)∂z=\(q−y\)​w​\(q\)​q​\(1−q\)\.\\frac\{\\partial\\ell\_\{w\}\(y,\\sigma\(z\)\)\}\{\\partial z\}=\(q\-y\)w\(q\)q\(1\-q\)\.\(12\)A bounded weight bounds this derivative by‖w‖∞/4\\\|w\\\|\_\{\\infty\}/4, but also permits gradients to vanish near the endpoints\. Strict properness does not imply convexity in the logit, so optimizer success alone is not a global\-optimality certificate\.

For histogram densities onJJbins with edges0=e0<⋯<eJ=10=e\_\{0\}<\\cdots<e\_\{J\}=1, formFj=maxk⁡fk​jF\_\{j\}=\\max\_\{k\}f\_\{kj\}and solve

∑j=1J\(ej−ej−1\)​\(Fj/c−m\)\+=B\.\\sum\_\{j=1\}^\{J\}\(e\_\{j\}\-e\_\{j\-1\}\)\(F\_\{j\}/c\-m\)\_\{\+\}=B\.\(13\)Thenwj=max⁡\(m,Fj/c\)w\_\{j\}=\\max\(m,F\_\{j\}/c\)\. Prefix integrals give exact partial losses\. DefineA⁡\(q\)=∫0qw⁡\(t\)​𝑑tA\(q\)=\\int\_\{0\}^\{q\}w\(t\)dtandQ⁡\(q\)=∫0qt​w​\(t\)​𝑑tQ\(q\)=\\int\_\{0\}^\{q\}tw\(t\)dt\. Ifqqlies in binjj,

A⁡\(q\)\\displaystyle A\(q\)=A⁡\(ej−1\)\+wj​\(q−ej−1\),\\displaystyle=A\(e\_\{j\-1\}\)\+w\_\{j\}\(q\-e\_\{j\-1\}\),\(14\)Q⁡\(q\)\\displaystyle Q\(q\)=Q⁡\(ej−1\)\+12​wj​\(q2−ej−12\)\.\\displaystyle=Q\(e\_\{j\-1\}\)\+\\tfrac\{1\}\{2\}w\_\{j\}\(q^\{2\}\-e\_\{j\-1\}^\{2\}\)\.\(15\)Thusℓw​\(0,q\)=Q⁡\(q\)\\ell\_\{w\}\(0,q\)=Q\(q\)andℓw​\(1,q\)=A⁡\(1\)−Q⁡\(1\)−A⁡\(q\)\+Q⁡\(q\)\\ell\_\{w\}\(1,q\)=A\(1\)\-Q\(1\)\-A\(q\)\+Q\(q\)\. Preprocessing costsO⁡\(K​J\)O\(KJ\)plus the scalar solve; each prediction needs a bin lookup and constant arithmetic\. The integral is exact for the histogram laws, which are the actual experimental targets\. At a knot the partial losses are continuous but may have unequal one\-sided derivatives; the implementation uses the right bin\.

## 7Numerical study

The study has two purposes: verify the design calculation and examine whether coefficient improvements translate to learning performance\. All results in this section were generated by the accompanying Python program\. No proprietary or real\-world data are used\.

### 7\.1Design verification

We use 40 equal\-width bins and three densities obtained from the bin probabilities ofBeta⁡\(2,8\)\\mathrm\{Beta\}\(2,8\),Beta⁡\(5,5\)\\mathrm\{Beta\}\(5,5\), andBeta⁡\(8,2\)\\mathrm\{Beta\}\(8,2\)\. The bin probabilities are divided by bin width\. We setm=B=1m=B=1and compare uniformw=2w=2, average\-densityw=1\+13​∑kfkw=1\+\\frac\{1\}\{3\}\\sum\_\{k\}f\_\{k\}, and the envelope design \(Figure[1](https://arxiv.org/html/2611.23247#S7.F1)\)\. Each weight integrates to two and satisfies the same floor\.

Figure 1:Specified histogram threshold laws \(left\) and feasible loss weights \(right\)\. The envelope design allocates weight to the family maximum while respecting the floor and total mass\.Table 1:Sharp multipliers for the specified histogram family\. Smaller is better at the fixed weight budget\.The envelope coefficient is 30\.30% lower than the uniform coefficient and 23\.60% lower than the average\-density coefficient\. These are coefficient reductions, not reductions in prediction error\. A separate linear program agrees with the scalar\-root optimum within9×10−149\\times 10^\{\-14\}\. A local regret ratio in an active histogram bin agrees with it within1\.1×10−111\.1\\times 10^\{\-11\}\. A central finite\-difference check of the probability derivative has maximum absolute error1\.5×10−101\.5\\times 10^\{\-10\}or less\. Checks on 10,000 random probability pairs satisfy both the floor bound and each family domination bound within10−1210^\{\-12\}numerical tolerance\. Numerical checks supplement, rather than replace, the proofs\.

### 7\.2Learning protocol

For each seeds∈\{0,…,19\}s\\in\\\{0,\\ldots,19\\\}, draw independent coordinatesX1,X2∼Uniform⁡\[−2,2\]X\_\{1\},X\_\{2\}\\sim\\mathrm\{Uniform\}\[\-2,2\]\. In the correctly specified setting,

η⁡\(X\)=σ⁡\(0\.3\+1\.1​X1−0\.8​X2\)\.\\eta\(X\)=\\sigma\(0\.3\+1\.1X\_\{1\}\-0\.8X\_\{2\}\)\.In the misspecified setting, add1\.1​sin⁡\(2​X1\)\+0\.7​X1​X21\.1\\sin\(2X\_\{1\}\)\+0\.7X\_\{1\}X\_\{2\}inside the sigmoid\. Labels are independent Bernoulli draws with probabilityη⁡\(X\)\\eta\(X\)\. Each setting uses 1,500 training observations and a separate 12,000\-observation test sample per seed\. Each method receives identical data within a setting and seed\.

All methods fitqθ​\(X\)=σ⁡\(θ0\+θ1​X1\+θ2​X2\)q\_\{\\theta\}\(X\)=\\sigma\(\\theta\_\{0\}\+\\theta\_\{1\}X\_\{1\}\+\\theta\_\{2\}X\_\{2\}\)\. The four objectives are log loss, Brier loss, average\-density proper loss, and envelope loss\. All use the same10−6∥θ1:2∥22/210^\{\-6\}\\\|\\theta\_\{1:2\}\\\|\_\{2\}^\{2\}/2penalty, with no intercept penalty\. L\-BFGS\-B uses at most 1,000 iterations, function tolerance10−1210^\{\-12\}, and gradient tolerance10−810^\{\-8\}\. The starts are\(0,0,0\)\(0,0,0\),\(0\.2,0\.5,−0\.5\)\(0\.2,0\.5,\-0\.5\), and\(−0\.2,−0\.5,0\.5\)\(\-0\.2,\-0\.5,0\.5\); the lowest training objective selects the fit\. All 160 selected fits report optimizer success\. This does not certify global minimization for the three non\-log objectives\. No settings are selected on the test set\.

The synthetic conditional probability is known\. The primary metric is the maximum, over the three threshold laws, of the test\-sample mean decision regrets in Equation \([2](https://arxiv.org/html/2611.23247#S2.E2)\)\. We also report𝔼X​\(q−η\)2\\mathbb\{E\}\_\{X\}\(q\-\\eta\)^\{2\}and observed\-label test log loss\. These metrics use the same held\-out samples;η\\etais never used for fitting\. The reported errors are standard errors of the 20 seed\-level estimates, not confidence intervals for real deployment performance\.

Table 2:Test performance, mean±\\pmstandard error over 20 seeds\. Worst\-family regret and probability MSE are multiplied by10310^\{3\}\. Lower is better\.
### 7\.3Interpretation

In the correctly specified setting, log loss has the lowest mean worst\-family regret\. In the misspecified setting, the average\-density loss has a slightly smaller mean worst\-family regret than the envelope loss; their seed\-level uncertainties are larger than this small difference\. Envelope loss improves on log loss for this decision metric under misspecification but has worse test log loss\. These results do not establish a general advantage over Brier or average\-density training\. They illustrate the distinction predicted by the theory: optimizing a uniform regret multiplier is not equivalent to optimizing the error of a fitted, restricted model\.

Only two synthetic data\-generating processes and one linear model family are tested\. There is no evidence here about neural networks, large\-scale auctions, medical decisions, label imbalance, or real\-world deployment\. The settings were chosen to contrast correct specification with a fixed nonlinear misspecification, not to approximate any particular production system\.

## 8Discussion

The envelope construction gives a reproducible way to select one proper loss for a finite family of threshold preferences under an explicit scale convention\. Its precise benefit is a minimax, distribution\-free regret multiplier\. The optimization is elementary once the proper\-score representation is available; the technical content lies in stating the feasible class, proving the coefficient is sharp, and identifying its unique optimum\.

Several issues remain outside this result\. A practitioner must justify the threshold family and floor\-to\-budget ratio\. A larger budget changes the loss scale and its allocation; coefficients at different budgets should not be read as an empirical comparison\. A feature\-dependent threshold law would require a conditional formulation\. Atomic thresholds need a different guarantee or a measure\-valued loss\. Finite\-sample excess\-risk bounds, optimal regularization, and tests on real data remain open extensions of this study\. Most immediately, the empirical results caution against selecting a training loss solely from its worst\-case multiplier\.

#### Reproducibility and assistance\.

The accompanying source package contains the experiment program, per\-seed results, figure, and verification code\. Computation used Python, NumPy, SciPy, and Matplotlib on CPU\. OpenAI ChatGPT/Codex assisted with the mathematical development, literature search, manuscript drafting, and experiment implementation and execution\. This statement describes the assistance used; it does not imply independent human verification or peer review\.

## References

- \[1\]Andreas Buja, Werner Stuetzle, and Yi Shen\.Loss Functions for Binary Class Probability Estimation and Classification: Structure and Applications\.Technical manuscript, November 3, 2005\.[https://sites\.stat\.washington\.edu/wxs/Learning\-papers/paper\-proper\-scoring\.pdf](https://sites.stat.washington.edu/wxs/Learning-papers/paper-proper-scoring.pdf)\.
- \[2\]Mark D\. Reid and Robert C\. Williamson\.Composite Binary Losses\.*Journal of Machine Learning Research*, 11:2387–2422, 2010\.[https://www\.jmlr\.org/papers/v11/reid10a\.html](https://www.jmlr.org/papers/v11/reid10a.html)\.
- \[3\]Mark D\. Reid and Robert C\. Williamson\.Information, Divergence and Risk for Binary Experiments\.arXiv:0901\.0356, 2009\.[https://arxiv\.org/abs/0901\.0356](https://arxiv.org/abs/0901.0356)\.
- \[4\]Kehao Zhu, Yingye Zheng, and Kwun Chuen Gary Chan\.Weighted Brier Score – an Overall Summary Measure for Risk Prediction Models with Clinical Utility Consideration\.arXiv:2408\.01626, 2024\.[https://arxiv\.org/abs/2408\.01626](https://arxiv.org/abs/2408.01626)\.
- \[5\]Gerardo A\. Flores, Alyssa H\. Smith, Julia A\. Fukuyama, and Ashia C\. Wilson\.Aligning Evaluation with Clinical Priorities: Calibration, Label Shift, and Error Costs\.*Advances in Neural Information Processing Systems*, 2025\.[Conference paper](https://proceedings.neurips.cc/paper_files/paper/2025/file/10c456d2160517581a234dfde15a7505-Paper-Conference.pdf)\.
- \[6\]Amichai Painsky and Gregory W\. Wornell\.On the Universality of the Logistic Loss Function\.arXiv:1805\.03804, 2018\.[https://arxiv\.org/abs/1805\.03804](https://arxiv.org/abs/1805.03804)\.

相似文章

适用于所有可混合适当损失及更广泛损失的全预测

arXiv cs.LG

该论文研究了无限混合可适当损失类别下的全能预测问题,证明了对所有有界适当损失无法实现次线性遗憾,但给出了对所有混合可适当损失的最优 O~(T^{1/3}(log|F|)^{2/3}) 遗憾界,并提出了一种同时兼顾有限损失类别、在各类情形下均能取得最佳表现的算法。

脆弱性窗口:量化奖励模型中的决策不稳定性

arXiv cs.LG

一篇 arXiv 预印本表明,4 位量化会悄然改写奖励模型和 LLM 评判器中 1.1–12.3% 的成对偏好决策,而 RewardBench 的总体准确率几乎不变,因为新引入的错误与被修正的错误相互抵消;该研究将这种决策不稳定性建模为相对于决策间隔的“脆弱性窗口”,并表明,能够预测下游 best-of-N 选择变化的是基准测试中的决策变动率,而非准确率。

差异舍入法下的静态与时变曝光下限公平赌博机

arXiv cs.LG

本文介绍了一种针对具有精确最小曝光约束的随机赌博机问题的差异舍入框架,实现了由非强制性预算而非时间范围控制的公平遗憾。该框架提出了具有极小极大和实例依赖最优性保证的算法,可处理时变和重叠群体下限,并通过实验验证。