[Paper Review] Fast Randomized Kernel Methods With Statistical Guarantees
This paper introduces a fast randomized kernel method for kernel ridge regression that reduces sampling complexity to the effective dimensionality $d_{\text{eff}}$ by using a novel variant of statistical leverage scores. By computing coarse approximations to these scores in $O(np^2)$ time, the method achieves improved statistical guarantees with fewer columns than prior approaches that depend on maximal degrees of freedom $d_{\text{mof}}$, often resulting in $d_{\text{eff}} \ll d_{\text{mof}}$. The approach enables faster computation and tighter generalization bounds while maintaining near-optimal prediction performance.
One approach to improving the running time of kernel-based machine learning methods is to build a small sketch of the input and use it in lieu of the full kernel matrix in the machine learning task of interest. Here, we describe a version of this approach that comes with running time guarantees as well as improved guarantees on its statistical performance. By extending the notion of \emph{statistical leverage scores} to the setting of kernel ridge regression, our main statistical result is to identify an importance sampling distribution that reduces the size of the sketch (i.e., the required number of columns to be sampled) to the \emph{effective dimensionality} of the problem. This quantity is often much smaller than previous bounds that depend on the \emph{maximal degrees of freedom}. Our main algorithmic result is to present a fast algorithm to compute approximations to these scores. This algorithm runs in time that is linear in the number of samples---more precisely, the running time is $O(np^2)$, where the parameter $p$ depends only on the trace of the kernel matrix and the regularization parameter---and it can be applied to the matrix of feature vectors, without having to form the full kernel matrix. This is obtained via a variant of length-squared sampling that we adapt to the kernel setting in a way that is of independent interest. Lastly, we provide empirical results illustrating our theory, and we discuss how this new notion of the statistical leverage of a data point captures in a fine way the difficulty of the original statistical learning problem.
Motivation & Objective
- To reduce the sampling complexity of Nyström-based kernel approximation below the maximal degrees of freedom $d_{\text{mof}}$, which is the state-of-the-art bound.
- To introduce a new notion of $\lambda$-ridge leverage scores tailored to kernel ridge regression that better reflect the statistical difficulty of learning.
- To develop a fast algorithm for computing coarse approximations to these leverage scores in $O(np^2)$ time, where $p$ depends only on the trace of the kernel matrix and regularization parameter.
- To demonstrate that sampling $O(d_{\text{eff}}/\epsilon)$ columns with this distribution yields $1+\epsilon$ statistical performance guarantees, improving upon uniform sampling.
Proposed method
- Define a new variant of statistical leverage scores—$\lambda$-ridge leverage scores—for kernel ridge regression, derived from the projection matrix of the regularized kernel matrix.
- Show that the number of columns needed for Nyström approximation can be bounded by $d_{\text{eff}} = \mathrm{Tr}(K(K + n\lambda I)^{-1})$, which is always $\leq d_{\text{mof}}$, and often significantly smaller.
- Propose a fast algorithm based on squared length sampling adapted to the kernel setting, computing approximations to the $\lambda$-ridge leverage scores in $O(np^2)$ time.
- Use the approximated leverage scores as a non-uniform sampling distribution to select columns for Nyström approximation, improving approximation quality and reducing required sample size.
- Establish theoretical guarantees showing that the resulting low-rank approximation achieves $1+\epsilon$ relative error in prediction risk compared to the full kernel matrix.
- Validate the method empirically on synthetic and real datasets, demonstrating that $d_{\text{eff}} \ll d_{\text{mof}}$ and that risk ratios are close to 1 even with $p = O(d_{\text{eff}})$
Experimental results
Research questions
- RQ1Can the sampling complexity of Nyström approximation in kernel ridge regression be reduced below the maximal degrees of freedom $d_{\text{mof}}$?
- RQ2Is there a statistical leverage-like quantity in kernel ridge regression that better captures the intrinsic dimensionality of the learning problem than existing measures?
- RQ3Can such a leverage score be computed efficiently in time linear in the number of samples, without incurring high computational overhead?
- RQ4Does using this new leverage score as a sampling distribution lead to improved statistical performance guarantees compared to uniform sampling?
- RQ5Is the effective dimensionality $d_{\text{eff}}$ a tight lower bound on the number of columns required for accurate Nyström approximation?
Key findings
- The proposed method achieves $1+\epsilon$ statistical performance guarantees using only $O(d_{\text{eff}}/\epsilon)$ columns, significantly improving upon the $O(d_{\text{mof}}/\epsilon)$ bound from Bach (2013) when $d_{\text{eff}} \ll d_{\text{mof}}$.
- Empirical results show that $d_{\text{eff}}$ is often much smaller than $d_{\text{mof}}$, with ratios up to $d_{\text{eff}}/d_{\text{mof}} \approx 0.048$ in the RBF kernel on the Pumadyn dataset.
- For all tested datasets, the risk ratio $\mathcal{R}(\hat{f}_L)/\mathcal{R}(\hat{f}_K)$ remained within 1.01–1.10 of the full kernel performance when $p = 2d_{\text{eff}}$, confirming theoretical guarantees.
- The algorithm computes approximated $\lambda$-ridge leverage scores in $O(np^2)$ time, with $p$ depending only on the trace of the kernel matrix and regularization parameter, making it scalable.
- In the synthetic Bernoulli dataset, the $\lambda$-ridge leverage scores successfully identified underrepresented regions (e.g., center of interval), demonstrating their ability to detect structurally important points.
- For the RBF kernel on Pumadyn and Gas Sensor datasets, the method achieved risk ratios of 0.99–1.00 with $p = d_{\text{eff}}$, indicating near-optimal performance with minimal sampling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.