# Oral 31931

- Kind: Oral
- Talk page and recording: https://iclr.cc/virtual/2025/oral/31931

> 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.

So hello everyone, my name is Peter and I will present our work Wide Neural Networks trained with Weight Decay provably exhibit Neural Collapse on behalf of me and my colleagues Arthur, Zihan and Marco. Let me first recap what Neural Collapse is. So it refers to a structure in the feature representations of the training data. In the last layer of well -trained neural networks and it's defined by three geometric properties.
Uh the first one is that the activations of samples uh within a single class collapse to a common class specific mean. It's called N_C_ one. Then these class means then form simplex equi-angular tight frame or orthogonal frame, which is called N_C_ two. And finally the rows of the final layer's weight matrix align well
uh with these classmates. That's NC three. Now uh most theoretical works uh studying this phenomenon has have only worked uh with with unconstraint features model. But uh that is uh considered quite simplistic. There have been a couple uh works that tried to go beyond U_F_M_ but uh they usually required quite quite strong assumptions.
And so in this work, we are the first to prove the formation of N_C_ one with N_C_ two and gradient ascent training with quite uh a few assumptions. Uh quite little assumptions. And we are also first to prove N_C_ two and N_C_ three in global optima again N_C_ two and however assuming c uh uh that the network has a deep linear hat. Uh so to explain our t uh theory a little bit.
We consider uh L_ one plus L_ two layered M_L_P_ with L_ one nonlinear layers and at least L_ two big bigger or equal than two linear layers. Uh let's theta also denote all the parameters and let's Z_ L_ be the output of the entire training data set in layer L_ so it's X_ i if L is equal to zero and then it's the output of the L_th layer of all the training samples.
And we consider M_S_C loss function, or which is also lambda regularised. Uh now the first uh result we proved are sufficient conditions for a null collapse. So in particular if the network approximately interpolates the data, ah has approximately balanced layers uh the equation there,
Um, in the linear heads and also the representations of the training samples and the weight matrices are not too big. Then we have N_C_ one. And moreover if the product of the linear uh layers uh is not too ill-conditioned, then we also have N_C_ two and N_C_ three. And this is just the meta result. But with this result we can uh formulate the main uh result.
Uh it is sa it is it assumes that we have white first layer, quite uh well-behaved uh differentiable activation and uh layer specific uh initialization scheme. And then with small enough learning rate, uh quite small regularization and sufficiently large number of steps we proved that uh any network uh any M_L_P_ like that uh exhibits N_C_ one after training.
Uh so how do we roughly prove it? So we split the training into two phases. Uh phase one is quite short, it's kind of N_T_K_ like. Uh and by the end of phase one we uh the network already interpolates the data quite well. And then in phase two it still continues to decrease the size of its layers. It's a bit longer and by the end of this phase uh it also reaches uh very good balancedness.
the more beats more in depth. The overall goal of the proof is to prove the sufficient conditions for an answer that I presented uh before. Uh and in the phase one we basically uh take a result that says that uh around initialization in a ball around initialization the unregularized loss satisfies uh peel inequality and we prove that in the same ball
A weaker form of peeling inequality is still uh that's still hold, and this already uh gives us that we can get an exponential convergence of the loss uh to quite small value. Uh and uh by the end of this phase we have approximate interpolation. And then the second phase, in the second phase the regularisation kicks in. The weight matrices still get smaller and smaller and therefore they have to get aligned. So this this balancedness um
r a quantity uh ex exponentially decreases. And intuition for this is that uh stationary points of regulated uh network in the linear layers uh are perfectly balanced. So with small enough uh learning rate we should get quite good balance with this also with gradient descent. And this gives us the balance with this.
Uh and the boundedness of uh the intermediate representations and uh uh weights are just given some somewhat as a by-product of this of these two phases. Uh now uh to this to the other theorem.
Uh we showed that if either of the following two conditions is satisfied then we also have N_C_ two and N_C_ three. This theorem is a bit weaker because we need uh quite deep linear hats, but we can still learn something from it. So the first condition is that the network approximately interpolate the data. The average Frobenius norm of the layers is uh um is uh around K_ the number of classes.
And Mm-hmm. the theta is global minimiser. Or another property is that the network is stable under large quite r quite uh reasonably large learning rates uh l learning rates. And under both of these properties we proved that if the number of non-linear layers and also the number of linear layers is large enough, then we have all three uh neural collapse properties uh for these networks.
Uh unfortunately I don't have time to go into the proof of this one. Uh and then uh just uh to give you some uh to to talk about experiments a little bit. So here you see just uh asymmetrics for layers for like last six layers of uh some nine layer uh M_L_P_ And last three of them are linear.
And we can see that the NC one metric and NC two metric both uh get better uh as we go deeper into the network and uh they reach uh quite small values uh which means that the ends the neural collapse is uh uh really nicely exhibited in the end of the training. So this is just for a single network.
And also uh one can look at uh the effect of depth of the linear hat on the strength of the answer properties. So in the left plot uh we see how N_C_ one is affected by the depth of the linear hat and uh in the right we see how N_C_ two is affected uh by the linear hat and basically
uh the N_C_ gets uh significantly better with the depth of this linear hat, which is also uh quite uh well aligned with our theory. Um we have we had quite a quite a few more experiments, but uh unfortunately uh I cannot uh talk about them right now. So that would be uh all. Uh thank you for your attention and uh please uh uh I can answer any questions that you have.
You assume that it has a least two n in your nose, man. Yeah yeah. So why is this important in Uh that's important because uh we need uh because of the balancedness condition. So we had to prove that the layers become balanced. That's uh kind of important for N_C_ one.
And uh because of that we had to assume this uh uh two linear layers. Uh I think it's would should be still possible to prove even without this assumption. But uh we would probably need a bit more uh complex scheme of like how to prove not either balance-edness or an equivalent condition which is necessary for N_C_ NSC one.
I have a I have a couple of questions. Um the first one is simply could you repeat the assumptions on both architecture, initialization and learning algorithm under which the results are valid. Uh sure. So the architecture looks like this. Uh so we have uh a couple non non-linear layers. Let's say at least one would be nice.
And then we have at least two linear layers in the network. So and it's an MLP. So just when matrices and But the matrices are need to have sizes that are large enough or let's say if all of the Ws were rank one. No, no, no. We require quite wide first layer. So basically we use
uh this related work uh, and go ahead and model it twenty twenty twenty twenty, which proof Hmm. just convergence out out this networks. And we use this result to get this uh polyagonal loss in equality. And for that we need uh white first layer. And also we need uh initialization where we choose uh basically the standard deviation
Now of the initialization differently for different layers. Yep. And my last question is uh isn't or is it or is it not that the assumption of balancedness is maybe overly restrictive particularly relative to other results where you simply initialize the weights at random and you have a small scale and you still have a two phase dynamics.
So the balancedness, we don't uh assume it, we proved that it uh emerges uh with gradient descent. Like But with we need we need but this two-linear layers but with what which is initialis maybe that's the question what are the conditions on the on the initialisation then? Uh it can be initialised like with standard Gaussian initialisation. Just uh
The only thing, the only tricky thing is that uh the layers ma might need different standard deviation for different layers. But the Yes, yeah. balancedness uh like thi this is just the technical assumption. There are a couple more papers that prove uh M_T_K_ like analysis like with different set of assumptions, which just uh took this one. Uh but the balancedness would emerge anyway in this training regime.
