Theorem 3, (15) — the robust risk upper-bounds the population risk uniformly over F
DisprovedVarianceRegularization.Covering.robust_risk_certificateLet be a class of measurable functions , , and let () be i.i.d. with law , with empirical distribution . For the robust risk of is , where is the -type divergence with . Let be the empirical covering number. If , , and , then with probability at least ,
The robust risk is therefore, up to an term, a uniform upper confidence bound on the population risk: it certifies the quality of every element of , in particular of the robust minimizer.
Formalization Note The sample is the coordinate process of , and the robust risk is the maximum of over weight vectors in the ball. The statement bounds the (outer) probability of the event where some violates the inequality by , computed in .
import Mathlib import Definitions.Def_VarianceRegularization_Covering_robustSup import Definitions.Def_VarianceRegularization_Covering_empCoveringNumber open MeasureTheory
namespace VarianceRegularization.Covering
/-- Theorem 3, inequality (15) (Duchi–Namkoong, arXiv:1610.02581v3, p. 11): let `F` be a class
of measurable functions `X → [M₀, M₁]`, `M = M₁ - M₀`, `X₁,…,Xₙ` i.i.d. with law `P`,
`n ≥ 8M²/t`, `t ≥ log 12`, `ε > 0`, `ρ ≥ 9t`. With probability at least
`1 - 2(3 N∞(F, ε, 2n) + 1) e^{-t}`, for all `f ∈ F`,
`E[f(X)] ≤ sup_{P : D_φ(P‖P̂ₙ) ≤ ρ/n} E_P[f(X)] + (11/3) Mρ/n + (2 + 4√(2t/n)) ε`.
Stated as: the event where some `f ∈ F` violates (15) has (outer) measure at most
`2(3 N∞(F, ε, 2n) + 1) e^{-t}` in `ℝ≥0∞`. -/
theorem robust_risk_certificate {X : Type*} [MeasurableSpace X] (P : Measure X)
[IsProbabilityMeasure P] (F : Set (X → ℝ)) (M0 M1 : ℝ) (hM : M0 ≤ M1)
(hF : ∀ f ∈ F, Measurable f ∧ ∀ x, f x ∈ Set.Icc M0 M1) (n : ℕ) (hn : 0 < n) (t ρ ε : ℝ)
(hnt : 8 * (M1 - M0) ^ 2 / t ≤ n) (ht : Real.log 12 ≤ t) (hε : 0 < ε) (hρ : 9 * t ≤ ρ) :
Measure.pi (fun _ : Fin n => P)
{s | ∃ f ∈ F, robustRisk ρ f s + 11 / 3 * ((M1 - M0) * ρ / n)
+ (2 + 4 * Real.sqrt (2 * t / n)) * ε < ∫ x, f x ∂P}
≤ 2 * (3 * (empCoveringNumber F ε (2 * n) : ENNReal) + 1)
* ENNReal.ofReal (Real.exp (-t)) := by sorry
end VarianceRegularization.Covering
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.