Online Autotuning of Algebraic Multigrid via Contextual Bandits and Reinforcement Learning
On the map: Deep reinforcement learning methods → RL for games and combinatorial optimization also fits: RL theory and sample complexity
Abstract (arXiv)
Algebraic multigrid (AMG) methods are widely used for solving large sparse linear systems, but their efficiency depends strongly on interacting setup and solve parameters. Effective parameter choices typically depend on the problem. We develop a phase-aware online autotuning method for hypre's BoomerAMG to reduce cumulative time-to-solution over sequences of related linear systems. A LinUCB-based contextual bandit selects mixed-type parameters for AMG hierarchy construction using a shared cost model over PDE descriptors and configuration encodings. A recursive LSTDQ controller uses residual and timing observations to estimate the AMG solve time within each attempt and adapt relaxation weights between multigrid cycles. Both learners update from ongoing solves without offline pretraining. Across grids of sizes 403, 603, and 803, the joint autotuning method reduces total runtime, including recurring learner computation, by 36.1-43.3% for diffusion problems and 19.8-31.0% for diffusion-advection problems over sequences of 5000 linear systems, relative to the reference BoomerAMG default configuration. On a variable-flow diffusion-advection benchmark comprising 30,000 systems on a 603 grid, 2 systems fail to converge with joint autotuning, compared with 1677 for the reference configuration, under their respective attempt budgets.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Placed in RL for games and combinatorial optimization, one of 15 directions in Deep reinforcement learning methods. Builds on 4 of its 28 references that are in the map. Submitted 31 Oct 2026.
Builds on
4 of 28 references.
References · 4
- 2020Learning Algebraic Multigrid Using Graph Neural Networkscited by 56
- 2021Learning optimal multigrid smoothers via neural networkscited by 18
- 2023A Deep Learning algorithm to accelerate Algebraic Multigrid methods in Finite Element solvers of 3D elliptic PDEscited by 7
- 2024A reinforcement learning strategy to automate and accelerate h/p-multigrid solverscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2021Optimization-Based Algebraic Multigrid Coarsening Using Reinforcement Learning
- 2026RAPNet: Accelerating Algebraic Multigrid with Learned Sparse Corrections
- 2026Acceleration of an algebraic multigrid pressure solver using graph neural networks
- 2026Mesh-RL: Coupled subgrid reinforcement learning
- 2026Precision autotuning for linear solvers via contextual bandit-based RL
- 2024Reinforcement learning for anisotropic p-adaptation and error estimation in high-order solvers
- 2026Graph Neural Multilevel Preconditioners for Iterative Solvers
- 2026Integrating Multi-Armed Bandit, Active Learning, and Distributed Computing for Scalable Optimization