[Paper Review] Generalization error in high-dimensional perceptrons: Approaching Bayes error with convex optimization
This paper derives a precise formula for the generalization error of $ \ell_2$-regularized convex classifiers in high-dimensional linear classification, showing that logistic and hinge regression can nearly achieve Bayes-optimal performance as the sample-to-feature ratio $\alpha = n/d \to \infty$. It further designs an optimal, non-convex loss and regularizer that provably match Bayes-optimal error rates via a variational approach grounded in statistical physics and state evolution.
We consider a commonly studied supervised classification of a synthetic dataset whose labels are generated by feeding a one-layer neural network with random iid inputs. We study the generalization performances of standard classifiers in the high-dimensional regime where $α=n/d$ is kept finite in the limit of a high dimension $d$ and number of samples $n$. Our contribution is three-fold: First, we prove a formula for the generalization error achieved by $\ell_2$ regularized classifiers that minimize a convex loss. This formula was first obtained by the heuristic replica method of statistical physics. Secondly, focussing on commonly used loss functions and optimizing the $\ell_2$ regularization strength, we observe that while ridge regression performance is poor, logistic and hinge regression are surprisingly able to approach the Bayes-optimal generalization error extremely closely. As $α o \infty$ they lead to Bayes-optimal rates, a fact that does not follow from predictions of margin-based generalization error bounds. Third, we design an optimal loss and regularizer that provably leads to Bayes-optimal generalization error.
Motivation & Objective
- To derive a rigorous formula for the generalization error of $ \ell_2$-regularized convex classifiers in the high-dimensional limit ($n/d = \alpha$ finite, $d \to \infty$).
- To evaluate the performance of standard convex losses (logistic, hinge, squared) under $ \ell_2$ regularization and compare them to Bayes-optimal error rates.
- To design an optimal loss and regularizer that provably achieve Bayes-optimal generalization error in the high-dimensional perceptron model.
- To demonstrate that margin-based generalization bounds fail to predict the near-optimal performance of logistic and hinge regression in this setting.
Proposed method
- Uses the replica method from statistical physics to derive a closed-form expression for generalization error in the high-dimensional limit.
- Applies state evolution of the approximate message passing (GAMP) algorithm to characterize the asymptotic behavior of the estimator and the posterior variance.
- Derives the optimal loss and regularizer via a variational formulation involving Moreau-Yosida regularization and the inverse of the posterior precision.
- Relies on the concentration of measure in high dimensions to justify the use of deterministic fixed-point equations for the variances $q_b$ and $\hat{q}_b$.
- Employs the Moreau-Yosida identity to invert the regularization term and construct the optimal regularizer $r^{\rm opt}$ from the posterior partition function.
- Validates the theoretical predictions numerically using L-BFGS-B optimization on finite-dimensional instances ($d = 10^3$), showing near-perfect agreement with theory.
Experimental results
Research questions
- RQ1Can a rigorous formula be derived for the generalization error of $ \ell_2$-regularized convex classifiers in high-dimensional linear classification?
- RQ2Why do logistic and hinge regression achieve near-Bayes-optimal performance despite failing to satisfy standard margin-based generalization bounds?
- RQ3What is the optimal loss and regularizer that provably achieve Bayes-optimal generalization error in this setting?
- RQ4How does the performance of standard convex losses compare to the Bayes-optimal rate as $\alpha \to \infty$?
Key findings
- The generalization error of $ \ell_2$-regularized convex classifiers is precisely characterized by a formula derived via the replica method and confirmed by state evolution.
- Logistic and hinge regression achieve generalization error that approaches the Bayes-optimal rate arbitrarily closely as $\alpha \to \infty$, despite being bounded by margin-based bounds.
- Ridge regression performs poorly, indicating that the choice of loss function is critical for achieving near-optimal performance.
- An optimal loss $l^{\rm opt}$ and regularizer $r^{\rm opt}$ are explicitly constructed using the posterior partition function and Moreau-Yosida inversion, which provably achieve Bayes-optimality.
- Numerical simulations with $d = 10^3$ confirm that ERM with the optimal loss and regularizer matches the Bayes-optimal error rate, with negligible error bars.
- The optimal loss $l^{\rm opt}$ is non-convex but appears quasi-convex, suggesting that non-convexity does not prevent convergence to optimal performance in this setting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.