Lemma 7.2 (Achlioptas) — two-sided tail of an average of Rademacher squares
ProvedTraceEstimation.Hutchinson.achlioptas_tailconcentration-inequalityp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1rademachertrace-estimation
Let be a unit vector, . Let be independent random vectors whose entries are independent Rademacher random variables (), and put and
The are i.i.d. copies of , with different but the same , and . Then for every ,
This is the concentration inequality of Achlioptas (2001, Lemma 5), used in database-friendly random projections. In the analysis of Hutchinson's estimator it is applied to each eigenvector direction of separately.
Formalization Note The are constructed as on the product space hutchinsonSampleMeasure n M of the sample vectors, not assumed as an abstract i.i.d. sequence with a law hypothesis. The event is and the probability is Measure.real. is assumed.
Preamble
import Mathlib import Definitions.Def_TraceEstimation_Hutchinson_hutchinsonEstimator
Formal statement
namespace TraceEstimation.Hutchinson
open MeasureTheory ProbabilityTheory Matrix
/-- Lemma 7.2 (Avron–Toledo, p. 8:11, quoted from Achlioptas 2001, Lemma 5). Let `α ∈ ℝⁿ`
be a unit vector (`αᵀα = 1`), and let `z_1, …, z_M ∈ ℝⁿ` be independent random vectors with
i.i.d. Rademacher entries. With `Q_i = (αᵀ z_i)²` and `S = (1/M) ∑_{i=1}^M Q_i`, for every
`ε > 0`,
`Pr(|S - 1| ≥ ε) ≤ 2 exp(-(M/2)(ε²/2 - ε³/3))`.
The i.i.d. copies `Q_i` are built as `(αᵀ z_i)²` on the product space of the `z_i`. -/
theorem achlioptas_tail {n : ℕ} (α : Fin n → ℝ) (hα : α ⬝ᵥ α = 1) (M : ℕ) (hM : 0 < M)
(ε : ℝ) (hε : 0 < ε) :
(hutchinsonSampleMeasure n M).real
{ω | ε ≤ |(M : ℝ)⁻¹ * ∑ i : Fin M, (α ⬝ᵥ ω i) ^ 2 - 1|} ≤
2 * Real.exp (-((M : ℝ) / 2) * (ε ^ 2 / 2 - ε ^ 3 / 3)) := by sorry
end TraceEstimation.Hutchinson
Source
Avron and Toledo, Randomized algorithms for estimating the trace of an implicit symmetric positive semi-definite matrix, J. ACM 58(2), Article 8 (2011), p. 8:11, Lemma 7.2 (quoted from Achlioptas 2001, Lemma 5)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.