Skip to main content
QUICK REVIEW

[Paper Review] Improved stochastic trace estimation using mutually unbiased bases

Jack Fitzsimons, Michael A. Osborne|arXiv (Cornell University)|Jul 30, 2016
Blind Source Separation TechniquesComputer Science1 references12 citations
TL;DR

This paper proposes a novel stochastic trace estimator using mutually unbiased bases (MUBs) to significantly reduce single-shot sampling variance in trace estimation of symmetric positive semi-definite matrices. By leveraging MUBs, the method achieves a worst-case variance bound of $(n-1)/(n+1)\text{Tr}(A^2)$, outperforming Hutchinson’s and Gaussian estimators by a factor approaching 2 for large $n$, while requiring only $\mathcal{O}(\log n)$ random bits per probe vector.

ABSTRACT

We examine the problem of estimating the trace of a matrix $A$ when given access to an oracle which computes $x^\dagger A x$ for an input vector $x$. We make use of the basis vectors from a set of mutually unbiased bases, widely studied in the field of quantum information processing, in the selection of probing vectors $x$. This approach offers a new state of the art single shot sampling variance while requiring only $O(\log(n))$ random bits to generate each vector. This significantly improves on traditional methods such as Hutchinson's and Gaussian estimators in terms of the number of random bits required and worst case sample variance.

Motivation & Objective

  • Address the high variance and randomness cost of existing stochastic trace estimation methods in large-scale matrix computations.
  • Improve worst-case single-shot sampling variance for trace estimation, particularly for implicit or large matrices.
  • Reduce the number of random bits required per probing vector to enhance efficiency in hardware and parallelized implementations.
  • Demonstrate practical superiority on real-world problems such as triangle counting in graphs using the trace of matrix powers.

Proposed method

  • Utilizes mutually unbiased bases (MUBs) from quantum information theory as probing vectors for matrix trace estimation.
  • Samples vectors from a set of $n+1$ mutually unbiased bases in $\mathbb{C}^n$ when $n$ is a prime power, ensuring uniform overlap properties.
  • Employs complex-valued probing vectors $\mathbf{x}$ such that $\mathbb{E}[\mathbf{x}^\dagger A \mathbf{x}] = \text{Tr}(A)$, maintaining unbiasedness.
  • Derives the single-shot variance as $\text{V}_{\text{MUBs}}^{\text{worst}} = \frac{n-1}{n+1}\text{Tr}(A^2)$, which is provably tighter than fixed-basis or Hutchinson estimators.
  • Uses efficient $\mathcal{O}(n)$ constructions for generating MUB vectors, enabling practical deployment.
  • Applies the estimator to compute $\text{Tr}(A^3)/6$ for triangle counting in graphs, leveraging the trace-trace identity.

Experimental results

Research questions

  • RQ1Can mutually unbiased bases reduce the worst-case single-shot variance in stochastic trace estimation compared to existing methods?
  • RQ2How does the number of random bits required to generate probing vectors scale in the MUB-based method compared to Gaussian or Hutchinson estimators?
  • RQ3What is the theoretical worst-case variance bound of the MUB-based estimator for symmetric positive semi-definite matrices?
  • RQ4Does the MUB-based estimator outperform classical methods in practical applications such as triangle counting in large graphs?
  • RQ5Can the MUB-based method achieve a significant reduction in randomness usage without sacrificing variance performance?

Key findings

  • The MUB-based estimator achieves a worst-case single-shot variance of $\frac{n-1}{n+1}\text{Tr}(A^2)$, which is at least a factor of $n-1$ better than any fixed-basis estimator.
  • The worst-case variance of the MUB estimator is bounded by $\frac{n}{n+1}\text{Tr}(A^2)$ even for non-positive semi-definite $A$, due to the non-negativity of $\text{Tr}(A)^2$.
  • Compared to the Hutchinson estimator, the MUB method improves worst-case performance by a factor of $\frac{2(n+1)(n-1)}{n^2}$, approaching 2 for large $n$.
  • The MUB estimator requires only $\mathcal{O}(\log n)$ random bits per probing vector, significantly reducing randomness overhead compared to Gaussian or Hutchinson methods.
  • In numerical experiments on real-world graphs, the MUB estimator outperformed Gaussian, Hutchinson, and unit-vector estimators in terms of mean absolute relative error and variance.
  • The method was successfully applied to triangle counting in graphs, where $\text{Tr}(A^3)/6$ was estimated efficiently with lower error and reduced randomness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.