Optimal Implicit Bias in Linear Regression

Kanumuri Nithin Varma, Babak Hassibi · DOI

In modern machine learning, models are frequently built with far more parameters than data points. In this "over-parameterized" regime, a model can fit training data perfectly in infinitely many ways. The specific solution an algorithm selects is determined by its implicit bias—the hidden preference for certain solutions over others.

A recent study by K Nithin Varma and Babak Hassibi from Caltech, titled "Optimal Implicit Bias in Linear Regression," provides a rigorous mathematical framework to determine the best possible implicit bias for generalization.

The Challenge of Over-parameterization

When the number of parameters ($n$) exceeds the number of data points ($m$), the training loss surface contains a "flat" bottom with infinitely many global minima. Standard algorithms like Stochastic Gradient Descent (SGD) naturally gravitate toward the solution with the smallest $\ell_2$ norm. While this is the industry standard, empirical evidence suggests that different biases (such as $\ell_1$ or $\ell_{10}$ norms) can perform significantly better or worse depending on the specific dataset.

Empirical test accuracy on CIFAR-10 using ResNet-18 with different SMD potential functions, showing how implicit bias affects performance.

The researchers sought to move beyond trial-and-error by addressing three core questions:

  1. Can we precisely predict the generalization error for any convex implicit bias?
  2. Is there a fundamental lower bound on this error?
  3. Can we construct an "optimal" bias function that achieves that lower bound?

Methodology: Mirror Descent and Asymptotics

The authors focus on Mirror Descent (MD) and its stochastic variant (SMD). MD is a generalized optimization framework where updates are governed by a "potential function" $\Psi$. By selecting $\Psi$, one explicitly chooses the implicit bias of the learner.

To analyze performance, the study employs high-dimensional asymptotics, examining the behavior as the number of features and data points both approach infinity at a fixed ratio. The primary analytical tool is the Convex Gaussian Minimax Theorem (CGMT), which reduces complex high-dimensional optimization problems into a simpler system of scalar non-linear equations. Crucially, the optimal bias is characterized not just through variance, but through the Fisher Information of the underlying signal's distribution.

Key Insights and Results

The research yields several fundamental insights into the nature of generalization:

  • The Fisher Information Connection: The quality of a bias is intrinsically tied to the distribution of the true parameters. The optimal potential function is related to the log-density of the signal convolved with Gaussian noise.
  • $\ell_2$ Sub-optimality: SGD (with $\ell_2$ bias) is only optimal when the underlying signal is Gaussian and the data is isotropic. For sparse signals, other potentials are significantly superior.
  • The Tension of Overfitting: The paper quantifies the trade-off where increasing the data-to-parameter ratio ($\delta$) helps recover the signal but also amplifies noise due to the requirement of perfect interpolation.
Comparison of theoretical excess risk (dashed lines) and experimental Mirror Descent results (markers) across different signal priors (Sparse Gaussian, Rademacher, and Gaussian).

Numerical validation shows a near-perfect match between the derived theoretical "sharp" limits and actual experimental runs of Mirror Descent. For sparse signals at high Signal-to-Noise Ratios (SNR), an $\ell_1$-like bias is superior. However, as noise increases, the optimal bias shifts back toward an $\ell_2$ (Euclidean) norm.

Limitations and Future Directions

While groundbreaking, the study's core results are currently limited to linear regression. Although the authors discuss the Neural Tangent Kernel (NTK) as a bridge to deep learning, the theory does not yet fully account for the dynamic feature learning present in non-linear networks. Furthermore, the proofs rely on Gaussian assumptions for features and noise. Future work may extend this framework to classification problems, non-separable potentials, and non-asymptotic (finite-sample) regimes.

Summary updated

BibTeX
@inproceedings{varma2025optimal,
  author = {Kanumuri Nithin Varma and Babak Hassibi},
  title = {{Optimal Implicit Bias in Linear Regression}},
  booktitle = {OPT @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=aaBQ8kVlhX},
}
Figure