Optimal Sketching for Trace Estimation
Shuli Jiang, Hai Pham, David P. Woodruff, Qiuyi (Richard) Zhang
Abstract
Matrix trace estimation is ubiquitous in machine learning applications and has traditionally relied on Hutchinson's method, which requires matrix-vector product queries to achieve a -multiplicative approximation to with failure probability on positive-semidefinite input matrices . Recently, the Hutch++ algorithm was proposed, which reduces the number of matrix-vector queries from to the optimal , and the algorithm succeeds with constant probability. However, in the high probability setting, the non-adaptive Hutch++ algorithm suffers an extra multiplicative factor in its query complexity. Non-adaptive methods are important, as they correspond to sketching algorithms, which are mergeable, highly parallelizable, and provide low-memory streaming algorithms as well as low-communication distributed protocols. In this work, we close the gap between non-adaptive and adaptive algorithms, showing that even non-adaptive algorithms can achieve matrix-vector products. In addition, we prove matching lower bounds demonstrating that, up to a factor, no further improvement in the dependence on or is possible by any non-adaptive algorithm. Finally, our experiments demonstrate the superior performance of our sketch over the adaptive Hutch++ algorithm, which is less parallelizable, as well as over the non-adaptive Hutchinson's method.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 07a93275-6a64-4d5d-88cd-38c1b56a45a7Cited by top-tier papers7
- Preconditioning for Scalable Gaussian Process Hyperparameter OptimizationJonathan Wenger, Geoff Pleiss, Philipp Hennig, John P. Cunningham et al.ICML 2022 · 36 citations
- Optimal Query Complexities for Dynamic Trace EstimationDavid P. Woodruff, Fred Zhang, Richard ZhangNeurIPS 2022 · 13 citations
- Quantum Algorithms for Spectral SumsAlessandro Luongo, Changpeng ShaoAAAI 2026 · 9 citations
- Optimal Eigenvalue Approximation via SketchingWilliam Swartworth, David P. WoodruffSTOC 2023 · 4 citations
- Approximate Euclidean lengths and distances beyond Johnson-LindenstraussAleksandros Sobczyk, Mathieu LuisierNeurIPS 2022 · 3 citations
Builds on2
- Schatten Norms in Matrix Streams: Hello Sparsity, Goodbye DimensionVladimir Braverman, Robert Krauthgamer, Aditya Krishnan, Roi SinoffICML 2020 · 14 citations
- Optimal testing of discrete distributions with high probabilityIlias Diakonikolas, Themis Gouleakis, Daniel M. Kane, John Peebles et al.STOC 2021 · 1 citation
Related papers
- Understanding the Kronecker Matrix-Vector Complexity of Linear AlgebraRaphael A. Meyer, William J. Swartworth, David P. WoodruffICML 2025
- Dynamic Trace EstimationPrathamesh Dharangutte, Christopher MuscoNeurIPS 2021 · 15 citations
- Distributed Least Squares in Small Space via Sketching and Bias ReductionSachin Garg, Kevin Tan, Michal DerezinskiNeurIPS 2024 · 5 citations
- Tight Bounds for the Subspace Sketch Problem with ApplicationsYi Li, Ruosong Wang, David P. WoodruffSODA 2020 · 5 citations
- Near-optimal hierarchical matrix approximation from matrix-vector productsTyler Chen, Feyza Duman Keles, Diana Halikias, Cameron Musco et al.SODA 2025
