Theorem 3, p. 20 — uniform calibration gives δ∗∗_ℓ(R(g,ℙ) − R(ℙ);𝒫) ≤ R_ℓ(g,ℙ) − R_ℓ(ℙ), with δ∗∗ > 0 on (0, B_f + B_C B_X]
ProvedEndToEndRisk.SquaredLoss.theorem_3Let , and a measurable argmin selection be as in the standing setting, and let be bounded (Assumption 2). Let be a measurable surrogate loss and a class of integrable probability laws of concentrated on with means in , and suppose is -uniformly calibrated. Put and let be the largest convex minorant of on that is non-positive at . Then:
- for every ;
- for every joint law of whose conditional laws all lie in , whose surrogate Bayes risk is finite and equals , and for every measurable predictor ,
Any uniformly calibrated surrogate therefore controls the excess optimality-gap risk through its own excess risk, by a function that does not depend on .
Formalization Note Several hypotheses are added and disclosed. and measurability of (the paper asks for both, pp. 10 and 19). , because excess risks are truncated differences in . The identity , which Steinwart's Theorem 2.13 (used in the proof) obtains from a measurable selection on a complete measurable space. Measurability of and of . The function includes the constraint , the convention of p. 19; the printed definition constrains only on , which admits positive constants and makes the inequality false at . The excess true risk is finite under these hypotheses and is passed to as a real number.
import Mathlib import Definitions.Def_EndToEndRisk_SquaredLoss_Setting
namespace EndToEndRisk.SquaredLoss
open MeasureTheory ProbabilityTheory
open scoped ENNReal InnerProductSpace
/-- Theorem 3, p. 20 (proof p. ec9): if `ℓ` is `Q`-uniformly calibrated and Assumption 2 holds,
then `δ∗∗_ℓ(ε; Q)` (with `δ_ℓ(0) = 0`, p. 19) is positive on `(0, B_f + B_C B_X]`, and for every
joint law `ℙ = μ ⊗ κ` with conditional laws in `Q` and every measurable predictor `g`,
`δ∗∗_ℓ(R(g, ℙ) − R(ℙ); Q) ≤ R_ℓ(g, ℙ) − R_ℓ(ℙ)`. -/
theorem theorem_3 {m : ℕ} {W : Type*} [MeasurableSpace W]
(X : Set (EuclideanSpace ℝ (Fin m))) (f : EuclideanSpace ℝ (Fin m) → ℝ) (hS : Standing X f)
(xstar : EuclideanSpace ℝ (Fin m) → EuclideanSpace ℝ (Fin m))
(hx : IsArgminSelection X f xstar) (hxm : Measurable xstar)
(C : Set (EuclideanSpace ℝ (Fin m))) (hA2 : Bornology.IsBounded C)
(ℓ : EuclideanSpace ℝ (Fin m) → EuclideanSpace ℝ (Fin m) → ℝ)
(hℓm : Measurable (Function.uncurry ℓ)) (hℓ0 : ∀ d c, 0 ≤ ℓ d c)
(Q : Set (Measure (EuclideanSpace ℝ (Fin m))))
(hQ : ∀ ν ∈ Q, IsProbabilityMeasure ν ∧ ν Cᶜ = 0 ∧
Integrable (fun c => c) ν ∧
(∫ c, c ∂ν) ∈ convexHull ℝ C)
(hUC : UniformlyCalibrated ℓ (trueLoss X f xstar) Q) :
(∀ ε ∈ Set.Ioc 0 (Bf X f + Bc C * Metric.diam X),
0 < deltaBiconj (deltaL ℓ (trueLoss X f xstar) Q) (Bf X f + Bc C * Metric.diam X) ε) ∧
∀ (μ : Measure W) [IsProbabilityMeasure μ]
(κ : Kernel W (EuclideanSpace ℝ (Fin m))) [IsMarkovKernel κ],
(∀ w, κ w ∈ Q) →
bayesRisk ℓ (μ ⊗ₘ κ) = ∫⁻ w, ⨅ d', condRisk ℓ (κ w) d' ∂μ →
bayesRisk ℓ (μ ⊗ₘ κ) < ⊤ →
∀ g : W → EuclideanSpace ℝ (Fin m), Measurable g →
deltaBiconj (deltaL ℓ (trueLoss X f xstar) Q) (Bf X f + Bc C * Metric.diam X)
(risk (trueLoss X f xstar) (μ ⊗ₘ κ) g -
bayesRisk (trueLoss X f xstar) (μ ⊗ₘ κ)).toReal ≤
risk ℓ (μ ⊗ₘ κ) g - bayesRisk ℓ (μ ⊗ₘ κ) := by sorry
end EndToEndRisk.SquaredLoss
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.