Skip to main content
QUICK REVIEW

[Paper Review] Implicit Regularization of Random Feature Models

Arthur Paul Jacot, Berfin Şimşek|arXiv (Cornell University)|Feb 19, 2020
Face and Expression RecognitionComputer Science35 references8 citations
TL;DR

This paper establishes that Random Feature (RF) models with finite features implicitly regularize by effectively increasing the ridge penalty in Kernel Ridge Regression (KRR). Using random matrix theory, it shows the expected RF predictor closely matches a KRR predictor with an effective ridge $\tilde{\lambda} > \lambda$, which decreases monotonically to $\lambda$ as the number of features $P$ increases, revealing a finite-sample implicit regularization effect. The test error of the average RF predictor is empirically and theoretically shown to be nearly identical to that of the $\tilde{\lambda}$-KRR predictor.

ABSTRACT

Random Feature (RF) models are used as efficient parametric approximations of kernel methods. We investigate, by means of random matrix theory, the connection between Gaussian RF models and Kernel Ridge Regression (KRR). For a Gaussian RF model with $P$ features, $N$ data points, and a ridge $λ$, we show that the average (i.e. expected) RF predictor is close to a KRR predictor with an effective ridge $ ildeλ$. We show that $ ildeλ > λ$ and $ ildeλ \searrow λ$ monotonically as $P$ grows, thus revealing the implicit regularization effect of finite RF sampling. We then compare the risk (i.e. test error) of the $ ildeλ$-KRR predictor with the average risk of the $λ$-RF predictor and obtain a precise and explicit bound on their difference. Finally, we empirically find an extremely good agreement between the test errors of the average $λ$-RF predictor and $ ildeλ$-KRR predictor.

Motivation & Objective

  • To understand the generalization behavior of finite Random Feature (RF) models, which are approximations of kernel methods but less understood than their asymptotic counterparts.
  • To investigate how the randomness in feature sampling induces implicit regularization in RF models, particularly in relation to ridge penalty tuning.
  • To formally connect the expected RF predictor to a KRR predictor with an effective ridge parameter $\tilde{\lambda}$, and quantify the resulting generalization error difference.
  • To provide theoretical bounds on the risk difference between the average RF predictor and the corresponding $\tilde{\lambda}$-KRR predictor, and validate them empirically.

Proposed method

  • Uses random matrix theory to analyze the distribution of the RF predictor $\hat{f}^{(RF)}_{\lambda}$ with $P$ i.i.d. Gaussian features and ridge $\lambda$.
  • Derives the expected RF predictor and shows it closely approximates a Kernel Ridge Regression (KRR) predictor with an effective ridge $\tilde{\lambda} > \lambda$, dependent on $P$, $\lambda$, and the data Gram matrix.
  • Establishes that $\tilde{\lambda}$ decreases monotonically toward $\lambda$ as $P$ increases, revealing implicit regularization from finite sampling.
  • Provides explicit bounds on the difference between the expected risk of the $\lambda$-RF predictor and the risk of the $\tilde{\lambda}$-KRR predictor, showing $\mathbb{E}[L(\hat{f}^{(RF)}_{\lambda})] = L(\hat{f}^{(K)}_{\tilde{\lambda}}) + \mathcal{O}(P^{-1})$ under fixed $\gamma = P/N$.
  • Controls the variance of the RF predictor around its mean via bounds on $\mathrm{Var}(\hat{f}^{(RF)}_{\lambda}(x)) \leq \frac{c_3 K(x,x) \|y\|_{K^{-1}}^2}{P}$, showing concentration with $P$.

Experimental results

Research questions

  • RQ1How does the finite sampling of random features affect the generalization performance of RF models?
  • RQ2What is the effective ridge parameter $\tilde{\lambda}$ that the expected RF predictor approximates, and how does it relate to the explicit ridge $\lambda$?
  • RQ3How close is the test error of the average RF predictor to that of the corresponding KRR predictor with effective ridge $\tilde{\lambda}$?
  • RQ4Can the variance of the RF predictor be explicitly bounded in terms of $P$ and data-dependent quantities?
  • RQ5Does the implicit regularization in RF models explain the double-descent behavior observed in modern learning models?

Key findings

  • The expected RF predictor with ridge $\lambda$ is closely approximated by a KRR predictor with an effective ridge $\tilde{\lambda} > \lambda$, which is strictly larger than $\lambda$ for finite $P$.
  • $\tilde{\lambda}$ decreases monotonically to $\lambda$ as the number of features $P$ increases, demonstrating that finite RF sampling induces implicit regularization.
  • The difference in expected test error between the $\lambda$-RF predictor and the $\tilde{\lambda}$-KRR predictor is bounded by $\mathcal{O}(P^{-1})$ under fixed $\gamma = P/N$, with explicit constants depending on $\lambda$, $\gamma$, and data.
  • Empirically, the test errors of the average $\lambda$-RF predictor and the $\tilde{\lambda}$-KRR predictor are found to be extremely close, even for small $P$ and $N$.
  • The variance of the RF predictor is bounded by $\frac{c_3 K(x,x) \|y\|_{K^{-1}}^2}{P}$, showing that the predictor concentrates around its mean as $P$ increases.
  • The results hold without assuming i.i.d. training data, relying only on fixed training data and random feature sampling.

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.