Get rich quick: exact solutions reveal how unbalanced initializations promote rapid feature learning

While the impressive performance of modern neural networks is often attributed to their capacity to efficiently extract task-relevant features from data, the mechanisms underlying this rich feature learning regime remain elusive, with much of our theoretical understanding stemming from the opposing lazy regime. In this work, we derive exact solutions to a minimal model that transitions between lazy and rich learning, precisely elucidating how unbalanced layer-specific initialization variances and learning rates determine the degree of feature learning. Our analysis reveals that they conspire to influence the learning regime through a set of conserved quantities that constrain and modify the geometry of learning trajectories in parameter and function space. We extend our analysis to more complex linear models with multiple neurons, outputs, and layers and to shallow nonlinear networks with piecewise linear activation functions. In linear networks, rapid feature learning only occurs from balanced initializations, where all layers learn at similar speeds. While in nonlinear networks, unbalanced initializations that promote faster learning in earlier layers can accelerate rich learning. Through a series of experiments, we provide evidence that this unbalanced rich regime drives feature learning in deep finite-width networks, promotes interpretability of early layers in CNNs, reduces the sample complexity of learning hierarchical data, and decreases the time to grokking in modular arithmetic. Our theory motivates further exploration of unbalanced initializations to enhance efficient feature learning.

Paper

References (92)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer K8a27/10 · confidence 3/52024-06-21

Summary

This paper analyses the lazy versus rich learning dynamics of minimal but finite neural networks by deriving exact solutions under arbitrary layerwise initialization and learning rates. The theoretical insights are successively extended to networks of increasing complexity and corroborated by several experiments.

Strengths

The paper is well written and provides an exact understanding of the learning dynamics of very simple neural networks, in increasing complexity over the course of the paper. The figures complement the derivations very comprehensively. In this way, the paper makes a significant contribution to the understanding of neural network training dynamics. I am not able to judge the claimed novelty, as I am not entirely familiar with the related work.

Weaknesses

Overall the paper leaves little room for criticism. The results being limited to shallow, often linear neural networks trained with small learning rates is justified by the detailed understanding of the training dynamics, and mitigated by experiments. It could have been acknowledged more clearly how the maximal update parameterization by Yang and Hu (2021) already shows that upstream initializations are necessary for non-vanishing feature learning in large models.

Questions

- Why do you call the layerwise initialization variances and learning rates *initialization geometry* when learning rate scalings clearly only influence the training dynamics? Similarly, the term geometry is unspecific and does not highlight the interplay between the layers. I encourage the authors to find a more suitable terminology for the choice of hyperparameters. - Why is the kernel distance in Figure 1 eventually maximized by a downstream initialization $\delta<0$, and not by an upstream initialization $\delta>0$ where feature learning occurs rapidly both directionally and radially?

Rating

7

Confidence

3

Soundness

3

Presentation

3

Contribution

3

Limitations

The main limitations are acknowledged in the Conclusion section. It is acceptable that an exact analysis of learning dynamics does not include deep nonlinear networks trained with large learning rates.

Reviewer JJEZ6/10 · confidence 4/52024-07-09

Summary

The paper studies the dynamics of training in neural networks with the scope of identifying how the variance of weights' initialization together with layer-wise learning rates determines different learning regimes, encompassing lazy, rich, and the transition between them. The paper identifies a conserved quantity $delta$ that is preserved throughout training (i.e. $\dot{\delta} = 0$) and depends on both the weight's magnitude and the learning rates. Thus, the sign and magnitude of $\delta$ at initialization affect learning and the geometry of the landscape that is traversed through gradient flow. The paper finds three different regimes, starting from a solvable model of two-layer linear network. 1. $\delta > 0$ (named *upstream initialization*) induces lazy dynamics and corresponds to the case where $\eta_w a^2 >> \eta_a ||w||^2$, where $w$ and $a$ are the first and last layer weights, resp. 2. $\delta = 0$ (*Balanced*): corresponds to rich dynamics. 3. $\delta < 0$: initial lazy fitting regime and second rich phase. The authors then extend these findings to wider and deeper networks and piece-wise linear activations.

Strengths

1. The paper finds a simplified model that can be thoroughly analyzed and gives very precise statements on what causes rich and lazy regimes based on the single conserved quantity $\delta$, which makes the results very clean. This quantity is then naturally connected to the NTK, which makes intuitive sense given that the NTK is the ultimate factor that determines the learning regime (rich, lazy, or somewhere in between). 2. The formula for $\delta=\eta_w a^2 - \eta_a ||w||^2$ also is nicely interpretable, elucidating the interplay between learning rates and weights magnitude. 3. The authors test their theory in various settings and observe a close alignment between the experimental verification and the theoretical predictions, which makes me confident of the correctness of their theory.

Weaknesses

1. I would have appreciated more on the NTK dynamics. There is a clear connection between $\delta$ and (part of) the NTK $K$. I wonder whether this connection can be made more explicit by studying the NTK dynamics $\dot{K}$. This would make the connection between the conserved quantity and the feature learning more explicit. 2. Some equations are not included. The authors justify this in Line 1022: "We omit the solution due to its complexity, but provide a notebook used to generate our figures encoding the solution". I would just provide the formulas for the sake of completeness. Also, I do not see the equations describing the kernel distance S, which is related to the NTK movement, thus to my previous point. 3. In section 4 the paper includes various extensions, including wide networks. It would have been nice to recover known results by relating the conserved quantity $\Delta$ and specific parameterizations of the network as a function of the width. This would have connected existing results in the NTK and $\mu$P literature to the conserved quantities identified in this paper and the learning regime. 4. The connection between the scale of the initialization and the learning rate is not entirely new. This is quite obvious at grokking problems, where to exhibit grokking is often necessary to play with the initialization parameters of different layers. In this context, Kumar et al [61] already clarified that the delayed generalization was caused by the NTK dynamics transitioning from lazy to rich regimes. Overall, I am in favor of the paper's acceptance because it devised a model where the three different learning regimes are clean and crystallized.

Questions

See weaknesses

Rating

6

Confidence

4

Soundness

3

Presentation

4

Contribution

3

Limitations

Addressed.

Reviewer KNvb7/10 · confidence 3/52024-07-09

Summary

The paper studies the learning dynamics of a deep network by leveraging the conserved quantities due to symmetries

Strengths

The theoretical finding that unbalancedness in the layers drives feature learning is a novel and interesting insight The technical tool of using symmetries and conserved quantities to characterize the dynamics is also novel Finding exact solutions can help us understand better the causal aspects of the phenomena in deep learning, and should be encouraged Overall, I am positive towards this work

Weaknesses

I think the paper could improve by explaining its results in more detail. For example, I find the following points rather confusing 1. Does theorem 4.1 hold after training? Or it holds at any time in training? 2. The paper argues that it finds an exact solution, but I am sure what this is referring to. Is theorem 4.1 the "exact solution" the paper finds? If so, what is it a solution to? 3. The title claims "rapid feature learning", but almost no place in paper discuss what it means to be rapid, nor what it means to be doing "feature learning." The only part in the paper that I find to be peripherally related to this claim is the discussion in lines 380-383. This result holds true without needing any result from sections 3-4. Then, what is the point of 3-4? If the title is the main claim of the paper, can the authors write it out in a more explicit manner, and with much greater mathematical detail? 4. In figure 5, a crucial quantity is $\alpha$, but it is not explained in the context. What is $\alpha$? It seems to me that this quantity is the scaling factor introduced in lines 171-172? Is this case? Even if so, the authors should have explained it much better in the immediate context 5. To be fair, I think the authors are putting too much content both in the appendix and in the main text. It feels to me much better to move one of section 3 or 4 to the appendix and expand what is in the main text to make it much more readable 6. A constructive suggestion is that it would be quite insightful to compare the results in section 4 to the results derived for SGD in deep linear models in https://arxiv.org/abs/2402.07193. SGD and GD have very different behaviors for these models and this discussion will be very helpful to the audience

Questions

See the weakness section

Rating

7

Confidence

3

Soundness

3

Presentation

2

Contribution

3

Limitations

NA

Reviewer hh3v8/10 · confidence 4/52024-07-11

Summary

The authors derive exact solutions to a minimal model that transitions between lazy and rich learning, elucidating how unbalanced layer-specific initialization variances and learning rates determine the degree of feature learning in a finite-width network. They provide evidence that this unbalanced rich regime drives feature learning in deep finite-width networks, promotes interpretability of early layers in CNNs, reduces the sample complexity of learning hierarchical data, and decreases the time to grokking in modular arithmetic.

Strengths

1. The paper is very well written: - clear visuals and exposition, going from a minimal model and gradually adding complexity and realism. - The quantities of interest (e.g. $\delta$) give an intuitive picture. - The notations are very clear and easy to follow. One small comment is that it might be better to use a different index for $\theta$ and $x$. - The contributions are distinguished from previous works and relevant connections to them are clearly stated. 2. Addressing the rich regime is arguably more interesting than the lazy regime and is much less studied, making the questions addressed here timely. 3. The experiments presented in Fig 5 show that the effects studied analytically in previous sections also appear in realistic settings, making this work relevant to a broad audience.

Weaknesses

1. To yield the exact solutions, the authors evoke the assumption of whitened input, which is rather unrealistic. The low-rank case is also addressed but then one needs to additionally assume that the interpolating manifold is one-dimensional to find the solution in terms of $\delta$ exactly. missing citations: - In line 398, when mentioning grokking and the transition from lazy to rich learning - it is worth noting Ref. [1]. [1] https://arxiv.org/abs/2310.03789

Questions

1. In Ref. [1] which you mention, the formula for the NTK with unbalanced LRs is (using your notation) $K = X (\eta_a a^2 I_d + \eta_w ww^T) X^T$ (eq. therein), i.e. the LRs have switched places. I'm not sure where this discrepancy comes from or if it is an error. 2. Line 145 - can you explain why in the infinite width limit non-linearities act linearly? It is true that the model becomes linear in the weights, but do you mean that each layer acts linearly on its pre-activation? [1] https://arxiv.org/abs/2401.07085

Rating

8

Confidence

4

Soundness

4

Presentation

4

Contribution

3

Limitations

The authors adequately addressed the limitations.

Reviewer hh3v2024-08-08

I have read the author's response and will keep my score

Reviewer K8a22024-08-09

I thank the authors for their thoughtful response. I think both the added explanation on the dynamics of the NTK matrix and the connection to infinite-width mean-field literature are valuable additions. In particular, the fact that mean-field parameterization is balanced with non-vanishing variance is interesting, and the distinction between the function scale and relative scale mechanism. Can I understand the mean-field parameterization/muP as the unique width-dependent scaling rule that achieves $\delta$ to remain width-independent and hence not degenerate in behaviour with width $k\to \infty$ to for example strictly lazy behaviour in the NTK parameterization? Concerning the term ‘initialization geometry’, I still believe that per-layer learning rates are not part of the *initialization*, but only of the *optimization*, hence terms in the direction of ‘optimization geometry’ would make more sense to me. Overall, I believe this paper makes a valuable contribution and I will keep my positive evaluation.

Authorsrebuttal2024-08-13

Thank you for your response, and we agree that the added discussion of NTK dynamics and the connection to infinite-width literature are valuable additions to our work. To clarify our discussion on width-dependent parametrizations, there are two “knobs” that can determine the degree of feature learning: (1) the overall function scale and (2) the relative scale between layers (this is $\delta$ in our analysis). The difference in feature learning between a mean field parameterization and an NTK parameterization is due to a change in the first knob (the overall function scale). Under both these parameterizations the distribution of $\delta$ is the same even as width $k \to \infty$ (expected $\delta$ is zero, but with a non-vanishing variance). It is possible to have an infinite-width parameterization that uses the second knob to enter into the lazy regime (in this setting the expected $\delta$ would be non-zero and depend on width). We found Reference [14] to be helpful in understanding the connection between our finite-width analysis of feature learning and existing works in the infinite-width setting. Thank you for clarifying your concern with our use of “initialization geometry”. Your point makes sense and the suggested “optimization geometry” is a good possibility, which we will consider. Thank you again for your questions, feedback, and constructive criticism!

Reviewer KNvb2024-08-09

Thanks for the reply

Thanks for the detailed explanation. The answer removed my concerns about the work. I will raise to 7. Although I am positive towards the work, I do not find the results significant enough for me to strongly support it.

Reviewer JJEZ2024-08-13

I sincerely thank the authors for the effort spent on this rebuttal. The connection between some of the results of this work and the NTK dynamics is now clear. **Connections to width-dependent neural network parameterizations.** I thank the authors for this clarification. This helps me better understand the connection of their work in the context of the scaling limit literature. The reason I am not confident enough to raise my score (which still favors acceptance) is that two of these regimes are already sort of well-understood (lazy vs rich) in the series of existing works that the authors mention. Thus, I believe the crucial contribution lies in the third regime (delayed rich). Having non-vanishing dynamics of the NTK is precisely achieved by correctly setting the initialization variance, learning rate, and output scale of the model. In a sense, $\delta$ is to some extent explicitly already controlled under $\mu$P and related works (e.g. https://arxiv.org/abs/2310.17813).

Authorsrebuttal2024-08-14

Thank you for your reply. We’re glad that our response helped clarify the connection between our work and the scaling limit literature. We are also happy to hear that you favor acceptance of our work. We certainly agree that the delayed rich regime is intriguing and to our knowledge has not been studied before. While the lazy vs. rich dichotomy is well-studied in infinite-width settings, our analysis (alongside recent work by Xu and Ziyin [reference 17] and analysis of diagonal linear networks [reference 12]) stands out as one of the few analytically tractable models for the transition between lazy and rich learning in a finite-width network. We believe that introducing solvable systems where precise statements can be made, both in terms of dynamics and implicit bias, is a valuable contribution. Additionally, throughout our analysis we highlight the importance of conserved quantities in determining the learning regime, a perspective not considered in these prior works, nor in the work you mentioned (the difference in feature learning between a μP parameterization and an NTK parameterization is due to a change in function scale, not $\delta$, which remains the same in distribution for both parameterizations). Thank you for the time and effort you put into reading and reviewing our work.

Program Chairsdecision2024-09-25

Decision

Accept (spotlight)

© 2026 NYSGPT2525 LLC