NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reducing Parallel Communication in Algebraic Multigrid through Sparsification

Amanda Bienz, Robert D. Falgout, William Gropp, Luke N. Olson, Jacob B. Schroder

TL;DR

This paper introduces new "lossless" sparsification techniques for Algebraic Multigrid (AMG) that systematically remove unimportant entries from coarse-grid matrices. By thinning out these matrices, the authors significantly reduce parallel communication overhead, leading to faster solve times on massive supercomputers without sacrificing the solver's convergence.

What Problem Does This Paper Address?

Algebraic Multigrid (AMG) is a powerhouse algorithm for solving massive, sparse linear systems ($Ax = b$), common in physics simulations and engineering. It works by creating a hierarchy of increasingly smaller (coarser) grids. Ideally, as the grids get smaller, the work gets easier.

However, there is a "density" trap in parallel computing. In standard AMG, coarse-level matrices are formed using a triple matrix product ($P^T A P$). This process often makes the coarse matrices much "denser" (more nonzeros per row) than the original fine-grid matrix. In a distributed-memory environment, this density translates to a massive spike in MPI communication costs. On very large systems, the time spent shuffling data between processors on these tiny, dense coarse grids can actually exceed the time spent working on the original, massive fine grid, destroying parallel scalability.

Methods

The authors propose moving away from the rigid "Galerkin" construction to reduce this density. They introduce and compare several strategies:

  • Sparse Galerkin (New): The entire hierarchy is built normally, then thinned out as a post-processing step. This "lossless" approach preserves the original hierarchy's structure, allowing for easier recovery if convergence slows down.
  • Hybrid Galerkin (New): A middle ground that uses sparsified operators from one level to help determine the sparsity pattern of the next level.
  • Diagonal Lumping: A specific technique for removing entries. Instead of complex redistributions, the value of a removed entry is simply added to the row's diagonal. This is computationally cheap and helps preserve "Symmetric Positive Definite" (SPD) properties, which are crucial for solver stability.
  • Adaptive Solve Phase: Perhaps the most innovative part, this is a "safety net." If the solver detects that convergence is lagging (because too many entries were dropped), it can adaptively reintroduce those entries into the hierarchy on-the-fly.

Datasets

The researchers evaluated their methods using several benchmarks on the Blue Waters supercomputer (utilizing up to 100,000 cores):

  • 3D Poisson/Laplace Problems: Standard benchmarks for elliptic partial differential equations.
  • 2D Rotated Anisotropic Diffusion: A more challenging problem where standard AMG often struggles.
  • Florida Sparse Matrix Collection: A subset of real-world, large-scale matrices (over 1 million degrees of freedom) to test the robustness of the algorithms across different structures.

Key Insights and Ideas

  • Communication is the Bottleneck: The "aha moment" is quantifying that the slowdown on coarse grids isn't due to math, but due to the number of MPI messages sent. Sparsification directly targets the number of messages, not just their size.
  • Heuristics Can Be Aggressive if They Are Reversible: Previous "Non-Galerkin" methods were risky because if you dropped the wrong entries, the solver failed. By keeping the original hierarchy available, the authors allow for aggressive "dropping" with a built-in mechanism to backtrack.
  • Preserving SPD via Lumping: Simply moving removed values to the diagonal (Diagonal Lumping) is surprisingly effective. It maintains the mathematical properties needed for Conjugate Gradient (CG) solvers while eliminating the need for inter-processor communication during the setup phase.

Key Results

  • Reduced Message Counts: The sparsification methods significantly flattened the "communication spike" on coarse levels. In some cases, the number of MPI sends was reduced by nearly 50% on critical middle levels of the hierarchy.
  • Total Solve Time Speedup: For the anisotropic diffusion problem, the new methods provided a clear efficiency boost over standard Galerkin AMG, especially as the number of cores scaled toward 100,000.
  • Robustness: The Hybrid Galerkin method, in particular, showed superior performance on the diverse matrices from the Florida collection, outperforming other methods at high core counts.
  • Successful Adaptivity: The adaptive solve phase proved it could "rescue" a simulation that was initially too sparse to converge, eventually reaching the desired tolerance with lower total communication than the standard approach.

Limitations and Future Work

  • Setup Overhead: Unlike "Non-Galerkin" methods which speed up the setup phase by working with smaller matrices from the start, the Sparse and Hybrid Galerkin methods are "post-facto." They require building the full hierarchy first, meaning the setup phase itself doesn't see a speedup (and may even be slightly slower).
  • Heuristic Tuning: While the adaptive method helps, choosing the initial "drop tolerance" ($\gamma$) still requires some trial and error or domain expertise.
  • Future Directions: The authors suggest further exploring how these techniques could be integrated into other multigrid variants, like smoothed aggregation, and refining the adaptive triggers to be even more efficient.

Summary updated

BibTeX
@article{bienz2016reducing,
  author = {Amanda Bienz and Robert D. Falgout and William Gropp and Luke N. Olson and Jacob B. Schroder},
  title = {{Reducing Parallel Communication in Algebraic Multigrid through Sparsification}},
  journal = {SIAM J. Sci. Comput.},
  year = {2016},
  url = {https://openreview.net/forum?id=wMmKPkKV7g},
}
Figure