Skip to main content
QUICK REVIEW

[Paper Review] Random Fourier Features for Kernel Ridge Regression: Approximation Bounds and Statistical Guarantees

Haim Avron, Michael Kapralov|arXiv (Cornell University)|Apr 26, 2018
Sparse and Compressive Sensing TechniquesEngineering17 references27 citations
TL;DR

This paper provides the first spectral approximation analysis of random Fourier features (RFF) for kernel ridge regression (KRR), showing that RFF can provably accelerate KRR under reasonable assumptions. It further demonstrates that sampling from a kernel leverage score-based distribution—rather than uniform random features—yields superior theoretical guarantees, especially for low-dimensional bounded datasets, with a nearly complete characterization for the Gaussian kernel and a proposed efficient sampling scheme that outperforms standard RFF.

ABSTRACT

Random Fourier features is one of the most popular techniques for scaling up kernel methods, such as kernel ridge regression. However, despite impressive empirical results, the statistical properties of random Fourier features are still not well understood. In this paper we take steps toward filling this gap. Specifically, we approach random Fourier features from a spectral matrix approximation point of view, give tight bounds on the number of Fourier features required to achieve a spectral approximation, and show how spectral matrix approximation bounds imply statistical guarantees for kernel ridge regression. Qualitatively, our results are twofold: on the one hand, we show that random Fourier feature approximation can provably speed up kernel ridge regression under reasonable assumptions. At the same time, we show that the method is suboptimal, and sampling from a modified distribution in Fourier space, given by the leverage function of the kernel, yields provably better performance. We study this optimal sampling distribution for the Gaussian kernel, achieving a nearly complete characterization for the case of low-dimensional bounded datasets. Based on this characterization, we propose an efficient sampling scheme with guarantees superior to random Fourier features in this regime.

Motivation & Objective

  • To understand the statistical and algorithmic properties of random Fourier features (RFF) for kernel ridge regression (KRR), which are poorly understood despite strong empirical performance.
  • To analyze RFF from a spectral matrix approximation perspective, focusing on how many features are needed to achieve a spectral approximation of the kernel matrix.
  • To show that RFF can provably speed up KRR under reasonable assumptions, while also identifying its suboptimality.
  • To propose and analyze an improved sampling distribution—based on the kernel's leverage scores—that yields better theoretical performance than standard RFF.
  • To provide a nearly complete characterization of the optimal sampling distribution for the Gaussian kernel in low-dimensional, bounded datasets, leading to a practical and provably superior sampling scheme.

Proposed method

  • The paper analyzes RFF through the lens of spectral matrix approximation, establishing bounds on the number of features required to achieve a spectral approximation of the regularized kernel matrix $\mathbf{K} + \lambda \mathbf{I}$.
  • It derives upper and lower bounds on the number of features $s$ needed to ensure $ (1 - \Delta)(\mathbf{K} + \lambda \mathbf{I}) \preceq \widetilde{\mathbf{K}} + \lambda \mathbf{I} \preceq (1 + \Delta)(\mathbf{K} + \lambda \mathbf{I}) $, which directly implies statistical guarantees for KRR.
  • The method introduces a modified sampling distribution in Fourier space, derived from the leverage function of the kernel, to improve approximation quality.
  • For the Gaussian kernel, the paper provides a nearly complete characterization of the optimal leverage-based sampling distribution in low-dimensional, bounded data regimes.
  • An efficient sampling scheme is proposed based on this characterization, which achieves better spectral approximation and lower estimator risk than standard RFF.
  • Theoretical results are supported by empirical validation on synthetic and real datasets, comparing RFF, the proposed method (MRF), and exact KRR in terms of risk, in-sample error, and condition number.

Experimental results

Research questions

  • RQ1How many random Fourier features are required to achieve a spectral approximation of the regularized kernel matrix in kernel ridge regression?
  • RQ2Can spectral approximation bounds for the kernel matrix be used to derive statistical guarantees for the KRR estimator?
  • RQ3Is standard random Fourier feature sampling suboptimal, and if so, can a better sampling distribution be constructed?
  • RQ4What is the theoretical performance of a sampling scheme based on the kernel's leverage scores, particularly for the Gaussian kernel?
  • RQ5How does the generalized condition number of the regularized kernel matrix relate to estimator quality, and can it predict performance better than entrywise error?

Key findings

  • The paper establishes an upper bound on the number of random Fourier features required to achieve a spectral approximation of the regularized kernel matrix, which in turn ensures statistical guarantees for kernel ridge regression.
  • It proves a matching lower bound for the Gaussian kernel, showing that the upper bound is tight up to logarithmic factors.
  • The proposed method, which samples features according to the kernel's leverage scores (MRF), achieves significantly lower excess risk than standard RFF, even when RFF has better entrywise approximation error.
  • Empirical results show that MRF's risk converges quickly to the exact KRR risk, while RFF's risk stagnates even at $ s > n $, despite better entrywise error.
  • The generalized condition number of the regularized matrix pair $ (\mathbf{K} + \lambda \mathbf{I}, \widetilde{\mathbf{K}} + \lambda \mathbf{I}) $ is a strong predictor of estimator quality, with MRF consistently achieving lower condition numbers than RFF.
  • For the Gaussian kernel on low-dimensional bounded datasets, the paper provides a nearly complete characterization of the optimal leverage-based sampling distribution, enabling a practical and provably superior sampling scheme.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.