Fast Summation of Radial Kernels via QMC Slicing
Johannes Hertrich, Tim Jahn, Michael Quellmalz
TL;DR
This paper tackles fast computation of large radial kernel sums s_m = \\sum_{n=1}^N w_n K(x_n, y_m) by projecting data onto P directions on the sphere and approximating K via a 1D basis f, enabling fast 1D summations. The core idea, slicing, is enhanced with quasi-Monte Carlo designs on the sphere to improve convergence beyond the standard O(1/\\sqrt{P}) rate, supported by smoothness results and exact variance calculations for several kernels. The authors prove error bounds for uniformly distributed slices and show that certain kernels (Gauss, Laplace, Matérn, Riesz, and thin plate spline) admit dimension-independent or favorable rate bounds, with QMC designs achieving O(P^{-s/(d-1)}) rates in suitable Sobolev spaces. Extensive numerical experiments demonstrate that QMC-slicing substantially outperforms (QMC-)Random Fourier Features, orthogonal Fourier features, and non-QMC slicing on common datasets, particularly in moderate dimensions (d up to ~100) and for smooth kernels. The approach offers a flexible, scalable framework for fast kernel summation, including non-positive definite kernels, with practical impact in kernel methods, MMD flows, and related high-dimensional data analysis tasks.
Abstract
The fast computation of large kernel sums is a challenging task, which arises as a subproblem in any kernel method. We approach the problem by slicing, which relies on random projections to one-dimensional subspaces and fast Fourier summation. We prove bounds for the slicing error and propose a quasi-Monte Carlo (QMC) approach for selecting the projections based on spherical quadrature rules. Numerical examples demonstrate that our QMC-slicing approach significantly outperforms existing methods like (QMC-)random Fourier features, orthogonal Fourier features or non-QMC slicing on standard test datasets.
