ε-average agnostic learners need (d/ε²)(1/62 − log(2d+2)/(4d)) samples
OpenQAlgorithms.Arunachalam.avg_agnostic_lower_boundLet be a concept class of VC dimension , and let . An -average agnostic learner for using samples is a randomized map from i.i.d. samples to a hypothesis such that, for every distribution on ,
where and . Then every -average agnostic learner for satisfies
This is the explicit-constant (minimax) form of the agnostic lower bound, comparable to Audibert's .
Formalization Note The source's "there exists a distribution for which every learner" refers to the proof's hard distribution, which is random; the learner is required to be -good for every unknown , as in the definition. is assumed because the bound divides by . Hypotheses are not required to lie in (the definition on p.166 does not require it); on the proof's distributions, supported on a shattered set, this makes no difference.
import Definitions.Def_QAlgorithms_Defs_Learning set_option autoImplicit false
namespace QAlgorithms.Arunachalam
open QAlgorithms.Learning
/-- Arunachalam p.166–168, Theorem 7.4.5: for a concept class `C` with `VC-dim(C) = d` and every
`ε ∈ (0, 1/10]`, every `ε`-average agnostic learner for `C` (using `T` samples from `AEX(D)` and
satisfying `E_{(X,Y)∼D^T}[err_D(h_{XY})] − opt_D(C) ≤ ε` for every distribution `D`) has
`T ≥ (d/ε²) · (1/62 − log(2d + 2)/(4d))`, `log` base 2.
The source's "there exists a distribution for which every learner …" is the proof's random
hard distribution `D_a`; a learner is required to be `ε`-good for every unknown `D`, as the
definition on p.166 says. `d ≥ 1` is assumed because the bound divides by `d` (trap 14). -/
theorem avg_agnostic_lower_bound (n : ℕ) (C : Finset (Qubits n → Bool)) (d : ℕ)
(hd : vcDimClass C = d) (hd1 : 1 ≤ d) (ε : ℝ) (hε0 : 0 < ε) (hε : ε ≤ 1 / 10) (T : ℕ)
(L : (Fin T → Qubits n × Bool) → PMF (Qubits n → Bool))
(hL : IsAvgAgnosticLearner C ε T L) :
(d : ℝ) / ε ^ 2 * (1 / 62 - Real.logb 2 (2 * d + 2) / (4 * d)) ≤ T := by
sorry
end QAlgorithms.Arunachalam
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The data are as follows:
- ;
- a finite class of Boolean functions on whose VC dimension equals , with . The VC dimension is the largest size of a subset of shattered by the sets , ;
- a real with ;
- ;
- a randomized learner mapping each labelled sample to a probability distribution over all Boolean functions on . No properness requirement is imposed.
The hypothesis is that is an average-case agnostic learner with excess error . That is, for every distribution on (nonnegative, summing to ),
with
In words: the expected error of the output hypothesis exceeds the best error in by at most .
The conclusion, with the base-2 logarithm and explicit constants, is
The bracketed factor is negative for small ; for example, at it equals . In such cases the conclusion holds trivially, since . The factor becomes positive only once is fairly large, on the order of a hundred or more.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.