# Poster 29214

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/29214

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone, I'm Nicolás Anguitam, a PhD student at the University of Cambridge, and I have the pleasure to present a work titled From Lazy to Rich, Exact Learning Dynamics in Deep Linear Networks. This work was done in collaboration with my co-first author Clementine Domine, co-authors Aleksandra Broca, Lucas Brown and Daniel Koonin, and supervisors Pedro Mediano and Andrew Sachs.
You have a math exam coming up soon. You have two study strategies available. On one hand, you can memorize everything and the rapid association to your current representation, hoping that these same questions will appear on the exam. This approach is quick but doesn't generalize well. Alternatively, you can choose to deeply understand the proofs and concepts which will allow you to generalize well to different scenarios. You update your representation to be task specific in this case. However, this approach is much slower.
You might also choose a strategy somewhere in between, which could be optimal depending on the time you have and the level of generalization you might need. In this project, we will study what factors drive these different learning regimes and what kind of representations they build. Two distinct learning regimes have been studied in machine learning and neuroscience, the rich and lazy learning regimes. Lazy learning involves minimal internal changes, relies on random features and retains task agnostic representations. It is characterized by a constant neural tangent kernel.
Rich learning features active representation learning, adaptation to the task, and robust compression of irrelevant information. Its 1200 kernel evolves over training. To study this spectrum, we construct a minimal deep linear network model. To facilitate analysis, we study learning dynamics of this network under gradient flow. The aim is to understand how the relative scale of the model's weights affects the learning regime. In particular, the lander balance condition ensures that the initial weights of each layer are scaled relative to one another in a controlled way.
This balance allows us to interpolate between different learning dynamics while keeping the model analytically tractable. Our first contribution is an exact solution for the learning dynamics in these networks under lambda-balanced initialization. We are able to provide analytical solutions for the dynamics of the input-output map, input-hidden representations, output-hidden representations, and neural tangent kernel. To illustrate these results, we examine how a linear network learns a semantic task under different initializations.
The exact task is not our focus, but serves as a toy example of a richly structured domain. This semantic task involves a tree structure resembling classification within the living kingdom. In machine learning terms, it is represented by a correlation matrix, where rows correspond to items, columns to features, and items are hierarchically organized based on their features. You first separate animals from plants based on their characteristics, and therefore differentiate fish from birds, for example, since fish can swim and birds cannot, and so on.
You can see the tree branching at every separation between the blue and orange group of the matrix. We prefer similar value decomposition on this matrix to compute the input and output task representations. We will compare these representations to the one the network learns. This quantity quantifies the amount of structure present in the input and the output respectively. The hierarchical structure in the output is particularly evident.
We display the outer-tailed representation matrix, W2W2 transpose, and the input-tailed representation matrix, W1 transpose W1, for each network. We observe that across the spectrum, the representations exhibit very different profiles. At lambda equals zero, the representation is task-specific, and looks exactly like the auto-correlation of the task singular vectors. When lambda equals zero, the solution is always rich in the linear network.
We establish that as Lambda approaches either positive or negative infinity, the network symmetrically transitions into lazy regime. As we can see, the representations resemble the identity matrix for both large positive and large negative Lambda values, the output representations and the input representations respectively. This means that the representation is task agnostic, the other representation is downscaled and not relevant to the dynamics. We have a minimal model of a spectrum from the rich to lazy learning regimes.
Network architecture also shapes the learning regime. Funnel networks tend to become lazy under large positive lambda, inverted funnel networks become lazy under large negative lambda, and square networks become lazy for large absolute values of lambda. All network types tend toward rich learning as lambda approaches zero, regardless of architecture. These findings have implications across several domains. We first consider transfer learning. Positive lambda enables strong transfer as hierarchical features learned in the first layer generalize well to new tasks.
Negative lambda leads to poor transfer because the network struggles to apply learned features beyond the training set. At lambda equals zero we see moderate transfer with learning distributed across layers. In general higher lambda values support better generalization through the emergence of structured representations. We also provide exact solutions for how both weights and representations evolve in continual learning settings, giving insights into how networks retain or forget information over time.
The Langevin condition naturally arises in expectation for large networks with random initial weights. This helps determine whether a network will perform lazy memorization or learn rich structured features. Thank you for your attention. We'd love to discuss more at our poster sessions where we dive deeper into the mathematics and implications of this work. Thank you again to all the co-authors of this paper.
