Skip to main content
QUICK REVIEW

[Paper Review] Bayes-optimal Learning of Deep Random Networks of Extensive-width

Hugo Cui, Florent Krząkała|arXiv (Cornell University)|Feb 1, 2023
Machine Learning and AlgorithmsComputer Science6 citations
TL;DR

This paper derives a closed-form expression for the Bayes-optimal test error in deep, extensive-width random neural networks with Gaussian inputs, using a novel Gaussian Equivalence Property (GEP) conjecture. It shows that ridge and kernel regression achieve Bayes-optimality in the linearly growing sample regime, while neural networks surpass these methods when samples grow faster than dimension, demonstrating their superiority in overparametrized settings.

ABSTRACT

We consider the problem of learning a target function corresponding to a deep, extensive-width, non-linear neural network with random Gaussian weights. We consider the asymptotic limit where the number of samples, the input dimension and the network width are proportionally large. We propose a closed-form expression for the Bayes-optimal test error, for regression and classification tasks. We further compute closed-form expressions for the test errors of ridge regression, kernel and random features regression. We find, in particular, that optimally regularized ridge regression, as well as kernel regression, achieve Bayes-optimal performances, while the logistic loss yields a near-optimal test error for classification. We further show numerically that when the number of samples grows faster than the dimension, ridge and kernel methods become suboptimal, while neural networks achieve test error close to zero from quadratically many samples.

Motivation & Objective

  • To characterize the information-theoretically minimal test error (Bayes-optimal error) for deep, extensive-width random neural networks with Gaussian inputs.
  • To determine whether standard Empirical Risk Minimization (ERM) methods like ridge and kernel regression can achieve this Bayes-optimal error.
  • To investigate the performance gap between linear methods and neural networks when the number of samples grows faster than the input dimension.
  • To establish a theoretical foundation for understanding generalization in deep learning via the deep Bayes Gaussian Equivalence Property (GEP).

Proposed method

  • Proposes the deep Bayes Gaussian Equivalence Property (GEP) conjecture, linking the output statistics of deep random networks to a Gaussian process under Bayesian inference.
  • Derives closed-form expressions for the Bayes-optimal test error in regression and classification using statistical mechanics and asymptotic analysis in the proportional regime (n ∝ d).
  • Applies the replica method and cavity method to compute the asymptotic test error for ridge, kernel, and random features regression.
  • Uses saddle-point equations and moment-matching techniques to characterize the generalization error of ridge and logistic regression in the high-dimensional limit.
  • Performs numerical simulations to explore the regime where n grows faster than d, beyond the applicability of the GEP.
  • Relies on the equivalence between Bayesian inference and kernel methods in the infinite-width limit, extended here to extensive-width networks.
Figure 1: (solid lines) Theoretical predition for the Bayes MSE ( 12 ), for a one-hidden layer rectangular neural network ( $\gamma_{1}=1$ ) with shifted ReLU activation $\sigma_{1}(\cdot)=(\cdot)_{+}-\nicefrac{{1}}{{\sqrt{2\pi}}}$ . (red crosses) Monte Carlo simulations using the Gibbs sampling alg
Figure 1: (solid lines) Theoretical predition for the Bayes MSE ( 12 ), for a one-hidden layer rectangular neural network ( $\gamma_{1}=1$ ) with shifted ReLU activation $\sigma_{1}(\cdot)=(\cdot)_{+}-\nicefrac{{1}}{{\sqrt{2\pi}}}$ . (red crosses) Monte Carlo simulations using the Gibbs sampling alg

Experimental results

Research questions

  • RQ1What is the asymptotic Bayes-optimal test error for a deep random neural network with extensive width and Gaussian inputs?
  • RQ2Can ridge and kernel regression achieve the Bayes-optimal error in the proportional regime (n ∝ d) for such networks?
  • RQ3How does the performance of ridge and kernel methods compare to gradient-trained neural networks when n grows faster than d?
  • RQ4What is the role of the deep Bayes Gaussian Equivalence Property (GEP) in enabling the derivation of closed-form error expressions?
  • RQ5Does logistic regression achieve near-optimal performance in classification tasks with deep random networks?

Key findings

  • The Bayes-optimal test error for regression is achieved by optimally regularized ridge and kernel regression, with a closed-form expression derived for the optimal regularization parameter.
  • For classification, ridge and logistic regression yield test errors that are close to, but not equal to, the Bayes-optimal error, indicating near-optimality.
  • In the regime where the number of samples grows faster than the input dimension (n ≫ d), ridge and kernel methods become suboptimal, while gradient-trained neural networks achieve test error close to zero.
  • The deep Bayes Gaussian Equivalence Property (GEP) is conjectured to hold asymptotically in the proportional regime and is foundational to deriving the closed-form error expressions.
  • Numerical results confirm that neural networks significantly outperform linear methods in overparametrized settings, highlighting their inductive bias advantage.
  • The study establishes that linear estimators cannot learn more than the linear component of the target extensive-width network from linearly many samples, under Gaussian input assumptions.
Figure 2: Targets ( 1 ) with $L=1$ (top) and $L=2$ (bottom) hidden layers , with $\sigma_{1,2}(x)=\tanh(2x)$ activation, widths $k_{1,2}=700$ , and $\Delta_{a}=\Delta_{1,2}=1,~{}\Delta=0$ , in dimension $d=500$ . The Bayes-optimal MSE ( 12 ) (dashed black) is contrasted to the replica predictions an
Figure 2: Targets ( 1 ) with $L=1$ (top) and $L=2$ (bottom) hidden layers , with $\sigma_{1,2}(x)=\tanh(2x)$ activation, widths $k_{1,2}=700$ , and $\Delta_{a}=\Delta_{1,2}=1,~{}\Delta=0$ , in dimension $d=500$ . The Bayes-optimal MSE ( 12 ) (dashed black) is contrasted to the replica predictions an

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.