A Tight Analysis of Hutchinson's Diagonal Estimator
Abstract
Let $\mathbf{A}\in \mathbb{R}^{n\times n}$ be a matrix with diagonal $\text{diag}(\mathbf{A})$ and let $\bar{\mathbf{A}}$ be $\mathbf{A}$ with its diagonal set to all zeros. We show that Hutchinson's estimator run for $m$ iterations returns a diagonal estimate $\tilde{d}\in \mathbb{R}^n$ such that with probability $(1-\delta)$, $$\|\tilde{d} - \text{diag}(\mathbf{A})\|_2 \leq c\sqrt{\frac{\log(2/\delta)}{m}}\|\bar{\mathbf{A}}\|_F,$$ where $c$ 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)$ factor, yielding a bound that is independent of the matrix dimension $n$.
BibTeX
@inproceedings{dharangutte2023tight,
author = {Prathamesh Dharangutte and Christopher Musco},
title = {{A Tight Analysis of Hutchinson's Diagonal Estimator}},
booktitle = {SOSA},
year = {2023},
doi = {10.1137/1.9781611977585.ch32},
}Ask Althea to put this paper to the test.
| Hutch++: Optimal Stochastic Trace Estimation | Sosa · 2021 |
| Optimal Sketching for Trace Estimation | arXiv · 2021 |
| Stochastic diagonal estimation with adaptive parameter selection | arXiv · 2024 |
| Stochastic Diagonal Estimation Based on Matrix Quadratic Form Oracles | arXiv · 2025 |
| Analysis of a randomized approximation scheme for matrix multiplication | arXiv · 2012 |
| An estimator for the diagonal of a matrix | Applied Numerical Mathematics · 2007 |