Introduction
In modern machine learning, models often operate in the overparameterized regime, where the number of parameters exceeds the number of data points. Despite the lack of explicit penalties like weight decay, these models generalize remarkably well. This success is largely attributed to implicit regularization, where the optimization algorithm itself—such as Gradient Descent (GD) or Stochastic Gradient Descent (SGD)—biases the model toward simpler, better-generalizing solutions.
While classical minimax theory often treats these methods as equivalent in the worst case, this work provides a more granular, instance-wise comparison. By analyzing specific linear regression problems, the authors determine which algorithm yields the lowest risk, comparing three primary optimization strategies: Ridge Regression (explicit $\ell_2$ penalty), Gradient Descent (implicit regularization via early stopping), and Stochastic Gradient Descent (implicit regularization via step-size and averaging).
Methodology
The study employs a rigorous mathematical analysis of finite-sample excess risk for well-specified linear regression problems. The authors derive new "ridge-type" and "SGD-type" upper bounds for GD, facilitating a direct head-to-head comparison. To establish strict dominance, they construct "hard" problem instances based on the covariance spectrum of the data.
A central component of the analysis is the categorization of problems based on two primary factors:
- Capacity Condition: This describes the decay rate of the eigenvalues of the data's covariance matrix ($\Sigma$).
- Source Condition: This characterizes how the true signal ($w^*$) is distributed across these eigenvalues, often parameterized by $r$.
By using these conditions, the authors can define specific problem classes, such as the $(a, r)$-power law class, to test the limits of each algorithm.
Instance-wise Dominance and Implicit Regularization
A key finding is that GD's implicit regularization is fundamentally more robust than the explicit $\ell_2$ penalty of Ridge regression. Theorem 3.2 formally establishes that for any problem in the defined Bayesian class, there exists a stopping time for GD that performs at least as well as Ridge regression with any regularization parameter $\lambda$. For every well-specified linear regression problem, GD's risk is within a constant factor of Ridge's risk.
Conversely, Ridge can be polynomially worse than GD. This is primarily due to the "saturation effect," where Ridge regression fails to take full advantage of very "smooth" signals (high $r$ values). GD, by contrast, does not saturate and continues to improve as the problem becomes better-behaved.
Furthermore, the relationship between GD and SGD is nuanced. While GD generally performs well, SGD can be polynomially superior in cases of "benign overfitting," where noise is concentrated in the tail of the spectrum. However, under the condition of fast and continuously decaying spectra—common in learning theory—GD is guaranteed to dominate SGD.
Minimax Optimality and Spectral Analysis
The authors evaluate these algorithms within the $(a, r)$-power law class, where eigenvalues decay as $i^{-a}$ and the signal relates to the spectrum via parameter $r$. The results highlight the limitations of explicit regularization. Ridge regression is only minimax optimal for $r \le 1$; beyond this point, its error rate degrades significantly compared to the optimal rate. In contrast, GD remains minimax optimal for all source conditions ($r \ge 0$).
The analysis also reveals a "batch vs. online" gap. While GD is shown to be minimax optimal across all $r$, SGD's optimality is restricted to a specific regime where $0 < (a - 1)/(2a) \le r$. This further underscores the superiority of GD in settings with fast-decaying spectra.
Conclusion and Future Work
This research establishes that implicit regularization in Gradient Descent is strictly more powerful than explicit $\ell_2$ regularization in linear regression. While the current analysis is limited to linear models and specific data distribution assumptions, it provides a foundational framework for understanding why optimization algorithms generalize so effectively in practice.
Future work will aim to address several limitations:
- Non-convexity: Extending these instance-wise comparisons to non-convex settings like neural networks remains a major challenge.
- Constant Factors: Refining the analysis to achieve sharper constant factors using tools from random matrix theory.
- Data Reuse: Investigating multi-epoch SGD, which is more common in practice than the one-pass SGD analyzed here.
By moving beyond worst-case minimax analysis to instance-wise comparisons, this work offers a deeper understanding of the mechanisms driving generalization in modern machine learning.
Summary updated