Groking in Neural Networks
Transcript
so basically at very early stage during training the train accuracy or train metric it can be something else than accuracy uh grows and then starts plateauing uh so you will think okay uh training is done but actually the test metric is still uh not at the high point so if you actually keep training much longer that you normally would then uh although the train metric still plateaus the test one will suddenly start uh increasing your network will start you know uh assembling its we together so
that it can extrapolate on uh test samples so basically the high level uh summary is that groing was observed in some very specific settings specific task specific model specific weight initialization here what we try to look at are more general setting and try to see if there is the same delayed uh property emergence happening so it turns out that it's not happening in term of train and test accuracy right those two things evolve roughly at the same uh rate and Plateau roughly at the same time but when you start looking at test accuracy under adversarial noise then that's when you have emergence of robustness to adversarial noise on test images much after you reach this uh plateauing area of the clean train and clean test accuracy first I want to also thank imas because he's been really pushing a lot and that's all this paper got to this stage when you have a neural network which has any pwi Define nonlinearity so it can be railu can be leaky rause can be Sawtooth as well like
anything that's piecewise and linear so if you have a neural network like that with such nonlinearities then what it basically does is it cuts up the input space uh into linear regions and then linearly Maps each region to the output so basically that's what the theory says that you have this spine where the neural network boundaries are like where the spline boundaries are defined by the network weights and the mapping is also defined by the network weights a lot like a like a an A origamy but the origamy is just not an origamy there's a little bit of stretching as well so I would say it's elas origamy that the neural network is do doing like you give it an input space an input domain and it's going to play origamy and turn it into whatever uh like some warped space and then draw a line to cut it up so the last line is going to be because the output is linear like a hyper plane in the embedding space so it's going to cut
this origami up with a straight line such that the decision boundaries separate the classes so this is basically what a neural network is doing cuz for some samples we've seen this in experiment that for some samples you would see more partitioning around it so that would mean that there's more non linearity needed there or the function is actually like more complex and then there would be some parts of space where the the cutting out of space is like more sparer so that's like a harder region and then where there's more cutting up it's more prone to adversely attacks cuz if you move a little bit you you'd like basically be Crossing more nonlinearity so more of the activations would be changing in the network take couple of different slices 2D slices to get an estimate of what the partition statistics is like the more important thing is like estimating the partition statistics around the locality and these statistics can basically tell you how the model behaves differently for
different samples like for example if you have couple of samples uh which come from a demographic which have less expressivity assigned by the neural network you can basically say that the neural network is algorithmically biased towards those samples because it it is not that expressive in those regions whereas for other samples or a particular class it would be assigning more regions then you you can like based on these statistics you can infer like how the model behaves differently for different sets of samples instead of like coming up with a general notion of what a neural network generally does uh this allows us to think of what a neural network generally does in different parts of region on the manifold on the data manifold or or of the manifold so these Notions I think would help us like help come converge towards like a more uh more General understanding of new network than just like a oneliner uh statement that this is what neural network does one of the basic result in
spline function approximation uh and mostly it's been studied for 1D to 1D regression is that uh when you design a spline right you have to pick out what is your part of the space and the degree of the polinomial that you use on each region and if you think about it you might say Okay pwi are fine is really not the best you just have a aine mapping per region is not so rich to represent a lot of variety within each region but it turns out that if you have to choose between well positioning your region so finding a good partition versus uh increasing the degree of your polinomial actually it's much better to fine tune or position your uh partition according to the data even if you stay pwi are fine and just from this you can get extremely good approximation power although per region you have a really simple function and uh the way you get this power is much better than if you keep the partition the same and just increase the degree of the polinomial so
what so from this what you should take away is that uh not having smoothness and being just piecewise are fine is uh okay and actually is optimal if you can position those regions well and that's what you do with networks basically you have this adaptation of the partition when you train the parameters of your model because the partition and the aine mappings are tied together so by learning one you learn the other and the way it works in practice is that we see
most of the regions get concentrated around the training points and also extrapolated based on the rule given by the architecture and if you go in other parts of the space which is not either near the data distribution or near the extrapolation rule then you have much less region uh concentration and this is really uh important because again the smaller the regions the more precise is your approximation mlst is sponsored by sensl which is the compute platform specifically optimized for AI workloads they support all of the latest open- Source language models out of the box like llama for example you can just choose the pricing Point choose the model that you want it spins up it's elastic Auto scale you can can pay on consumption essentially where you can have a model which is always working or it can be freeze dried when you're not using it so what are you waiting for go to Cent ml. and sign up now tab is a new AI research lab I'm starting in Z it is
funded from past Ventures involving uh AI as well uh we are hiring both Chief scientists and uh deep Planning Engineer researchers and so we are Swiss version of deeps and so a small group people very very motivated very hardworking and we try to do some a research starting with llm and Owen stey models we want to investigate reverse engineer and uh explore the techniques ourselves Professor Rand balero welcome back to mlst and congratulations on your new role at at Brown thanks thanks very
much and happy to be back uh especially to speak about like latest research uh and spine so very happy to be here you um in vented or co-invented perhaps the spline theory of of neuron networks which is something that revolutionized my understanding of deep learning I think we should just have a quick refresher so what do we mean by the spline theory of neuron networks yes so first just to put some things in a better context and uh avoid some issues legal issues later uh so splines uh have
a very rich uh Theory and they've been used probably since the 80s or maybe even before for function approximation uh but the thing is that most of the research was done for 1D 2D or maybe uh 3D input spaces uh because that's where most of the function approximation was needed maybe for like partial differential equation and things you could observe uh so what we did uh around uh 2018 was to try to understand what are current uh deep networks and at that time it was mostly convolutional
networks reset or MLPs with Ru activation Max pooling this type of non larities and it turns out that when you have this type of operation so aine operation like dense mapping or convolution then Ru or Max pooling and you keep inter living and composing those layers then the entire input output mapping is itself a continuous piecewise a fine spline so what that means is that the input space of the network so maybe the space of images if you do like mnist or C far classification uh so this is a huge High dimensional uh space it is cut up into polop convex regions and within each of those region your network is just an aine mapping so overall it's continuous but within a regent is just an aine mapping and so you can characterize the geometry of those regions where do you have more regions than in other places and you can start to understand what your network is actually learning and why is it able to extrapolate for example or what is the impact of the
architectures regularization and thing like this there's some quite technical language here as well so I just really want want to kind of hit home to the audience that it's a bit like you know when when we train a neural network we train it to become a bit like a honeycomb mhm so so there's like this structure and a bit like a lattice maybe and and inside the holes of the honeycomb those represent um you know decisions that the neuron Network makes yeah yeah exactly uh maybe another parallel we can do is if you do K means for example or some uh clustering method this way you learn uh partition of your space depending on which cluster your point is assigned to so you have this sort of structure with regions so if you do cin of course the mapping is piecewise constant right within the region or the cluster you are assigned to the same cluster then when you go to the next region you are assigned to another cluster so this is the type of uh Camin uh partition geometry you get
uh with deep Nets is very similar you have those regions as well but within each region instead of being constant you have an aine mapping and then you have some extra constraint that the regions are not independent from each other and they can learn even if you are very uh far in extrapolative regime but yeah the type of geometry you get is really aking to what you have with like K means or KNN and thing like this the key thing though with deep Nets and that's one of the key benefit is that how you learn your partition or or you learn those regions is not just where you have data but everywhere in the space and that's all you get a much better extrapolation performance even in high dimension which you don't if you do like K&N for example one of the operative reasons I like spline theory is that there are a lot of people saying that neuron networks do this magical emergent reasoning and when you understand the neural network as you know Computing these spline partition
boundaries you know so so essentially it's a little bit like a locality sensitive hashing table um that's not really conducive to them reasoning or doing any different kind of computation yes so I think there is like two points from this so first as you said you have this sort of like locally sensitive Asing or template matching so you just try to fit locally what is the region geometry and the aine mapping so this you could think it's really ad do and you know like brutal rule but where you actually have some sort of reasoning or intelling emerging is because the way you learn in a part of the space impacts uh how you learn in another part of the space even if you don't have data there and I think that's where things become from really adog like KNN or kin to something that is much more complicated and maybe much more humanlike where from one example you learn something that you will be able to reuse on an other example that you did not see during
training and that is very very far in your space so it's really uh not ad do in that sense that it's able to extrapolate from hidden rules in a very efficient way brilliant well now we're going to get to the most exciting bit today I think which is you've got you've got a paper and um you wrote this with MTS yeah and we've actually got some great content with MTS coming out as well but um it called Deep networks always Gro and and here is why give us the elevator pitch yes so yeah first I
want to also thank imas because he's been really pushing a lot and that's all this paper got to this stage and unfortunately could not be here for Visa reasons but yeah like huge Kudo to imas uh so basically the high level uh summary is that groing was observed in some very specific set things as a delayed emergence of generalization so your test set accuracy starts growing much after your train test uh your train accuracy already plateaued uh but this was in very specific settings specific
task specific model specific weight initialization here what we try to look at are more general settings like cifar so computer vision task convolutional Network res Nets and try to see if there is the same delayed uh property emergence happening so it turns out that it it's not happening in term of train and test accuracy right those two things evolve roughly at the same uh rate and Plateau roughly at the same time but when you start looking at test accuracy under adversarial noise then that's when you have emergence of robustness to adversarial noise on test images much after you reach this uh plateauing area of the clean train and clean test accuracy so you do have adversarial groing happening in most of the settings that we found and this comes although you don't do any adversar training at all it's just as a consequence of very very long training and the emergence of those Spar Solutions where some new geometric properties of your network
naturally emerge maybe we should just Linger on a couple of things here um first of all let's do adversarial robustness yeah so what happens when a neuron network is not robust Yeah so basically uh what we do and it's a very standard way to attack a network uh you get a image an input whatever it can be something El than an image you feed it through your network and then based on gradient information you see what is the best Direction noise to add to the original input so that you can fool the network to predict uh incorrect class so this is a white box attack you use graduent information of your network uh and this way you are able to fool the network so you can get uh for example a train set where the network on clean images has maybe 100% accuracy and just because of those really small perturbation that you cannot C by ey you can reduce its accuracy to just random guessing so it's a really really efficient attack and a lot of people try to make networks robust to that through
adversarial training so during training they actually sample those attacks and try to make the network robust to it uh and here we show that actually you become robust to those naturally just through very long training episodes basically yes now I always um looked at the spline Theory as a kind of mental intuition pump for um you know this adversarial um examples problem so we'll show a graphic on the screen now but essentially when you look at a spline partition there are just um crisscrossing overlapping splines it's a complete mess it's very very chaotic and this is the reason why the networks are so brittle because it's so easy just to push a test example over the boundary so that the network behaves differently yeah yeah yeah exactly so basically when you see in this figure all the partition regions what you have to think about is that when your input moves a little bit and go from one region to another it's when you're mapping as a nonlinearity
and so you have a change in the prediction and so the more of those uh regions you have the more nonlinear Kings or points you will have and therefore it's much easier to pertur your network uh but when you reach this very long training stage and so this SP solution what happen is that you no longer have so many regions everywhere in the space and around your training points but instead region starts migrating away from the training point points and testing points to concentrate near the decision boundary and now because you have much wider regions on those points it means your network is just aine within a much bigger region of the space and therefore it's just an aine mapping and it's much easier to control its sensitivity to noise so you're saying and and maybe we should actually just introduce grocking first as well and then and then we can come back to this so so grocking is this um phenomenon of delayed generalization now I know that's an oversimplification
because whenever I speak to grocking people and say that they say no that's an oversimplification but but basically you train a network for ridiculously longer than you normally would and then stuff happens later in in training can can you explain that yeah so basically uh what they did is on specific settings uh most of them are maybe constricted or simple task you can show that uh at very early stage during training the train accuracy or train metric it can be something else than accuracy uh grows and then starts plateauing uh so you will think okay uh training is done I can uh stop my training there but actually the test metric again it can be accuracy or something else is still either near random or just very uh slightly higher but still uh not at the high point so if you actually keep training as you said much longer that you normally would then uh although the train metric still plateaus the test one will suddenly start uh increasing and
converge on its own later on which means that during training you have still some graduent information that uh make your weights change they don't have an impact on the train metric but eventually at one point your network will start you know assembling its weights together so that it can extrapolate on uh test samples okay and then there's an interesting broader story here because I know you're very interested in um the uh train you know the learning Dynamics and there are different stages of training so at the beginning the network learns quite simple features and then as we progress through the training um stages it learns increasingly complex features now this is kind of weird though right because what you're showing is a local DEC complexification because I I imagine that things would get more complex it's learning high frequency information but but the network is learning a local DEC complexification to kind of stretch out
those those boundaries why and and then there's a question of well what learning signal is it using to do that yeah yeah yeah exactly so basically as you said you have this two stage training a bit like a in a double descend Dynamic where during the first stage you start from random initial ation and your network focuses aggressively on the points use a lot of regions around them so it's sort of memorization so it's still able to extrapolate but still it's really really focusing on the actual uh points so lots of Regions near them and uh very smooth mapping uh and no simplification anywhere in the in the space but then once you reach this stage and you keep training again like much longer than what you will uh usually do what happens is that there is still some gradient information uh that is conveyed through your loss and the network will as you said DEC complexify around those points and so the regions will start to migrate and move away and instead they will
focus on where the decision boundary is so all the allocated parameters are trying to fit the decision boundary very precisely instead of remembering where those points are and because of this the radius of the regions will increase around those points and therefore you will get uh adversarial robustness and you will reach this stage where your network goes from something really smooth almost like uniformly Smooth to being peace wise constant which is what you should converge to in the limit
theoretically so this is a really nice property that naturally emerge although you have to train for very very very long time for it to happen yes yes I suppose you could argue it both ways whether it's complexification or DEC complexification but but the remarkable thing as you say it moves from looking at the training examples to looking at the regions and there's this great figure that I'm going to show again on the screen now where um after this kind of um grocking phase has happened you get these these partitions emerge and it looks a little bit like a topology map or like a contour map or something like that and these partitions look very much like a veroni diagram so so it looks like the partitions are equidistant the boundaries are equidistant between the points and this it looks like a mountain structure it's not a single like decision it's actually many that have been squashed together yeah yeah yeah exactly so when you see those huge concentration of partition regions all
of those are squashed together around the decision boundary to bring the uh representation capacity to go from one class to the other uh and this is what you want right because when you are near a point and it's in neighborhood you just want a simple aine or even a constant mapping you don't need to put a lot of uh parameters there a lot of regions but instead where you want to put all your is when you are at the decision boundary because this is where you need to go from one class to the other so you need actual curvature in your mapping so this transition is really the key that goes from uniform smoothness in the space to piecewise constant mapping and this is what brings adversar robustness as well and again this emerge only after very very long training because as you said before it's not the first thing that the network learns right so it's sort of a edden solution that emerges after very long training because maybe the gradient
Norm to reach there is very small or maybe because just fighting the implicit bias of your architecture uh because as we also showed uh as a function of the strength of the regularization you can control the rate at which this emergence happens so basically the more you regularize with things like qu Decay the more you fight this SP solution and therefore it will maybe not happen at all or happen very uh late during training even later this is um it's related to sparcity right so we know when we do iterative magnitude pruning and you know we we train a dense Network and then we kind of like you know we we pull out all of the um the the weights that have low magnitude and and the the sparse Network strangely is more robust even though we've taken away most of you know most of most of the weight and isn't it interesting that after this grocking phenomenon the network we get resembles a sparse Network yes yes so it's exactly related so in another paper
we showed that you can actually do pruning in a reined way uh as a way to simplify the partition to make it focus on the decision boundary rather than the point and you can prove a relation between prining the impact on the geometry of the partition and even other methods like collapse in the rank of your parameters and uh this type of regularizer so basically there is a onetoone correspondence between all those things and the nice thing is that the partition gives you a single geometric object where you can visualize all of those and understand where and why they are beneficial but yeah exactly it's very related to like this lottery ticket hypothesis and like iterative printing in a way when you do itative prining what you probably do is you first switch this like complicated solution with like uniform distribution of the region but then on your own aggressively you remove most of them that are uh useless for your task so probably the one near your points so you
bring the model closer to this later stage but through active uh prining of your model parameters or units how is the phenomenon related to double descent yeah so this is uh one of the thing also related to neural collapse that we mentioned before so basically uh there is this Dynamic that at first there is this sort of uh memorization and then you start to uh learn to extrapolate except that here we don't look at it in term of capacity as number of parameters it's more uh geometry of the partition but you have the exact same thing so if you look at uh this local complexity measure that we derive you can see the Dynamics or the migration of the region so when you look at the beginning of training uh and when you start having an increase in train and test accuracy you have a lot of regions that get concentrated near the points and this is like the first Ascent that you get after the first descent and this is where you
get no robustness at all so this is where people will start will stop training because your train and test accuracy look good uh but then you don't get any robustness if you keep training then suddenly the regions migrate away so you see this second descent happening and this is when eventually robustness emerged because again those regions moved away so the ones near the training points and test points have bigger radius and therefore you get robustness but this is uh giving you a new way to look at things like double desent or just uh training Dynamics through the length of the geometry of the partition which is really nice because uh until now most of the things that were studied was looking at the loss function or train and test accuracy uh which are may be very like task specific or uh very like black box in the sense that you just look at a network F and you don't really dive into it but now you have this new way to look at what's happening within your network in term of this
partition and so one of the big future question is to try to rederive most of those result in term of the uh geometric properties of the partition right now um we use regularizers because um I mean certainly this was more the the old school view but by kind of deliberately straining networks to be simple they they train better but what we're talking about now is that actually we want to have um a type of complexity so I think you said to me earlier that if we're not careful about our regularizers we might not even get this effect in the first place yeah yeah exactly so uh so first of all there are many ways to regularize a network like implicit and explicit regularization and even methods like bash normalization for example that we may think okay it's just a way to uh make training uh easier because you have normalization actually it acts as a regularizer as well so in this other paper we show that if you have batch for example you actually actively try to
concentrate the Regions near your training points so when you employ techniques like this you will actually fight this sparse solution and therefore you cannot get there at all or maybe you can get there through even longer uh training episodes and as you said when you use other things so like weight Decay for example this has also a strong bias you say Okay a solution near zero is but brings your model to a nice solution uh and usually all those regularizer try to enforce smoothness in your mapping in the L2 sense of it but because of this you don't try to get to a piecewise constant solution which is the one that will give you adversary robustness and which is the one that you eventually reach When You Reach this adversar working phase so that's why there is also a lot of implicit biases that we put through standard regularization that maybe we need to rethink if you want to speed up the the emergence of adversary gring for example one of the themes that we'll talk about
today is that you know new networks do incredibly interesting things later on in in the training Dynamics and this is great right if you're meta or if you're Google or something because they've got these big GPU clusters and and they they train neural networks Beyond which you know is it's it's out of our reach for for the normal person so so we we want to we want to capture that behavior and we want the neural networks to do it earlier and I know you've already done some work with um I think didn't you build a geometrically inspired regularizer that kind of made the um the boundaries orthogonal to each other could could we design a regularizer that would encourage this gring Behavior sooner yeah yeah so that's a very good question so first as you mentioned uh so right now we just we reach this adversary robustness through very long training and because we don't actually do aders training the robustness we get seems to be uh very good across
different type of aders attack so that's a really beneficial property that people want but as you said the problem is that because you need to TR for so long right now it's not a solution that everyone can get access to and that's a really big limitation so that's why when big access of research is how to speed up the emergence of of adverse gring so that everyone can get access to it uh and then to your second Point yes so there are a lot of ways we can build regularizer based on the geometric understanding of the partition so for example one thing that is really easy to compute even for very very large network is the distance from a point to the nearest uh boundary of the region it lives in so this uh quantity this distance is differentiable with respect to the parameter of the model and it's really fast uh to obtain it which means that you can actually use it as a regularizer during training so this is just one example but there are a lot of ways you can derive a differentiable
regularizer that uh can be used to enforce some constraint in your partition another thing is that you could actually not use a regularizer but try to build the architecture with those constraint and force so one typical example is suppose you have no biases at all in your network then the type of partition you get is constrained to be Central so all the regions are cones going away from zero to infinity and this is the art constraint so if you don't have any biases then you constraint your partition to be always look like this and therefore you don't need to have extra regularizer so there are a lot of ways you can either build art constraint into your architecture or parameter ation of the weight or build a different regularizer that you can use during training yeah absolutely I mean after speaking with Sarah last week as well she had this paper out about the um you know the EU AI Act and the executive order and and they had this um hard
absolutist limit on the number of compute flops which is a tally of the amount of computation operations that that that we do and the thing is we're in the regime now where um people just think oh you know there's a commensurate relationship between capabilities and compute so let's throw more compute at it and what what we need to be doing is smart flops but but further we need people like you that actually have a theory of neuron networks because had you not had this spline the of neural networks it wouldn't be possible for you to have the mental model and to design new regularizers in a principled way it's so important yeah yeah exactly I think one of the key benefit of using splines is that not only it giv you some theoretical uh guarantees and solutions but also the type of things you can visualize are really easy to interpret so even if you never used splines before it's really easy to look at those figures of like the partition the regions and see why this partition is
better than this one for this specific task or in term of robustness so uh the good thing is to not just have a theoretical understanding of deep networks but have something that any nonexpert can visualize and act on and use to actually do better training of state-of-the-art model so you want it to be tractable interpretable and easy for everyone to to get on board with basically and as you said uh from this you can get really strong insights for example through this paper uh we see that if you have uh allocated number of flops uh the common wisdom or at least what most of the people may do is just say okay let me try to Feit the biggest model uh that I can on my GPU and then whatever remaining amount of flops I have I will just use it uh for training time but from this paper what you see is that actually depending on the type of application you want if you want for example adverso business you may want to use a much smaller model but allocate
flops for a training time instead and when you do this different flop allocation as you said like smart flop allocation then you will get a model that is adversar robust uh after this long training episode so that's why through this you should bring back questions about okay where do you allocate your flops based on what properties you want your network to have talking about your results a little bit how does it change depending on you know the type of problem the the data set and so on what what have you seeing yeah so uh there are a few trends that we saw so for example as the size of the data set increase or decrease or also as a function of the noise you have in your labels then the emergence of gring can be delayed or not so those are things to uh keep in mind as well and those are things that could be used later to also try to speed up groing so for example if you have maybe a smart curriculum for training or if you have a sort of like
teacher student uh training that's the type of thing you could try to do to speed up the emerence of gr King and now there are more and more paper trying to look at this because uh again all of those things are intertwined so if you think back again about the partition you have to think about the partition as being adaptive to the data set that you have in hand and that's one of the beauty of uh the splines that deep networks use as opposed to standard spline is that now the partition really adapts through gradient Descent of your weight to your data distribution uh and the loss that you have so if you change all your points are distributed the number of points the dimension in which they live or just the parameterization of your network it will impact the partition that you learn and therefore will impact the geometric properties that are either beneficial or not for you so all of those things are intertwin and the the beauty of the spline uh interpretation of deep net is that you
can understand this relationship precisely and uh you can like provable guarantees on why you get this partition and not another one so now you can have informed decisions or to act or to parameterize your model to reach a state that is good for your Downstream task yeah very interesting I mean I think now might be a good time to talk about your um local complexification measure the only reason I bring this up is the first stage is we can you know when we've got this measure of complexification and grocking we can change the hyperparameters the you know like the the prediction architecture and so on to optimize this effect I mean maybe Downstream we can actually have a principled way of Designing the architecture to to optimize grocking but how did you design that that complexification yeah yeah exactly so basically uh what we are trying to do is look at how many regions or how complicated is a partition near a specific point so a good proxy for that
is simply to count the number of regions that are nearby uh and as you mentioned before this is roughly equivalent as how much bits of information your network has in this neighborhood and basically uh what we do is a proxy to get uh that number of regions very quickly even if you use very large model uh which is based on per layer counting of the number of vertices that are in the Epsilon bow uh and then we do some abls to to show that this is a good proxy for the number of regions uh but this is what we measure and basically what you see in those local complexity graph is that this number has different Dynamic during training and the very interesting thing that you observe is that it picks when the train and test accuracy reach the plateauing phase but then it starts decreasing much before you get the adversarial groing uh happening which means that this metric is actually much better it's more sensitive to training
Dynamics and what happens in in terms of your deep Network geometry because this metric starts to show this as you said before the complexification around the point much before you get the adversarial groing so this is really nice because you have a sensitive metric uh that tells you all the geometry of your model evolves and this also opens a whole new door to for example new ways to do early stopping or to understand where your network is done training or not because even if you are not interested in this adversar groing so let's say you just want to know okay when the first stage of training happen you can just look at this metric and start to look okay when is it plateauing and when you reach this first Plateau area you know you can stop training here Al you never computed train or test accuracy so you see that uh a proxy proxy metric that characterize the geometry of your partition is actually all you need to re understand the stage in which your network is and do you need
to stop training or do you need to change some IP per parameters or architectures or thing like this uh and in fact that's something that some people have been using before so there is uh this paper by Atlas from ostin where they show that you can do neural architecture search just by looking at some statistics about the the partition so this is informative enough to do neural architecture search uh and get a good uh good model to train on interesting why do neuron networks kind of learn low complexity low frequency features first yeah so this this is a a good question so there is a lot of work on this like implicit bias or like Simplicity bias uh where you just try to learn the simplest trule first like those spirous correlation things right and that's one thing that people are trying to fight uh a lot because of course you think you learn the good solution but actually you just learn a shortcut solution that maybe will put you in a really bad situation later once
you deploy your model and that's something that is a really active area uh so there are some cases where we can explain why this is okay so for example if you learn by reconstruction right there is this other paper where we show okay uh there is this bias that comes from the data set because this uh Simplicity bias is transferred in term of okay which frequencies of your image have the most gradient information and it turns out those are the low frequency part of your image and you can prove why this is the case when you learn representation by your construction uh but in the most general setting I think this is still open question and intertwining uh the implicit bias of your architecture the way we do training and maybe even other things like bat normalization uh and that augmentation as well and you implied that high complexity features are less likely to be shortcut features what's the intuition for that yeah exactly so basically uh at least for perception
task for example uh you can show that when you look at high frequency features visually you have much less of those perous correlation for example between what is the background and what is the actual object in the image because this information is not present in the high frequency part of the images so uh naturally because you remove them then if you train on this type of filtered images you will of course remove the opportunity for the network to learn those shortcut solution and it will have instead to focus okay what is the actual shape of the object I try to uh classify instead of just okay is the background grass or is the background nice Beach and therefore you can just from this tell what is the object in the image so this term emergence comes up quite a lot as well it's it's a b of a wooly word and people talk about it in respect of grocking and sometimes it's overestimated because you know like they use log plots and the grocking isn't quite as transient as people think it is

Ask anything
We've read this whole study set, so questions about it get the best answers.