Error Analysis of Generalized Nyström Kernel Regression

Hong Chen, Haifeng Xia, Heng Huang, Weidong CaiNeurIPS 2016

The Bottleneck in Kernel Ridge Regression

Kernel Ridge Regression (KRR) is a powerful and widely used tool for non-linear machine learning. However, it suffers from a massive computational bottleneck: its complexity scales as $O(n^3)$, where $n$ is the number of data points. To bypass this, researchers frequently rely on the Nyström method, which approximates the large kernel matrix using a small subset of $m$ columns, drastically reducing computational overhead.

While highly effective, existing theoretical guarantees for the Nyström method rely heavily on the assumption that the kernel is a "Mercer kernel"—meaning it must be symmetric and positive semi-definite (SPSD). This allows the method to be analyzed within a Reproducing Kernel Hilbert Space (RKHS). In practice, however, many effective kernels (such as indefinite kernels) do not meet these strict requirements.

This paper bridges that gap by introducing Generalized Nyström Kernel Regression (GNKR), providing robust error analysis for Nyström regression without relying on RKHS properties, and introducing a smarter sampling strategy for generalized kernels.

Generalized Nyström Kernel Regression (GNKR)

To extend the Nyström method to a broader class of kernels (requiring only continuity and boundedness), the authors introduce several key technical shifts:

  1. Coefficient Regularization: Instead of regularizing the function norm in an RKHS (which might not exist for indefinite kernels), GNKR applies $\ell_2$ regularization directly to the linear coefficients of the kernel expansion.
  2. Reduced Hypothesis Space: The solution is restricted to a space spanned by $m$ sampled kernel basis functions, where $m \ll n$.
  3. Column-Norm Subsampling (CS): Rather than picking columns at random (Uniform Subsampling, or US), the authors introduce a strategy where columns are sampled with a probability proportional to their squared $\ell_2$ norm. This serves as a computationally "cheap" proxy for leverage scores, capturing the "influence" of a data point without the $O(n^3)$ cost of exact matrix inversions.

To prove generalization bounds without an RKHS, the researchers utilize integral operators and "stepping stone" functions to decompose the error into approximation error and sample error, ultimately proving that GNKR can achieve fast learning rates of $O(m^{-1})$.

Experimental Validation: Synthetic Datasets

The authors evaluated GNKR on synthetic functions with varying properties—smooth, non-continuous, and highly oscillatory—to test how different kernels handle diverse data shapes. They compared the standard Gaussian kernel (G-GNKR) against the indefinite Epanechnikov kernel (E-GNKR).

RMSE comparison on synthetic functions for Gaussian (G) and Epanechnikov (E) kernels using Uniform (US) and Column-norm (CS) sampling.

The results highlight a significant insight: indefinite kernels can win. The Epanechnikov kernel often outperformed the standard Gaussian kernel, particularly on non-smooth (e.g., the sign function, $f_3$) or highly oscillatory data ($f_4$). This empirically justifies the need for a "generalized" theory that supports non-SPSD kernels.

Experimental Validation: Real-World Datasets

To test scalability, GNKR was deployed on several real-world benchmarks, including Wine Quality, CASP (Protein Tertiary Structure, ~45k instances), Census-house (~22k instances), and the massive Year Prediction MSD dataset (~515k instances).

RMSE comparison on real-world datasets across different subsample sizes.

On the Year Prediction MSD dataset, GNKR achieved stable and low Root Mean Squared Error (RMSE) using only 1,000 sampled columns, demonstrating massive computational savings. Furthermore, across almost all tests, Column-norm Subsampling (CS) yielded lower RMSE than Uniform Subsampling (US). This proves that the "smart" sampling approach is highly effective and worth the minimal extra computational overhead.

Key Takeaways and Future Work

The most significant takeaway from this research is that the Nyström method's success is not strictly tied to the Mercer condition. As long as a kernel is continuous and bounded, practitioners can still obtain strong theoretical guarantees and fast convergence rates.

While the paper successfully establishes a fast learning rate for GNKR, the authors note that finding the absolute optimal theoretical bound remains an open challenge. Additionally, while calculating column norms is an efficient $O(nm)$ operation, optimizing this further for truly massive datasets (perhaps using sketching or stochastic approximations) presents an exciting avenue for future research. Finally, the framework currently analyzes a given kernel; future work could explore how to automatically select the best generalized kernel for a specific dataset.

Summary updated

BibTeX
@inproceedings{chen2016error,
  author = {Hong Chen and Haifeng Xia and Heng Huang and Weidong Cai},
  title = {{Error Analysis of Generalized Nyström Kernel Regression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2016},
  url = {https://openreview.net/forum?id=Hy-GduZuWS},
}
Figure