JAX-AMG: A GPU-accelerated differentiable sparse linear solver library for JAX.
Yi Liu, Xiantao Fan, Jian-Xun Wang
Sibley School of Mechanical and Aerospace Engineering, Cornell University, Ithaca, NY, USA.
Key points
From the paper's conclusion- The result is a robust, scalable sparse linear algebra layer that integrates seamlessly into differentiable simulation and scientific machine learning pipelines.
Abstract
Sparse linear systems from PDE discretizations are central to scientific computing, yet no existing JAX-ecosystem solver simultaneously provides GPU-accelerated algebraic multigrid (AMG), automatic differentiation (AD), and distributed multi-GPU execution. JAX-AMG fills this gap by wrapping the NVIDIA AmgX solver suite as a native JAX primitive, exposing AMG and Krylov methods with configurable preconditioners through a unified interface compatible with JIT compilation, reverse-mode AD via adjoint methods, and MPI-based distributed execution. Solver caching amortizes setup costs across repeated solves, making JAX-AMG practical for PDE-constrained optimization and inverse problems. The result is a robust, scalable sparse linear algebra layer that integrates seamlessly into differentiable simulation and scientific machine learning pipelines.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Online Autotuning of Algebraic Multigrid via Contextual Bandits and Reinforcement LearningarXiv · 2026
- JAXIGA - A software framework for GPU-enabled and differentiable isogeometric analysisarXiv · 2026
- Helix: A Unified Programmable Accelerator for Diverse Krylov Subspace SolversarXiv · 2026
- ParaBMG: A Parallel Block Multigrid Framework for Large-Scale Evolving Sparse Systems on Unstructured MeshesarXiv · 2026
- asdex: Automatic Sparse Differentiation in JAXarXiv · 2026
- KernelPack-JAX: a meshless differentiable GPU framework for node generation and forward and inverse PDE problemsarXiv · 2026