English

Learning incomplete factorization preconditioners for GMRES

Machine Learning 2024-12-12 v2 Numerical Analysis Numerical Analysis Optimization and Control

Abstract

Incomplete LU factorizations of sparse matrices are widely used as preconditioners in Krylov subspace methods to speed up solving linear systems. Unfortunately, computing the preconditioner itself can be time-consuming and sensitive to hyper-parameters. Instead, we replace the hand-engineered algorithm with a graph neural network that is trained to approximate the matrix factorization directly. To apply the output of the neural network as a preconditioner, we propose an output activation function that guarantees that the predicted factorization is invertible. Further, applying a graph neural network architecture allows us to ensure that the output itself is sparse which is desirable from a computational standpoint. We theoretically analyze and empirically evaluate different loss functions to train the learned preconditioners and show their effectiveness in decreasing the number of GMRES iterations and improving the spectral properties on synthetic data. The code is available at https://github.com/paulhausner/neural-incomplete-factorization.

Keywords

Cite

@article{arxiv.2409.08262,
  title  = {Learning incomplete factorization preconditioners for GMRES},
  author = {Paul Häusner and Aleix Nieto Juscafresa and Jens Sjölund},
  journal= {arXiv preprint arXiv:2409.08262},
  year   = {2024}
}

Comments

The first two authors contributed equally, Northern Lights Deep Learning Conference, 15 pages

R2 v1 2026-06-28T18:42:51.069Z