cs.CEMar 18, 2026

Automated Grammar-based Algebraic Multigrid Design With Evolutionary Algorithms

Authors: Dinesh Parthasarathy, Wayne Mitchell, Arjun Gambhir, Harald Köstler, Ulrich Rüde

Organizations: Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU), Erlangen, Germany · Lawrence Livermore National Laboratory, USA · CERFACS, Toulouse, France and Department of Applied Mathematics, VSB-Technical University of Ostrava, Ostrava, Czech Republic

Abstract

Although multigrid is asymptotically optimal for solving many important partial differential equations, its efficiency relies heavily on the careful selection of the individual algorithmic components. In contrast to recent approaches that can optimize certain multigrid components using deep learning techniques, we adopt a complementary strategy, employing evolutionary algorithms to construct efficient multigrid cycles from proven algorithmic building blocks. Here, we will present its application to generate efficient algebraic multigrid methods with so-called flexible cycling, that is, level-specific smoothing sequences and non-recursive cycling patterns. The search space with such non-standard cycles is intractable to navigate manually, and is generated using genetic programming (GP) guided by context-free grammars. Numerical experiments with the linear algebra library, hypre, demonstrate the potential of these non-standard GP cycles to improve multigrid performance both as a solver and a preconditioner.

Figures & tables

Explore similar work

CardsList
  1. Acceleration of an algebraic multigrid pressure solver using graph neural networks

    Jun 17, 2026Eric Chillón, Artur K. Lidtke, Nguyen Anh Khoa Doan +1Graph Neural NetworksPDE Solving

  2. RAPNet: Accelerating Algebraic Multigrid with Learned Sparse Corrections

    May 26, 2026Yali Fink, Ido Ben-Yair, Lars Ruthotto +1Graph Neural NetworksPartial Differential Equations

  3. Graph Neural Multilevel Preconditioners for Iterative Solvers

    Jul 30, 2026Zechen Zhang, Rui Peng Li, Yousef SaadGraph Neural Networks