Lune

NeurIPS2022Top-tier venue

Optimal Query Complexities for Dynamic Trace Estimation

David P. Woodruff, Fred Zhang, Richard Zhang

Abstract

We consider the problem of minimizing the number of matrix-vector queries needed for accurate trace estimation in the dynamic setting where our underlying matrix is changing slowly, such as during an optimization process. Specifically, for any mm matrices A1,...,AmA_1,...,A_m with consecutive differences bounded in Schatten-11 norm by α\alpha, we provide a novel binary tree summation procedure that simultaneously estimates all mm traces up to ϵ\epsilon error with δ\delta failure probability with an optimal query complexity of O~(mαlog⁡(1/δ)/ϵ+mlog⁡(1/δ))\widetilde{O}\left(m \alpha\sqrt{\log(1/\delta)}/\epsilon + m\log(1/\delta)\right), improving the dependence on both α\alpha and δ\delta from Dharangutte and Musco (NeurIPS, 2021). Our procedure works without additional norm bounds on AiA_i and can be generalized to a bound for the pp-th Schatten norm for p∈[1,2]p \in [1,2], giving a complexity of O~(mα(log⁡(1/δ)/ϵ)p+mlog⁡(1/δ))\widetilde{O}\left(m \alpha\left(\sqrt{\log(1/\delta)}/\epsilon\right)^p +m \log(1/\delta)\right). By using novel reductions to communication complexity and information-theoretic analyses of Gaussian matrices, we provide matching lower bounds for static and dynamic trace estimation in all relevant parameters, including the failure probability. Our lower bounds (1) give the first tight bounds for Hutchinson's estimator in the matrix-vector product model with Frobenius norm error even in the static setting, and (2) are the first unconditional lower bounds for dynamic trace estimation, resolving open questions of prior work.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Optimal Eigenvalue Approximation via Sketching cites Optimal Sketching for Trace Estimation
  • Matrix-Free Two-to-Infinity and One-to-Two Norms Estimation cites Optimal Sketching for Trace Estimation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Optimal Eigenvalue Approximation via SketchingWilliam Swartworth, David P. WoodruffSTOC 2023 · 4 citations
  2. Matrix-Free Two-to-Infinity and One-to-Two Norms EstimationAskar Tsyganov, Evgeny Frolov, Sergey Samsonov, Maxim RakhubaAAAI 2026 · 2 citations

Builds on1

  1. Optimal Sketching for Trace EstimationShuli Jiang, Hai Pham, David P. Woodruff, Qiuyi (Richard) ZhangNeurIPS 2021 · 28 citations

Related papers

  1. Dynamic Trace EstimationPrathamesh Dharangutte, Christopher MuscoNeurIPS 2021 · 15 citations
  2. Understanding the Kronecker Matrix-Vector Complexity of Linear AlgebraRaphael A. Meyer, William J. Swartworth, David P. WoodruffICML 2025
  3. Low-rank approximation with 1/ε1/3 matrix-vector productsAinesh Bakshi, Kenneth L. Clarkson, David P. WoodruffSTOC 2022 · 5 citations
  4. Krylov Methods are (nearly) Optimal for Low-Rank ApproximationAinesh Bakshi, Shyam NarayananFOCS 2023 · 14 citations
  5. Near-optimal hierarchical matrix approximation from matrix-vector productsTyler Chen, Feyza Duman Keles, Diana Halikias, Cameron Musco et al.SODA 2025
Dusk over the sea between two cliffs drawn in fine vertical lines