Documentation

CslibFrontier.Probability.Minimax.Assouad

Assouad's hypercube minimax lower-bound lemma #

Assouad's lemma lower-bounds minimax estimation risk over a hypercube-indexed family {P_v : v ∈ (ι → Bool)} when the loss decomposes coordinatewise (∑ i, coordLoss i t v ≤ loss t v) and flipping coordinate i (Function.update v i (!v i)) separates the i-th coordinate loss by sep ≤ coordLoss i t v + coordLoss i t (Function.update v i (!v i)) ([Tsy09], Section 2.7.2, Theorem 2.12).

Pairing hypercube vertices along each coordinate involution (Cslib.BitString.sum_update_not) and applying our exact two-point Le Cam sum inequality (Cslib.Probability.leCam_measure_add_ge, Cslib.Probability.PMF.leCam_add_ge) yields the sharp constant sep / 2 per coordinate both for arbitrary probability measures (Measure α) and for finite distributions (PMF X), including randomized estimators and n-sample i.i.d. observations.

As a concrete high-dimensional application, this file proves the minimax estimation lower bounds for d-dimensional product-Bernoulli mean vectors p : ι → I from n ≥ 1 i.i.d. observations:

Main results #

References #

Measure-theoretic Assouad's hypercube lemma #

theorem Cslib.Probability.assouad_measure_avg_ge {ι : Type u_1} {α : Type u_2} {T : Type u_3} [Fintype ι] [DecidableEq ι] {mα : MeasurableSpace α} (μ : (ι → Bool) → MeasureTheory.Measure α) [∀ (v : ι → Bool), MeasureTheory.IsProbabilityMeasure (μ v)] {coordLoss : ι → T → (ι → Bool) → ℝ} {loss : T → (ι → Bool) → ℝ} {sep : ℝ} (hcoord_nn : ∀ (i : ι) (t : T) (v : ι → Bool), 0 ≤ coordLoss i t v) (hsum_le : ∀ (t : T) (v : ι → Bool), ∑ i : ι, coordLoss i t v ≤ loss t v) (hsep : ∀ (i : ι) (t : T) (v : ι → Bool), sep ≤ coordLoss i t v + coordLoss i t (Function.update v i !v i)) (est : α → T) (hint_coord : ∀ (i : ι) (v : ι → Bool), MeasureTheory.Integrable (fun (x : α) => coordLoss i (est x) v) (μ v)) (hint_loss : ∀ (v : ι → Bool), MeasureTheory.Integrable (fun (x : α) => loss (est x) v) (μ v)) :
sep / 2 * ∑ i : ι, (1 - (↑(Fintype.card (ι → Bool)))⁻¹ * ∑ v : ι → Bool, MeasureTheory.tvDist (μ v) (μ (Function.update v i !v i)) / 2) ≤ (↑(Fintype.card (ι → Bool)))⁻¹ * ∑ v : ι → Bool, ∫ (x : α), loss (est x) v ∂μ v

Measure-theoretic Assouad's lemma (hypercube average form): if ∑ i, coordLoss i t v ≤ loss t v and flipping coordinate i gives sep ≤ coordLoss i t v + coordLoss i t (update v i (!v i)), then the hypercube-average risk is at least (sep / 2) · ∑ i, (1 - |{0,1}^ι|⁻¹ · ∑ v, tvDist (μ v) (μ (update v i (!v i))) / 2).

theorem Cslib.Probability.assouad_measure_exists_ge {ι : Type u_1} {α : Type u_2} {T : Type u_3} [Fintype ι] [DecidableEq ι] {mα : MeasurableSpace α} (μ : (ι → Bool) → MeasureTheory.Measure α) [∀ (v : ι → Bool), MeasureTheory.IsProbabilityMeasure (μ v)] {coordLoss : ι → T → (ι → Bool) → ℝ} {loss : T → (ι → Bool) → ℝ} {sep : ℝ} (hcoord_nn : ∀ (i : ι) (t : T) (v : ι → Bool), 0 ≤ coordLoss i t v) (hsum_le : ∀ (t : T) (v : ι → Bool), ∑ i : ι, coordLoss i t v ≤ loss t v) (hsep : ∀ (i : ι) (t : T) (v : ι → Bool), sep ≤ coordLoss i t v + coordLoss i t (Function.update v i !v i)) (est : α → T) (hint_coord : ∀ (i : ι) (v : ι → Bool), MeasureTheory.Integrable (fun (x : α) => coordLoss i (est x) v) (μ v)) (hint_loss : ∀ (v : ι → Bool), MeasureTheory.Integrable (fun (x : α) => loss (est x) v) (μ v)) :
∃ (v : ι → Bool), sep / 2 * ∑ i : ι, (1 - (↑(Fintype.card (ι → Bool)))⁻¹ * ∑ w : ι → Bool, MeasureTheory.tvDist (μ w) (μ (Function.update w i !w i)) / 2) ≤ ∫ (x : α), loss (est x) v ∂μ v

Measure-theoretic Assouad's lemma (worst-case vertex form).

theorem Cslib.Probability.assouad_measure_exists_ge_of_klDiv_le {ι : Type u_1} {α : Type u_2} {T : Type u_3} [Fintype ι] [DecidableEq ι] {mα : MeasurableSpace α} (μ : (ι → Bool) → MeasureTheory.Measure α) [∀ (v : ι → Bool), MeasureTheory.IsProbabilityMeasure (μ v)] {coordLoss : ι → T → (ι → Bool) → ℝ} {loss : T → (ι → Bool) → ℝ} {sep β : ℝ} (hsep0 : 0 ≤ sep) (hβ0 : 0 ≤ β) (hkl : ∀ (i : ι) (v : ι → Bool), InformationTheory.klDiv (μ v) (μ (Function.update v i !v i)) ≤ ENNReal.ofReal β) (hcoord_nn : ∀ (i : ι) (t : T) (v : ι → Bool), 0 ≤ coordLoss i t v) (hsum_le : ∀ (t : T) (v : ι → Bool), ∑ i : ι, coordLoss i t v ≤ loss t v) (hsep : ∀ (i : ι) (t : T) (v : ι → Bool), sep ≤ coordLoss i t v + coordLoss i t (Function.update v i !v i)) (est : α → T) (hint_coord : ∀ (i : ι) (v : ι → Bool), MeasureTheory.Integrable (fun (x : α) => coordLoss i (est x) v) (μ v)) (hint_loss : ∀ (v : ι → Bool), MeasureTheory.Integrable (fun (x : α) => loss (est x) v) (μ v)) :
∃ (v : ι → Bool), ↑(Fintype.card ι) * (sep / 2) * (1 - √(β / 2)) ≤ ∫ (x : α), loss (est x) v ∂μ v

Measure-theoretic Assouad–Pinsker bound: if klDiv (μ v) (μ (update v i (!v i))) ≤ ofReal β along every hypercube edge (0 ≤ sep, 0 ≤ β), then some vertex v incurs expected loss at least |ι| · (sep / 2) · (1 - √(β / 2)).

Finite-distribution (PMF) Assouad's lemma and d-dimensional Bernoulli minimax rates #

theorem Cslib.Probability.PMF.assouad_avg_ge {ι : Type u_1} {X : Type u_2} {T : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] (P : (ι → Bool) → PMF X) {coordLoss : ι → T → (ι → Bool) → ℝ} {loss : T → (ι → Bool) → ℝ} {sep : ℝ} (hcoord_nn : ∀ (i : ι) (t : T) (v : ι → Bool), 0 ≤ coordLoss i t v) (hsum_le : ∀ (t : T) (v : ι → Bool), ∑ i : ι, coordLoss i t v ≤ loss t v) (hsep : ∀ (i : ι) (t : T) (v : ι → Bool), sep ≤ coordLoss i t v + coordLoss i t (Function.update v i !v i)) (est : X → T) :
sep / 2 * ∑ i : ι, (1 - (↑(Fintype.card (ι → Bool)))⁻¹ * ∑ v : ι → Bool, dist (P v) (P (Function.update v i !v i))) ≤ (↑(Fintype.card (ι → Bool)))⁻¹ * ∑ v : ι → Bool, ∑ x : X, ((P v) x).toReal * loss (est x) v

Assouad's lemma on PMF (hypercube average form): the hypercube-average expected risk is at least (sep / 2) · ∑ i, (1 - |{0,1}^ι|⁻¹ · ∑ v, dist (P v) (P (update v i (!v i)))).

theorem Cslib.Probability.PMF.assouad_exists_ge {ι : Type u_1} {X : Type u_2} {T : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] (P : (ι → Bool) → PMF X) {coordLoss : ι → T → (ι → Bool) → ℝ} {loss : T → (ι → Bool) → ℝ} {sep : ℝ} (hcoord_nn : ∀ (i : ι) (t : T) (v : ι → Bool), 0 ≤ coordLoss i t v) (hsum_le : ∀ (t : T) (v : ι → Bool), ∑ i : ι, coordLoss i t v ≤ loss t v) (hsep : ∀ (i : ι) (t : T) (v : ι → Bool), sep ≤ coordLoss i t v + coordLoss i t (Function.update v i !v i)) (est : X → T) :
∃ (v : ι → Bool), sep / 2 * ∑ i : ι, (1 - (↑(Fintype.card (ι → Bool)))⁻¹ * ∑ w : ι → Bool, dist (P w) (P (Function.update w i !w i))) ≤ ∑ x : X, ((P v) x).toReal * loss (est x) v

Assouad's lemma on PMF (worst-case vertex form).

theorem Cslib.Probability.PMF.assouad_randomized_exists_ge {ι : Type u_1} {X : Type u_2} {T : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] [Fintype T] (P : (ι → Bool) → PMF X) {coordLoss : ι → T → (ι → Bool) → ℝ} {loss : T → (ι → Bool) → ℝ} {sep : ℝ} (hcoord_nn : ∀ (i : ι) (t : T) (v : ι → Bool), 0 ≤ coordLoss i t v) (hsum_le : ∀ (t : T) (v : ι → Bool), ∑ i : ι, coordLoss i t v ≤ loss t v) (hsep : ∀ (i : ι) (t : T) (v : ι → Bool), sep ≤ coordLoss i t v + coordLoss i t (Function.update v i !v i)) (est : X → PMF T) :
∃ (v : ι → Bool), sep / 2 * ∑ i : ι, (1 - (↑(Fintype.card (ι → Bool)))⁻¹ * ∑ w : ι → Bool, dist (P w) (P (Function.update w i !w i))) ≤ ∑ x : X, ((P v) x).toReal * ∑ t : T, ((est x) t).toReal * loss t v

Assouad's lemma for randomized estimators est : X → PMF T.

theorem Cslib.Probability.PMF.assouad_exists_ge_of_dist_le {ι : Type u_1} {X : Type u_2} {T : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] (P : (ι → Bool) → PMF X) {coordLoss : ι → T → (ι → Bool) → ℝ} {loss : T → (ι → Bool) → ℝ} {sep τ : ℝ} (hsep0 : 0 ≤ sep) (hdist : ∀ (i : ι) (v : ι → Bool), dist (P v) (P (Function.update v i !v i)) ≤ τ) (hcoord_nn : ∀ (i : ι) (t : T) (v : ι → Bool), 0 ≤ coordLoss i t v) (hsum_le : ∀ (t : T) (v : ι → Bool), ∑ i : ι, coordLoss i t v ≤ loss t v) (hsep : ∀ (i : ι) (t : T) (v : ι → Bool), sep ≤ coordLoss i t v + coordLoss i t (Function.update v i !v i)) (est : X → T) :
∃ (v : ι → Bool), ↑(Fintype.card ι) * (sep / 2) * (1 - τ) ≤ ∑ x : X, ((P v) x).toReal * loss (est x) v

Uniform edge-distance Assouad bound: if dist (P v) (P (update v i (!v i))) ≤ τ along every hypercube edge (0 ≤ sep), then some v incurs expected loss ≥ |ι| · (sep / 2) · (1 - τ).

theorem Cslib.Probability.PMF.assouad_exists_ge_of_klDiv_le {ι : Type u_1} {X : Type u_2} {T : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] [MeasurableSpace X] [MeasurableSingletonClass X] (P : (ι → Bool) → PMF X) {coordLoss : ι → T → (ι → Bool) → ℝ} {loss : T → (ι → Bool) → ℝ} {sep β : ℝ} (hsep0 : 0 ≤ sep) (hsupp : ∀ (i : ι) (v : ι → Bool), (P v).support ⊆ (P (Function.update v i !v i)).support) (hkl : ∀ (i : ι) (v : ι → Bool), (InformationTheory.klDiv (P v).toMeasure (P (Function.update v i !v i)).toMeasure).toReal ≤ β) (hcoord_nn : ∀ (i : ι) (t : T) (v : ι → Bool), 0 ≤ coordLoss i t v) (hsum_le : ∀ (t : T) (v : ι → Bool), ∑ i : ι, coordLoss i t v ≤ loss t v) (hsep : ∀ (i : ι) (t : T) (v : ι → Bool), sep ≤ coordLoss i t v + coordLoss i t (Function.update v i !v i)) (est : X → T) :
∃ (v : ι → Bool), ↑(Fintype.card ι) * (sep / 2) * (1 - √(β / 2)) ≤ ∑ x : X, ((P v) x).toReal * loss (est x) v

Assouad–Pinsker bound on PMF: if D(P v ‖ P (update v i (!v i))) ≤ β along every hypercube edge (0 ≤ sep), then some v incurs expected loss at least |ι| · (sep / 2) · (1 - √(β / 2)).

theorem Cslib.Probability.PMF.assouad_iid_exists_ge_of_klDiv_le {ι : Type u_1} {X : Type u_2} {T : Type u_3} [Fintype ι] [DecidableEq ι] [Fintype X] [MeasurableSpace X] [MeasurableSingletonClass X] (P : (ι → Bool) → PMF X) (n : ℕ) {coordLoss : ι → T → (ι → Bool) → ℝ} {loss : T → (ι → Bool) → ℝ} {sep β : ℝ} (hsep0 : 0 ≤ sep) (hsupp : ∀ (i : ι) (v : ι → Bool), (P v).support ⊆ (P (Function.update v i !v i)).support) (hkl : ∀ (i : ι) (v : ι → Bool), (InformationTheory.klDiv (P v).toMeasure (P (Function.update v i !v i)).toMeasure).toReal ≤ β) (hcoord_nn : ∀ (i : ι) (t : T) (v : ι → Bool), 0 ≤ coordLoss i t v) (hsum_le : ∀ (t : T) (v : ι → Bool), ∑ i : ι, coordLoss i t v ≤ loss t v) (hsep : ∀ (i : ι) (t : T) (v : ι → Bool), sep ≤ coordLoss i t v + coordLoss i t (Function.update v i !v i)) (est : (Fin n → X) → T) :
∃ (v : ι → Bool), ↑(Fintype.card ι) * (sep / 2) * (1 - √(↑n * β / 2)) ≤ ∑ x : Fin n → X, ((iid (P v) n) x).toReal * loss (est x) v

I.i.d. n-sample Assouad–Pinsker bound: if single-sample edge divergences satisfy D(P v ‖ P (update v i (!v i))) ≤ β, then from n i.i.d. observations some v : ι → Bool incurs expected loss at least |ι| · (sep / 2) · (1 - √(n · β / 2)).

High-dimensional product-Bernoulli mean estimation minimax lower bounds #

theorem Cslib.Probability.PMF.product_bernoulli_minimax_sq_l2_lower_bound {ι : Type u_1} [Fintype ι] [DecidableEq ι] {n : ℕ} (hn : 0 < n) (est : (Fin n → ι → Bool) → ι → ℝ) :
∃ (p : ι → ↑unitInterval), ↑(Fintype.card ι) / (72 * ↑n) ≤ ∑ x : Fin n → ι → Bool, ((iid (pi fun (i : ι) => coin (p i)) n) x).toReal * ∑ i : ι, (est x i - ↑(p i)) ^ 2

Ω(|ι| / n) minimax lower bound for d-dimensional product-Bernoulli mean estimation under squared ℓ₂ loss: for every n ≥ 1 and every estimator est : (Fin n → ι → Bool) → (ι → ℝ), some mean vector p : ι → I incurs expected squared ℓ₂ error at least |ι| / (72 n).

theorem Cslib.Probability.PMF.product_bernoulli_minimax_l1_lower_bound {ι : Type u_1} [Fintype ι] [DecidableEq ι] {n : ℕ} (hn : 0 < n) (est : (Fin n → ι → Bool) → ι → ℝ) :
∃ (p : ι → ↑unitInterval), ↑(Fintype.card ι) / (12 * √↑n) ≤ ∑ x : Fin n → ι → Bool, ((iid (pi fun (i : ι) => coin (p i)) n) x).toReal * ∑ i : ι, |est x i - ↑(p i)|

Ω(|ι| / √n) minimax lower bound for d-dimensional product-Bernoulli mean estimation under ℓ₁ loss: for every n ≥ 1 and every estimator est : (Fin n → ι → Bool) → (ι → ℝ), some mean vector p : ι → I incurs expected ℓ₁ error at least |ι| / (12 √n).