arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.00664cs.DScs.NAmath.NA
收藏

用于轨迹估计的最佳草图绘制

Optimal Sketching for Trace Estimation

Shuli Jiang, Hai Pham, David P. Woodruff, Qiuyi, Zhang

摘要:

矩阵迹估计在机器学习应用中是普遍存在的,并且传统上依赖于Hutchinson的方法,该方法需要$O(\log(1/δ)/ε^2)$矩阵-向量乘积查询来实现对$\text{tr}(A)$的$(1 \pm ε)$ -乘法近似,其中半正定输入矩阵$A$上的故障概率为$δ$。最近提出的Hutch++算法将矩阵向量查询的数量从$O(1/ε^2)$减少到最优的$O(1/ε)$,并且算法以恒定的概率成功。然而,在高概率设置中,非自适应Hutch++算法在其查询复杂度中遭受额外的$O(\sqrt{\log(1/δ)})$乘法因子。非自适应方法是重要的,因为它们对应于草图算法,这是可合并的,高度并行化的,并提供低内存流算法以及低通信分布式协议。在这项工作中,我们关闭非自适应和自适应算法之间的差距,即使是非自适应算法可以实现$O(\sqrt{\log(1/δ)}/ε+ \log(1/δ))$矩阵矢量产品。此外,我们证明了匹配的下界证明,直到一个$\log \log(1/δ)$的因素,没有进一步改善的依赖于$δ$或$ε$是可能的任何非自适应算法。最后,我们的实验表明,我们的草图的优越性能的自适应哈奇++算法,这是不太并行化,以及在非自适应哈钦森的方法。

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑