How Two-Layer Neural Networks Learn, One (Giant) Step at a Time
Yatin DandiFlorent KrzakalaBruno LoureiroLuca PesceLudovic Stephan
Establishes exact sample complexity bounds showing how two-layer neural networks escape the lazy regime and learn multi-index target directions across single and multiple gradient descent steps.
Modern neural networks achieve remarkable practical success partly due to their ability to adapt internal feature representations to training data, escaping the restrictive performance ceilings of classical kernel methods and lazy training regimes. However, understanding exactly how, when, and with how much data networks learn these underlying structures in high-dimensional settings has remained an open theoretical challenge. The article evaluates how two-layer neural networks learn low-dimensional feature representations from high-dimensional isotropic Gaussian data during the early phase of training using large-batch gradient descent.
The authors analyze a supervised learning model where the target function depends only on a finite set of relevant directions within a high-dimensional space. The approach combines rigorous mathematical analysis—employing high-dimensional concentration inequalities, tensor decompositions, and conditional Gaussian equivalence techniques—with numerical simulations across various network widths, sample batch sizes, and iteration counts.
The analysis establishes three primary findings regarding sample complexity, iteration dynamics, and model capacity. First, for a single gradient descent step, a sample batch scaling linearly with the input dimension is necessary and sufficient to align network weights with the target function, but it only captures a single linear direction. Learning multiple relevant directions in one step requires a much larger batch scaling quadratically with the dimension, or even higher polynomial orders corresponding to the target function's leap index (its lowest non-zero polynomial order). Second, taking multiple gradient steps drastically reduces data requirements: a linear batch size per step is sufficient to learn multiple directions sequentially over time, provided the target directions satisfy a hierarchical "staircase" property where new directions link linearly to previously learned ones. Third, overparameterization in the hidden layer allows networks to fit nonlinear structures along learned directions in fewer iterations, whereas kernel methods and unlearned directions face strict polynomial sample barriers.
These findings provide actionable insights for practitioners designing large-scale distributed and federated training pipelines. They show that while single-sample methods require many sequential updates to escape saddle points, large-batch gradient updates provide a direct speed-up by capturing finite components of target directions in very few parallelizable steps. System designers face a clear trade-off: training with very large single batches parallelizes well but demands significantly more total data for complex targets, whereas multi-step procedures with moderately sized batches leverage the staircase structure to achieve substantially higher sample efficiency.
Organizations should structure training pipelines to balance batch size and step counts according to task complexity, employing multi-step schedules when data availability is constrained. The theoretical conclusions hold with high probability under the defined boundary conditions of isotropic Gaussian inputs, polynomial target functions, and clean layer-wise training splits. While extending exact generalization proofs to fully general activations remains an area of ongoing mathematical development, the fundamental mechanisms governing feature specialization and sample scaling provide a solid baseline for algorithmic optimization.
- Paper: High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representation, Jimmy Ba et al. (2022). Its analysis of how a single gradient step aligns two-layer-network features with a target direction provides the immediate one-step feature-learning framework that this paper extends to data requirements and multiple learning steps.
- Paper: Revenge of Monosemanticity: Specialized Neurons Improve Data Efficiency in MLPs, Amirhesam Abedsoltan et al. (2026). It carries feature-learning theory into clustered regression, showing how specialized neurons can recover distinct local predictive directions even when no useful global low-dimensional structure exists.
