ASKIT: Approximate Skeletonization Kernel-Independent Treecode in High Dimensions

William B. March, Bo Xiao, George Biros · DOI

Abstract

We present a fast algorithm for kernel summation problems in high dimensions. Such problems appear in computational physics, numerical approximation, nonparametric statistics, and machine learning. In our context, the sums depend on a kernel function that is a pair potential defined on a dataset of points in a high-dimensional Euclidean space. A direct evaluation of the sum scales quadratically with the number of points. Fast kernel summation methods can reduce this cost to linear complexity, but the constants involved do not scale well with the dimensionality of the dataset. The main algorithmic components of fast kernel summation algorithms are the separation of the kernel sum between near and far field (which is the basis for pruning) and the efficient and accurate approximation of the far field. We introduce novel methods for pruning and for approximating the far field. Our far field approximation requires only kernel evaluations and does not use analytic expansions. Pruning is not done using bounding boxes but rather combinatorially using a sparsified nearest-neighbor graph of the input distribution. The time complexity of our algorithm depends linearly on the ambient dimension. The error in the algorithm depends on the low-rank approximability of the far field, which in turn depends on the kernel function and on the intrinsic dimensionality of the distribution of the points. The error of the far field approximation does not depend on the ambient dimension. We present the new algorithm along with experimental results that demonstrate its performance. As a highlight, we report results for Gaussian kernel sums for 100 million points in 64 dimensions, for one million points in 1000 dimensions, and for problems in which the Gaussian kernel has a variable bandwidth. To the best of our knowledge, all of these experiments are prohibitively expensive with existing fast kernel summation methods.

Introduction

Kernel summation is a fundamental operation in machine learning, statistics, and physics, involving the calculation of pairwise interactions between points in a dataset. For $N$ points, a brute-force calculation requires $O(N^2)$ operations, which becomes computationally intractable for large datasets. While Fast Multipole Methods (FMM) and treecodes reduce this complexity to $O(N)$ or $O(N \log N)$, they often struggle in high-dimensional spaces due to the "curse of dimensionality."

Traditional methods rely on distance-based pruning (using bounding boxes) and analytic expansions (like Taylor series). In high dimensions, bounding boxes overlap excessively, and analytic expansions scale poorly. ASKIT (Approximate Skeletonization Kernel-Independent Treecode) addresses these challenges through combinatorial pruning and algebraic skeletonization.

The ASKIT Algorithm

ASKIT utilizes a tree-based structure to recursively decompose the kernel sum. The core logic is defined by a pruning criterion that determines whether a cluster of source points can be approximated or must be evaluated directly.

Algorithm 2.1: The ASKIT Treecode logic.

Unlike traditional treecodes that use spatial bounding boxes, ASKIT employs Neighbor Pruning. It constructs a nearest-neighbor graph; a cluster is pruned (approximated) only if it contains none of the target point's nearest neighbors. This combinatorial approach allows the algorithm to adapt to the data's geometry rather than the ambient space.

Algebraic Skeletonization

To approximate the far-field influence of a cluster, ASKIT uses Approximate Skeletonization (Interpolative Decomposition). Instead of complex analytic expansions, it identifies a small subset of points—the "skeleton"—that can represent the entire cluster's contribution. This makes the method "kernel-independent," as it only requires kernel evaluations.

Comparison of far-field approximation methods: (a) Analytic, (b) Semi-Analytic, and (c) Algebraic (Skeletonization).

As shown in the comparison above, analytic methods (a) often rely on a single expansion point, while algebraic skeletonization (c) selects representative points from within the cluster itself. This approach is particularly effective when the data has a low intrinsic dimensionality, even if the ambient dimension is high.

Key Results and Scaling

ASKIT has demonstrated remarkable performance across various high-dimensional datasets:

  • High-Dimensional Scaling: Achieved a 20x speedup on 1000D synthetic data with 4D intrinsic dimension.
  • Real-World Data: Provided a 25x speedup on the 5-million-point SUSY dataset (18D).
  • Extreme Scale: Successfully processed 100 million points in 64 dimensions, achieving up to 2000x speedup in distributed environments.

Conclusion

ASKIT effectively breaks the curse of dimensionality for kernel summations by leveraging the intrinsic geometry of data. By replacing analytic expansions with algebraic skeletonization and spatial pruning with combinatorial neighbor pruning, it enables the processing of massive datasets in hundreds of dimensions that were previously considered computationally impossible.

Summary updated

BibTeX
@inproceedings{march2015askit,
  author = {William B. March and Bo Xiao and George Biros},
  title = {{ASKIT: Approximate Skeletonization Kernel-Independent Treecode in High Dimensions}},
  booktitle = {SIAM},
  year = {2015},
  doi = {10.1137/140989546},
}
Figure