Lemma 2, p. 10 — the conditional mean g∗(w) = E[c | w] minimizes the true risk, and R(ℙ) = E[min_{d′} E[L(d′,c) | w]]
ProvedEndToEndRisk.SquaredLoss.lemma_2bayes-riskconditional-expectationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1predict-then-optimize
Let , and the argmin selection be as in the standing setting, with measurable. Let have joint law on , with and conditional law integrable for every . Write for the true loss (2), and . Then:
- the conditional mean is a measurable function of ;
- attains the Bayes risk: ;
- the Bayes risk is the average of the pointwise conditional minima:
The lemma identifies the best possible end-to-end predictor as the regression function, which is what makes regression-type surrogate losses natural for this problem.
Formalization Note The joint law is for a probability measure and a Markov kernel ; is the Bochner integral , and the minimum over is written as an infimum. Measurability of is added: the paper works with Lebesgue measurability (Lemma EC.4), and a Borel-measurable selection always exists (Lemma EC.2).
Preamble
import Mathlib import Definitions.Def_EndToEndRisk_SquaredLoss_Setting
Formal statement
namespace EndToEndRisk.SquaredLoss
open MeasureTheory ProbabilityTheory
open scoped ENNReal InnerProductSpace
/-- Lemma 2, p. 10 (proof p. ec3): the conditional mean `g∗(w) = E[c | w]` is measurable and
minimizes the true risk over measurable predictors, and `R(ℙ) = E[min_{d′} E[L(d′, c) | w]]`. -/
theorem lemma_2 {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)
(μ : Measure W) [IsProbabilityMeasure μ]
(κ : Kernel W (EuclideanSpace ℝ (Fin m))) [IsMarkovKernel κ]
(hint : ∀ w, Integrable (fun c => c) (κ w)) :
Measurable (fun w => ∫ c, c ∂(κ w)) ∧
risk (trueLoss X f xstar) (μ ⊗ₘ κ) (fun w => ∫ c, c ∂(κ w)) =
bayesRisk (trueLoss X f xstar) (μ ⊗ₘ κ) ∧
bayesRisk (trueLoss X f xstar) (μ ⊗ₘ κ) =
∫⁻ w, ⨅ d', condRisk (trueLoss X f xstar) (κ w) d' ∂μ := by sorry
end EndToEndRisk.SquaredLoss
Source
Ho-Nguyen & Kılınç-Karzan, Risk guarantees for end-to-end prediction and optimization processes, arXiv:2012.15046v1, p. 10, Lemma 2 (proof p. ec3)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.