Generalization Error of Generalized Linear Models in High Dimensions

Melikasadat Emami, Mojtaba Sahraee-Ardakan, Parthe Pandit, Sundeep Rangan, Alyson K. Fletcher

In classical statistics, a foundational rule of thumb is that adding too many parameters to a model leads to overfitting, typically visualized as a "U-shaped" error curve. However, modern deep learning frequently defies this logic. Practitioners often find that highly "over-parameterized" models actually perform better. This paradox has led to the widespread observation of the double descent phenomenon: as model complexity grows, test error decreases, increases to a peak, and then surprisingly decreases again.

While empirical evidence for double descent is abundant, a unified theoretical understanding has historically been lacking. Most existing mathematical proofs only cover highly specific cases, such as simple linear regression with squared error. This research bridges that gap by providing a rigorous, general mathematical framework to exactly predict the generalization error of Generalized Linear Models (GLMs) in high-dimensional settings.

A Unified Analytical Framework

The researchers developed a framework capable of handling non-linearities (both in data generation and modeling), diverse loss functions (like logistic loss for classification), and distributional mismatch (where test data differs from training data).

To achieve this, the authors analyze models in the Large System Limit (LSL), a regime where the number of features ($p$) and training samples ($N$) both approach infinity, but their ratio remains constant.

The analytical "engine" driving this framework is Multi-Layer Vector Approximate Message Passing (ML-VAMP). The authors cleverly reframe the standard machine learning optimization problem—minimizing loss plus regularization—as an inference problem on a multi-layer network.

The key technical breakthrough lies in the use of State Evolution (SE) equations. These deterministic, recursive formulas track the error of the VAMP algorithm. The authors prove that the fixed points of these SE equations exactly describe the asymptotic generalization error of the model, regardless of whether an algorithm like SGD or Adam was used to find the solution.

Key Insights and Empirical Validation

To validate their theoretical predictions, the authors utilized synthetic datasets with Gaussian features, allowing for precise control over variables like feature correlation and train-test distribution mismatch.

1. Linear Regression and the Double Descent Peak

The framework analytically confirms that the "peak" in the double descent curve occurs exactly at the interpolation boundary (where the number of samples $N$ roughly equals the number of features $p$). This proves that double descent is not merely a quirk of linear regression, but a fundamental property of GLMs.

Test MSE vs. Sample Ratio showing the double descent peak.

Interestingly, the paper reveals that in over-parameterized regimes, having correlated features can actually reduce test error. Because the signal is concentrated in a smaller, more manageable subspace, the model can generalize better than it would with purely independent features.

2. Logistic Regression and Classification

The theory extends seamlessly to classification tasks. For logistic regression, the State Evolution equations exactly matched the classification error rates across different sampling ratios.

Test error vs. Sample Ratio for Logistic Regression.

Across all tested regimes—from under-parameterized to highly over-parameterized—the quantitative plots demonstrate that the theoretical State Evolution (SE) predictions and the empirical simulated data points overlap almost perfectly.

3. Algorithm Independence and Non-Convexity

A major takeaway is that for convex problems, generalization error depends solely on the final solution's stationary point, not the optimization path taken to reach it. This means the VAMP-based theory applies directly to models trained with standard libraries like PyTorch or Scikit-learn. Furthermore, unlike many previous theories, this framework successfully predicts outcomes for non-convex problems, such as regression using a tanh activation function, where SE predictions and ADAM optimizer results were nearly identical.

Limitations and Future Directions

While powerful, the current proof relies on the assumption that input features are Gaussian. Real-world data, such as images or text, is much more structured, making the extension to "manifold" data a logical next step.

Additionally, while GLMs are highly expressive, they are essentially single-layer neural networks. However, the authors suggest that the multi-layer nature of the ML-VAMP framework provides a promising roadmap for extending this exact generalization analysis to deep, multi-layer neural architectures in the future.

Summary updated

BibTeX
@inproceedings{emami2020generalization,
  author = {Melikasadat Emami and Mojtaba Sahraee-Ardakan and Parthe Pandit and Sundeep Rangan and Alyson K. Fletcher},
  title = {{Generalization Error of Generalized Linear Models in High Dimensions}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=a7_ZADp4Xj8},
}
Figure