[Paper Review] Learning Algebraic Multigrid Using Graph Neural Networks
This paper proposes a graph neural network (GNN)-based framework to learn algebraic multigrid (AMG) prolongation operators for sparse symmetric positive (semi-) definite linear systems, using unsupervised message-passing training on graph-structured matrices. The method generalizes across problem size, topology, and distribution, achieving faster convergence than classical AMG in spectral clustering, PDEs, and graph Laplacian problems.
Efficient numerical solvers for sparse linear systems are crucial in science and engineering. One of the fastest methods for solving large-scale sparse linear systems is algebraic multigrid (AMG). The main challenge in the construction of AMG algorithms is the selection of the prolongation operator -- a problem-dependent sparse matrix which governs the multiscale hierarchy of the solver and is critical to its efficiency. Over many years, numerous methods have been developed for this task, and yet there is no known single right answer except in very special cases. Here we propose a framework for learning AMG prolongation operators for linear systems with sparse symmetric positive (semi-) definite matrices. We train a single graph neural network to learn a mapping from an entire class of such matrices to prolongation operators, using an efficient unsupervised loss function. Experiments on a broad class of problems demonstrate improved convergence rates compared to classical AMG, demonstrating the potential utility of neural networks for developing sparse system solvers.
Motivation & Objective
- To develop a data-driven framework for learning AMG prolongation operators without relying on problem-specific heuristics.
- To generalize across diverse sparse symmetric positive (semi-) definite matrices, including unstructured graphs and varying problem sizes.
- To train a single GNN model to map entire classes of matrices to effective prolongation operators using unsupervised loss.
- To improve convergence rates of iterative solvers like LOBPCG by learning better prolongation matrices.
- To enable transferability across distributions, topologies, and dimensions in linear system solving.
Proposed method
- Represent the sparse matrix A as a graph GA = (VA, EA), where nodes correspond to variables and edges to non-zero matrix entries with weights Aij.
- Use a graph neural network with message-passing architecture to predict prolongation operator P from input graph features.
- Incorporate node and edge features, including one-hot encodings and encoder outputs, to enrich message propagation.
- Train the GNN using an unsupervised loss function based on minimizing error reduction in a coarse-grid approximation, avoiding labeled data.
- Apply a novel Fourier analysis on block-periodic triangular meshes to enable efficient training on locally unstructured problems.
- Use a W-cycle multigrid solver with LOBPCG as the coarse-grid solver, evaluating convergence via residual tolerance.
Experimental results
Research questions
- RQ1Can a single GNN be trained to generalize across diverse sparse symmetric positive definite matrices and learn effective prolongation operators?
- RQ2How does the performance of a learned AMG solver compare to classical AMG in terms of convergence rate across different problem classes?
- RQ3To what extent can the GNN generalize to unseen problem sizes, distributions, and graph topologies?
- RQ4What architectural components (e.g., message-passing depth, feature concatenation, one-hot indicators) are most critical for performance?
- RQ5Can unsupervised training on block-circulant matrices yield generalizable, high-performing prolongation operators for real-world problems?
Key findings
- The GNN-based AMG solver achieved a 14.2% average reduction in LOBPCG iterations compared to classical AMG on two-Gaussian spectral clustering problems with 1,000 points.
- On 10,000-point problems, the method reduced iterations by 10.2% on average, demonstrating scalability and generalization.
- The model generalized effectively across distributions: 85.8% to 94.2% of classical AMG iteration counts were achieved across two-Gaussian, five-Gaussian, moon, and concentric circle problems.
- Ablation studies showed that reducing message-passing layers dropped success rate from 79% to 63%, indicating high sensitivity to architectural depth.
- Removing one-hot edge and node indicators reduced performance to 68% success rate, highlighting their importance in feature representation.
- The model maintained strong performance on 3D two-Gaussian problems (89.5% of CAMG iterations) and on 5-NN and 3D variants, confirming robustness to topology changes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.