English

Efficient and Scalable Kernel Matrix Approximations using Hierarchical Decomposition

Numerical Analysis 2023-11-17 v4 Numerical Analysis

Abstract

With the emergence of Artificial Intelligence, numerical algorithms are moving towards more approximate approaches. For methods such as PCA or diffusion maps, it is necessary to compute eigenvalues of a large matrix, which may also be dense depending on the kernel. A global method, i.e. a method that requires all data points simultaneously, scales with the data dimension N and not with the intrinsic dimension d; the complexity for an exact dense eigendecomposition leads to O(N3)\mathcal{O}(N^{3}). We have combined the two frameworks, datafold\mathsf{datafold} and GOFMM\mathsf{GOFMM}. The first framework computes diffusion maps, where the computational bottleneck is the eigendecomposition while with the second framework we compute the eigendecomposition approximately within the iterative Lanczos method. A hierarchical approximation approach scales roughly with a runtime complexity of O(Nlog(N))\mathcal{O}(Nlog(N)) vs. O(N3)\mathcal{O}(N^{3}) for a classic approach. We evaluate the approach on two benchmark datasets -- scurve and MNIST -- with strong and weak scaling using OpenMP and MPI on dense matrices with maximum size of 100k×100k100k\times100k.

Keywords

Cite

@article{arxiv.2311.06115,
  title  = {Efficient and Scalable Kernel Matrix Approximations using Hierarchical Decomposition},
  author = {Keerthi Gaddameedi and Severin Reiz and Tobias Neckel and Hans-Joachim Bungartz},
  journal= {arXiv preprint arXiv:2311.06115},
  year   = {2023}
}

Comments

* Author one and author two - Equal contribution. Accepted for IC 2023 held in conjunction with the BenchCouncil https://www.benchcouncil.org/ic2023/

R2 v1 2026-06-28T13:17:25.523Z