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

草图与预条件最小二乘求解器数值稳定吗?

Are sketch-and-precondition least squares solvers numerically stable?

Maike Meier, Yuji Nakatsukasa, Alex Townsend, Marcus Webb

AI总结:

本文证明常用草图与预条件最小二乘求解器对病态问题数值不稳定,提出在预条件后使用无预条件迭代求解器并采用草图解初始化,以实现向后稳定和更优残差。

摘要:

草图与预条件技术是求解大型最小二乘(LS)问题(形式为 $Ax=b$,其中 $A\in\mathbb{R}^{m\times n}$ 且 $m\gg n$)的高效且流行的方法。在此过程中,$A$ 被“草绘”为一个较小的矩阵 $SA$,其中 $S\in\mathbb{R}^{\lceil cn\rceil\times m}$,$c>1$ 为常数,然后迭代 LS 求解器使用由 $SA$ 构造的右预条件子 $P$ 来计算 $Ax=b$ 的解。著名的草图与预条件 LS 求解器包括 Blendenpik 和 LSRN。我们表明,最常用形式的草图与预条件技术对于病态 LS 问题并非数值稳定。为了获得可证明且实用的向后稳定性及最优残差,我们建议在 $(AP)z=b$ 上使用无预条件的迭代 LS 求解器,其中 $x=Pz$。假设 $A$ 的条件数小于单位舍入的倒数,我们证明此修改确保计算解具有与应用于良态矩阵的迭代 LS 求解器相当的向后误差。使用平滑分析,我们对浮点舍入误差进行建模,以论证即使对于任意病态的 LS 问题,我们的修改预计也能计算出向后稳定的解。此外,我们提供实验证据表明,在草图与预条件算法中使用草图与求解解作为起始向量(如 Rokhlin 和 Tygert 在 2008 年所建议的)应高度优先于零向量。这种初始化通常会产生更精确的解——尽管并不总是向后稳定的解。

英文摘要:

Sketch-and-precondition techniques are efficient and popular for solving large least squares (LS) problems of the form $Ax=b$ with $A\in\mathbb{R}^{m\times n}$ and $m\gg n$. This is where $A$ is ``sketched" to a smaller matrix $SA$ with $S\in\mathbb{R}^{\lceil cn\rceil\times m}$ for some constant $c>1$ before an iterative LS solver computes the solution to $Ax=b$ with a right preconditioner $P$, where $P$ is constructed from $SA$. Prominent sketch-and-precondition LS solvers are Blendenpik and LSRN. We show that the sketch-and-precondition technique in its most commonly used form is not numerically stable for ill-conditioned LS problems. For provable and practical backward stability and optimal residuals, we suggest using an unpreconditioned iterative LS solver on $(AP)z=b$ with $x=Pz$. Provided the condition number of $A$ is smaller than the reciprocal of the unit round-off, we show that this modification ensures that the computed solution has a backward error comparable to the iterative LS solver applied to a well-conditioned matrix. Using smoothed analysis, we model floating-point rounding errors to argue that our modification is expected to compute a backward stable solution even for arbitrarily ill-conditioned LS problems. Additionally, we provide experimental evidence that using the sketch-and-solve solution as a starting vector in sketch-and-precondition algorithms (as suggested by Rokhlin and Tygert in 2008) should be highly preferred over the zero vector. The initialization often results in much more accurate solutions -- albeit not always backward stable ones.

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

↑