Lune

NeurIPS2021顶会

Optimal Sketching for Trace Estimation

Shuli Jiang, Hai Pham, David P. Woodruff, Qiuyi (Richard) Zhang

摘要

Matrix trace estimation is ubiquitous in machine learning applications and has traditionally relied on Hutchinson's method, which requires O(log⁡(1/δ)/ϵ2)O(\log(1/\delta)/\epsilon^2) matrix-vector product queries to achieve a (1±ϵ)(1 \pm \epsilon)-multiplicative approximation to tr(A)\text{tr}(A) with failure probability δ\delta on positive-semidefinite input matrices AA. Recently, the Hutch++ algorithm was proposed, which reduces the number of matrix-vector queries from O(1/ϵ2)O(1/\epsilon^2) to the optimal O(1/ϵ)O(1/\epsilon), and the algorithm succeeds with constant probability. However, in the high probability setting, the non-adaptive Hutch++ algorithm suffers an extra O(log⁡(1/δ))O(\sqrt{\log(1/\delta)}) 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 O(log⁡(1/δ)/ϵ+log⁡(1/δ))O(\sqrt{\log(1/\delta)}/\epsilon + \log(1/\delta)) matrix-vector products. In addition, we prove matching lower bounds demonstrating that, up to a log⁡log⁡(1/δ)\log \log(1/\delta) factor, no further improvement in the dependence on δ\delta or ϵ\epsilon 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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Optimal Eigenvalue Approximation via Sketching 引用了 Optimal Query Complexities for Dynamic Trace Estimation
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Preconditioning for Scalable Gaussian Process Hyperparameter OptimizationJonathan Wenger, Geoff Pleiss, Philipp Hennig, John P. Cunningham 等ICML 2022 · 36 次引用
  2. Optimal Query Complexities for Dynamic Trace EstimationDavid P. Woodruff, Fred Zhang, Richard ZhangNeurIPS 2022 · 13 次引用
  3. Quantum Algorithms for Spectral SumsAlessandro Luongo, Changpeng ShaoAAAI 2026 · 9 次引用
  4. Optimal Eigenvalue Approximation via SketchingWilliam Swartworth, David P. WoodruffSTOC 2023 · 4 次引用
  5. Approximate Euclidean lengths and distances beyond Johnson-LindenstraussAleksandros Sobczyk, Mathieu LuisierNeurIPS 2022 · 3 次引用

它引用的 Paper2

  1. Schatten Norms in Matrix Streams: Hello Sparsity, Goodbye DimensionVladimir Braverman, Robert Krauthgamer, Aditya Krishnan, Roi SinoffICML 2020 · 14 次引用
  2. Optimal testing of discrete distributions with high probabilityIlias Diakonikolas, Themis Gouleakis, Daniel M. Kane, John Peebles 等STOC 2021 · 1 次引用

相关 Paper

  1. Understanding the Kronecker Matrix-Vector Complexity of Linear AlgebraRaphael A. Meyer, William J. Swartworth, David P. WoodruffICML 2025
  2. Dynamic Trace EstimationPrathamesh Dharangutte, Christopher MuscoNeurIPS 2021 · 15 次引用
  3. Distributed Least Squares in Small Space via Sketching and Bias ReductionSachin Garg, Kevin Tan, Michal DerezinskiNeurIPS 2024 · 5 次引用
  4. Tight Bounds for the Subspace Sketch Problem with ApplicationsYi Li, Ruosong Wang, David P. WoodruffSODA 2020 · 5 次引用
  5. Near-optimal hierarchical matrix approximation from matrix-vector productsTyler Chen, Feyza Duman Keles, Diana Halikias, Cameron Musco 等SODA 2025
黄昏的海面,两侧是细线勾勒的悬崖