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

自适应$s$-步共轭梯度法

The Adaptive $s$-step Conjugate Gradient Method

Courant Institute of Mathematical Sciences, New York University(纽约大学库朗数学科学研究所)

Erin Carson

AI总结:

本文提出自适应$s$-步共轭梯度法,通过动态调整块大小以在减少全局同步次数的同时保持精度,提升大规模并行计算中Krylov子空间方法的可靠性与效率。

摘要:

在现代大规模并行计算机上,Krylov子空间迭代方法的性能受限于全局同步。为此发展了$s$-步Krylov子空间方法变体,通过块内$s$次迭代减少全局同步次数。尽管$s$-步变体在数学上等价于经典方法,但在有限精度下其行为受$s$参数影响显著。若$s$选择过大,可能导致收敛延迟和精度下降。为此,本文推导出自适应$s$-步CG方法,通过自动确定每个块的$s_k$以保证用户指定的精度。确定$s_k$的方法基于块内残差间隙增长的界,从而导出计算$O(s_k)$维Krylov子空间基的条件数约束。确定块大小$s_k$的计算无需增加每个块的全局同步次数。数值实验表明,自适应$s$-步CG方法在保持与经典CG相同精度的同时,显著减少了总全局同步次数。

英文摘要:

On modern large-scale parallel computers, the performance of Krylov subspace iterative methods is limited by global synchronization. This has inspired the development of $s$-step Krylov subspace method variants, in which iterations are computed in blocks of $s$, which can reduce the number of global synchronizations per iteration by a factor of $O(s)$. Although the $s$-step variants are mathematically equivalent to their classical counterparts, they can behave quite differently in finite precision depending on the parameter $s$. If $s$ is chosen too large, the $s$-step method can suffer a convergence delay and a decrease in attainable accuracy relative to the classical method. This makes it difficult for a potential user of such methods - the $s$ value that minimizes the time per iteration may not be the best $s$ for minimizing the overall time-to-solution, and further may cause an unacceptable decrease in accuracy. Towards improving the reliability and usability of $s$-step Krylov subspace methods, in this work we derive the \emph{adaptive $s$-step CG method}, a variable $s$-step CG method where in block $k$, the parameter $s_k$ is determined automatically such that a user-specified accuracy is attainable. The method for determining $s_k$ is based on a bound on growth of the residual gap within block $k$, from which we derive a constraint on the condition numbers of the computed $O(s_k)$-dimensional Krylov subspace bases. The computations required for determining the block size $s_k$ can be performed without increasing the number of global synchronizations per block. Our numerical experiments demonstrate that the adaptive $s$-step CG method is able to attain up to the same accuracy as classical CG while still significantly reducing the total number of global synchronizations.

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

↑