`N-Body' Problems in Statistical Learning

Alexander Gray, Andrew Moore

2000 · 249 citations · 11 references

Concepts

TL;DR

N‑body problems in statistical learning involve pairwise comparisons of all N points, a naive O(N²) task that becomes infeasible for large N and for which no more efficient exact algorithms are known. The paper develops efficient, geometry‑based algorithms for N‑body problems in statistical learning and extends them to more complex generalizations. The authors employ novel geometric techniques to accelerate six representative N‑body tasks—nearest‑neighbor, kernel density, outlier detection, two‑point correlation—and extend them to multiple‑ and n‑point correlations. The algorithms achieve asymptotically favorable scaling and run several orders of magnitude faster than naive methods, while producing simple, elegant solutions.

Abstract

We present efficient algorithms for all-point-pairs problems, or 'N-body'- like problems, which are ubiquitous in statistical learning. We focus on six examples, including nearest-neighbor classification, kernel density estimation, outlier detection, and the two-point correlation. These include any problem which abstractly requires a comparison of each of the N points in a dataset with each other point and would naively be solved using N2 distance computations. In practice N is often large enough to make this infeasible. We present a suite of new geometric techniques which are applicable in principle to any 'N-body' computation including large-scale mixtures of Gaussians, RBF neural networks, and HMM's. Our algorithms exhibit favorable asymptotic scaling and are empirically several orders of magnitude faster than the naive computation, even for small datasets. We are aware of no exact algorithms for these problems which are more efficient either empirically or theoretically. In addition, our framework yields simple and elegant algorithms. It also permits two important generalizations beyond the standard all-point-pairs problems, which are more difficult. These are represented by our final examples, the multiple two-point correlation and the notorious n-point correlation.

References

11