English

A Tight Analysis of Hutchinson's Diagonal Estimator

Data Structures and Algorithms 2022-11-08 v2 Numerical Analysis Numerical Analysis

Abstract

Let ARn×n\mathbf{A}\in \mathbb{R}^{n\times n} be a matrix with diagonal diag(A)\text{diag}(\mathbf{A}) and let Aˉ\bar{\mathbf{A}} be A\mathbf{A} with its diagonal set to all zeros. We show that Hutchinson's estimator run for mm iterations returns a diagonal estimate d~Rn\tilde{d}\in \mathbb{R}^n such that with probability (1δ)(1-\delta), d~diag(A)2clog(2/δ)mAˉF,\|\tilde{d} - \text{diag}(\mathbf{A})\|_2 \leq c\sqrt{\frac{\log(2/\delta)}{m}}\|\bar{\mathbf{A}}\|_F, where cc is a fixed constant independent of all other parameters. This results improves on a recent result of [Baston and Nakatsukasa, 2022] by a log(n)\log(n) factor, yielding a bound that is independent of the matrix dimension nn.

Keywords

Cite

@article{arxiv.2208.03268,
  title  = {A Tight Analysis of Hutchinson's Diagonal Estimator},
  author = {Prathamesh Dharangutte and Christopher Musco},
  journal= {arXiv preprint arXiv:2208.03268},
  year   = {2022}
}

Comments

To appear in SIAM Symposium on Simplicity in Algorithms (SOSA23)