sometime there is an idea that just makes other weird research results make so much more sense and sort of cascade to explain a whole bunch of phenomenon. neural thicket from the great yulu gan is one such paper that I absolutely loved from start to finish. the old mental model I had for pre-trained neural networked was that the pre-training regime made them land on a single good set of weight that was optimal for many tasks. but after going through the paper "Neural Thickets: Diverse Task Experts Are Dense Around Pretrained Weights" my view has been changed. the better idea seems to be that the model after pre-training is in a basin where it is surrounded by more specialized expert at varying distance from that set of weights which the authors calls thicket. a bit like the valley surrounded by mountains. now depending on whether the model has big or small capacity this density of thicket will be varying and these expert weights will also have varying level of difficulty to be reached via post-training. this finding elegantly presented by Yulu & co. has far reaching consequence on how we should think about pre-training and it's connection with post-training models (and even distillation / continual learning) very densely packed interview in there and there is a few open threads that are ripe to be picked up if you are interested in this research direction! ps: my favorite bit is the connection with the baldwin effect in biology which is an evolutionary concept proposing that learned behaviors can shape the course of evolution, very fitting with post-training dynamics! Table of Content: 00:00:00 - pre-trained LLM are surrounded by tasks experts 00:05:35 - introduction to the great yulu gan and his beautiful paper 00:08:21 - what are neural thickets? 00:13:25 - relationship between scale and neural thickets? 00:14:56 - why it’s happening for the pretrained base model? 00:18:00 - solution density for small and large model 00:19:30 - do all perturbation help in the same way? and why? 00:25:00 - why does mixed data pretraining create neural thickets? 00:30:20 - would a distill model exhibit a different kind of distribution landscape? 00:32:50 - RandOpt algorithm 00:36:50 - where are the gains coming from with adding random noise? 00:45:45 - what happens to the distribution of the weight when doing the distillation? 00:48:55 - does the useful perturbation of the layers evenly distributed? 00:51:40 - how should we releasing model with a weights distribution perspective? 00:53:56 - does routing work better than distilling you think? 00:56:10 - what do you think will happens at 400B? 00:58:10 - how does this connect to continual learning? 01:02:20 - connection with the baldwin effect from biology? 01:06:30 - discover novelty by random exploration of the weights? 01:09:00 - what’s next for the great yulu gan enjoy folks hope this stuff is useful🌹 Get full access to learning with yacine at www.yacinemahdid.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_01Today, we're going to dive into the strange geometry of pre-trained neural network, lost plane, and what they mean
SPEAKER_00for post-training.
SPEAKER_01Yes, we're going to dive straight into the curvature of the distribution of the pre-trained weights themselves, and it's going to make a whole lot more sense in a minute. The old mental model I had for pre-trained neural network was that the pre-training Like recipe, make them land into a single set of pre-trained weights that was optimal for many tasks. That was the mental model I had. But after going through the neural ticket paper, this one, by Yulugan, my view has been kind of radically changed.
SPEAKER_00The new metal model I have in my mind now is that
SPEAKER_01for whatever reason, the model during pre-training is getting pushed toward a region that is pretty flat, like a bassin, I don't know how to say it in English, where we're just surrounded by like specialized experts, A bit like this valley in Chilliwack, British Columbia, that is surrounded by So Yulu, the first author of this paper, demonstrated that with various very elegant experiments.
SPEAKER_01Which we're going to go through in depth today. But the most interesting one in my opinion is that they made an algorithm which will randomly perturb the weights and then sample them together with great performances. So like this revolve in post training, GRPO, ES and a whole bunch of other algorithms while being It's like almost too dumb simple. Like literally they will jiggle the weights and like put them together and that will be the end result. So in this conversation, we're going to start the gentle walkthrough of the paper for people who are newer to this type of literature.
SPEAKER_01So you don't have to read it before watching this video. Then we'll get to a whole bunch of existential questions I had that I asked Yulu about. Like first, why do these tickets exist at all after pre-training? And what it is about pre-training That fill the space around a checkpoint with expert in the first place. And then we'll try to take a step back to what it actually imply. This kind of structure of the distribution of weight for post-training, for distillation, for continual learning. One quick thing before we start. The team built a really beautiful, very visual project blog at tickets.mit.edu.
SPEAKER_01Link below. You should check it out. Like a very visual and will help you kind of understand at the deeper level what the results are showing. It's kind of a good companion website to the paper. Before we get into the interview, I want to talk a bit about RC, the OpenAI lab that is making this interview possible. If you are familiar with the OpenAI model landscape, you know it's pretty much dominated by lab outside of North America. Well, RC is a very capable AI lab that's not I had the chance to interview the CTO, Lucas, and the pre-training lead, Varen, about their Trinity Large Thinking model, which is a 400B sparse MOE.
SPEAKER_01Working with the team is how open they are, like yes with the model weights, but also with like the whole training methodology and how humble they were about where it worked and where it didn't work and where there's room for improvement. So this level of transparency is very unheard of in the space. They are currently working on another run of the family of model which I'm super pumped about. You can get this model on open router, right? Right here, very easy to get set up. If you're into a personal agent, you can get it set up within your Hermes setup pretty easily. You can also try it out and use it straight within the Trinity platform right over here.
SPEAKER_01One way I'm using these models in my workflows for like knowledge type of work is I'm using them extensively to kind of take a whole bunch of my notes as I'm navigating to the material, let's say for this interview. And then I give it to it to kind of go and do a bigger search to hook it into the literature and like the broader information. Let's copy paste that. So these are kind of most of my notes about like this interview I did when I was reading the paper and like structuring all the links I had. And then you will go and do some deep research on the subject.
SPEAKER_01So once it's done, I have like a bunch of more grounded information about like the author, about like the different paper. And what I usually do after that is ask it to kind of figure out all of the cluster of questions I can ask that are interesting, that is grounded within like this core piece of knowledge that will be interesting to dig in with respect to the literature. So I have my little prompt for that and then it will do it by trying to create questions that are interesting and that are not answerable I try to ask it
SPEAKER_01to generate as much question as possible to really exhaust all the possible like angle and then what I do personally is I look at all the different themes and I eliminate those that are like kind of trivial or not that interesting And I focus on some that are much more related to the intuition behind that is not explicitly said in any of the literature I've read. And then I start to kind of fuse them together and then like, or kind of generate my own question based with like some of these question stubs,
SPEAKER_01right? And that's it. Big thanks to RC for making this interview possible. Very cool lab to keep an eye on and to follow on Twitter. Let's now dive into the interview.
SPEAKER_00Hi, everyone. My name is Yulu Gan, and now I'm a second year PhD student at MIT CSAIL, advised by Philip Isola and Tommaso Poggio, and my research interest is around At a very high level, the intuition is that pre-training does not just give us a good model, it actually gives us a bunch of task experts. So instead of saying, hey,
SPEAKER_00here is a pre-trained model, and now we need to teach it a new skill, we can ask, are there already many nearby versions of this model that are better at different tasks? And what are we finding in the paper is that the answer is yes. If we randomly perturb the weight of the large pre-trained model, many of those nearby models are not just worse copies. Some of them just become They may improve on one task while getting worse
SPEAKER_00on another, but they can become a coding expert, a math expert, a writing expert. And all that suggests that the pretreat model is sitting among many local experts. So that's a high level intuition about the paper.
SPEAKER_01A kind of logical step from why evolutionary strategy even works with these big models, right? It's because they're so densely packed. Can you just tell us what's the logical kind of steps that you took from the paper about evolutionary strategy to now with just looking literally at the shape of the Lawson's case?
SPEAKER_00Yeah, I think the connection between the evolution strategy paper and the secret paper is that they are both treating the post training as a selection problem, but in evolution strategy paper, like you sample a positive So it's population-based and it's multi-step. And RandOps is like a more,
SPEAKER_00Extreme version of that. So instead of doing many iterations with a small population, we do one large round with many samples, and we do not update the base model. So no iterations at all. We just select the best ones and ensemble them. So this suggests that the experts or the solution density around the base model is extremely high and dense.
SPEAKER_01Yeah. I mean, I have so many questions. A good flow right now will be like that you present a bit like the research with your slide deck. And I'll interrupt you, Atraat, to ask my question.
SPEAKER_00Since I have already talked about the intuition and the flow of the paper, maybe I will skip some of the introduction, but I will just start. So another analogy maybe used for have intuition about the paper It's like if we think about finding a diamond in the grids and we have the grid size of 13 and it's very hard if we just have one diamond in these grids and it's very hard
SPEAKER_00to Find these grids. But if we have many, many diamonds in the grids, and then by a random click on the grids, we have a much larger chance to get the diamond. So this is an analogy that we can perturb the model by clicking the grid here, and the star here is the base model.
SPEAKER_00Actually, this is a long question that people ask for a long time. I mean, it's back into 1999. Jurgen, Seb, and Banjo, they tested this. Random guessing algorithm on neural networks. And they do exactly this thing that they repeat randomly initialize the weights until the resulting network happens to classify our training sequences.
SPEAKER_00In their paper, they said random guessing cannot be viewed as a reasonable learning algorithm, and they would never use random guessing in realistic applications. It's impossible to train a neural network by guessing. And this makes a lot of sense because if we consider the neural networks, they will have the curse of dimensionality that is easy to get one point right.
SPEAKER_00But if it goes to two dimensional problem, and it's very hard to get the two points right. And for those large language models, they have billions or trillions So, almost impossible. Also, people were talking about how powerful the gradient descent is, and someone, they tested, they used CLN on
SPEAKER_00And then they find that the random step is literally a 185 sigma event compared to the gradient step. So it's almost impossible if you want to So back to the correlation between the CK paper and the evolution structure.
SPEAKER_00Actually during our work in our explorations in the evolution strategy we find we can use very small population size that is around 30 and the model on premise is around And this can work. So this suggests that the reward landscape of the large language model should be much more denser than we thought. But during that, I mean, in the evolution strategy paper, We didn't go very deep into,
SPEAKER_00we didn't look into the reward landscape or loss landscape of the large length model. So in the CK paper, actually, the first thing we do is that we look into the waste space and the reward landscape of the large length model. If we look at the loss landscape of the pre-training objective, it's expected You can see a very wide region of low loss area. But if we look at the accuracy landscape,
SPEAKER_00we can see a very surprising phenomenon where you can see the landscape is very warm. Here, actually, each point here refers to a model, model's weights, and we do random projection from the model weights to this 2D map. So each point refers to the model weights, and the value of each point here is the accuracy on some tasks. For example, this figure is for GSM-AK mass reasoning dataset.
SPEAKER_00The value here is the accuracy of the math reasoning dataset, and each point refers to a different perturbed model. So this figure means if we have a pre-trimmed model and then we add some noise onto that, it's more likely you have a higher accuracy than the base model on some certain tasks. This is a scaling effect because if we did this analysis on a very small model like 0.5 billion model,
SPEAKER_00you can see that if we just perturb the model, you will just get a worse solution. But as a model scales up to a larger size and then you can find you have a much more warmer landscape here. And also if we map this 2D map into the 1D slides we can find, we can see it's more clear. Like from the zero point billion model to 32 billion model,
SPEAKER_00the accuracy of the base model, which is a middle point in all of these sub figures, and it shifts from the local maximum to the local minimum. That is, if you have a very small model, you perturb the model and all the solutions will be But if you have a larger model and then you add some noise into the model and almost all very large amounts of the perturbed model can improve the performance.
SPEAKER_00And this is also consistent with different datasets and also with different models. This is tested on And this is tested on the newest JAMA 4 model from Google.
SPEAKER_01So I had a question about this actually. I don't know if you have an answer for interpreting why as we go to a bigger model like that, we get into this local minima. Is it because where the pre-training weight stops is that they're a generalist at roughly everything, but they're not like a specialist? Or can they actually be an expert in one of these different areas that you've tested?
SPEAKER_00Based on this observation, we find that the base model is good, but it ends up like it's not a specialist on the different tasks, and it's somehow good at every... Every task, but if you just perturb it, it can get better on some certain tasks. So we have a hypothesis that maybe pre-training is just doing something that because it's trained
SPEAKER_00And it's just trying to find some good points that's good for all the tasks. So like find a main point. That is good for all the tasks. And then Post Train is to select the best model for some certain tasks. And this can be done very easily, like by just do a searching, a Gaussian searching window.
SPEAKER_01I don't know if it's just like a matter of the shape being like this or the fact, because I think you have an experiment where you do it from first principle, right? Is it also connected with the fact that now post-training and pre-training, mid-training are kind of starting to get blended together? Is the pre-trained model at the end of the day in this spot where it is easier to post-train? A fact of the whole training regiment? Or even if you're not even thinking about post-training,
SPEAKER_01it will end up there because of just the scale of it. What's your thought here?
SPEAKER_00I think it's hard to have a pre-trained model that can solve all the tasks very well because based on the hypothesis I mentioned before, if you have huge amount of tasks during pre-training, you can It can be very hard to reach the best performance on every single task, but you can just do an average performance on them. For example, you can do an average
SPEAKER_00So that's the reason why I think we should have post-training, but in a very easy way, like to perturb or apply run-opt algorithm on it, and then you can just find Domain specific expert for you. And we also define a solution density to describe this phenomenon. So the solution density is the probability of a random guess. Increasing performance by some margin.
SPEAKER_00So here we can see a very clear trend that if we scale the model size, and then we can get higher solution density. And it's also validated on several different tasks like mass programming, writing, and chemistry. And so to summarize the finding we have found is When you have a small model, if you add some perturbation into the model, you can likely have some Experts on some tasks.
SPEAKER_00But if you have a very large model, a very good pretrained model that have seen many, many data and many, many tasks, and then you add some little noise into the model, you can just get a domain expert in, for example, in chemistry, in writing, in programming or in math or in other tasks. One following up question is that we wonder Do all the perturbations help or hurt in the same way? So there's two hypotheses around that.
SPEAKER_00One hypothesis is that it's a generalist. So one certain perturbation can be So this can be beneficial for all the different tasks. Like here we tested on four math tasks and one programming task, one writing and chemistry task. The answer is that it's more like the specialist.
SPEAKER_00I think it's a figure three or four. In our paper, we show that the x-axis here is different tasks or different datasets. And why axis is here is relative performance. And we show that here each line is a certain perturbation. And here we can see that the model is more like a specialist because for each line, it looks like a zigzag curve.
SPEAKER_00And it can be, for example, the red line can be very good at Olympia bench mass data set, but can be very poor at chemistry data set. You may wonder why this happens. So we did a 1D toy experiment. So here I will introduce a toy example, the toy experiment setting. So here we are trying to predict the 1D signal and we have a
SPEAKER_00So we have four-layer MLP neural networks, which is a toy model. And the input is Y context here. So we give some context just as a prompt we give to the large-length model. Here we have some context, and then we are trying to predict the next token, or here is the next value actually, to predict this 1D signal. Behavior is very similar to the large length model.
SPEAKER_00So we have auto-regressive setting, and we have the context, and we have to predict the next token. And in this setting, actually we find the same thing. So, we find three regions here. The first one is, we called it the needle in the haystack region, where you You didn't pre-train the toy model.
SPEAKER_00That is, you just do random initialization to the toy model, and then you test it. For example, here is you let the model to predict And then it's because the base model can do it very bad. And so no matter you add noise or you add some other message, So we call this region the needle in the haystack.
SPEAKER_00But things changed if you have a pre-train model. So here we pre-train the toy model on a mixture For example, linear functions, sine waves, square waves, and other different signals. And if we have this pre-trained model, and then we add random perturbs, So here, the random perturbs are shown as the gray lines. And the model can have very different behaviors.
SPEAKER_00Like you can see here are many very different behaviors. And then we can select the top k perturbs among the random perturbs, which is the right line here. And so we can see this top k perturbs What it perturbs actually is looks near to the ground truth. So this is what we call the thick region. That is, once we have a good pre-train model,
SPEAKER_00and then we add noise into this pre-train model, The model can have diverse behavior or diverse predictions of functions. And the third region, we call it the plateau region, which is we predict Retrain the model on the linear functions and then do a test on the linear functions. So you can see the base model is actually very good or perfect at this task.
SPEAKER_00If you still add random perturbations onto it, it will just go into some wrong directions and you can always select the top K perturbs and you can always get a perfect But that just also didn't matter because the pre-trained model is good enough and it's perfect for this task. So this suggests that pre-training on a mixture signals may be essential. And we regard pre-training more like learning a prior over this mix.
SPEAKER_00And post-training is just to pick out the specific tasks. Another interesting thing is that-
SPEAKER_01I just want to go back to this. This one was super interesting for me because you have the mess that is happening at the 32B level, which is very hard to figure out. Then you have these very small models that still exhibit this based on your specific training regimen. But I still don't get why they do happen when it's mixed. Is it a similar kind of behavior where since you have all
SPEAKER_01of these different data points, the base model will be at like a region in the weight that will be kind of okay at everything but not an expert, right? Just to maximize like the performance. What's the rational here on the 1D specifically?
SPEAKER_00Yeah, so I think it's more about like the, if we want to enter the CK region, you need a good preaching model, but good means that it have seen a huge amount of data, like here we use the many different types of the functions, and once you have that, If you have good data and you have trained that good pre-trained model,
SPEAKER_00then you can enter the CKD region. And it cannot happen if you do not have that or if you have a model is already a special list on this task.
SPEAKER_01Right. Okay. So like this, I get, but then, um, I don't know, like, um, if this is the case and it's like about like the data and like how you're, you're, uh, you're having good pre-training, uh, like why are the AB model not entering that ticket reason, right? Like, uh, they're very sparse. Is it because like, they're not seeing, um, enough or like, yeah, here, here, like, What's the gap between this small model that is very purpose-built, that's seen enough, and then this bigger model 32B that has,
SPEAKER_01they're entering that regime, and then the 8B in the middle that is still not there.
SPEAKER_00Basically, your question is more about the large language model size, right? Like for the 0.5b model, you think it already see a lot of data, but you are wondering why the model size matters a lot?
SPEAKER_01Yeah, exactly. Well, I mean, it is connected to this smaller one because these are, if I understand it correctly, these are not LN. It's much smaller. Toy model. Yeah, these are some like MLP layers. So it's something fundamental, the ticket region, to what the model is seeing in the pre-training. But then you have the white 8B, or the smaller than that, that are not entering that region either.
SPEAKER_01So I'm just trying to figure out the connection here. Why is the smaller LLM Not entering that. Is it a matter of like the way they were trained? Just like the configuration of their parameters? What do you think here?
SPEAKER_00Yeah, that's a very interesting question. Actually, so here, in this toy experiment, we used the same size. So the model size are the same. So here we just figure out how the pre-trained data affects this CKD phenomenon. Yes, as you said, like for, so I think my guess is that, for example, those 0.5 billion model, they are so small.
SPEAKER_00And so if we train it on a huge amount of data and they will try, They will try very hard to adapt to this data, fitting this data, and try to minimize the loss. And so somehow it will be, Very sensitive and it's just like some students, they are trained very hard, but they are not capable for observing or to fit in all the data or all
SPEAKER_00the exams they will take. But larger model may have a bigger capacity to maintain some subnets or subsets of the weights to solve one specific task. So that's probably the reason why I think the smaller model cannot do it.
SPEAKER_01Right. And based on this, do you think that there's a smaller model that are trained from scratch and stuff, do you think a distilled model would exhibit a different kind of landscape here?
SPEAKER_00I think, yeah. So for example, for clan families, we all know that smaller models are distilled by other larger models. I think, for example, the smaller model, the 0.5 billion model and the 32 billion model, they are all distilled from bigger models. So they are under the same setting. And I think it will be interesting to see what if we have a model that is trained
SPEAKER_00from scratch without any distillation from larger models. See their behaviors. But the QAM model families and the JAMA model families, they are highly likely or distilled from huge models. Yeah, and here another interesting thing is that it also holds on other types of models, for example, diffusion model, if we do text to image diffusion models and then add some
SPEAKER_00And we can find it can change the colors or the styles of the images while the image looks still okay or looks good, I think. And one interesting phenomenon here is that some certain perturbation like the random one, random two, They are consistent in the style or in the color. For example, the perturbation one seems this perturbation loves the color blue,
SPEAKER_00and the two likes the color white. Seems they have the consistent styles that applies to different prompts here. Okay, and then I would introduce the run-opt algorithm. So we already see that The solution density is very high and we will have a very good diversity if we add different perturbations into the model.
SPEAKER_00We have a very simple algorithm we named RAN OPT. It's extremely simple that you just need to guess random Gaussian perturbations of the weights and then pick the top K on a different value. So you can just write the pseudocode in just a few lines.
SPEAKER_00First, select top case seats based on the performance on a validation dataset, and then you assemble them. It can just get very good performance. Then I will show you some results here. This is a figure 1c in our paper. We can first see this part in the red box. First, we tested it in the countdown task and we used the OMO3 7B Instruct model.
SPEAKER_00Let's first see this. So we have three data points. It's a one pass inference where k equals one. So no ensemble here. So it's just a random guessing for ranopt. And these two lines, The vertical line is the evolution strategy, and the blue line is the GRPO. And you can see that after around 500 training steps,
SPEAKER_00the evolution strategy We can reach similar performance to the Reinopt. And let's look at this part. So this part is we tested on a set of 50 past inference. So it means we do an ensemble with the top 50. So then we can get around 85 percentage accuracy.
SPEAKER_00The purple dashed line and the blue dashed line is ES and GRPO, but also use the ensemble. For example, you can use the checkpoints along the GRPO's trajectory and do an ensemble. And it also helps a lot on the performance if you do ensemble to evolution strategy or GRPO, but it still cannot reach the 85 performance of the Randopt.
SPEAKER_00And also Randopt have lower training flops because we just have one iteration.
SPEAKER_01Yeah, I think I will skip this.
SPEAKER_00And we also did a speed run to let the model to achieve 70% accuracy on countdown on eight. And you can see the run-opt can have both lower work-lock time and lower total compute regarding the training flops. So we also run it on 200 H100 GPUs.
SPEAKER_00So under this setting, we can just use 3.2 minutes to get To get a 70% accuracy on countdown. And if you use a PPO, you need more than 10 hours to get that. And there can be some issues or concerns around that. For example, you may be wondering, is it just a random noise fixing the format? We tested it. And we find that, yes,
SPEAKER_00adding random noise can sometimes just fix the format of those measuring data sets. And we also find if you use GRPO, you will also have We have a large amount of portion that is improved by the format. But there is still the case that is around 16.7 percent. This is a percentage accuracy that is improved by purely you correct the answer,
SPEAKER_00but not just by correcting the format for an opt. Also, you may wonder, is it sandbagging phenomenon? This phenomenon is introduced by a paper last year, I think. They show that nowadays the companies are releasing models that are So good and they want the model to be not that good and they have some techniques like to inject some special recipes.
SPEAKER_00And this can be recovered by adding noise. But actually, we find this is not a case for the CK phenomenon because we also tested on the OMO model, which is a fully transparent model. And you can check the training code in their code base. It didn't have these techniques.
SPEAKER_01Could you just go back to where we see like if it's a formatting and like the formatting aspect has a big impact in the DRPO. If I understand this correctly, the dash red is the regression in the post-train model that are introduced, but they still have some gain back. So you lose a lot and then you gain back based on the baseline.
SPEAKER_01But it seems like a run opt with 50 has almost no regression and then has the formatting boost from From GRPO, was the GRPO also at 50, or was it lower than that, in different groups?
SPEAKER_00The question is basically about why the ensemble of the run-ups have a
SPEAKER_01lower... Regression, yes. Because it's almost like you're just taking the best of all of the different elements. And there's basically no regression here, which if you compare to GRP, which is not the case, like with GRP, there is some regression that you get here. And then you get the bonus from mainly the formatting aspect. But here you get the bonus from the reasoning that is a bit better. And the same thing as the GRP with the formatting.
SPEAKER_00Ensample helps because it reduces the risk of relying on one perturbation. I think a single perturbation may improve one task but hurt another and also this This is the cause of the regression here. But if you ensemble many selected perturbations, the useful signal can add up while some of the regressions cancel out. Simply sampling the base model 50 times can help too.
SPEAKER_00And we also have those results in our paper.
SPEAKER_01Yeah. It looked a bit like some inference time kind of scaling methodology where you can sample multiple times. Have you benchmarked in a similar way how different it is from benchmarking it from sampling, let's say, 50 times in the output space versus the wait space and comparing what's the difference between these two and maybe assembling the output here? I think you call this like the TTMV baseline in the paper, right?
SPEAKER_00Oh yes, we have the baseline in the appendix table 4, I think. It's a TTMV baseline. So TTMV is the test time majority vote. So it's basically just doing ensemble to the base model. So it's a baseline we want to compare with because we are doing random guessing and then do ensemble. So that baseline is we didn't do random guessing, we just do Ensemble on the base model and we find that the performance is worse than
SPEAKER_00the Reynolds because this also should suggest that we need the diversity for the ensemble. So you may also wonder if this is just because the batch size or group size is not large enough. Because usually if you have a larger batch or group size, you can have better performance. And so here in the paper, in the appendix figure, we did a sweep across the batch or group size and tested on the GSMA-K dataset
SPEAKER_00for Our finding is that no larger batch or group size does not always lead to better performance. You can see here is a trade-off here. If you look at the green circle here, So if you increase the group size for GRPO, you can increase the performance, but you cannot always do that. But for the random opt, we didn't have the batch size or group size.
SPEAKER_00We didn't have this hyperparameter. We just have the population size. But you can see, we also try different learning rates here. You can see, no matter how we tune the hyperparameter, The parameters through an opt is always better than those algorithms. And you may also wonder, isn't the magic just the ensemble? Also, this is a, I think it's a figure, like a figure, maybe figure eight or figure nine in the appendix.
SPEAKER_00And we show that if you just do random guessing, you do not do The ensemble, it can already improve the base model performance a lot. And ensemble also helps a lot. Actually, the ensemble part introduced a major limitation. So you need basically, if we use And then you need 50 more times for passes during the inference.
SPEAKER_00And then we introduce the distillation solution In the paper, I think it's section 8 or section 9. And basically, we just first filter and keep only hard examples and use the top 50 models to generate response So we can get responses on those hard examples and then we distill this into a single model so it can remain the performance very well and then we can just get a single model, we do not need to do an ensemble.
SPEAKER_00Also, there is a follow-up paper I think came out last week. They observed that run-op's top-k perturbations share a low-rank structure across tasks. So they designed a compatibility-aware and reward-weighted strategy in the shared low-rank sub-base instead of assembling. You can also use their way to get rid of assembling and just use a single model.
SPEAKER_01It seems to be, I don't know, a bit similar in some shape or form to self-distillation, right? But at this point, you're using the distribution of parameter space around the pre-training way, the teacher in some way, right? And then the SFC on the base model. Consolidating rewarded perturbations for post training.
SPEAKER_01When you're doing the distillation on this distribution, what happened to this weight space of the distant model afterward? Did it just level up the whole thing and now it's not as spiky with the expert around? Have you tried to visualize that part that you did at the start?
SPEAKER_00I didn't look into that, but I think that's very interesting. And I would say distillation compresses the behavior of the selected experts back into a single model. And the ensemble contains many different specialists, but it's So distillation gives us a way to transfer that ensemble behavior into one model. But I would not say distillation fully levels the basin around the base model.
SPEAKER_00We have not directly shown that. But I think it does combine the behavior of the multiple nearby expert into one. And I think it will be very interesting to explore that, like how to leverage the basins around the base model.
SPEAKER_01I think it will be very interesting to visualize this because like if you look at the different possibility here, it could level the thing, right? It could make like every different perturbation kind of the same around this or it can make it like it can kind of I destroyed the ticket. Maybe the ticket doesn't exist anymore. And then it looked more like the AD model now, which are sparser. The performance will be better, but this will be sparser because that point is the point where
SPEAKER_01the information is all distilled around. It will be pretty interesting to see that result.
SPEAKER_00In the paper, we show that Randopt can achieve similar performance as standard approach like PPO, GRPO, or ES. And if we want to just achieve very high accuracy, we think there is There's no clear winner when giving all methods k test time samples. Because if you enter the CK region, maybe it doesn't really matter which algorithm you use.
SPEAKER_00Maybe they can just work. And if you want fast wall clock training, runoff is a great choice, I think. And if you want fast inference, you better distill it or use the strategy I mentioned in It's not just a crane, similar effects also happen on Lama, Omo, and also Lama. So the Gemma 4.
SPEAKER_00And it's not due to instruct tuning. Similar effects also happens on the OMO bass model. So we also tested a OMO bass model. And all the other models are in Instruction tuned model.
SPEAKER_01So that's pretty cool. But given this whole setup, a good post-training methodology here would be to kind of do roundup, and then you distill it into a model, and then you use that model at inference, right?
SPEAKER_00Yep.
SPEAKER_01Because if I understand correctly, the perturbations are kind of spread throughout the whole model, or are they specific to different layers?
SPEAKER_00We apply the perturbations to the whole model, so all the parameters.
SPEAKER_01Do you think there is some layer that matter more to perturb than others or like the effect throughout? Yeah, that's my point. Is it like the earlier layer? Is it like specific segment over there that matter more? Have you kind of looked into that part?
SPEAKER_00Actually, I didn't look into it, but I guess maybe some expert like they lie in different layers or maybe it's like a More global control over the four parameters and that can all happen. And yeah, I think this is a very good directions for the future.
SPEAKER_00And also one observation I have is that if I just perturb some certain layers like the MLP layers and also only perturb the attention layers, it can still work but just hurt a little bit of the performance.
SPEAKER_01Right, right, right, right. I think, like, with the paper that you shared, I think it kind of makes sense that, like, it is low rank in nature and you don't need to perturb all, but you can perturb, like, some part of it. I should read it a bit in deeper detail because they say that they're using one-tenth of their random perturbation budget and exceed single inference by whatever point. It seems to go into that direction of, like, not having to perturb everything, but just, like, a specific sub-portion of it. Right now, we have these models that get outputted, right? And it's their position in the weight landscape that is the model.
SPEAKER_01But I think your philosophy is a bit different here. I think you started with This philosophy of having like a distribution of weight, that's the artifact, the model that makes more sense, right? And then you can sample a class. Do you think we should be, when we like get these models and like finalize the training and stuff, Map around them what's going on and have these different flavors.
SPEAKER_01What's your thought here? Because if we have to figure this out, where the experts are, you have to run the whole battery of tests with the different benchmark. So what's your thought process here for how we should be Like releasing models now if we take more of a distribution perspective.
SPEAKER_00I think in principle, yes, if we can map the, for example, if we can map the basin around the model, it can help us understand better which directions maybe can improve which task. But I just think in practice, fully mapping the way space or the accuracy landscape is probably very hard. That's because the parameter space is just too And also the landscape depends on the task.
SPEAKER_00So I think instead of trying to map everything, we may need some probes, for example, random sampling, layer-wise perturbation, And also, I think it's very important to analyze the solution overlap among different tasks. So this can help us. So we have to know for a certain task which direction we want to go
SPEAKER_00and this will also hopefully can find some certain layers or certain parts in the weights that is responsible for some tasks and that if we can And then we maybe can even find a generalist by adding noise to different parts of the model.
SPEAKER_01Right, right, right. I mean, if you're distilling at the end of the day, to inference it, it doesn't matter too much, right? You're going to be able to have a much better generalist model in these different benchmarks that make sense. I was thinking along this line about like, would routing, just routing the different queries and stuff like that, be better you think than just like straight up assembling, let's say, or like by Because let's say you know this model is good at math or writing
SPEAKER_01because you benchmark it ahead of time. You receive a query, you're able to figure out is the math query, is the writing query, and you route it to the right expert by category. Strictly speaking, are we going to be in the same regime as Ensembling or the distilling version will be covering that part, you think?
SPEAKER_00Yeah, I think the things you mentioned sounds very like a mixture of expert stuff, like you have some gates that can control which subset or which model you are using. And this also reminds me, like, I think it's a very, it can be a very interesting direction to explore the ranopt with a continued learning setting because other...
SPEAKER_00Yeah, under the setting you mentioned, we can find a better way to enable the model to adapt very fast to different tasks and hopefully can reduce the forgetting problems.
SPEAKER_01Yeah, it's kind of like a mixture of perturbation, where you have a router in there that can figure out Roughly speaking, what type of perturbation, because it's the same model. You don't have to keep a copy of everything. You just have to know what perturbation you need to do. And then depending on whatever this task is, you do that perturbation and you're going to just shift your weight toward that expert for now. And then you can move around a bit like this. That would be so cool to do. And then it will get closer to adding that artifact being not just
SPEAKER_01a fixed weight model, but more of this distribution in the landscape. That's literally what it is. It is a distribution of stuff. Okay, this is really cool. I have a question about scale. What's the biggest that you've tested here? I think it was 32B, right? Yes, it's 32B.
SPEAKER_00Do you think?
SPEAKER_01I don't know. What do you think will happen at 400B and stuff? Do you think it's even more densely packed, a bunch of experts? Is it even possible, feasible to run this experiment on the 400B? What's your thought here?
SPEAKER_00I strongly believe that if we have 400B or even bigger models, the CK phenomenon will be clear, and the solution density will be higher than the 32B model. And it will be much, much more easier to do post training. And you can find many good solutions by just random guessing. And of course, I think we can run this on the...
SPEAKER_00So relatively, it's much cheaper than four-chain networks. Like people post-training the models using RL, RenOpt will be much more cheaper. Also, you do not need to store solvents of four models if perturbations are generated from RenOpt. We just need to restore the random seats.
SPEAKER_00That's very true.
SPEAKER_01Okay, nice. Are you planning on testing that out or no? I'm very curious about that part. I guess we know that these bigger models are much more gigantic even than the 400B. But seeing the progression from the smaller 8 to the 32, I'm very curious to see what happens when you have such a massive model, like an order money to the bigger.
SPEAKER_00Yeah. I think maybe I will find some time to try and maybe the accuracy landscape will just looks like a whole red region.
SPEAKER_01Yeah. I had a question about the connection from this to continual learning. I think we alluded to it a bit, but do you have an opinion about how this type of algorithm or distillation can link to continual learning and enable it in some way?
SPEAKER_00Yeah, I think it's very interesting to think about continued learning. I believe runoff can help in continued learning. And some interesting aspects, maybe like in continued learning, the circuit is no longer fixed. As a model changes, I mean, like model will change to some task expert to solve the tasks in your learning setting. And as a model change, the local neighborhood will also change.
SPEAKER_00I think one interesting idea is that and also very straightforward is to repeatedly sample the expert around the base model and then select the useful one for the new tasks and then you just need to repeat the progress and to do it in the continued learning setting. I think you can just imagine the loop like sample nearby experts, ensemble them, use the ensemble as a teacher,
SPEAKER_00distill it into a student if we want to relate this to the self-distillation pipeline. And yeah, and then we just repeat from the new students and sample them.
SPEAKER_01Yeah. That's kind of what I was thinking and like, how's it like with kind of this whole self distillation loop, maybe you don't have to do all this work prior to figure out where the And then based on that, you can, you, you, you, you, you, you, you, you, you, you, You know a bit more, okay, this one is like this expert for that. I don't know.
SPEAKER_01It seems like there is a discovery of the skill set that is around that model, right? And it's kind of discovering like these different tools that is using it. And at some point, there's maybe some consolidation that should be happening with all of the different skill sets to kind of elevate. And this is why I'm saying that it would be very interesting to see what What the landscape look like around the self-distilled renda because if it becomes drastically sparser,
SPEAKER_01I mean, it has some implication toward this whole loop. If it's still the wiggle, you still have the same overall shape. I mean, it can keep continuing like this. And maybe at some point you saturate and like whatever you are in there is good enough, right? But maybe it's like a signal for like, yeah, it's time to explore like a different type of tasks which are harder, right? And then you have kind of this auto-curriculum Going on,
SPEAKER_01because you're sampling the neighborhood, right? And the neighborhood is telling you if there's any gain in continuing what you're seeing. I'm pretty sure if you give a very hard task, a benchmark to these models, it will just look like low accuracy everywhere, right? But as they gain more capacity, they will be able to do some of these and then the landscape will look a bit different. But then if you continue the subdivision loop, I get the intuition that It seems like there's a direct connection
SPEAKER_01toward continual learning by properly wrapping this landscape exploration. Anyway, I'm super interested about this stuff.
SPEAKER_00I agree. I think we already have many very good directions to explore, and you already have specific plans and strategies to achieve that.
SPEAKER_01Okay, this is good. You mentioned the Baldwin effect framing here. I think in the conclusion and stuff, I really like that. Could you say more about your thinking about this effect? I think that is biological toward these models.
SPEAKER_00That's also I think one of my favorite parts in the paper to do this analogy because you know I'm very interested in evolution and that's also the reason why I get into this research line by doing evolution strategies last year and I think it began like many years ago like Just being so excited about learning evolution stuff. And yeah,
SPEAKER_00the borrowing effort is a very nice analogy, I think, because it says evolution may not directly It can simply encode every behavior. Instead, it can select for organisms that are good at learning during their lifetime. And I think for large language models, pre-training may play a very similar role for neural network. Pre-training may not directly solve every downstream task,
SPEAKER_00but it can put the model in a position where many downstream solutions are nearby and very easy to reach. Actually, the pre-trained model is more like they are trying to find a good initialization for the different tasks, and then we do post-training to select them. So it's very similar to the Baldwin effect. And it's also very similar and related to another research line, the meta-learning stuff.
SPEAKER_00Many years ago, people studied and proposed methods around the meta-learning and to make the pre-trained model It's more like a good initialization rather than a specific solution for some tasks.
SPEAKER_01Yeah, I think it's beautiful because I'm getting very excited about self-disciplination, but just like cultural learning in general, because it seems that it's very, very likely to be This whole paper has almost looked like a setup for this to happen. You have the model that is in the goods. If it's big enough, you have this other capacity and it's closer to being able to be able
SPEAKER_01to use these different skill sets. The only thing that it takes is just Random perturbation and being able to know which perturbation is good or not, right? Because when you're doing random, right? Distillation, you already map the 500 expert, right? If I see it properly. So you already map them, right? It seems that there's a way to kind of... Kind of self-evolve, not just the model on a specific benchmark or anything like that, but self-evolve the model capability to understand its landscape.
SPEAKER_01Because if it is able to understand the different Because now we're a bit more meta at this point. It's not about the model weight here. The model is the landscape around the weights. If it's able to learn and understand the weights and evolve to be able to use them properly, Depending on what type of benchmark that matters at this point in time, it seems that logically the continual learning aspect is going to be a given.
SPEAKER_01Because then you're going to be able to use whatever and at some point kind of compress and adjust all of the information into the weight. The last question I wanted to... To get your point, I think you've done some experiment over there about task that was too novel, right? What do you think about that? Being able to discover novelty just by the random exploration of the weight.
SPEAKER_01Do you think that this is possible in this regime or is still kind of bounded to what it's been seeing in the pre-training?
SPEAKER_00Yeah, so the question is about like does a random perturbation unlock very new skills, right? So I think I would be careful here. I do not think the paper, in our paper, What seems to happen is that I think different perturbations change the model's
SPEAKER_00And some perturbations make the model more likely to follow the right format, and some makes it better at a particular reasoning pattern, and some may recover answers that the base model So I think since the pre-trained model have seen so many data, so it's very hard to train, sorry, so it's very hard to say if both the RAN opts and those RAN opts RL algorithms or evolution strategy algorithms unlock brand new skills.
SPEAKER_00Yeah, maybe one hypothesis is that, okay, the pre-trained model just see all of the data. So that's the reason why. That's why we can do post-train very easily. But I think I would be very interested to explore more about if using Renopt or ES can unlock new The skills that RL or other algorithms can't. But now what we report is more like the accuracy on the task.
SPEAKER_00And people say it's an additional dataset that people didn't, sorry, The model didn't see it in the pre-training, but I think the model have seen some relevant or similar data set, so it's not guaranteed. It's a very new skill that learned in the post-training, I think.
SPEAKER_01So yeah, I just want to know to finish, what's next on your side and this direction overall? I asked you that with evolutionary strategy and it was very interesting because you were mentioning this research. So what's next on your plate here?
SPEAKER_00I think based on evolution strategy and run-off, there are so many interesting directions. And I think for me, the next step, I'm excited about some For example, I think first, the underlying mechanisms, like where do SIGITs actually live, and are they in certain layers, heads, MLPs, or some lower rank directions?
SPEAKER_00And another thing I think is about the algorithm, like can we make the run-out much cheaper using better sampling strategies and also leverage the low-rank searching routine or distillation or other methods. And so I think I'm also... I feel excited about the pre-training part. Like, can we train the model from scratch using the yacine or the ranopt?
SPEAKER_00But that sounds crazy. And I think the more practical thing is that maybe, like, can we train the model to have thicker and more useful local neighborhoods? And maybe we can introduce this objective into the pre-training and that can help. And I also think continued learning is very exciting. Like instead of maintaining one model, maybe we should maintain an evolving population, just as you said, an evolving population of the nearby experts and we can distill them
SPEAKER_00or we can just keep them. Yeah, so I think in this paper, Renopt is just a probe and there are so many interesting directions to be explored.
SPEAKER_01It's great. For me, the one thing that I was excited about the paper is that it's very exploratory in the sense of there's very few biases in this paper. Evolution strategy is now just one of the It's not that thing. So very low biases. And then you even went into the fundamental of it with the 1D. So that was very beautiful to see. But in my view, it can connect very easily to the pre-training,
SPEAKER_01the continual learning, the self-destillation type of literature that seems to work super well. But I feel like there's a connection too. To all this stuff. So I'm always pretty excited about this. Yolo, thank you very much for coming a second time here. It was awesome. It was a great paper. I'll put all of the information that you provided also with this other paper in the description. And we'll let you know as soon as it's up.
should you do a PhD? should you leave your software engineering job for grad school? how do you get into AI research coming from industry?I get these questions all the time, so I sat down with Andrew Drozdov, senior...
most robot datasets give the robot one instruction for a whole episode, like “clean the table”, and then a few minutes of motion. the model has to figure out by itself where one step ends and the next begins which is...
there is this kind of renaissance in robotics / physical ai at the moment and it's very stimulating.things finally just work ™️I had the pleasure of chatting with two experts from HuggingFace immersed in this...
it’s very interesting to see where next-token transformers still fall short (like the path-star graph problems) while crushing problems that look even more daunting.I had the pleasure of chatting with jayden teoh from...
RLM + continual harness + multi-agent communication is what compose the prime agent harness developed by prime intellect which now sits at a gazillion stars on github (22.3K).I was kind of already mesmerized by the idea...