Lune

NeurIPS2024Top-tier venue

Bayes-optimal learning of an extensive-width neural network from quadratically many samples

Antoine Maillard, Emanuele Troiani, Simon Martin, Florent Krzakala, Lenka Zdeborová

Abstract

We consider the problem of learning a target function corresponding to a single hidden layer neural network, with a quadratic activation function after the first layer, and random weights. We consider the asymptotic limit where the input dimension and the network width are proportionally large. Recent work [Cui&al '23] established that linear regression provides Bayes-optimal test error to learn such a function when the number of available samples is only linear in the dimension. That work stressed the open challenge of theoretically analyzing the optimal test error in the more interesting regime where the number of samples is quadratic in the dimension. In this paper, we solve this challenge for quadratic activations and derive a closed-form expression for the Bayes-optimal test error. We also provide an algorithm, that we call GAMP-RIE, which combines approximate message passing with rotationally invariant matrix denoising, and that asymptotically achieves the optimal performance. Technically, our result is enabled by establishing a link with recent works on optimal denoising of extensive-rank matrices and on the ellipsoid fitting problem. We further show empirically that, in the absence of noise, randomly-initialized gradient descent seems to sample the space of weights, leading to zero training loss, and averaging over initialization leads to a test error equal to the Bayes-optimal one.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Bayes-optimal Learning of Deep Random Networks of Extensive-width cites Phase retrieval in high dimensions: Statistical and computational phase transitions
  • Scaling Laws and Spectra of Shallow Neural Networks in the Feature Learning Regime cites The Nuclear Route: Sharp Asymptotics of ERM in Overparameterized Quadratic Networks
  • Scaling Laws and Spectra of Shallow Neural Networks in the Feature Learning Regime cites Optimization and Generalization of Shallow Neural Networks with Quadratic Activation Functions
  • Scaling Laws and Spectra of Shallow Neural Networks in the Feature Learning Regime cites Learning quadratic neural networks in high dimensions: SGD dynamics and scaling laws
  • The Benefits of Reusing Batches for Gradient Descent in Two-Layer Networks: Breaking the Curse of Information and Leap Exponents cites Phase retrieval in high dimensions: Statistical and computational phase transitions
  • Bayes optimal learning of attention-indexed models cites Bayes-optimal Learning of Deep Random Networks of Extensive-width
  • The Nuclear Route: Sharp Asymptotics of ERM in Overparameterized Quadratic Networks cites Bayes-optimal Learning of Deep Random Networks of Extensive-width
  • The Nuclear Route: Sharp Asymptotics of ERM in Overparameterized Quadratic Networks cites Phase retrieval in high dimensions: Statistical and computational phase transitions
  • The Nuclear Route: Sharp Asymptotics of ERM in Overparameterized Quadratic Networks cites Universality laws for Gaussian mixtures in generalized linear models
  • The Nuclear Route: Sharp Asymptotics of ERM in Overparameterized Quadratic Networks cites Optimization and Generalization of Shallow Neural Networks with Quadratic Activation Functions
  • Single-Head Attention in High Dimensions: A Theory of Generalization, Weights Spectra, and Scaling Laws cites Scaling Laws and Spectra of Shallow Neural Networks in the Feature Learning Regime
  • Single-Head Attention in High Dimensions: A Theory of Generalization, Weights Spectra, and Scaling Laws cites Universality laws for Gaussian mixtures in generalized linear models
  • Single-Head Attention in High Dimensions: A Theory of Generalization, Weights Spectra, and Scaling Laws cites Bayes optimal learning of attention-indexed models
  • Single-Head Attention in High Dimensions: A Theory of Generalization, Weights Spectra, and Scaling Laws cites The Nuclear Route: Sharp Asymptotics of ERM in Overparameterized Quadratic Networks
  • Learning quadratic neural networks in high dimensions: SGD dynamics and scaling laws cites The Benefits of Reusing Batches for Gradient Descent in Two-Layer Networks: Breaking the Curse of Information and Leap Exponents
  • Learning quadratic neural networks in high dimensions: SGD dynamics and scaling laws cites The Nuclear Route: Sharp Asymptotics of ERM in Overparameterized Quadratic Networks
  • Learning quadratic neural networks in high dimensions: SGD dynamics and scaling laws cites Optimization and Generalization of Shallow Neural Networks with Quadratic Activation Functions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Learning quadratic neural networks in high dimensions: SGD dynamics and scaling lawsGérard Ben Arous, Murat A. Erdogdu, Nuri Mert Vural, Denny WuNeurIPS 2025 · 23 citations
  2. Scaling Laws and Spectra of Shallow Neural Networks in the Feature Learning RegimeLeonardo Defilippis, Yizhou Xu, Julius Girardin, Vittorio Erba et al.ICLR 2026 · 20 citations
  3. The Nuclear Route: Sharp Asymptotics of ERM in Overparameterized Quadratic NetworksVittorio Erba, Emanuele Troiani, Lenka Zdeborová, Florent KrzakalaNeurIPS 2025 · 13 citations
  4. Bayes optimal learning of attention-indexed modelsFabrizio Boncoraglio, Emanuele Troiani, Vittorio Erba, Lenka ZdeborováNeurIPS 2025 · 5 citations
  5. Single-Head Attention in High Dimensions: A Theory of Generalization, Weights Spectra, and Scaling LawsFabrizio Boncoraglio, Vittorio Erba, Emanuele Troiani, Yizhou Xu et al.ICML 2026 · 5 citations

Builds on7

  1. Phase retrieval in high dimensions: Statistical and computational phase transitionsAntoine Maillard, Bruno Loureiro, Florent Krzakala, Lenka ZdeborováNeurIPS 2020 · 73 citations
  2. Optimization and Generalization of Shallow Neural Networks with Quadratic Activation FunctionsStefano Sarao Mannelli, Eric Vanden-Eijnden, Lenka ZdeborováNeurIPS 2020 · 65 citations
  3. Bayes-optimal Learning of Deep Random Networks of Extensive-widthHugo Cui, Florent Krzakala, Lenka ZdeborováICML 2023 · 49 citations
  4. The Benefits of Reusing Batches for Gradient Descent in Two-Layer Networks: Breaking the Curse of Information and Leap ExponentsYatin Dandi, Emanuele Troiani, Luca Arnaboldi, Luca Pesce et al.ICML 2024 · 41 citations
  5. Universality laws for Gaussian mixtures in generalized linear modelsYatin Dandi, Ludovic Stephan, Florent Krzakala, Bruno Loureiro et al.NeurIPS 2023 · 40 citations

Related papers

  1. The price of ignorance: how much does it cost to forget noise structure in low-rank matrix estimation?Jean Barbier, TianQi Hou, Marco Mondelli, Manuel SáenzNeurIPS 2022 · 25 citations
  2. Unrolled denoising networks provably learn to perform optimal Bayesian inferenceAayush Karan, Kulin Shah, Sitan Chen, Yonina C. EldarNeurIPS 2024 · 5 citations
  3. PCA Initialization for Approximate Message Passing in Rotationally Invariant ModelsMarco Mondelli, Ramji VenkataramananNeurIPS 2021 · 23 citations
  4. Estimation in Rotationally Invariant Generalized Linear Models via Approximate Message PassingRamji Venkataramanan, Kevin Kögler, Marco MondelliICML 2022 · 36 citations
  5. Matrix Inference and Estimation in Multi-Layer ModelsParthe Pandit, Mojtaba Sahraee-Ardakan, Sundeep Rangan, Philip Schniter et al.NeurIPS 2020 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines