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

AutoAMG($θ$):一种基于深度学习的强阈值自动调优 AMG 方法

AutoAMG($θ$): An Auto-tuned AMG Method Based on Deep Learning for Strong Threshold

Haifeng Zou, Xiaowen Xu, Chen-Song Zhang, Zeyao Mo

AI总结:

针对 AMG 强阈值依赖经验默认值且常非最优的问题,本文提出 AutoAMG($θ$),用 GNN 提取矩阵特征并由 MLP 预测最优 $θ$,在多尺度稀疏线性方程组上实现显著加速。

摘要:

代数多重网格(Algebraic Multigrid,AMG)是求解大型稀疏线性方程组 $Ax=b$ 最常用的迭代算法之一。在 AMG 中,粗网格是影响算法效率的关键组成部分,其构造依赖于强阈值参数 $θ$。该参数通常根据经验选取;在许多现有 AMG 求解器中,二维问题的默认值为 0.25,三维问题的默认值为 0.5。然而,对于许多实际问题,粗网格质量和 AMG 算法效率对 $θ$ 十分敏感;默认值很少是最优的,有时甚至与最优值相差很远。因此,如何选择更好的 $θ$ 是一个重要问题。本文针对实际问题中广泛存在的多尺度稀疏线性方程组,提出一种基于深度学习的自动调优方法 AutoAMG($θ$)。该方法利用图神经网络(Graph Neural Networks,GNN)提取矩阵特征,并使用多层感知机(Multilayer Perceptron,MLP)建立矩阵特征与最优 $θ$ 之间的映射,从而能够针对不同矩阵自适应输出 $θ$ 值。数值实验表明,与使用默认 $θ$ 值相比,AutoAMG($θ$) 能够实现显著加速。

英文摘要:

Algebraic Multigrid (AMG) is one of the most used iterative algorithms for solving large sparse linear equations $Ax=b$. In AMG, the coarse grid is a key component that affects the efficiency of the algorithm, the construction of which relies on the strong threshold parameter $θ$. This parameter is generally chosen empirically, with a default value in many current AMG solvers of 0.25 for 2D problems and 0.5 for 3D problems. However, for many practical problems, the quality of the coarse grid and the efficiency of the AMG algorithm are sensitive to $θ$; the default value is rarely optimal, and sometimes is far from it. Therefore, how to choose a better $θ$ is an important question. In this paper, we propose a deep learning based auto-tuning method, AutoAMG($θ$) for multiscale sparse linear equations, which are widely used in practical problems. The method uses Graph Neural Networks (GNNs) to extract matrix features, and a Multilayer Perceptron (MLP) to build the mapping between matrix features and the optimal $θ$, which can adaptively output $θ$ values for different matrices. Numerical experiments show that AutoAMG($θ$) can achieve significant speedup compared to the default $θ$ value.

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

↑