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

Abstract

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.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…