Paul Häusner, Aleix Nieto Juscafresa, Jens Sjölund
{"title":"Learning incomplete factorization preconditioners for GMRES","authors":"Paul Häusner, Aleix Nieto Juscafresa, Jens Sjölund","doi":"arxiv-2409.08262","DOIUrl":null,"url":null,"abstract":"In this paper, we develop a data-driven approach to generate incomplete LU\nfactorizations of large-scale sparse matrices. The learned approximate\nfactorization is utilized as a preconditioner for the corresponding linear\nequation system in the GMRES method. Incomplete factorization methods are one\nof the most commonly applied algebraic preconditioners for sparse linear\nequation systems and are able to speed up the convergence of Krylov subspace\nmethods. However, they are sensitive to hyper-parameters and might suffer from\nnumerical breakdown or lead to slow convergence when not properly applied. We\nreplace the typically hand-engineered algorithms with a graph neural network\nbased approach that is trained against data to predict an approximate\nfactorization. This allows us to learn preconditioners tailored for a specific\nproblem distribution. We analyze and empirically evaluate different loss\nfunctions to train the learned preconditioners and show their effectiveness to\ndecrease the number of GMRES iterations and improve the spectral properties on\nour synthetic dataset. The code is available at\nhttps://github.com/paulhausner/neural-incomplete-factorization.","PeriodicalId":501286,"journal":{"name":"arXiv - MATH - Optimization and Control","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - MATH - Optimization and Control","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.08262","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In this paper, we develop a data-driven approach to generate incomplete LU
factorizations of large-scale sparse matrices. The learned approximate
factorization is utilized as a preconditioner for the corresponding linear
equation system in the GMRES method. Incomplete factorization methods are one
of the most commonly applied algebraic preconditioners for sparse linear
equation systems and are able to speed up the convergence of Krylov subspace
methods. However, they are sensitive to hyper-parameters and might suffer from
numerical breakdown or lead to slow convergence when not properly applied. We
replace the typically hand-engineered algorithms with a graph neural network
based approach that is trained against data to predict an approximate
factorization. This allows us to learn preconditioners tailored for a specific
problem distribution. We analyze and empirically evaluate different loss
functions to train the learned preconditioners and show their effectiveness to
decrease the number of GMRES iterations and improve the spectral properties on
our synthetic dataset. The code is available at
https://github.com/paulhausner/neural-incomplete-factorization.