Theorem 8 — a learning method generalizes w.r.t. iff it is weakly robust w.r.t.
ProvedXuMannorRobust.WeakRobust.theorem8_generalizes_iff_weakly_robustLet be a measurable space of samples with a probability measure , a set of hypotheses, and a loss that is non-negative, bounded by and measurable in its sample argument. Let , , be a learning method, and fix a sequence of training samples . Then
that is, if and only if there are sets with on which the average loss of is uniformly within of its training average loss.
The theorem says that a (weak) form of robustness is not only sufficient but also necessary for generalization: this is the sense in which Xu and Mannor call robustness an essential property of successful learning.
Formalization Note The training sequence is fixed and deterministic; all probabilities are over the test sample , the product measure Measure.pi (fun _ : Fin n => μ). The standing assumption of the paper (Sect. 1.1) that is a hypothesis; measurability of , which the paper ignores, is added. See the definitions for the encoding of Eq. (6).
import Mathlib import Definitions.Def_XuMannorRobust_WeakRobust_Generalizes import Definitions.Def_XuMannorRobust_WeakRobust_WeaklyRobust open MeasureTheory
namespace XuMannorRobust.WeakRobust
/-- Xu & Mannor 2012, p. 409, Theorem 8: fix a sequence of training samples `s*`. A learning
method `A` generalizes w.r.t. `s*` if and only if it is weakly robust w.r.t. `s*` (samples i.i.d.
from the probability measure `μ`; loss measurable with values in `[0, M]`). -/
theorem theorem8_generalizes_iff_weakly_robust {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) :
Generalizes μ l A sStar ↔ WeaklyRobust μ l A sStar := by sorry
end XuMannorRobust.WeakRobust
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.