When neural networks are trained with very small initial weights, their hidden neurons don't wander aimlessly; they "condense" into a few specific orientations. This phenomenon effectively turns a massive, over-parameterized network into a much smaller, simpler one during the early stages of training. But what governs this behavior?
This paper reveals that the maximum number of these condensed orientations is strictly governed by the multiplicity of the network's activation function—specifically, it is exactly twice the order of the function’s first non-zero derivative at the origin.
The Mystery of Over-parameterization and Condensation
A long-standing mystery in deep learning is why over-parameterized networks—those with far more parameters than data points—generalize so well instead of just memorizing noise. One major clue lies in "condensation." Early in training, many hidden neurons align their weight vectors in the same directions.
While this phenomenon was previously observed in ReLU networks, it wasn't well-understood for more general activation functions like tanh, sigmoid, or softplus. The authors set out to find the mathematical "rule" that determines how many directions these neurons condense into and how the choice of activation function dictates this early-stage simplicity.
The "Twice Multiplicity" Rule
The researchers define the "multiplicity" of an activation function $\sigma(x)$ as the integer $p$ such that the $p$-th derivative at zero is the first one that isn't zero ($\sigma^{(p)}(0) \neq 0$). For example, tanh(x) has $p=1$, while $x \tanh(x)$ has $p=2$.
By focusing on the "initial training stage" where weights are small enough to approximate the activation function by its leading-order Taylor expansion, the authors discovered the "Twice Multiplicity" Rule. The maximal number of condensed orientations is $2p$. If you use an activation function with multiplicity $p=1$ (like most common ones), neurons will align along a single line (two opposite directions).
Empirical results strongly confirm this. Using cosine similarity matrices to track how weight vectors align, the authors showed that for $p=1$ functions (tanh, sigmoid, softplus), neurons condensed into 1 line (represented by 2 blocks/directions). For $p=2$ ($x \tanh(x)$), they condensed into 2 lines (4 blocks/directions).
Methodology and Key Insights
The researchers combined empirical experiments across 1D synthetic data, multidimensional synthetic data, and CIFAR-10 (using a ResNet-18-like architecture) with rigorous mathematical analysis of gradient flow. They successfully proved the $2p$ limit for two specific cases: activation functions with multiplicity $p=1$ in arbitrary dimensions, and layers with 1D inputs and arbitrary multiplicity $p$.
Several key insights emerge from this work:
- Implicit Regularization: Condensation acts as a natural "brake" on complexity. By forcing neurons to align early on, the network is pressured to find a low-complexity solution before it starts learning more intricate features.
- Activation Function as a Filter: The choice of activation function directly controls the "initial capacity" of the network. A higher multiplicity $p$ allows the network to start with more orientations, potentially speeding up the learning of complex patterns but risking higher initial complexity.
- Symmetry Breaking: Small initialization allows the network to "reset" and evolve from a simple state to a complex one, which is key to why these networks generalize well.
Limitations and Future Work
While the $2p$ rule is supported by experiments in high dimensions, the formal mathematical proof for arbitrary dimensions and arbitrary $p$ remains a complex problem in algebraic geometry. Furthermore, this paper focuses on the initial stage of training. How these condensed orientations eventually "de-condense" or branch out to learn complex, non-linear features in the later stages of training remains an exciting open question for future research. Finally, the authors note that very simple data distributions might result in fewer than $2p$ orientations, suggesting an intricate interplay between data and activation functions.
Summary updated