Recent advances in machine learning have been achieved by using overparametrized models trained until near interpolation of the training data. It was shown, e.g., through the double descent phenomenon, that the number of parameters is a poor proxy for the model complexity and generalization capabilities. This leaves open the question of understanding the impact of parametrization on the performance of these models. How does model complexity and generalization depend on the number of parameters $p$? How should we choose $p$ relative to the sample size $n$ to achieve optimal test error?
In this paper, we investigate the example of random feature ridge regression (RFRR). This model can be seen either as a finite-rank approximation to kernel ridge regression (KRR), or as a simplified model for neural networks trained in the so-called lazy regime. We consider covariates uniformly distributed on the $d$-dimensional sphere and compute sharp asymptotics for the RFRR test error in the high-dimensional polynomial scaling, where $p,n,d \to \infty$ while $p/ d^{κ_1}$ and $n / d^{κ_2}$ stay constant, for all $κ_1 , κ_2 \in \mathbb{R}_{>0}$. These asymptotics precisely characterize the impact of the number of random features and regularization parameter on the test performance. In particular, RFRR exhibits an intuitive trade-off between approximation and generalization power. For $n = o(p)$, the sample size $n$ is the bottleneck and RFRR achieves the same performance as KRR (which is equivalent to taking $p = \infty$). On the other hand, if $p = o(n)$, the number of random features $p$ is the limiting factor and RFRR test error matches the approximation error of the random feature model class (akin to taking $n = \infty$). Finally, a double descent appears at $n= p$, a phenomenon that was previously only characterized in the linear scaling $κ_1 = κ_2 = 1$.
Asymptotic Optimism of Random-Design Linear and Kernel Regression Models
Department of Statistics, Rice University(里士大学统计系);Lawrence Berkeley National Laboratory(伯克利国家实验室);Amazon(亚马逊公司);Department of Statistics, the Ohio State University(俄亥俄州立大学统计系)
SGD in Multiclass Logistic Regression: Sequential Learning and Scaling Laws
University of Toronto(多伦多大学);Vector Institute(向量研究所);New York University(纽约大学);Flatiron Institute(熨斗研究所);University of British Columbia(不列颠哥伦比亚大学);Numurho
Scaling Law Phenomena Across Regression Paradigms: Multiple and Kernel Approaches
The University of Chicago(芝加哥大学);Guilin University of Electronic Technology(桂林电子科技大学);University of New South Wales(新南威尔士大学);The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);The Simons Institute for the Theory of Computing at UC Berkeley(加州大学伯克利分校西蒙斯理论计算研究所)
The Impact of Feature Scaling In Machine Learning: Effects on Regression and Classification Tasks
Department of Mechanical Engineering, University of São Paulo(机械工程系,圣保罗大学);Department of Electrical and Computer Engineering, University of São Paulo(电气与计算机工程系,圣保罗大学)
Improved Scaling Laws via Weak-to-Strong Generalization in Random Feature Ridge Regression
Institute of Science and Technology Austria (ISTA)(奥地利科学与技术研究所);Department of Applied and Computational Mathematics, Yale University(耶鲁大学应用与计算数学系);Department of Statistics and Data Science, Yale University(耶鲁大学统计与数据科学系)
Asymptotics of Bayesian Uncertainty Estimation in Random Features Regression
Duke University(杜克大学);Max Planck Institute for Mathematics in the Sciences(马克斯·普朗克数学科学研究所);Universität Leipzig(莱比锡大学);Center for Scalable Data Analysis and Artificial Intelligence(可扩展数据分析与人工智能中心)
Scaling and renormalization in high-dimensional regression
Harvard University(哈佛大学);Center for Brain Science(脑科学中心);John A. Paulson School of Engineering and Applied Sciences(约翰·A·保罗森工程与应用科学学院);Kempner Institute for the Study of Natural and Artificial Intelligence(自然与人工智能研究学院)
Scaling Limit: Exact and Tractable Analysis of Online Learning Algorithms with Applications to Regularized Regression and PCA
John A. Paulson School of Engineering and Applied Sciences, Harvard University(哈佛大学约翰·A·保尔森工程与应用科学学院);Department of Mathematics, Duke University(杜克大学数学系)