Introduction
Kernel methods, such as Gaussian Process regression and Support Vector Machines, are staples of machine learning. However, they suffer from a major scalability bottleneck: they typically require $O(n^3)$ time to solve and $O(n^2)$ space to store the kernel matrix for $n$ data points.
To handle large datasets, researchers rely on approximation techniques, which generally fall into two camps:
- Data-adaptive methods (e.g., Nyström): These analyze the data to pick the best "landmark" points. They are highly accurate but hard to parallelize and slow to compute for massive datasets.
- Data-oblivious methods (e.g., Random Fourier Features): These use random sampling independent of the data. They are fast and easy to parallelize but often require a much larger number of features to reach the same accuracy as adaptive methods.
This paper addresses a long-standing open question: Can an oblivious method match the performance of adaptive methods for common kernels like the Gaussian kernel? The authors answer this affirmatively, introducing the first "oblivious" sketching method for Gaussian and Cauchy kernels that matches the efficiency of data-dependent methods.
Methods: Bounding Leverage Scores
The key to solving this scalability issue lies in understanding "statistical leverage scores"—a measure of how much a function can "spike" at a specific location. Until now, these scores were only well-understood for uniform distributions. The authors bridge the gap between approximation theory and kernel learning through several key theoretical and algorithmic steps.
First, they prove explicit upper bounds for the leverage scores of $s$-sparse Fourier functions (sums of $s$ complex exponentials) under Gaussian and Laplace probability measures. This involves complex mathematical tools like Turán’s lemma and concentration properties of exponential sums.
By bounding these scores, the authors essentially create a "sampling map" that tells the algorithm where it needs to pay the most attention without ever having to look at the specific data points.
Building on this, they propose a Modified Random Fourier Features (RFF) algorithm. Standard RFF samples frequencies from the Fourier transform of the kernel. The modified version samples frequencies proportional to their newly derived leverage score bounds, ensuring that "important" high frequencies are sampled more aggressively. To achieve optimal dimensionality, they employ a Two-Step Sketching process: they first use their modified RFF to create an initial embedding, and then apply a standard oblivious random projection (like a Johnson-Lindenstrauss transform) to compress the features down to the "statistical dimension" ($s_\lambda$) of the kernel matrix.
Datasets and Empirical Validation
The paper evaluates the proposed method using both synthetic and real-world data. A primary real-world benchmark is the Slovakia Precipitation Data, a Geographic Information System (GIS) dataset containing annual precipitation levels at $n = 196,000$ locations.
Using a subset of 6,400 training samples to perform Gaussian Process regression, the authors demonstrate the practical efficacy of their approach on spatial data. Synthetic datasets are also used to empirically estimate leverage scores and compare spectral norm errors and eigenvalue approximations against classical RFF.
Key Insights and Results
- Aggressive High-Frequency Sampling: A major insight is that classical RFF under-samples high frequencies. The leverage score bounds show that to capture the "spiky" parts of the function space (the small eigenvalues of the kernel matrix), one must sample higher frequencies more often than the kernel's Fourier transform would suggest.
- Spectral Approximation: Most RFF methods aim for low entry-wise error in the kernel matrix. This paper targets spectral approximation, a much stronger guarantee ensuring the approximate matrix behaves like the original in downstream tasks.
- Near-Optimal Complexity: For 1D data, the method uses $m = O(s_\lambda \log s_\lambda / \epsilon^2)$ features, matching the theoretical lower bounds for adaptive methods.
- Superior Preconditioning: In experiments on the Slovakia dataset, the modified RFF method converged significantly faster than classical RFF when used as a preconditioner for Conjugate Gradient (CG) solvers.
- Small Eigenvalue Accuracy: The method provides a much better approximation of the small eigenvalues of the kernel matrix. While classical RFF might have lower total spectral norm error, the modified method is far superior for tasks where the "tail" of the spectrum matters, such as ridge regression.
Limitations and Future Work
While groundbreaking, the work has limitations. The theoretical bounds are currently proven for one-dimensional data. Although the authors successfully apply the method to 2D GIS data using spherical symmetry, the theoretical guarantees likely degrade exponentially as the number of dimensions ($d$) increases (the "curse of dimensionality").
Additionally, the authors note a $\sqrt{s}$ gap in the Gaussian bound, suggesting that even tighter bounds might be possible. Finally, the current work is tailored to Gaussian and Laplace distributions; extending this to a wider variety of data distributions would require deriving new leverage score bounds for those specific cases.
Summary updated