Lune

NeurIPS2021顶会

Optimal Sketching for Trace Estimation

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

2021年份
28被引次数
7顶会引用

摘要

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.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper7

问问它们各自怎么用它

它引用的顶会 Paper2

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖