English

HODLR3D: Hierarchical matrices for $N$-body problems in three dimensions

Numerical Analysis 2023-08-01 v1 Numerical Analysis

Abstract

This article introduces HODLR3D, a class of hierarchical matrices arising out of NN-body problems in three dimensions. HODLR3D relies on the fact that certain off-diagonal matrix sub-blocks arising out of the NN-body problems in three dimensions are numerically low-rank. For the Laplace kernel in 33D, which is widely encountered, we prove that all the off-diagonal matrix sub-blocks are rank deficient in finite precision. We also obtain the growth of the rank as a function of the size of these matrix sub-blocks. For other kernels in three dimensions, we numerically illustrate a similar scaling in rank for the different off-diagonal sub-blocks. We leverage this hierarchical low-rank structure to construct HODLR3D representation, with which we accelerate matrix-vector products. The storage and computational complexity of the HODLR3D matrix-vector product scales almost linearly with system size. We demonstrate the computational performance of HODLR3D representation through various numerical experiments. Further, we explore the performance of the HODLR3D representation on distributed memory systems. HODLR3D, described in this article, is based on a weak admissibility condition. Among the hierarchical matrices with different weak admissibility conditions in 33D, only in HODLR3D did the rank of the admissible off-diagonal blocks not scale with any power of the system size. Thus, the storage and the computational complexity of the HODLR3D matrix-vector product remain tractable for NN-body problems with large system sizes.

Cite

@article{arxiv.2307.16303,
  title  = {HODLR3D: Hierarchical matrices for $N$-body problems in three dimensions},
  author = {V A Kandappan and Vaishnavi Gujjula and Sivaram Ambikasaran},
  journal= {arXiv preprint arXiv:2307.16303},
  year   = {2023}
}

Comments

pre-peer review version

R2 v1 2026-06-28T11:43:54.727Z