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

An O(N) distributed-memory parallel direct solver for planar integral equations

Tianyu Liang, Chao Chen, Per‐Gunnar Martinsson, George Biros · DOI

Introduction

Boundary value problems involving elliptic partial differential equations (PDEs), such as the Laplace and Helmholtz equations, are fundamental to physics and engineering. These problems are often reformulated as integral equations to become more mathematically tractable. However, this shift introduces a significant computational hurdle: solving the large, dense linear systems that arise upon discretization.

Traditionally, researchers have faced a trade-off. Iterative solvers, like those using the Fast Multipole Method (FMM), are fast and memory-efficient but struggle with ill-conditioned matrices or problems requiring solutions for many different right-hand sides. Direct solvers are robust and efficient for multiple inputs but historically suffer from $O(N^3)$ complexity, making them impractical for large-scale applications.

This paper introduces a distributed-memory parallel algorithm based on "strong recursive skeletonization factorization" (RS-S). This solver achieves $O(N)$ linear complexity, allowing it to handle dense systems with up to one billion unknowns in under five minutes.

Algorithmic Framework

Hierarchical Decomposition

The core of the solver is the hierarchical partitioning of the 2D domain. Using a quad-tree structure, the algorithm recursively divides the space into smaller boxes. This hierarchy allows the solver to process interactions at different scales, which is essential for maintaining linear complexity.

Hierarchical quad-tree decomposition of a 2D domain.

Strong Recursive Skeletonization

The "skeletonization" process identifies a small subset of points—skeletons—that can represent the interactions of a larger group of redundant points within a specified accuracy. By using Interpolative Decomposition (ID), the algorithm eliminates these redundant degrees of freedom at each level of the tree. As the algorithm moves up the quad-tree, skeletons from child boxes are merged and re-skeletonized.

The Proxy Method

To perform low-rank compression efficiently, the algorithm employs the "proxy method." Rather than considering the entire distant field to compress a specific block, the solver uses a "proxy circle" of points. This drastically reduces the computational overhead of the compression step while maintaining high accuracy.

Illustration of the proxy method for low-rank compression using a proxy circle.

Parallel Strategy

To enable distributed-memory execution, the authors implemented a 4-color parallel strategy on the process grid. This scheme ensures that processes working simultaneously on boundary boxes are sufficiently separated, preventing data contention and minimizing communication overhead. The implementation was developed in Julia, utilizing DistributedArrays.jl for cross-node memory management.

Numerical Experiments and Results

The solver was evaluated using Laplace and Helmholtz kernels on the Perlmutter supercomputer, utilizing up to 1,024 CPU nodes. The Helmholtz tests focused on the Lippmann-Schwinger equation, a challenging case for iterative methods.

Key findings include:

  • Scalability: The solver successfully factorized a system with approximately 1 billion unknowns ($N = 32,768^2$) in roughly 200 seconds for the Laplace problem.
  • Linear Complexity: Weak scaling tests confirmed the theoretical $O(N)$ complexity, with timing curves remaining nearly flat as the problem size grew in proportion to the number of processors.
  • Robustness: The direct solver proved highly effective for the Helmholtz equation, maintaining efficiency even as the frequency increased—a scenario where iterative methods often fail.
  • Preconditioning: Even at lower precision, the direct solver serves as an excellent preconditioner, keeping the number of iterations required for final convergence nearly constant regardless of problem size.

Discussion and Future Directions

The most significant insight from this work is that communication in this parallel direct solver remains largely local, despite the underlying matrix being dense. Each process primarily communicates with its immediate neighbors in the grid.

While highly effective for 2D planar domains, extending this approach to 3D presents challenges. The "rank" of off-diagonal blocks increases in 3D, which typically leads to $O(N^{1.5})$ or $O(N^2)$ complexity. Future research will focus on "super-compression" techniques to maintain linear complexity in 3D and adapting the solver for more complex geometries and highly oscillatory kernels.

Summary updated

BibTeX
@misc{liang2023o,
  author = {Tianyu Liang and Chao Chen and Per‐Gunnar Martinsson and George Biros},
  title = {{An O(N) distributed-memory parallel direct solver for planar integral equations}},
  year = {2023},
  eprint = {2310.15458},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.15458},
}
Figure