Lemma 26.2: E_S[Rep_D(F, S)] ≤ 2 E_S R(F ∘ S) for F = ℓ ∘ H
ProvedUnderstandingML.representativeness_le_rademacherrademacher-complexitysymmetrizationuniform-convergence
Lemma 26.2. . The loss is bounded by and measurable, is nonempty, , and the maps and are measurable (Remark 3.1).
The double-sample measurability. Besides and , the item assumes that is measurable, because the proof of Lemma 26.2 integrates it. Swapping and preserves , so equals its average over sign vectors . That average is at most pointwise. Without this hypothesis the per- suprema need not be measurable, and their upper integrals can exceed the integral of their average , so the argument does not close. The hypothesis holds whenever the loss class has a countable pointwise-dense subclass, as in Theorems 26.12-26.15.
Preamble
import Definitions.Def_UnderstandingML_Rademacher open MeasureTheory open scoped InnerProductSpace
Formal statement
namespace UnderstandingML
/-- **Lemma 26.2** (p. 376). `E_{S ∼ D^m}[Rep_D(F, S)] ≤ 2 E_{S ∼ D^m} R(F ∘ S)` for `F = ℓ ∘ H`.
The loss is bounded by `c` and measurable, `H` is nonempty, and the two random variables
`S ↦ Rep_D(F, S)` and `S ↦ R(F ∘ S)` are measurable (Remark 3.1), as is the double-sample
supremum `(S, S′) ↦ sup_h (L_{S′}(h) − L_S(h))` that the symmetrization integrates. -/
theorem representativeness_le_rademacher {Z Hyp : Type*} [MeasurableSpace Z]
(loss : Hyp → Z → ℝ) (H : Set Hyp) (hH : H.Nonempty) (c : ℝ)
(hc : ∀ h ∈ H, ∀ z, |loss h z| ≤ c) (hmeas : ∀ h ∈ H, Measurable (loss h))
(D : Measure Z) [IsProbabilityMeasure D] (m : ℕ) (hm : 0 < m)
(hrep : Measurable (fun S : Fin m → Z ↦ representativeness loss H D S))
(hrad : Measurable (fun S : Fin m → Z ↦ rademacher (evalSet (lossClass loss H) S)))
(hdbl : Measurable (fun p : (Fin m → Z) × (Fin m → Z) ↦
⨆ h : H, (empRisk loss p.2 (h : Hyp) - empRisk loss p.1 (h : Hyp)))) :
∫ S, representativeness loss H D S ∂(iidLaw D m) ≤
2 * ∫ S, rademacher (evalSet (lossClass loss H) S) ∂(iidLaw D m) := by sorry
end UnderstandingML
Source
Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press 2014, doi:10.1017/CBO9781107298019, §26.1 pp. 376-377, Lemma 26.2 with its proof (symmetrization)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.