Wide neural networks shift from collective to individual feature learning
Mesoscopic learning dynamics of extensive-width neural networks
Machine Learning
Summary
Training large neural networks to recognize patterns is complicated because many features interact and overlap. The authors study how these networks start by learning general patterns involving many features together, which can be roughly described with simple statistical tools. Over time, the networks begin to focus on specific features more clearly, a process called specialization that speeds up learning. They also show how the choice of activation function influences how features get refined as learning progresses.
What this means in practice
- •For machine learning engineers: Optimize training strategies for wide networks by understanding when to expect transition from collective to individual feature learning.
- •For data scientists in pattern recognition: Improve feature extraction by selecting activation functions that influence feature specialization patterns in large neural networks.
Authors
Shu Zhou, Jean Barbier, Sebastian Goldt
Abstract
Understanding how stochastic gradient descent learns internal representations in wide neural networks trained on rich target functions is a central problem in machine learning. We study this question in two-layer neural networks learning target functions represented by networks of the same architecture, with arbitrary nonlinearity, and with network width and input dimension growing proportionally. In this regime, standard approaches for describing the learning dynamics require tracking a diverging number of overlaps, which measure correlations between learned and target features, leaving no obvious description in terms of a few order parameters. Here, we develop a mesoscopic description of learning by characterizing the distribution of overlaps. In the early stages of learning, we find that a Gaussian description of overlap statistics reduces the learning dynamics to a few collective variables that track learning of the target function's linear and quadratic components. We then estimate the timescale of specialization, when Gaussian closure breaks down and individual learned features begin to strongly correlate with specific target features. We find that specialization in extensive-rank networks is accelerated via a quadratic shielding mechanism, whereby learning the linear and quadratic components of the target function filters gradient fluctuations. We finally describe how the activation function determines the pattern of specialization and characterize the subsequent refinement of learned features. Together, these results show how collective learning gives way to individual feature discovery and clarify when learning in large neural networks admits a simple statistical description.