Abstract
Computing large-scale kernel sums in high dimensions is a fundamental challenge in machine learning, typically constrained by $O(MN)$ complexity. While Random Fourier Features (RFF) is the standard approach for high-dimensional approximation, it suffers from slow convergence and is limited to positive definite kernels. This paper introduces QMC Slicing, a method that combines 1D data projection ("slicing") with Quasi-Monte Carlo (QMC) sequences. By utilizing low-discrepancy designs on the sphere, the proposed method achieves significantly higher accuracy and faster convergence than RFF across a wide range of kernels, including non-positive definite ones.
Introduction
Kernel methods are essential for tasks such as Kernel Density Estimation, Support Vector Machines, and Maximum Mean Discrepancy (MMD) calculations. However, the computational cost of evaluating kernel sums for $N$ data points and $M$ targets scales as $O(MN)$, making large-scale applications prohibitive. Existing approximations like Fast Fourier Summation are restricted to low dimensions, while high-dimensional alternatives like RFF exhibit a slow $O(1/\sqrt{P})$ error decay rate.
Methodology: QMC Slicing
The core of the proposed approach is Slicing, which represents a $d$-dimensional radial kernel as an average of one-dimensional kernel sums. By projecting high-dimensional data onto a set of 1D directions, the problem can be solved efficiently in 1D using the Fast Fourier Transform (FFT).
The innovation lies in the selection of these projection directions. Instead of random sampling (Monte Carlo), the authors employ Quasi-Monte Carlo (QMC) designs on the sphere. Specifically, they propose a Distance QMC Design that minimizes an energy functional to ensure optimal coverage of the sphere. This deterministic approach exploits the smoothness of the kernel functions to provide superior convergence rates.
Key Insights and Convergence
A critical advantage of slicing is its versatility; unlike RFF, it can handle kernels that are not positive definite, such as the negative distance kernel. Furthermore, the authors observed that symmetry in the slicing function allows for even more efficient QMC designs using antipodal points.
In lower dimensions, the method exhibits remarkable performance. For smooth kernels like the Gaussian, QMC slicing can reach machine precision with a relatively small number of projections, far exceeding the capabilities of standard random sampling. As seen in the figure above, spherical designs (marked with '+') achieve errors as low as $10^{-13}$ in 3D.
Experimental Results
The authors evaluated QMC Slicing on several benchmarks, including MNIST, FashionMNIST, and CIFAR10. The results demonstrate that QMC Slicing consistently achieves lower error than RFF or standard random slicing for the same computational budget.
As shown in the comprehensive evaluation across different kernels (Gauss, Matern, Laplace) and dimensions ($d=3, 10, 50$), the QMC-based approaches (Distance slicing and spherical design) maintain a significant lead. While the performance gap narrows in very high dimensions due to integration measure concentration, the method remains highly effective for common machine learning tasks.
Conclusion
QMC Slicing provides a powerful "middle ground" for kernel summation, offering the scalability of high-dimensional methods with the accuracy of Fourier-based techniques. Future work will focus on tightening the theoretical error bounds to match the empirically observed super-convergence and exploring applications in generative modeling via MMD gradient flows.
Summary updated