Neural incomplete factorization: learning preconditioners for the conjugate gradient method

Published: 21 Oct 2024, Last Modified: 21 Oct 2024Accepted by TMLREveryoneRevisionsBibTeXCC BY 4.0
Abstract: 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.
Submission Length: Regular submission (no more than 12 pages of main content)
Changes Since Last Submission: Upload of the camera-ready version
Code: https://github.com/paulhausner/neural-incomplete-factorization
Assigned Action Editor: ~Vikas_Sindhwani1
Submission Number: 2645
Loading