arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.09880math.NAcs.NA
收藏

具有近乎最优精度的快速厄米对角化

Fast Hermitian Diagonalization with Nearly Optimal Precision

Rikhav Shah

AI总结:

针对有限精度数值算法需兼顾运算效率与精度位数的问题,提出近矩阵乘法时间的厄米对角化算法,大幅降低所需精度位数,给出接近实用的精度界。

摘要:

有限精度下数值任务的算法需同时力求减少浮点运算次数,以及每次浮点运算所需的精度位数。本文提出一种厄米对角化算法,仅需$\boldsymbol{\textit{lg}(1/\boldsymbol{\textit{ε}})+O(\boldsymbol{\textit{log}}(\boldsymbol{\textit{n}})+\boldsymbol{\textit{log}}\boldsymbol{\textit{log}}(1/\boldsymbol{\textit{ε}}))}$位精度,其中$\boldsymbol{\textit{n}}$为输入矩阵规模,$\boldsymbol{\textit{ε}}$为目标误差。此外,该算法的运行时间接近矩阵乘法时间。\n在通用场景下,首个对接近矩阵乘法时间的对角化算法稳定性的完整分析来自Banks等人[BGVKS20]。他们提出的算法可对任意矩阵进行对角化,达到$\boldsymbol{\textit{ε}}$后向误差,仅需$O(\boldsymbol{\textit{log}}^4(\boldsymbol{\textit{n}}/\boldsymbol{\textit{ε}})\boldsymbol{\textit{log}}(\boldsymbol{\textit{n}}))$位精度。本研究聚焦厄米场景,得到了所需精度位数的大幅改进界。具体而言,该结果接近给出实用界。精确位数取决于所采用的矩阵乘法和QR分解的具体实现,但若采用合适的$O(\boldsymbol{\textit{n}}^3)$时间实现,当$\boldsymbol{\textit{ε}}=10^{-15}$、$\boldsymbol{\textit{n}}=4000$时,本文证明92位精度已足够(且至少需要59位)。相比之下,[BGVKS20]在相同参数下甚至无法证明682916525000位精度足够。

英文摘要:

Algorithms for numerical tasks in finite precision simultaneously seek to minimize the number of floating point operations performed, and also the number of bits of precision required by each floating point operation. This paper presents an algorithm for Hermitian diagonalization requiring only $\lg(1/\varepsilon)+O(\log(n)+\log\log(1/\varepsilon))$ bits of precision where $n$ is the size of the input matrix and $\varepsilon$ is the target error. Furthermore, it runs in near matrix multiplication time. In the general setting, the first complete analysis of the stability of a near matrix multiplication time algorithm for diagonalization is that of Banks et al. [BGVKS20]. They exhibit an algorithm for diagonalizing an arbitrary matrix up to $\varepsilon$ backward error using only $O(\log^4(n/\varepsilon)\log(n))$ bits of precision. This work focuses on the Hermitian setting, where we determine a dramatically improved bound on the number of bits needed. In particular, the result is close to providing a practical bound. The exact bit count depends on the specific implementation of matrix multiplication and QR decomposition one wishes to use, but if one uses suitable $O(n^3)$-time implementations, then for $\varepsilon=10^{-15},n=4000$, we show 92 bits of precision suffice (and 59 are necessary). By comparison, the same parameters in [BGVKS20] does not even show that 682,916,525,000 bits suffice.

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

↑