Improved variants of the Hutch++ algorithm for trace estimation

09/22/2021
by   David Persson, et al.
0

This paper is concerned with two improved variants of the Hutch++ algorithm for estimating the trace of a square matrix, implicitly given through matrix-vector products. Hutch++ combines randomized low-rank approximation in a first phase with stochastic trace estimation in a second phase. In turn, Hutch++ only requires O(ε^-1) matrix-vector products to approximate the trace within a relative error ε with high probability. This compares favorably with the O(ε^-2) matrix-vector products needed when using stochastic trace estimation alone. In Hutch++, the number of matrix-vector products is fixed a priori and distributed in a prescribed fashion among the two phases. In this work, we derive an adaptive variant of Hutch++, which outputs an estimate of the trace that is within some prescribed error tolerance with a controllable failure probability, while splitting the matrix-vector products in a near-optimal way among the two phases. For the special case of symmetric positive semi-definite matrix, we present another variant of Hutch++, called Nyström++, which utilizes the so called Nyström approximation and requires only one pass over the matrix, as compared to two passes with Hutch++. We extend the analysis of Hutch++ to Nyström++. Numerical experiments demonstrate the effectiveness of our two new algorithms.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/22/2022

Randomized low-rank approximation of monotone matrix functions

This work is concerned with computing low-rank approximations of a matri...
research
10/19/2020

Hutch++: Optimal Stochastic Trace Estimation

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

Approximate Euclidean lengths and distances beyond Johnson-Lindenstrauss

A classical result of Johnson and Lindenstrauss states that a set of n h...
research
01/01/2021

Faster Stochastic Trace Estimation with a Chebyshev Product Identity

Methods for stochastic trace estimation often require the repeated evalu...
research
05/03/2022

Krylov-aware stochastic trace estimation

We introduce an algorithm for estimating the trace of a matrix function ...
research
05/03/2023

Estimating the error in CG-like algorithms for least-squares and least-norm problems

In [Meurant, Papež, Tichý; Numerical Algorithms 88, 2021], we presented ...
research
08/15/2023

Analysis of stochastic probing methods for estimating the trace of functions of sparse symmetric matrices

We consider the problem of estimating the trace of a matrix function f(A...

Please sign up or login with your details

Forgot password? Click here to reset