NLA-lib Explorer

Hutch++ is unbiased

Library · Result group

Theorem (integral_hutchpp). Hutch++ is unbiased: if the sketch test matrix \mathbf{S} is almost everywhere measurable, the residual test matrix \mathbf{G} is independent of it and has at least one column, and every column \mathbf{g} of \mathbf{G} is isotropic (\mathbb{E}\,\mathbf{g}\mathbf{g}^{\mathsf{H}} = \mathbf{I}, square integrable), then for every square \mathbf{A}, \mathbb{E}\,\mathsf{hutchpp}(\mathbf{A}, \mathbf{S}, \mathbf{G}) = \operatorname{tr}\mathbf{A}\,. The sketch may have any law and the columns of \mathbf{G} need not be independent. Conditionally on \mathbf{S}, the residual estimate is unbiased for the trace of the compressed residual (NLAlib.integral_girardHutchinson), and the trace split adds the exact part back. [MeyerMuscoMuscoWoodruff2021, Theorem 10 and Lemma 14]; [EpperlyTroppWebber2024, Proposition 5.2]; there with Gaussian \mathbf{S} and real Gaussian or sign \mathbf{G}.

Headline General form: sizes are index types

Lean statement and details
NLAlib.integral_hutchpp.{u_1, u_2, u_3, u_4, u_5} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
  {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {n : Type u_3} {s : Type u_4} {t : Type u_5} [Fintype n]
  [Fintype s] [Fintype t] [DecidableEq n] [IsProbabilityMeasure μ] [Nonempty t] (A : Matrix n n 𝕜)
  {S : Ω → Matrix n s 𝕜} {G : Ω → Matrix n t 𝕜} (hS : AEMeasurable S μ) (hSG : S ⟂ᵢ[μ] G)
  (hG : ∀ (j : t), IsIsotropic (fun ω i ↦ G ω i j) μ) :
  ∫ (ω : Ω), hutchpp A (S ω) (G ω) ∂μ = A.trace

Full source on GitHub

Copy link

General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.