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

A distributed-memory hierarchical solver for general sparse linear systems

Chao Chen, Hadi Pouransari, Sivasankaran Rajamanickam, Erik G. Boman, Eric Darve

TL;DR

Researchers have developed a new parallel hierarchical solver that bridges the gap between robust-but-heavy direct solvers and fast-but-fickle iterative methods. By exploiting the low-rank structure of matrix "fill-in" and utilizing a clever domain decomposition strategy, this algorithm achieves quasilinear complexity and scales efficiently across distributed-memory supercomputers.

What Problem Does This Paper Address?

Solving large-scale sparse linear systems ($Ax = b$) is the engine room of modern engineering, powering everything from weather forecasting to oil reservoir simulation. Historically, we’ve had two choices:

  1. Sparse Direct Solvers: These are robust but hit a "memory wall." For 3D problems, their memory needs grow at $O(N^{4/3})$ and computational work at $O(N^2)$, making them prohibitively expensive for truly massive datasets.
  2. Iterative Solvers: These are memory-efficient ($O(N)$) but often fail to converge for "difficult" problems, such as indefinite systems or those with high-contrast coefficients.

The authors aim to provide a "third way": a hierarchical solver that maintains the robustness of direct methods while achieving the near-linear scaling of iterative ones, specifically optimized for distributed-memory architectures where communication between processors is the primary bottleneck.

Methods

The paper builds upon a sequential algorithm called LoRaSp (Low-Rank Sparsification). The core innovation lies in how it handles "fill-in"—the new non-zero entries created during Gaussian elimination that usually bloat memory usage.

Key technical components include:

  • Low-Rank Compression: The algorithm recognizes that fill-in blocks are numerically low-rank. It uses Singular Value Decomposition (SVD) to compress these blocks, effectively "sparsifying" the matrix as it factorizes it.
  • $H^2$-Matrix Framework: Unlike older hierarchical solvers, this method uses $H^2$-matrix theory, which provides a more efficient hierarchical structure that scales linearly with problem size.
  • Domain Decomposition for Parallelism: To make this work on a supercomputer, the authors partition the global graph into subdomains. They classify nodes into three tiers:
  • d3 (Interior): Processed locally without any communication.
  • d2 (Neighbors): Require minimal local communication.
  • d1 (Boundary): The "hot zone" where processors must coordinate.
  • Asynchronous Scheduling: Instead of making every processor wait at a "sync point," the algorithm uses a task-based approach. If a processor is waiting for boundary data (d1), it stays busy by processing its interior nodes (d3).

Datasets

The authors evaluated their solver against several challenging benchmarks:

  • Standard PDEs: 3D Poisson, variable-coefficient Poisson (using a difficult "high-contrast random field"), and Helmholtz equations.
  • SuiteSparse Matrix Collection: Real-world matrices from various applications, including:
  • torso3: Electro-physiological model.
  • atmosmodd: Atmospheric modeling.
  • Geo_1438: Geo-mechanical crust deformation.
  • Serena: Gas reservoir simulation.
  • Baseline: They compared their performance against SuperLU-Dist, a state-of-the-art parallel sparse direct solver.

Key Insights and Ideas

  • The "No Level-2 Fill-in" Rule: The most critical insight is that by using low-rank elimination, the algorithm prevents "level-2 fill-in" from ever being created. This mathematical property ensures that communication remains strictly local—processors only ever need to talk to their immediate neighbors or neighbors-of-neighbors.
  • Algebraic Versatility: Unlike Multigrid methods, which often require manual tuning for specific physical problems, this solver is "fully algebraic." It looks at the matrix structure alone, making it a "black-box" tool that works across different disciplines.
  • Volume-to-Surface Efficiency: The computation-to-communication ratio scales with the volume-to-surface-area ratio of the subdomains. As the problem size per processor grows, the relative cost of communication drops, which is the holy grail of parallel computing.

Key Results

  • Scalability: The solver demonstrated excellent weak scaling, achieving an average speedup of 45x on 256 processors when factorizing problems with two million unknowns.
  • Efficiency vs. Direct Solvers: While direct solvers like SuperLU-Dist are faster for small problems, the hierarchical solver takes the lead as the problem size grows. On large real-world matrices from the SuiteSparse collection, the new solver was 1.5x to 4.8x faster than SuperLU-Dist.
  • Complexity: The total time for factorization and solving was observed to scale almost linearly with the number of unknowns, confirming the theoretical quasilinear complexity.

Limitations and Future Work

  • Memory Footprint: The current implementation uses dense-matrix data structures to store sparse blocks for ease of coding. This leads to higher-than-ideal memory consumption. The authors note that moving to truly sparse storage is a priority for future engineering.
  • Coloring Bottleneck: The "coloring" scheme used to manage boundary node concurrency doesn't scale perfectly. As the number of processors increases, the time spent calculating these colors becomes a non-negligible overhead.
  • Thread Parallelism: The current version relies on MPI (distributed memory). The authors plan to implement an "MPI+X" strategy to exploit multi-core thread parallelism (like OpenMP) for even better performance on modern many-core chips.

Summary updated

BibTeX
@inproceedings{chen2018distributed,
  author = {Chao Chen and Hadi Pouransari and Sivasankaran Rajamanickam and Erik G. Boman and Eric Darve},
  title = {{A distributed-memory hierarchical solver for general sparse linear systems}},
  booktitle = {Parallel Comput},
  year = {2018},
  url = {https://openreview.net/forum?id=_Is2YlyU7Z2},
}
Figure