Skip to main content
QUICK REVIEW

[Paper Review] Learning curves for deep structured Gaussian feature models

Jacob A. Zavatone-Veth, Cengiz Pehlevan|arXiv (Cornell University)|Mar 1, 2023
Gaussian Processes and Bayesian InferenceComputer Science4 citations
TL;DR

This paper derives learning curves for deep linear random feature models with structured Gaussian weights using the replica method from statistical physics. It shows that weight anisotropy in the first layer can improve generalization, while structure in deeper layers is generally detrimental, with scaling laws invariant under power-law weight spectra. The results extend to Bayesian estimators, where prior variance can enable beneficial structure.

ABSTRACT

In recent years, significant attention in deep learning theory has been devoted to analyzing when models that interpolate their training data can still generalize well to unseen examples. Many insights have been gained from studying models with multiple layers of Gaussian random features, for which one can compute precise generalization asymptotics. However, few works have considered the effect of weight anisotropy; most assume that the random features are generated using independent and identically distributed Gaussian weights, and allow only for structure in the input data. Here, we use the replica trick from statistical physics to derive learning curves for models with many layers of structured Gaussian features. We show that allowing correlations between the rows of the first layer of features can aid generalization, while structure in later layers is generally detrimental. Our results shed light on how weight structure affects generalization in a simple class of solvable models.

Motivation & Objective

  • To understand how weight anisotropy—specifically correlations between rows of the first-layer weight matrix—affects generalization in deep random feature models.
  • To extend existing Gaussian equivalence theorems, which assume i.i.d. weights, to models with structured weight distributions.
  • To investigate whether correlations in deeper layers degrade or enhance generalization in ridgeless and Bayesian estimators.
  • To derive asymptotic generalization error expressions for deep linear RFMs with arbitrary weight covariance structures using the replica trick.
  • To examine the robustness of scaling laws under power-law spectra in both weights and data, relevant to real-world deep learning.

Proposed method

  • Uses the replica method from statistical mechanics to compute asymptotic generalization error in deep linear random feature models with structured Gaussian weights.
  • Derives generalization error expansions in the ridgeless limit by analyzing the spectrum of the feature kernel, incorporating weight covariance statistics.
  • Applies Gaussian equivalence principles to connect nonlinear RFMs to linear models with effective noise, enabling analytical tractability.
  • Derives perturbative expansions in inverse width (αℓ) to express generalization error as a series in 1/αℓ, capturing the effect of weight anisotropy.
  • Extends results to the Bayesian Gibbs estimator by incorporating thermal variance terms and prior hyperparameters.
  • Uses spectral statistics of matrix Gaussian ensembles to compute expectations over singular values of weight matrices, such as E[σ̃ℓ] and E[σ̃ℓ²].

Experimental results

Research questions

  • RQ1Does introducing correlations in the first-layer weight matrix improve generalization in deep linear random feature models?
  • RQ2How does weight structure in hidden layers beyond the first affect generalization performance in the ridgeless limit?
  • RQ3Are scaling laws of generalization robust to changes in the power-law exponents of weight and data spectra?
  • RQ4Can weight anisotropy be beneficial under Bayesian estimation, and if so, under what conditions?
  • RQ5To what extent do the asymptotic generalization error expressions derived via the replica method hold for structured weight distributions beyond i.i.d. Gaussians?

Key findings

  • Weight anisotropy in the first layer—specifically, correlations between rows of the first-layer weight matrix—can improve generalization by reducing the effective kernel norm.
  • Structure in deeper layers (L ≥ 2) is generally detrimental to generalization in the ridgeless limit, as it increases the effective kernel norm and generalization error.
  • The asymptotic scaling of generalization error with dataset size and network width remains unchanged under power-law spectra in weights and data, indicating robustness to spectral structure.
  • For the Bayesian Gibbs estimator, a sufficiently large prior variance can make weight anisotropy beneficial, suggesting a role for priors in enabling representation learning.
  • The generalization error expansion in inverse width (1/αℓ) shows that first-layer anisotropy contributes a 1/α₁ term that modifies the leading-order error, while deeper layers contribute similarly but with negative impact.
  • The derived expressions for generalization error in both ridgeless and Bayesian settings are exact in the asymptotic limit and depend explicitly on the spectral moments of the weight matrices.

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.