No Free Lunch From Random Feature Ensembles: Scaling Laws and Near-Optimality Conditions

Benjamin S. Ruben, William L. Tong, Hamza Tahir Chaudhry, Cengiz Pehlevan
12/6/2024
cs.LGcond-mat.dis-nnstat.ML

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Given a fixed budget for total model size, one must choose between training a single large model or combining the predictions of multiple smaller models. We investigate this trade-off for ensembles of random-feature ridge regression models in both the overparameterized and underparameterized regimes. Using deterministic equivalent risk estimates, we prove that when a fixed number of parameters is distributed among $K$ independently trained models, the ridge-optimized test risk increases with $K$. Consequently, a single large model achieves optimal performance. We then ask when ensembles can achieve \textit{near}-optimal performance. In the overparameterized regime, we show that, to leading order, the test error depends on ensemble size and model size only through the total feature count, so that overparameterized ensembles consistently achieve near-optimal performance. To understand underparameterized ensembles, we derive scaling laws for the test risk as a function of total parameter count when the ensemble size and parameters per ensemble member are jointly scaled according to a ``growth exponent'' $\ell$. While the optimal error scaling is always achieved by increasing model size with a fixed ensemble size, our analysis identifies conditions on the kernel and task eigenstructure under which near-optimal scaling laws can be obtained by joint scaling of ensemble size and model size.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ruben2024free,
  title  = {No Free Lunch From Random Feature Ensembles: Scaling Laws and Near-Optimality Conditions},
  author = {Benjamin S. Ruben and William L. Tong and Hamza Tahir Chaudhry and Cengiz Pehlevan},
  year   = {2024},
  eprint = {2412.05418},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.05418v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.05418.svg)](https://codeofpaper.com/paper/2412.05418)

Discussion