NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Implicit Regularization of Random Feature Models.

Arthur Jacot, Berfin Simsek, Francesco Spadaro, Clément Hongler, Franck GabrielarXiv 2020

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 $\lambda$, we show that the average (i.e. expected) RF predictor is close to a KRR predictor with an effective ridge $\tilde{\lambda}$. We show that $\tilde{\lambda} > \lambda$ and $\tilde{\lambda} \searrow \lambda$ 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 $\tilde{\lambda}$-KRR predictor with the average risk of the $\lambda$-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 $\lambda$-RF predictor and $\tilde{\lambda}$-KRR predictor.

Introduction

Random Feature (RF) models have become a cornerstone of modern machine learning, offering a scalable way to approximate powerful kernel methods like Gaussian Processes. By mapping input data into a finite-dimensional feature space using random weights, these models allow for efficient linear regression while capturing non-linear patterns. However, a significant theoretical gap has persisted: how does the number of features ($P$) interact with the explicit regularization (the ridge parameter $\lambda$)?

This paper addresses this gap by demonstrating that the act of sampling a finite number of features provides a form of "implicit regularization." Using tools from Random Matrix Theory, specifically the properties of General Wishart Matrices, the authors bridge the gap between finite RF models and their infinite-feature counterparts, Kernel Ridge Regression (KRR).

The Mechanism of Implicit Regularization

The core insight of this work is that a Random Feature model with a ridge $\lambda$ behaves almost identically to a KRR model with an "effective ridge" $\tilde{\lambda}$. This effective ridge accounts for both the explicit regularization $\lambda$ and the implicit regularization induced by the finite sampling of $P$ features. Mathematically, the authors prove that $\tilde{\lambda} > \lambda$, meaning that finite sampling always adds extra regularization to the model.

Predictor distributions for varying feature counts $P$ and ridge parameters $\lambda$.

As shown in the figure above, increasing either the number of features $P$ or the explicit ridge $\lambda$ stabilizes the predictor. In the low-feature regime (e.g., $P=2$), the individual predictors (dashed blue lines) exhibit high variance. As $P$ increases to 100, the variance shrinks, and the predictors converge toward the average predictor (solid black line), which closely matches the KRR solution. This convergence is monotonic: as $P \to \infty$, the implicit regularization effect vanishes, and $\tilde{\lambda}$ converges to $\lambda$.

Empirical Results and the Double Descent Phenomenon

The theoretical framework provides a new perspective on the "double-descent" phenomenon, where test error spikes at the interpolation threshold ($P=N$). The authors show that this peak is driven entirely by the variance introduced by random feature sampling, rather than model bias. In the "ridgeless" case ($\lambda \to 0$), the variance explodes at $P=N$, but the average predictor remains well-behaved.

Evolution of the effective ridge $\tilde{\lambda}$ and comparison of test errors between RF and KRR.

The figure above illustrates two key results. First, the effective ridge $\tilde{\lambda}$ decreases monotonically as the overparameterization ratio $\gamma = P/N$ increases, eventually plateauing at the value of the explicit ridge $\lambda$. Second, there is an "extremely good agreement" between the test errors of the average $\lambda$-RF predictor and the $\tilde{\lambda}$-KRR predictor across various datasets, including MNIST (binary classification of digits 7 and 9) and synthetic sinusoidal data. The curves are virtually indistinguishable, validating the $O(P^{-1})$ theoretical bound on their difference. The authors also demonstrate that these results hold for Random Fourier Features, suggesting the Gaussian feature theory is robust for other popular implementations.

Conclusion

This research clarifies the relationship between Random Feature models and Kernel Ridge Regression. By identifying the effective ridge $\tilde{\lambda}$, the authors provide a precise mathematical explanation for why RF models generalize well even with minimal explicit regularization. This "sampling as regularization" perspective not only explains the mechanics of double-descent but also suggests that ensembling many RF models can be efficiently replaced by a single KRR model with the appropriate effective ridge. Future work remains to extend these proofs beyond the Gaussian feature assumption to more general loss functions and non-Gaussian feature distributions.

Summary updated

BibTeX
@misc{jacot2020implicit,
  author = {Arthur Jacot and Berfin Simsek and Francesco Spadaro and Clément Hongler and Franck Gabriel},
  title = {{Implicit Regularization of Random Feature Models.}},
  year = {2020},
  eprint = {2002.08404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.08404},
}
Figure