Neural incomplete factorization: learning preconditioners for the conjugate gradient method
This addresses the computational bottleneck of iterative solvers in scientific computing, offering a data-driven alternative to hand-engineered preconditioners, though it is incremental as it builds on existing neural network and preconditioning techniques.
The paper tackles the problem of accelerating the conjugate gradient method for solving large-scale sparse linear systems by learning effective preconditioners using graph neural networks, achieving faster convergence in experiments on synthetic and Poisson equation problems.
The convergence of the conjugate gradient method for solving large-scale and sparse linear equation systems depends on the spectral properties of the system matrix, which can be improved by preconditioning. In this paper, we develop a computationally efficient data-driven approach to accelerate the generation of effective preconditioners. We, therefore, replace the typically hand-engineered preconditioners by the output of graph neural networks. Our method generates an incomplete factorization of the matrix and is, therefore, referred to as neural incomplete factorization (NeuralIF). Optimizing the condition number of the linear system directly is computationally infeasible. Instead, we utilize a stochastic approximation of the Frobenius loss which only requires matrix-vector multiplications for efficient training. At the core of our method is a novel message-passing block, inspired by sparse matrix theory, that aligns with the objective of finding a sparse factorization of the matrix. We evaluate our proposed method on both synthetic problem instances and on problems arising from the discretization of the Poisson equation on varying domains. Our experiments show that by using data-driven preconditioners within the conjugate gradient method we are able to speed up the convergence of the iterative procedure. The code is available at https://github.com/paulhausner/neural-incomplete-factorization.