TL;DR
Conventional wisdom suggests that feeding a machine learning model more data—especially while tuning regularization to perfection—should steadily lower your test error. This paper proves that even in simple, finite-dimensional linear regression, optimal ridge regularization can still take you on a rollercoaster ride: in $d$ dimensions, adding more data can cause the test error to spike and dip at least $d - 1$ separate times.
What Problem Does This Paper Address?
You have probably heard of "double descent," where increasing a model's size or feeding it more data actually makes its generalization error worse before making it better. A natural follow-up question in statistical learning has been: can we smooth out these weird sample-wise bumps simply by applying optimal regularization?
In many settings—like isotropic Gaussian data or infinite-dimensional asymptotic limits (where sample size $n$ and dimension $d$ grow to infinity together)—optimal ridge regularization completely cures double descent, restoring a nice, monotonically decreasing error curve. However, Nakkiran et al. previously found a tiny crack in this armor: a specific 2D linear model where even optimally tuned ridge regression briefly gets worse as you go from 1 to 2 data points.
Bochkov and Noskov ask the logical next question: in finite dimensions $d$, just how wild can this generalization curve get under optimal regularization? Is one bump the limit, or can the error oscillate over and over as we collect more data?
Methods
To show how bumpy the ride can get, the authors build a clever constructive proof using standard ridge regression (linear regression with an $\ell_2$ penalty parameter $\lambda \ge 0$, tuned optimally for every sample size $n$).
What is novel here is both the data distribution they engineer in $\mathbb{R}^d$ and the proxy technique used to analyze it:
- The Engineered Distribution: Most of the time (with probability $1 - \varepsilon$), the model observes clean, noiseless data aligned with the true signal direction ($\mathbf{e}_1$). Very rarely (with probability $\varepsilon / (d-1)$ each), the data lands along one of the remaining $d - 1$ orthogonal basis directions. These rare directions carry zero true signal, pure Rademacher ($\pm 1$) label noise, and sit at vastly separated geometric scales: as $k$ goes from $2$ to $d$, the feature length $\alpha_k$ grows exponentially while the noise amplitude $A_k$ shrinks.
- Uniform Risk Proxy: Because the exact optimal regularizer $\lambda_n^{\text{opt}}$ has no closed-form equation, analyzing it directly is a nightmare. Instead, the authors derive a leading-order mathematical proxy $\Phi(n, \lambda)$ that uniformly approximates the true finite-sample excess risk when rare events are sparse. By analyzing the risk as a function of the proxy's minimizer $\widetilde{\lambda}(n)$—which increases strictly monotonically with $n$—they can pinpoint the exact sample sizes where peaks and valleys occur.
Datasets
This is a purely theoretical study, so no empirical or real-world benchmark datasets are used. For numerical verification, the authors evaluate their synthetic categorical-Rademacher probability distribution in dimensions $d \in \{3, 4, 5\}$. Because rare events happen with probabilities as tiny as $\varepsilon \approx 2.47 \times 10^{-11}$, standard Monte Carlo sampling becomes computationally intractable at large sample sizes, so they also evaluate exact finite-sample expectations by conditioning on multinomial coordinate counts.
Key Insights and Ideas
- A Tug-of-War Over a Single Scalar Knob: This isn't a cheat where $d-1$ independent models are glued together. Every coordinate shares a single scalar regularization knob $\lambda$. As sample size $n$ grows, the optimal $\lambda$ increases and sweeps past the separated spectral scales ($\alpha_k^2$) one by one. Each crossing forces a global rebalancing of bias and variance across all directions, triggering a distinct spike in test error.
- Finite Dimensions Hide What Asymptotics Erase: Standard high-dimensional asymptotics ($n, d \to \infty$ at a fixed ratio) smooth out these discrete spectral transitions and predict monotone risk curves under standard regularity assumptions. Working strictly in finite dimensions reveals complex behaviors that infinite limits miss.
- Analyzing via $\lambda$ Beats Analyzing via $n$: Even without a closed form for the optimal regularizer, proving that the proxy regularizer $\widetilde{\lambda}(n)$ grows monotonically with $n$ lets you use $\widetilde{\lambda}$ itself as a "clock" to track phase transitions in the inverse sample covariance matrix.
Key Results
The main theoretical result (Theorem 1) proves that for every dimension $d \ge 2$, there exist distribution parameters such that the optimally regularized excess risk exhibits at least $d - 1$ separated local maxima as a function of sample size $n$.
Numerical experiments bring this theorem to life:
- Setting scale separation $W = 300$ for dimensions $d = 3, 4, 5$, the exact finite-sample risk curves exhibit 2, 3, and 4 distinct local maxima, respectively, lining up neatly with the sample sizes where the proxy regularizer crosses each spectral scale $\alpha_k^2$.
- Testing convergence by shrinking $\varepsilon$ in factors of 10 shows the maximum relative gap between the true finite-sample risk and the theoretical proxy dropping from 86.8% to 24.6% to 2.3% uniformly across $d = 3, 4, 5$. When $\varepsilon$ is too large, the rare directions aren't rare enough, and the final peak vanishes.
- Perturbing the regularizer by $0.5\times$ or $2\times$ changes peak heights and valley depths, but the $d - 1$ peaks persist—confirming multiple descent isn't a brittle quirk of exact optimization.
Limitations and Future Work
- Engineered Worst-Case Design: This is an existence proof, not a claim that everyday datasets behave this way. It relies on extreme scale separation (the formal proof uses $W \ge d300^d$, though $W = 300$ works visually).
- Dependent Noise: While the noise $\xi_i$ has conditional mean zero given the features $\mathbf{X}_i$—a standard textbook assumption—it is not statistically independent of $\mathbf{X}_i$ (there is no noise along $\mathbf{e}_1$, and scaled noise along rare directions). Whether $d - 1$ peaks can happen with strictly independent noise ($\xi_i \perp \mathbf{X}_i$) remains an open question, as independent noise couples bump amplitudes to rare-event probabilities.
- Exact Upper Bounds & True Monotonicity: $d - 1$ is a constructive lower bound; the maximum possible number of peaks in $\mathbb{R}^d$ is still unknown. Furthermore, the authors only proved monotonicity for their proxy regularizer $\widetilde{\lambda}(n)$, leaving open the broader question of when the exact optimal regularizer $\lambda_n^{\text{opt}}$ is guaranteed to increase monotonically with sample size.
Summary updated