Skip to main content
QUICK REVIEW

[Paper Review] Simple and Almost Assumption-Free Out-of-Sample Bound for Random Feature Mapping

Shusen Wang|arXiv (Cornell University)|Sep 24, 2019
Gaussian Processes and Bayesian InferenceComputer Science35 references4 citations
TL;DR

This paper establishes a simple, assumption-free out-of-sample error bound for random feature mapping in kernel ridge regression (RFM-KRR), showing that predictions converge to those of exact KRR at a 1/s rate with only mild, checkable assumptions on the random feature map. The bound is nearly optimal, as confirmed by a matching lower bound and empirical validation across multiple datasets and kernels.

ABSTRACT

Random feature mapping (RFM) is a popular method for speeding up kernel methods at the cost of losing a little accuracy. We study kernel ridge regression with random feature mapping (RFM-KRR) and establish novel out-of-sample error upper and lower bounds. While out-of-sample bounds for RFM-KRR have been established by prior work, this paper's theories are highly interesting for two reasons. On the one hand, our theories are based on weak and valid assumptions. In contrast, the existing theories are based on various uncheckable assumptions, which makes it unclear whether their bounds are the nature of RFM-KRR or simply the consequence of strong assumptions. On the other hand, our analysis is completely based on elementary linear algebra and thereby easy to read and verify. Finally, our experiments lend empirical supports to the theories.

Motivation & Objective

  • To provide a generalization bound for RFM-KRR that does not rely on uncheckable assumptions about data or kernel functions.
  • To establish a tight upper bound on the out-of-sample prediction error of RFM-KRR using only weak, verifiable assumptions on the random feature map.
  • To derive a matching lower bound to demonstrate that the upper bound is nearly optimal.
  • To validate the theoretical findings empirically across multiple datasets and kernel types (RBF, Laplace).
  • To offer a theoretically grounded, elementary linear algebra-based analysis that is easy to verify and understand.

Proposed method

  • The analysis uses elementary linear algebra and random matrix theory to derive an upper bound on the expected squared error between RFM-KRR and exact KRR predictions.
  • The key upper bound is expressed as $ \frac{1}{s} \left\| \mathbf{K}^{1/2} (\mathbf{K} + n\lambda \mathbf{I}_n)^{-1} \mathbf{y} \right\|_2^2 $, where $ s $ is the number of random features.
  • The bound is derived under the assumption that the random feature map is unbiased and bounded, a condition satisfied by popular methods like random Fourier features and random sign features.
  • A lower bound is established that nearly matches the upper bound, indicating the theoretical tightness of the result.
  • Empirical validation involves repeated random feature mappings on real datasets (MSD, Cadata, Cpusmall, Covtype), measuring MSE against $ s $ and comparing to the theoretical bound.
  • The ratio of the theoretical bound to the empirical MSE is computed across varying $ n $ and $ \lambda $, demonstrating tightness.

Experimental results

Research questions

  • RQ1Can a generalization bound for RFM-KRR be derived without relying on strong, uncheckable assumptions about the data or kernel function?
  • RQ2What is the convergence rate of RFM-KRR predictions toward exact KRR predictions in terms of the number of random features $ s $?
  • RQ3Is the proposed upper bound on the out-of-sample error near-optimal?
  • RQ4How tight is the theoretical bound compared to empirical error in real-world datasets?
  • RQ5Can the theoretical analysis be kept simple and based on elementary linear algebra, ensuring readability and verifiability?

Key findings

  • The out-of-sample prediction error of RFM-KRR converges to that of exact KRR at a rate of $ \frac{1}{s} $, as predicted by Theorem 1.
  • The upper bound on the mean squared error is $ \frac{1}{s} \left\| \mathbf{K}^{1/2} (\mathbf{K} + n\lambda \mathbf{I}_n)^{-1} \mathbf{y} \right\|_2^2 $, which is nearly optimal due to a matching lower bound.
  • Empirical results confirm the $ \frac{1}{s} $ convergence rate across multiple datasets and kernel types, with extrapolated bounds closely matching actual MSEs.
  • The theoretical bound does not significantly overestimate the true error, especially when $ \lambda \geq \frac{1}{\sqrt{n}} $, indicating strong tightness.
  • The analysis is based solely on checkable assumptions—specifically, that the random feature map is unbiased and bounded—making the results widely applicable.
  • The entire theoretical framework relies only on elementary linear algebra, enhancing clarity and verifiability compared to prior works using complex random matrix theory.

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.