Skip to main content
QUICK REVIEW

[Paper Review] Phase Transitions for Feature Learning in Neural Networks

Andrea Montanari, Zihao Wang|arXiv (Cornell University)|Feb 1, 2026
Stochastic Gradient Optimization TechniquesComputer Science0 citations
TL;DR

The paper analyzes gradient descent dynamics of two-layer networks in high dimensions and identifies a spectral phase transition in the Hessian that governs feature learning of hard latent directions, yielding a computable threshold δNN for when neural nets learn features beyond easy directions.

ABSTRACT

According to a popular viewpoint, neural networks learn from data by first identifying low-dimensional representations, and subsequently fitting the best model in this space. Recent works provide a formalization of this phenomenon when learning multi-index models. In this setting, we are given $n$ i.i.d. pairs $({\boldsymbol x}_i,y_i)$, where the covariate vectors ${\boldsymbol x}_i\in\mathbb{R}^d$ are isotropic, and responses $y_i$ only depend on ${\boldsymbol x}_i$ through a $k$-dimensional projection ${\boldsymbol Θ}_*^{\sf T}{\boldsymbol x}_i$. Feature learning amounts to learning the latent space spanned by ${\boldsymbol Θ}_*$. In this context, we study the gradient descent dynamics of two-layer neural networks under the proportional asymptotics $n,d o\infty$, $n/d oδ$, while the dimension of the latent space $k$ and the number of hidden neurons $m$ are kept fixed. Earlier work establishes that feature learning via polynomial-time algorithms is possible if $δ> δ_{ ext{alg}}$, for $δ_{ ext{alg}}$ a threshold depending on the data distribution, and is impossible (within a certain class of algorithms) below $δ_{ ext{alg}}$. Here we derive an analogous threshold $δ_{ ext{NN}}$ for two-layer networks. Our characterization of $δ_{ ext{NN}}$ opens the way to study the dependence of learning dynamics on the network architecture and training algorithm. The threshold $δ_{ ext{NN}}$ is determined by the following scenario. Training first visits points for which the gradient of the empirical risk is large and learns the directions spanned by these gradients. Then the gradient becomes smaller and the dynamics becomes dominated by negative directions of the Hessian. The threshold $δ_{ ext{NN}}$ corresponds to a phase transition in the spectrum of the Hessian in this second phase.

Motivation & Objective

  • Explain how gradient descent learns low-dimensional latent structure in multi-index models under proportional asymptotics.
  • Characterize the spectral phase transition in the Hessian during GD that enables learning of hard latent directions.
  • Provide a computable threshold δNN that separates regimes with and without feature learning for two-layer networks.
  • Connect the theory to phenomena such as grokking and the dependence on activation, loss, initialization, and network width.

Proposed method

  • Model a two-layer neural network with fixed readout and train only the first-layer weights under full-batch gradient descent.
  • Use proportional asymptotics n, d → ∞ with n/d → δ and fixed latent dimension k and network width m.
  • Decompose the latent space into an easy subspace and a hard subspace via the hard subspace UH and easy subspace UE.
  • Analyze the Hessian of the empirical risk along the gradient descent trajectory and derive a resolvent-based description of outlier eigenvalues.
  • Show that for δ above a computable δNN(t) the Hessian has a negative outlier eigenvalue aligned with the hard subspace, signaling feature learning.
  • Provide results for both the case m = 1 and m ≫ 1, with a block-structured Hessian approximation.

Experimental results

Research questions

  • RQ1Does a standard two-layer neural network learn weakly or strongly the hard latent directions above algorithmic thresholds, and how does this depend on architecture and training setup?
  • RQ2What is the mechanism by which gradient descent traverses the loss landscape to learn hard directions, and can this be captured by a spectral phase transition in the Hessian?
  • RQ3How can one quantify the threshold δNN that governs feature learning, and how does it relate to data, activation, loss, initialization, and width?
  • RQ4Can the learning dynamics and grokking phenomenon be explained by the emergence of negative Hessian eigenvalues aligned with hard directions?
  • RQ5How do results differ between narrow and wide networks (m = 1 vs m ≫ 1) in terms of the Hessian spectrum and learning thresholds?

Key findings

  • Hard directions are not learned in O(1) gradient steps; Θ(t) remains asymptotically orthogonal to the hard subspace UH for any fixed t.
  • The Hessian along the gradient trajectory exhibits a spectral phase transition: above δNN, negative outlier eigenvalues aligned with UH appear, enabling feature learning.
  • The overall feature-learning threshold is δNN = min_j δ∗_j, determined by the outlier emergence in the Hessian blocks, with δ∗_j depending on loss, activation, initialization, and learning details.
  • The easy subspace UE is learnable in O(1) iterations regardless of δ, while hard directions require sufficient samples (δ > δNN) to emerge informative eigenvectors.
  • Grokking behavior emerges for δ > δNN, with the time to generalization error drop increasing as δ ↓ δNN, due to vanishing spectral gap.
  • The results provide a rigorous, explicit framework to study how target function, loss, activation, width, and initialization affect feature-learning thresholds.
  • Numerical experiments with GeLU and phase retrieval settings corroborate the predicted δNN and its relation to grokking.

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.