English

I/O-Optimal Algorithms for Symmetric Linear Algebra Kernels

Distributed, Parallel, and Cluster Computing 2022-02-22 v1

Abstract

In this paper, we consider two fundamental symmetric kernels in linear algebra: the Cholesky factorization and the symmetric rank-kk update (SYRK), with the classical three nested loops algorithms for these kernels. In addition, we consider a machine model with a fast memory of size SS and an unbounded slow memory. In this model, all computations must be performed on operands in fast memory, and the goal is to minimize the amount of communication between slow and fast memories. As the set of computations is fixed by the choice of the algorithm, only the ordering of the computations (the schedule) directly influences the volume of communications.We prove lower bounds of 132N3S\frac{1}{3\sqrt{2}}\frac{N^3}{\sqrt{S}} for the communication volume of the Cholesky factorization of an N×NN\times N symmetric positive definite matrix, and of 12N2MS\frac{1}{\sqrt{2}}\frac{N^2M}{\sqrt{S}} for the SYRK computation of \matA\transpose\matA\mat{A}\cdot\transpose{\mat{A}}, where A\mathbf{A} is an N×MN\times M matrix. Both bounds improve the best known lower bounds from the literature by a factor 2\sqrt{2}.In addition, we present two out-of-core, sequential algorithms with matching communication volume: \TBS for SYRK, with a volume of 12N2MS+\bigoNMlogN\frac{1}{\sqrt{2}}\frac{N^2M}{\sqrt{S}} + \bigo{NM\log N}, and \LBC for Cholesky, with a volume of 132N3S+\bigoN5/2\frac{1}{3\sqrt{2}}\frac{N^3}{\sqrt{S}} + \bigo{N^{5/2}}. Both algorithms improve over the best known algorithms from the literature by a factor 2\sqrt{2}, and prove that the leading terms in our lower bounds cannot be improved further. This work shows that the operational intensity of symmetric kernels like SYRK or Cholesky is intrinsically higher (by a factor 2\sqrt{2}) than that of corresponding non-symmetric kernels (GEMM and LU factorization).

Keywords

Cite

@article{arxiv.2202.10217,
  title  = {I/O-Optimal Algorithms for Symmetric Linear Algebra Kernels},
  author = {Olivier Beaumont and Lionel Eyraud-Dubois and Mathieu Vérité and Julien Langou},
  journal= {arXiv preprint arXiv:2202.10217},
  year   = {2022}
}
R2 v1 2026-06-24T09:47:46.192Z