Hutch++: the definition, unbiasedness and the exact variance
Library · Source module
Hutch++: the definition, unbiasedness and the exact variance
For a square \mathbf{A}, a sketch test matrix \mathbf{S} with \lvert s \rvert columns and a residual test matrix \mathbf{G} with \ell = \lvert t \rvert columns, Hutch++ computes the trace of the randomized SVD of \mathbf{A} exactly and estimates the trace of the compressed residual with the Girard–Hutchinson estimator: \mathsf{hutchpp}(\mathbf{A}, \mathbf{S}, \mathbf{G}) := \operatorname{tr}\mathsf{rsvd}(\mathbf{A}, \mathbf{S}) + \mathsf{girardHutchinson}\bigl((\mathbf{I} - \mathbf{P}_{\mathbf{A}\mathbf{S}})\mathbf{A} (\mathbf{I} - \mathbf{P}_{\mathbf{A}\mathbf{S}}), \mathbf{G}\bigr)\,, with 2\lvert s \rvert + \ell products with \mathbf{A}. Its error is the Girard–Hutchinson error on the compressed residual (NLAlib.trace_sub_hutchpp), so it is unbiased whenever the residual probes are isotropic and independent of the sketch, whatever the sketch's law, and its mean-square error is the average over the sketch of the Girard–Hutchinson mean-square error.
With a standard Gaussian residual test matrix the variance is computed exactly, \operatorname{Var}[\mathsf{hutchpp}(\mathbf{A}, \mathbf{S}, \mathbf{G})] = \frac{2}{\ell}\, \mathbb{E}\,\|(\mathbf{I} - \mathbf{P}_{\mathbf{A}\mathbf{S}})\mathbf{H} (\mathbf{I} - \mathbf{P}_{\mathbf{A}\mathbf{S}})\|_{\mathsf{F}}^2\,, \mathbf{H} = \tfrac12(\mathbf{A} + \mathbf{A}^{\mathsf{T}}), for every sketch law; with a Gaussian sketch too, the bounds of Meyer, Musco, Musco and Woodruff and of Epperly, Tropp and Webber follow. The high-probability bounds are in NLAlib.Estimation.Trace.HutchPlusPlusTail. Probabilistic statements are over \mathbb{R}, where the Gaussian law and Hanson–Wright live; the definition, the error identity and unbiasedness are over any RCLike field.
Main definitions
* NLAlib.hutchpp.
Main results
* NLAlib.hutchpp_eq_of_mul_conjTranspose_self_eq_rangeProjector: the papers' form with an orthonormal basis of the sketch. * NLAlib.hutchpp_reindex: invariance under relabelling the rows. * NLAlib.trace_sub_hutchpp: the error identity; NLAlib.hutchpp_eq_trace_of_rsvd_eq, NLAlib.hutchpp_eq_trace_of_rank_eq: exactness when the sketch captures \mathbf{A}. * NLAlib.integral_hutchpp: unbiasedness. * NLAlib.integral_norm_trace_sub_hutchpp_sq: the mean-square error as an average over the sketch. * NLAlib.variance_hutchpp_of_hasLaw_gaussianMatrix, NLAlib.variance_hutchpp_of_hasLaw_rademacherMatrix, Matrix.IsHermitian.variance_hutchpp_of_hasLaw_gaussianMatrix: the exact variances. * NLAlib.ae_hutchpp_eq_trace_of_hasLaw_gaussianMatrix: exactness at low rank. * NLAlib.variance_hutchpp_le_of_hasLaw_gaussianMatrix, NLAlib.variance_hutchpp_le_of_hasLaw_gaussianMatrix_of_rank_le, NLAlib.variance_hutchpp_le_nuclearNorm_of_hasLaw_gaussianMatrix, Matrix.PosSemidef.variance_hutchpp_le_trace_sq_of_hasLaw_gaussianMatrix: the variance bounds, and the asymptotic form NLAlib.exists_forall_variance_hutchpp_le_of_hasLaw_gaussianMatrix.
Declarations
- Matrix.IsHermitian.variance_hutchpp_of_hasLaw_gaussianMatrix
- Matrix.PosSemidef.variance_hutchpp_le_trace_sq_of_hasLaw_gaussianMatrix
- NLAlib.ae_hutchpp_eq_trace_of_hasLaw_gaussianMatrix
- NLAlib.exists_forall_variance_hutchpp_le_of_hasLaw_gaussianMatrix
- NLAlib.hutchpp
- NLAlib.hutchpp_eq_of_mul_conjTranspose_self_eq_rangeProjector
- NLAlib.hutchpp_eq_trace_of_rank_eq
- NLAlib.hutchpp_eq_trace_of_rsvd_eq
- NLAlib.hutchpp_reindex
- NLAlib.integral_hutchpp
- NLAlib.integral_norm_trace_sub_hutchpp_sq
- NLAlib.measurable_hutchpp
- NLAlib.trace_sub_hutchpp
- NLAlib.variance_hutchpp_le_nuclearNorm_of_hasLaw_gaussianMatrix
- NLAlib.variance_hutchpp_le_of_hasLaw_gaussianMatrix
- NLAlib.variance_hutchpp_le_of_hasLaw_gaussianMatrix_of_rank_le
- NLAlib.variance_hutchpp_of_hasLaw_gaussianMatrix
- NLAlib.variance_hutchpp_of_hasLaw_rademacherMatrix