{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/graph-neural-preconditioners-for-iterative","title":"Graph Neural Preconditioners for Iterative Solutions of Sparse Linear Systems","arxiv_id":"2406.00809","date":"2024-06-02","proceeding":null,"authors":["Jie Chen"],"abstract":"Preconditioning is at the heart of iterative solutions of large, sparse linear systems of equations in scientific disciplines. Several algebraic approaches, which access no information beyond the matrix itself, are widely studied and used, but ill-conditioned matrices remain very challenging. We take a machine learning approach and propose using graph neural networks as a general-purpose preconditioner. They show attractive performance for many problems and can be used when the mainstream preconditioners perform poorly. Empirical evaluation on over 800 matrices suggests that the construction time of these graph neural preconditioners (GNPs) is more predictable and can be much shorter than that of other widely used ones, such as ILU and AMG, while the execution time is faster than using a Krylov method as the preconditioner, such as in inner-outer GMRES. GNPs have a strong potential for solving large-scale, challenging algebraic problems arising from not only partial differential equations, but also economics, statistics, graph, and optimization, to name a few.","url_abs":"https://arxiv.org/abs/2406.00809v3","url_pdf":"https://arxiv.org/pdf/2406.00809v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"graph-neural-preconditioners-for-iterative","repo_url":"https://github.com/jiechenjiechen/gnp","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2406.00809","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.00809"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/jiechenjiechen/GNP","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/NVIDIA/AMGX","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jiechenjiechen/gnp","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":7},"by_repo_kind":{"official":{"samples":7,"ran":7,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"4d1615973b60c3fa","entry":"GNP","repo":"jiechenjiechen/gnp","repo_kind":"official","path":"GNP/precond/GNP.py","file_url":"https://github.com/jiechenjiechen/gnp/blob/HEAD/GNP/precond/GNP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4d1615973b60c3fa"}},{"code_sha256_prefix":"cd4f3fefe8f86dc7","entry":"StreamingDataset","repo":"jiechenjiechen/gnp","repo_kind":"official","path":"GNP/precond/GNP.py","file_url":"https://github.com/jiechenjiechen/gnp/blob/HEAD/GNP/precond/GNP.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cd4f3fefe8f86dc7"}},{"code_sha256_prefix":"7a8c14089537fbe2","entry":"extract_diagonal","repo":"jiechenjiechen/GNP","repo_kind":"official","path":"GNP/utils.py","file_url":"https://github.com/jiechenjiechen/GNP/blob/HEAD/GNP/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7a8c14089537fbe2"}},{"code_sha256_prefix":"f22be3fc1a4b204b","entry":"gen_1d_laplacian","repo":"jiechenjiechen/GNP","repo_kind":"official","path":"GNP/problems.py","file_url":"https://github.com/jiechenjiechen/GNP/blob/HEAD/GNP/problems.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f22be3fc1a4b204b"}},{"code_sha256_prefix":"728be513d40f2229","entry":"gen_1d_laplacian_full","repo":"jiechenjiechen/GNP","repo_kind":"official","path":"GNP/problems.py","file_url":"https://github.com/jiechenjiechen/GNP/blob/HEAD/GNP/problems.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"728be513d40f2229"}},{"code_sha256_prefix":"700b3528f3e66787","entry":"gen_1d_signless_laplacian_full","repo":"jiechenjiechen/GNP","repo_kind":"official","path":"GNP/problems.py","file_url":"https://github.com/jiechenjiechen/GNP/blob/HEAD/GNP/problems.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"700b3528f3e66787"}},{"code_sha256_prefix":"a689de98cd5d7b14","entry":"scale_A_by_spectral_radius","repo":"jiechenjiechen/GNP","repo_kind":"official","path":"GNP/utils.py","file_url":"https://github.com/jiechenjiechen/GNP/blob/HEAD/GNP/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a689de98cd5d7b14"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}