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

Raphael A. Meyer, Haim Avron

Abstract

We study the problem of estimating the trace of a matrix $\mathbf{A}$ that can only be accessed through Kronecker-matrix-vector products. That is, for any Kronecker-structured vector $\boldsymbol{\mathrm{x}} = \otimes_{i=1}^k \boldsymbol{\mathrm{x}}_i$, we can compute $\mathbf{A}\boldsymbol{\mathrm{x}}$. We focus on the natural generalization of Hutchinson's Estimator to this setting, proving tight rates for the number of matrix-vector products this estimator needs to find a $(1\pm\varepsilon)$ approximation to the trace of $\mathbf{A}$. We find an exact equation for the variance of the estimator when using a Kronecker of Gaussian vectors, revealing an intimate relationship between Hutchinson's Estimator, the partial trace operator, and the partial transpose operator. Using this equation, we show that when using real vectors, in the worst case, this estimator needs $O(\frac{3^k}{\varepsilon^2})$ products to recover a $(1\pm\varepsilon)$ approximation of the trace of any PSD $\mathbf{A}$, and a matching lower bound for certain PSD $\mathbf{A}$. However, when using complex vectors, this can be exponentially improved to $\Theta(\frac{2^k}{\varepsilon^2})$. We show that Hutchinson's Estimator converges slowest when $\mathbf{A}$ itself also has Kronecker structure. We conclude with some theoretical evidence suggesting that, by combining Hutchinson's Estimator with other techniques, it may be possible to avoid the exponential dependence on $k$.

Introduction

Trace estimation—calculating the sum of the diagonal elements of a massive matrix—is a cornerstone of modern scientific computing, appearing in everything from machine learning to quantum chemistry. For decades, Hutchinson’s Estimator has been the go-to randomized algorithm for this task. However, in many high-dimensional problems, we cannot compute a general matrix-vector product $\mathbf{Ax}$ because the matrix $\mathbf{A}$ is too large to store.

Instead, we are often restricted to products where $\mathbf{x}$ has a specific structure, such as a Kronecker product of smaller vectors ($\mathbf{x} = \mathbf{x}_1 \otimes \dots \otimes \mathbf{x}_k$). This constraint is common in quantum physics, where matrices represent multi-particle systems, and in tensor-based numerical linear algebra. In their recent paper, Raphael A. Meyer and Haim Avron show that when restricted to such Kronecker-structured query vectors, Hutchinson’s Estimator hits an "exponential wall."

Methodology and Theoretical Framework

The authors employ a sophisticated mathematical toolkit, bridging the gap between numerical linear algebra and quantum information theory. Key components of their analysis include:

  1. Quantum Operators: They derive an exact equation for the estimator's variance by expressing it in terms of the partial trace and partial transpose—operators typically used to describe subsystems of quantum particles.
  2. Distribution Comparison: They analyze how the choice of "base distribution" (where the small vectors $\mathbf{x}_i$ come from) affects the outcome, comparing Gaussian, Rademacher (random $\pm 1$), and uniform-on-sphere distributions in both real and complex domains.
  3. Lower Bounds: They prove that for certain "hard" matrices (like the all-ones matrix), the exponential dependence on $k$ is mathematically unavoidable for this specific estimator.

The Exponential Curse of Kronecker Structure

The central finding of the research is that the structural constraint of Kronecker products significantly degrades the estimator's efficiency. In the real-valued case, the sample complexity scales as $O(3^k/\epsilon^2)$. For a system with 10 factors ($k=10$), this requires roughly 60,000 times more samples than the standard non-Kronecker version.

Worst-case sample complexity for the Kronecker-Hutchinson estimator across different fields and distributions.

As detailed in the table above, the choice of field and distribution has a profound impact on performance. One of the most surprising findings is that using complex-valued query vectors improves the rate from $3^k$ to $2^k$. While still exponential, this is a massive practical speedup for larger $k$. Additionally, for Rademacher and Sphere distributions, if the dimension of the small vectors ($d$) is small (e.g., $d=2$ for qubits), the estimator converges faster than in the Gaussian case. However, as $d$ grows, they all converge to the same "bad" exponential rate.

Discussion and Future Directions

An ironic result of this study is that Hutchinson’s Estimator converges slowest when the matrix $\mathbf{A}$ itself has a Kronecker structure—exactly the matrices that are often easiest to solve using other techniques.

The authors are careful to note that their results apply specifically to Hutchinson-style estimators. They provide a lower bound of $\Omega(\sqrt{k}/\epsilon)$ for any algorithm in this oracle model, which is much lower than $3^k$. This suggests a massive gap: while Hutchinson is inefficient in this structured setting, there may be better algorithms yet to be discovered. The authors suggest that combining Hutchinson's Estimator with low-rank approximation techniques might avoid the exponential dependence on $k$ entirely, representing an exciting challenge for future research.

Summary updated

Abstract

We study the problem of estimating the trace of a matrix $\mathbf{A}$ that can only be accessed through Kronecker-matrix-vector products. That is, for any Kronecker-structured vector $\boldsymbol{\mathrm{x}} = \otimes_{i=1}^k \boldsymbol{\mathrm{x}}_i$, we can compute $\mathbf{A}\boldsymbol{\mathrm{x}}$. We focus on the natural generalization of Hutchinson's Estimator to this setting, proving tight rates for the number of matrix-vector products this estimator needs to find a $(1\pm\varepsilon)$ approximation to the trace of $\mathbf{A}$. We find an exact equation for the variance of the estimator when using a Kronecker of Gaussian vectors, revealing an intimate relationship between Hutchinson's Estimator, the partial trace operator, and the partial transpose operator. Using this equation, we show that when using real vectors, in the worst case, this estimator needs $O(\frac{3^k}{\varepsilon^2})$ products to recover a $(1\pm\varepsilon)$ approximation of the trace of any PSD $\mathbf{A}$, and a matching lower bound for certain PSD $\mathbf{A}$. However, when using complex vectors, this can be exponentially improved to $\Theta(\frac{2^k}{\varepsilon^2})$. We show that Hutchinson's Estimator converges slowest when $\mathbf{A}$ itself also has Kronecker structure. We conclude with some theoretical evidence suggesting that, by combining Hutchinson's Estimator with other techniques, it may be possible to avoid the exponential dependence on $k$.
BibTeX
@article{meyer2026hutchinson,
  author = {Raphael A. Meyer and Haim Avron},
  title = {{Hutchinson's Estimator is Bad at Kronecker-Trace-Estimation}},
  journal = {SIAM J. Matrix Anal. Appl.},
  year = {2026},
  doi = {10.1137/24m1720895},
}

Loading related content...

Figure