Hutch++: Optimal Stochastic Trace Estimation

10/19/2020
by   Raphael A. Meyer, et al.
0

We study the problem of estimating the trace of a matrix A that can only be accessed through matrix-vector multiplication. We introduce a new randomized algorithm, Hutch++, which computes a (1 ±ϵ) approximation to tr(A) for any positive semidefinite (PSD) A using just O(1/ϵ) matrix-vector products. This improves on the ubiquitous Hutchinson's estimator, which requires O(1/ϵ^2) matrix-vector products. Our approach is based on a simple technique for reducing the variance of Hutchinson's estimator using a low-rank approximation step, and is easy to implement and analyze. Moreover, we prove that, up to a logarithmic factor, the complexity of Hutch++ is optimal amongst all matrix-vector query algorithms, even when queries can be chosen adaptively. We show that it significantly outperforms Hutchinson's method in experiments. While our theory requires A to be positive semidefinite, empirical gains extend to applications involving non-PSD matrices, such as triangle estimation in networks.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/22/2021

Improved variants of the Hutch++ algorithm for trace estimation

This paper is concerned with two improved variants of the Hutch++ algori...
research
09/10/2023

Hutchinson's Estimator is Bad at Kronecker-Trace-Estimation

We study the problem of estimating the trace of a matrix 𝐀 that can only...
research
05/03/2022

Krylov-aware stochastic trace estimation

We introduce an algorithm for estimating the trace of a matrix function ...
research
06/13/2019

Querying a Matrix through Matrix-Vector Products

We consider algorithms with access to an unknown matrix M∈F^n × d via ma...
research
05/16/2022

Optimal Randomized Approximations for Matrix based Renyi's Entropy

The Matrix-based Renyi's entropy enables us to directly measure informat...
research
04/25/2011

Positive Semidefinite Metric Learning Using Boosting-like Algorithms

The success of many machine learning and pattern recognition methods rel...
research
10/26/2021

Dynamic Trace Estimation

We study a dynamic version of the implicit trace estimation problem. Giv...

Please sign up or login with your details

Forgot password? Click here to reset