Eq. (9) — test average loss converges in probability to the expected loss
ProvedXuMannorRobust.WeakRobust.eq9_convergence_in_probabilityconcentrationlearning-theoryp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be a measurable space with a probability measure , a set of hypotheses, a loss measurable in its sample argument, a learning method and a fixed sequence of training samples. Let . Then
that is, for every ,
The hypothesis changes with ; the convergence holds because the loss is uniformly bounded by , so the concentration is uniform over hypotheses. Combined with Lemma 2 it gives the necessity half of Theorem 8.
Formalization Note The probability is Measure.pi (fun _ : Fin n => μ) of the event, and the limit is in . Measurability of is added.
Preamble
import Mathlib import Definitions.Def_XuMannorRobust_WeakRobust_Setup open MeasureTheory Filter Topology
Formal statement
namespace XuMannorRobust.WeakRobust
/-- Xu & Mannor 2012, p. 411, proof of Theorem 8, Eq. (9): for a loss uniformly bounded in
`[0, M]`, `L(A_{s*(n)}, t(n)) − 𝓛(A_{s*(n)}) → 0` in probability, `t(n) ∼ μⁿ`: for every `ε > 0`,
`Pr(|L(A_{s*(n)}, t(n)) − 𝓛(A_{s*(n)})| ≥ ε) → 0`. The hypothesis `A_{s*(n)}` changes with `n`. -/
theorem eq9_convergence_in_probability {Z H : Type*} [MeasurableSpace Z] (μ : Measure Z)
[IsProbabilityMeasure μ] (l : H → Z → ℝ) (M : ℝ)
(hl_bound : ∀ h z, 0 ≤ l h z ∧ l h z ≤ M) (hl_meas : ∀ h, Measurable (l h))
(A : (n : ℕ) → (Fin n → Z) → H) (sStar : ℕ → Z) :
∀ ε > 0, Tendsto
(fun n => Measure.pi (fun _ : Fin n => μ)
{t | ε ≤ |avgLoss l (A n (firstN sStar n)) t - expectedLoss μ l (A n (firstN sStar n))|})
atTop (𝓝 0) := by sorry
end XuMannorRobust.WeakRobust
Source
Xu & Mannor, Robustness and Generalization, Mach Learn 86 (2012), DOI 10.1007/s10994-011-5268-1, p. 411, proof of Theorem 8, Eq. (9)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.