Abstract
We study the problem of learning an unknown function using random feature models. Our main contribution is an exact asymptotic analysis of such learning problems with Gaussian data. Under mild regularity conditions for the feature matrix, we provide an exact characterization of the asymptotic training and generalization errors, valid in both the under-parameterized and over-parameterized regimes. The analysis presented in this paper holds for general families of feature matrices, activation functions, and convex loss functions. Numerical results validate our theoretical predictions, showing that our asymptotic findings are in excellent agreement with the actual performance of the considered learning problem, even in moderate dimensions. Moreover, they reveal an important role played by the regularization, the loss function and the activation function in the mitigation of the "double descent phenomenon" in learning.
Introduction
In modern machine learning, models are frequently over-parameterized, containing far more parameters than available data points. While traditional statistical theory suggests this should lead to overfitting, empirical evidence shows that these models often generalize remarkably well—a phenomenon known as "double descent." This paper provides a rigorous mathematical framework to precisely predict the training and generalization performance of random feature models, where the first layer is fixed and random, and only the second layer is trained.
Theoretical Framework
The authors employ two primary theoretical tools to achieve an exact asymptotic characterization:
- Uniform Gaussian Equivalence Conjecture (uGEC): This posits that in high dimensions, complex random feature distributions can be replaced by simpler, statistically equivalent Gaussian models.
- Convex Gaussian Min-Max Theorem (CGMT): This core analytical tool transforms high-dimensional stochastic optimization problems into much simpler, four-dimensional deterministic optimization problems.
By solving this low-dimensional "scalar" problem, the authors derive exact formulas for training and generalization errors as the number of samples ($m$), data dimension ($n$), and number of features ($k$) grow to infinity at fixed ratios. The theory is validated against synthetic Gaussian datasets using a teacher-student setup.
Results and Discussion
The central result of the paper is an explicit deterministic limit for both training and generalization errors. Numerical simulations show near-perfect agreement with these theoretical predictions, even at moderate dimensions ($n=400$).
The Double Descent Phenomenon
The analysis precisely identifies the "interpolation threshold"—the point where the number of features matches the number of samples. At this point, training error hits zero and generalization error typically peaks. As shown in the figure below, the generalization error follows a U-shaped curve in the under-parameterized regime, peaks at the threshold, and then decreases as the model becomes increasingly over-parameterized.
Mitigation through Regularization and Model Choice
A key insight is that the double descent peak is not inevitable. Proper regularization ($\lambda$) can effectively "smooth out" the peak, preventing the generalization error from exploding at the interpolation threshold.
Furthermore, the choice of activation function (e.g., ReLU vs. SoftPlus) and loss function (e.g., Hinge vs. Logistic) significantly impacts performance. For instance, the peak for binary classification occurs at a different model complexity ($\eta \approx 0.4$) compared to linear regression ($\eta = 1$), a nuance captured perfectly by the proposed theory.
Conclusion
This work provides a rigorous foundation for understanding the performance of random feature models in high dimensions. While the results strongly support the uGEC, a full proof remains an open challenge. Future work will focus on extending this analysis to non-Gaussian data and fully trained multi-layer networks.
Summary updated