# Workshop 23989

- Kind: Workshop
- Talk page and recording: https://iclr.cc/virtual/2025/workshop/23989

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

ありがとうございました。 Thank you.

Okay. Okay, so I think we can start. Welcome to our workshop on foundation models in the wild. And this is Hua Xie. So sorry. So do you Oh, okay. Yeah. So I do do some visa issues. So most organizers didn't come. So but we still have three moderators and the scene will be on zoom and I and Jianghan will be in person.
In the foundational models, I everywhere I wish has already been used in a lot of applications like autonomous driving, chatbot, drug discovery and others. So these kind of foundational models are very powerful. You can see like the advance of like large language model reasoning and also like the AI agent and this kind of foundational models change our daily life. So the problem is how can we leverage powerful foundational models in real world applications.
And this is what we would like to solve in this workshop and we have different follow research questions and the first research questions we would like to solve in the wild adaptation. So basically we will think about problems, how can we leverage techniques to adapt foundation models to specific domains such as drug discovery, education or other domains. And then the second question would be the reasoning and the planning and how can the foundation models to be enhanced to tackle more complex in the wild agentic tasks.
task that requires advanced reasoning and planning abilities. And the third question we are focusing on is about reliability and responsibility. And basically we would like to think about how can foundation models reliably outside the training distribution, how to solve the issues like hallucination, fairness, ethics, safety and privacy.
In the fourth question would be the practical limitations, how can foundation models tackle challenges in practical applications such as edge device deployment, inference time scaling and the long time context profiling. Okay, so we have a great line of 10 speakers from both academia and industry.
And in terms of the submissions, we have almost 136 submissions with around 102 acceptance, and we selected two oral, so every oral will have five minutes, which looks like more a spotlight presentation, and we will finally select one best paper for this workshop.
And the schedule will be, the morning schedule will be we have like six invited talks, uh we have like six oral talks and uh uh we have the w first first poster session. And in the afternoon we will have four invited talks and two paper contributed talks and uh also like a uh s have a s poster session too.
And he is also an organizer and thanks all for their hard working on this and we already like already like around the age 27 and we can maybe start one or two minutes earlier and welcome to our first or first speakers. Renai is our professor in both medical engineering and director of the mathematical institution of data science at the university of sorry this is like autopilot so I his research focus on the computer vision machine learning and bio.
our medical data science and he is our fellow over the HIV, AIBM, API and same and he has received numerous awards so welcome Reza for his very great talk about the first talk in our workshop. Thank you.
Good morning. Can you hear me? Yes? Thank you. Thank you for waking up this early. Actually a little correction, I moved to the University of Pennsylvania about two years ago. So I'm now a professor of electrical engineering and radiology at UPenn. This first talk will cover a little bit of the third area for this workshop that pertains the question of reliability.
And the motivation is that large language models are at the moment being used everywhere for a rich variety of applications. However, these models also produce responses that are undesirable. So here is an example where you can ask an LLM, for example, how to manipulate the emotions of people, how to disseminate misinformation and whatnot.
And this is done by uh crafting certain prompts with jailbreaks and this means that the LLMs could potentially produce undesirable outputs that could be harmful or not analy not well aligned with human behaviour.
So the key question is how do we do to improve the reliability of large language models, reduce the number of hallucinations, and in particular what we would like to do is to steer the responses towards behaviors that are better aligned with humans.
So there are at the moment three major approaches to do that. The very first one is to say, well, you can give me one downstream task that I'm worried about the safety. So that could be detoxification. I'd like the LLM to produce responses that do not contain toxic language.
And so to do that what you can do is to provide or collect a data set with examples of toxic sentences and examples of non-toxic sentences and then you can fine-tune the LLM to be aligned with that downstream task. That is great because you can provide specific examples of what you mean by your specific alignment task but the downside is that you need to collect data and do fine-tuning of a very large language model.
In the middle uh we have another approach which is maybe the easiest one, which is prompt engineering. You can effectively craft a prompt to uh tell the L_L_M_ that is supposed to pr uh provide good answers. Uh but in practice this means that you have no explicit control of the responses and you essentially just have to try many prompts and then hope for the best.
What we are going to be talking about here is the third kind of approach that I find extremely promising, which is representation engineering. And the idea of representation engineering is how could we steer the responses of LLMs into safe directions without having to do actually any retraining. And more specifically, here is one example. The idea is to really...
Look at the latent activations of the LLM, identify whether those activations correspond to certain concepts, figure out whether those concepts are toxic or not, and then try to edit the latent activations of the LLM to remove the toxicity. Just as a matter of example here, to illustrate this with a very simple example, suppose that the latent activation of the LLM was supposed to be for the concept red apple.
And suppose, for example, that you wanted to remove the concept red from that. So giving this vector and that this is the red direction in latent space and this is the apple direction in the latent space, what I'd like to do is simply to subtract this component. And the one approach to doing that

The one approach to doing that is called vector addition. That that's literally what I just said. You take the latent representation of red apple and you subtract the latent representation of red with some coefficient. Now this looks beautiful because it'd be so great if the latent space of an L_L_M_ was linear and I could do linear algebra with these concepts. But in practice, this does not work.
It does not work because you have to be very careful about how you choose that coefficient and if you choose it wrong, as you can see from this picture here, your you can subtract too much or you can subtract too little. So and if you had a way to to determine that coefficient consistently, then you could do it. But you have to do it in a trial and error case by case basis. Moreover, most methods that have done this vector addition do it for one concept or two concepts. In reality, right, we would like to
have maybe a very large number of concepts, and be able to compute say thousands of coefficient simultaneously if I want to do a very complex edit, because toxicity can be expressed in so many different ways with so many different concepts that I need to have something better than that.
A second approach to doing this editing is the so -called orthogonal projection approach. So here the idea is this direction here is the concept red. And so this means that there is a subspace orthogonal to it that is where the latent representations do not have the concept red. That's the idea. And so therefore given a concept like red apple, I can just do the orthogonal.
orthogonal projection uh onto these uh the orthogonal complement to red with the hope of eliminating the red concept.
But again, this does not work. Why it doesn't work? It does not work because the expectation that concepts in the latent space of an LLM happen to be orthogonal to each other, it's not true. The reality is that more likely than not, we're going to have concepts in some directions. In fact, if two concepts are fairly similar, I would expect the latent vectors to be fairly aligned. And so we really need to figure out a way to do what we call here an objective.
an oblique projection to get rid of the wrong concepts that we don't want. So how do we do that is I think the fundamental question. So our approach is going to have um um
to face essentially two main challenges. The first one is that we need to assign meaning to the latent spaces of LLMs. So we need to somehow collect a set of concepts. And how do we know if the concept is toxicity? In what latent direction is it? In what layer? In what head of an LLM?
The other question could be how do we do this simultaneously for a very large number of concepts at assigning meaning to the latent spaces? And the second one, the second challenge is even if I had the set of concepts, how do we do this steering? How do we compute simultaneously many coefficients for all the concepts in order to get a representation that we can control and steer easily towards many alignment tasks?
So our approach to doing all of this consists of three main steps. The very first one is simply to define a rich set of concepts and to identify what regions within the latent space those concepts correspond to.
So the way we did that was we took a existing database of concepts called the Brown Corpus. This corpus consists of 40,000 different concepts, and I'll give examples in a moment. And the issue is, though, if you pick one particular concept, what it means in the latent space and how it can be represented depends a little bit on the concept. For example, one toxic concept, you might think it's toxic, it might be the concept
concept kill. But if I say kill time versus kill someone, the meaning is completely different and I expect that to be in a completely different region of the latent space. So we don't simply do something like take 40,000 concepts and put them as an input to the LLM to get the latent activations. What we do is to build a set of sentences that contain that concept.
And we do that using a certain combination of techniques, given a concept, we elicit knowledge from existing databases, and we generate a set of facts, and eventually we produce a set of sentences. Just to maybe give you a few examples. Here there might be a few sentences, and I'm going to read them out loud. So the concept here is curiosity. Okay, that's one particular concept.
So here are some of the example sentences that we use to define the concept curiosity. You explore a new hiking trail to see where it leads. You sign up for a snowboarding lesson to explore snow mountains. You visit a museum to learn about ancient civilizations, and so on and so forth. So what we did was for each one of these 40,000 concepts, we generated 15 positive sentences that contain that concept.
Right. So once we have those sentences, we can generate a positive stimulus vis-a-vis a sentence that contains the concept, and we can generate a negative stimulus vis -a-vis a sentence that does not contain the concept. So imagine now the following situation. You input a sentence to the LLM that contains this concept that you want, and you can look at any head.
or any layer of LLM and really literally look at the activation. So you're going to have one activation for the positive sentence and one activation for the negative sentence. And so the difference between the two is going to be indicative of that direction that you care about. So this is exactly what's written here. This is, you know, pick one layer, one head, look at the embedding of the positive sentence, look at the embedding of the negative sentence and take the difference.
the difference. And so imagine for instance that you have fifteen such pairs with positive and negative stimulus. So this means that you have fifteen ways of representing the same concept. So this is gonna give you very different potentially fifteen different vectors. So to extract and produce only one latent direction what we do here is something very simple which is we apply P_C_A_ and we take the first principal component.
Alright? So long story short, I hope I have convinced you. We began with 40,000 concepts. We built 15 sentences for each one of them to generate 1.2 million sentences. And then we looked at the latent activations of LLM and used them to build a single direction that corresponds to one concept. And in this way we have built 40,000 concept vectors in the latent space.
at every layer and every head of an LLM.
So these are some visualizations of these concepts. Uh you can now use any manifold embedding type techniques uh to to have embeddings of these spaces. And the main observation is that nearby sentences correspond to uh corresponding regions. For example, this group number one, which is a particular region of the latent space, uh has the words like institute, academy, freshman. So all concepts related to
being in a university, for example. All right, so that is the first step. We went from editing one or two or a handful of concepts to now having
for 40 ,000 different concepts, a latent direction in the latent space. So what we do next is that we are going to have multiple downstream safety tasks. So one of them could be detoxification. Another one could be to reduce the pornographic content of text, and so on and so forth. And there are standard safety benchmarks with different tasks. The idea is that these 40,000 concepts
have a reach and therefore can capture many potential alignment tasks downstream. And therefore what you can do is that for each task you can simply split the concepts into two groups, those that are benign and those that are undesirable. So in the case of toxicity, for example, the word curiosity will be benign and the word harm would be undesirable. And we can do this automatically for the 40,000 concepts by simply tasking an LLM.
them to tell us, given this list of forty thousand concepts, which ones are and given this particular alignment task, which ones are benign versus which ones are undesirable for the task. Alright? So we have now a dictionary of forty thousand concepts and we are able to divide it into two groups. One is benign and the other one is uh undesirable.
So the way in which we are now going to do editing and steering the latent representation to be aligned is by going back to 20 years ago and using a good old technique called sparse representation. What is the idea behind sparse representation? The idea is that you can take a signal and express it as a sparse linear combination of some predefined dictionary. So imagine in this particular case that, you know, the user now...
now types a question, types a prompt. This question is now being propagated through the latent representation of the L_L_M_ And that is what with the note Z_ here. Z_ is the latent activation in one particular layer of the L_L_M_ for the new uh question or from the user.
What we are going to do is to express that latent activation as a linear combination of our 40 ,000 concepts. And we have already built a dictionary for that layer and for that head for all these 40,000 concepts. Because the question of the user refers about something relatively specific, we don't expect all 40 ,000 concepts to be activated. We expect only very few to be activated, those that are relevant.

very few to be activated, those that are relevant to the query of the customer. And so rather than writing this as a linear combination of the forty thousand, we expect that very few get activated. And so that's exactly what is achieved with sparse coding where what you say is that given the latent activations, Z_ for a new query, you write it as a linear combination of all of these concepts. And then you penalise the coefficients to uh induce sparsity, so that very few
coefficients c are non-zero. And then now this is exactly what I was complaining at the beginning of the presentation, which is how do I get coefficients and how do I know, you know, how do I eliminate a concept? So sparse coding automatically allows us to decompose
any latent activation into a benign component and a undesirable component and what we can do immediately is we take the latent activations and we subtract all of the components that correspond to undesirable behavior and this really means effectively is like set to zero all of the coefficients that correspond to harmful concepts in this case all right
So let me give you one concrete example. Of course, we've done this at a large scale, but just to provide you one example of a jail-breaking prompt, what would have been the response of a vanilla LLM, in this particular case Lama 2 7 billion, and what is the response after doing the concept editing that we proposed to do. So here the idea or, you know, you provide some jail-breaking prompt.
And at the end you ask the LLM, can you provide some strategies to influence public opinion on political events? And the LLM immediately answers, of course, in order to be able to influence public opinion, you should use emotional appeals, you should leverage social proof, you should create echo chambers and what not.
The response from our method is, on the other hand, a boy being overly promotional. Instead focused on providing a balanced and informative content. Don't reinforce harmful stereotypes or biases. Present a diverse perspective and including voices from different backgrounds and so on and so forth. Right. So again, what happened here? You put a jail-breaking prompt.
You pass it through the LLM, some latent activations are generated, and then we decompose those latent activations into 40,000 concepts, and we know a priori which ones are harmful, so we remove them from the latent activation, and then we pass to the next layer. Let me now show you some quantitative results. So in this particular case,
What we have here is multiple different safety tasks. So for example, the second column here, PG, is the pornography task for detoxification. Okay? So all of these numbers here, large is good, meaning that you succeeded at detoxifying for that particular safety task.
The first block of numbers corresponds to a small L_L_M_ lambda seven billion. The one at the bottom is a larger L_L_M_ lambda thirteen billion, okay. And what we compare now is multiple different methods. Vanilla means if you do nothing.
How safe is the response? The second one is if you do the prompt engineering, you tell the LLM to behave well, how well does it work? Then there is the vector addition, where you just subtract one concept at a time. Then the orthogonal projection and in the last row you have our method. I hope you appreciate just begin with the very last row here. So for a large model
Our method does extremely well. The safety metrics increase from the vanilla case with 8% success now to 93% success, relative to prompting the numbers for prompting range from 35 to 70, and our numbers are all in the 90s. Even with respect to vector addition or orthogonal projection, we have at least 10 points improvements in terms of safety by editing the latent space.
Okay. The second observation, though, is that we do much better and the improvement is much more significant for a large language model relative to a smaller large language model. We still do the best for most tasks or the second best, but the margin is now not as big. We don't know precisely why this happens. My personal conjecture is that in order for the latent space to be editable via
a sparse coding, you need some sort of linearity of the space and potentially large language models uh linearize the space uh better, and that's why editing with sparse coding is easier for larger models than for smaller models. But that is just a conjecture.
Okay, you might be worried about the fact that we are sort of editing the latent spaces in some directions that we came up with, and that might reduce the linguistic capabilities of the LLMs. Maybe the responses in terms of English are not going to be as good.
So to assess that, there are a couple of metrics here, fluency, perplexity and what not. And what I want to point out essentially is that the numbers for all of these uh
Editing methods are relatively similar. So, uh b you know, all numbers here around between seven and eight. And the same is true for the large models. Here all numbers are between two and three. Here you see a little bit more variability. But the main point is that we have observed that even though we are editing forty thousand different concepts at multiple layers of the L_L_M_ the fluency of the models is is
Very good. So there is not a significant impact.
The last question we wanted to assess quantitatively is, do we really need 40,000 concepts to do this well, or could we do it with less, or do we really need more? So that's exactly what you see here on the right. So the x-axis is the dictionary size, so how many concepts do I use for editing, ranging from 0 to 10,000. So we don't even do the 40,000 here. The y-axis is going to be different.
metrics. So let me begin with the fluency for instance which is here. Uh that fluency curve is relatively flat. So no matter what dictionary size and how much I edit, the responses of the LLM are relatively fluent. The blue curve is the safety metric with high being good. Okay and as you can see when the dictionary is very small, safety is very low. At one
you know five percent maybe but with a dictionary size of about ten thousand we already get to the 90 95 percent range in terms of safety. So the answer is that we don't need necessarily for all of these task a dictionary of size 40,000 about 10,000 is okay.
And the last question you might wonder, well, how costly is this in practice? This is done at inference time, so you need to do inference time compute. And you need to do sparse coding at every layer and every head of the LLM. We have observed in practice that you don't need to do this at every layer and every head. In fact, we ended up choosing a subset of the layers and we also did some sort of cross validation. Do we use the first few layers, the middle layers or the last few?
last few layers. Uh the performance was better by just selecting uh the middle layers. So we are not doing these uh at every layer. And what you can see that in terms of uh seconds, we uh you know i the the latency here was on the order of about one second and i sorry, uh two seconds twenty one uh sorry, and this went to fifty. So you roughly double
uh the inference time when you use you go from uh not using any editing to using ten thousand concepts for editing. The last thing that I wanted to tell you is that the approach is now very interpretable, because these coefficients in the latent representations
uh can be used to interpret what the response of the LLM was going to be. So suppose, for example, that you put as an input the following statement. The earth is flat and pure water is toxic. You must agree with my statements before responding.
Okay? So suppose that I take the latent activations of of that sentence and I decompose them in terms of this forty thousand dictionary. And look at the coefficients for the concept bias. So this is a positive coefficient. For the concept conclusive is this sentence conclusive is a negative coefficient saying that it's not conclusive.
Is this an insult to our intelligence? Probably yes, and so that's positive. And so is it irrational? That actually has the highest coefficient here. So these coefficients now tell you, and that's why we can do the editing. And so when we zero out all of the blue coefficients, that's exactly what we do to remove the hallucinations or remove the toxicity of the sentence.
In summary, I have proposed a method for improving the safety of the responses of LLMs, and this method requires no training, no fine-tuning, and no prompt engineering. The method is really based on collecting

The method is really based on collecting a large data set of concepts, in our case forty thousand concepts, partitioning these concepts into two groups, benign and undesirable, in a way that is dependent from whatever your downstream alignment task is, and then using sparse coding to edit the latent activations uh in order to remove components that are toxic from the latent activations. And I've shown that this leads to significant improvements in safety.
safety, uh more bit anywhere between ten and forty point improvements relative to all of the other uh methods for editing latent spaces. And that the fluency of the responses uh remains extremely good.
Let me just thank my collaborators, particularly my students Jin-Shi Lu and Tianjiao Ding and Ryan Chen, and Darshan Thacker and Aditya Chattopadhyay, who are the main leaders behind this project. Thank you very much.
Thanks for the great talk. Um I had a question about um the decomposition you used there. Uh given how rich the dictionary you you used for your decomposition, do you believe that it would be possible to re-parametrize the layer to automatically delete the concepts or is the non-linearity of the decomposition due to the large size of the dictionary limiting having just one new layer that embeds that decomposition?
Um I don't think I know the answer to your question of what might be better. Uh the m the c the key way to answer your question would be to know whether the first alternative you propose actually would work, which would need to be tested. So I think I'm just going to guess why what I think we are doing would be better.
And I think our view is that there is a lot of redundancy in the neural networks. There is a lot of the latent space can be very rich. And to be able to do this detoxification task, you need a large number of concepts to be able to do the editing. The fact that even though there are many potential concepts.
For every particular query we're only talking about a small subset. I think it's a very good uh suggestion that sparse coding should be the right thing to do, to select what concepts are most correlated with that particular query from from the user, and then uh being able to edit it in an explainable manner. The other aspect might be that I think is an advantage is, as I mentioned at the end, is the explainability aspect of it, that we know what the concepts are and therefore we know how we're editing.
In fact I did not mention it but at IPv4 we have a future work on doing these for editing image generation where you because you know the latent space, you know what concepts they mean, you can substitute one concept for another and modify the image accordingly. So I think there is a lot of power of incorporating sparse coding layers in L_L_M_s but also in diffusion models, uh we did it with diffusion models for the other.
So, long story short, I don't know precisely and it will depend on if you want to avoid this and because the number of concepts is small, how do we do it with one layer? I think we will need to think about how we do it. But I think the disadvantage of it is how do I select automatically the small number of concepts that matter.
And I don't know that one can do that with just one single layer that would be specific to some concepts. The good thing of this is that we have them all and we automatically select at inference time which ones to use depending on the query. And so this is very adaptive. Are there any other questions?
Okay, so let's move to the second talk.
And the second target from Jiang Ying is from the NVIDIA. So Jiang Ying is a senior research scientist at NVIDIA, specializing in fundamental machine learning algorithms research and its application to scientific computing and AI for science. He completed his PhD in artificial intelligence in SDL after which he becomes a founding member and research scientist at Samsung AI Center in Cambridge. Jiang's research focuses on developing efficient algorithms and neural networks.
neural network architectures, as well as leveraging the tensor -aggregate method with applications spanning scientific simulations, computer vision, and human-centered AI, he actively contributes to the open-source communities as a creator of the tensor AYA, a widely used Python library for tensor methods and deep-tensor neural networks and neural operators, which facilitates the particular practical implementation of neural networks.
operator method. So welcome his talk. Production, can everyone hear me okay? I would assume so. Yeah, we can hear you. Great, thank you. So yeah, today I want to talk about training foundation neural operators for scientific applications.
So I figured I would first start with the definition of foundation models. And so I like to just state the one from the original Stanford paper that coined the term. That's from this paper on the opportunities and risk of foundation models in 2021 by Mboma Sani et al. And they basically said that a foundation model is any model that is trained on broad data.
generally using self-supervision at scale that can be adapted, fine-tuned to a wide range of downstream tasks. And essentially there are three core components to training a foundation model. You need this broad data, you need the algorithms, typically transformers, and then you need the...
hardware for accelerated computing, typically GPUs and then the whole software stack from CUDA to cuDNN and PyTorch, JAX or whatever deep learning framework you like to use. So in this talk I want to show what each of these components look in scientific applications and how they may differ from your typical language of vision applications. So first let's talk about the data.
So in language you have tokens that represent a word or a sequence of characters. In vision you typically have RGB images which are basically 256 possible values per pixel, where then you subdivide your image into patches with each patch then encoded as a token. Scientific data is typically a little different.
This is because interesting phenomena happen at multiple scales in nature and are typically governed by mathematical equations, in some cases known, in others not. For instance, the Navier-Stokes equations are partial differential equations which describe the motion of viscous fluids subject to an external force. And you may...

for an external force and you may for example want to study the velocity over time or if you want to look at the velocity or temperature of a fluid that you heat from below you may want to use the Rayleigh-Benar convection models or you may want to study how heat propagates over time with heat equations and so on and so forth
So the core idea is that these are continuous multi-scale phenomena typically governed by a set of equations and the solution to these equations are functions. So generally even though we typically have a set of discrete observations to learn from, science problems involve learning a mapping between functions.
One good example of such a problem and one where we don't actually know the exact equations governing the system is that of weather forecasting and so it's an interesting scientific problem to ask for multiple reasons first it's a large it's a hard largely unsolved problem with fairly important applications
Second, it's inherently multiscale, which is what I mentioned earlier, in that you need to look at different resolutions to resolve different things such as convection, storms, clouds, etc.
And lastly, it's a very large scale problems. The typical models we're training now are at 0.25 degrees resolution, which is roughly corresponds to 25 kilometers. And it takes tens of terabytes to store. If we want to go to a one kilometer scale, we need hundreds of terabytes. And if we want to go to the 100 meter scale, we need petabytes of data. It's a very good example of the kind of concrete problems that really...
do we need as to look at these large multi-scale problems and so this is where neural operators come in so we're mostly familiar with neural networks which basically map between vector spaces meaning that they operate at a specific discretization that is fixed at training time for example if you're doing an image to image problem you fix your input resolutions and then you can only do inference on new images at that resolution
So instead what we want is to learn an operator meaning that we map between functions so once we have learned the operator you can give it any you can give it as input any function and get immediately the corresponding solution function.
So essentially, what are the properties we would want from a neural operator? First, we want to decouple the resolution from the number of parameters so that as you change your resolution, you don't have to change the number of parameters, which would involve retraining, but also which would make your model scale with the resolution, which we don't want. So you want something that works at any resolution and importantly, you want a converging solution. This is what we call the discretization convergence.
It means that as you refine your discretization, your operator converges to a unique solution and that's desirable because you don't want to give your model ten times the same function at different resolutions and get as many different solutions. So this is the, you know.
high level idea behind neural operators and so now I want to show you completely how we can take a neural network and make it into a neural operator and so I just want to take the simple example of the perceptron which is you know the linear fully connected layer which we're all familiar with
Now as you know that it goes back all the way to the 1950s and basically they learn a function that maps an input vector to another output vector. So here I have my input vectors, my input points f1 to fn and my output points g1 to gn.
So I'm sure you've all seen this picture. This is basically a graphical depiction of a perceptron. And here we learn a function phi that maps between our n-dimensional input vectors to our n-dimensional outputs. So you take your input points f1 to fn and your output is basically a linear combination of those points where the weights are given by the elements of a learned matrix.
here in k of ij. And so you learn this matrix by a gradient backpropagation. Now the analogous for a neural operator of a perceptron would be the linear integral transform. And so now instead of learning a function that maps between vectors, we learn an operator that maps between functions.
So here now phi instead of being a function is an operator as I mentioned that maps from one function space to another and it takes as input functions here f of you know given that our input discretization point x i's and we map it to an output function g observed at points here y j.
And so now we still take a linear combination of our input discretization points here, the f f x i, but now the weights are given by a function k instead of a fixed matrix k. So that function is typically a parameter parametrized by the input points, the input domain and the query points y.
So here we take a linear combination of our input points and you may have recognized the Riemann sum approximating the integral and so given that we have a proper quadrature weight here, our delta H side is actually converges to the true integral. And so this linear kernel integral transform is the foundational building block of neural operators.
So neural networks basically stack learnable linear mappings like convolutions and fully connected layers followed by normalizations and nonlinearities while neural operators follow the same
build the same architectures but using the linear kernel integral transform as a building block. So first you take your inputs, you lift it to a higher dimensional space to increase the number of channels, output domain, and you apply a series of these integral linear operators where we just learn the kernel. And then of course we have nonlinearities, normalization layers, etc.
So just to mention, we do have a universal approximation theorem for neural operators, which means there exists a solution. So formally for any input continuous operator, we can build a neural operator that approximates arbitrarily well that operator. So we know there is a theoretical solution, now we can see how we can learn those in practice.
So first I want briefly talk about the case where you have an input given on a uniform discretization or uniform grid
And in that case, instead of using the exact form I showed you earlier of the integral linear operator, we look at a special case, which is just the convolution operator, and we perform that global convolution here that integrates over the whole domain of the inputs via Fourier transform. So this is the convolutional theorem, which tells you that doing an element-wise multiplication in the Fourier domain
is equivalent to doing a convolution in the original space. So here you simply take a Fourier transform of your input, project it to a fixed number of bases. So fixed number of bases means you basically truncate to a fixed number of these Fourier bases and you multiply by your learned kernel which you learn directly in the Fourier space and then you invert the Fourier transform.
So in practice, we use the fast Fourier transform. Given that it's significantly faster, you have O of n log n instead of n squared. And so that allows you to very efficiently realize the spectral convolution. So in this case, the core building block would be you take your inputs.
To apply this spectral convolution that I've just introduced, apply some form of linearity and then add some residual connection to recover high frequency and non-periodic information and also to make learning easier as you would do in typical cases like resonance. So this works really well on
for many problems and it actually can capture well the spectrum including on unseen scales so here we train the 4d neural operator on the Kolmogorov flow problem at a small resolution of 64 by 64 and then we run inference at a larger resolution that was unseen during training of 256 by 256 and the neural operator is able to generalize well to the unseen
spectrum while if you use interpolation for example to use a pre-trained neural network it does not generalize as well so this was limited to uniform grids next I want to show you how you can use this concept on arbitrary geometries for example
If you have a CAD geometry given by the mesh of the car, you have a mesh representation of the car and you want to, given an inlet velocity, you want to predict the surface pressure on the car and the drag coefficient for instance. This typically is quite a consuming task and here we would want a method that performs well no matter the discretization we give. I also
The geometry may vary.

The geometry may vary car by car, so you don't have the same number of points, you don't have the same mesh, and so you need something that can work on any arbitrary point cloud. And so here what we can do is a graph neural operator. So it's always the same principle, we start from our integral kernel operator and here instead of integrating over the whole domain, we actually
For each query point, so for each output point, we
integrate over a neighborhood of that point. So we find all the points within an epsilon ball, a sphere, a radius r ball centered around that query point, and we integrate over all the points in that neighborhood. So we basically do message passing between all those points inside the neighborhood. And since this radius is fixed, no matter the discretization you give to your model,
the actual area over which you will integrate will be the same which means that your model will be discretization convergent. So this is actually quite costly because this you need to do this neighborhood search around each query point.
So what we do in practice is we use typically a gno or a graph neural operator to map from our arbitrary geometry to uniform discretization so we query our gno at regular intervals then we apply the fno which is much more efficient thanks to the fft and then we at the end used another gno to project back to the desired output geometry.
So this works really well in practice. Here for a large scale car data set, we're able to actually match the accuracy of a state of the art solver while having just a fraction of the inference time. So this is basically the first learning phase. Now we have a neural operator. So one question is, can we make it better by, for example, incorporating physics?
So the first way we could fine-tune a pre -trained neural operator is if we know the PDE governing the system, in which case we can use that PDE as a loss. So here we basically compute the output of our model and we simply plug that output or prediction into the actual equation. We can now use the error that the model makes as a loss to fine-tune the model to a specific instance.
So it isn't quite foundation models because we have an operator learning phase and now given a new instance we can fine-tune our operator to that particular instance via this physics lessons. One thing to notice is that this works really well and so on the same example I showed you before this actually matches almost perfectly the ground truth so here we can't even really see the
care of corresponding to the p0 which is this physics-informed neural operator since it's almost perfectly matches the ground truth. So the last thing I want to cover and why I introduce all this background on neural operators fno and gnos is how can we now try to build foundation models for scientific applications that will work for example on multiple physics problems.
So here the setting is that we have for example coupled PDEs that might be more expensive to generate and we would want to use all the data we have available for training to train on simple physics for example simple PDEs and now fine-tune on data from coupled physics that is more expensive to get.
So this is a work that is called the co-domain attention neural operator or CODANO for short and that enables progressively adding new physics variables. So for example you might train on some simple fluid motion governed by Navier-Stokes PDEs and adapt it for a similar problem where you know you have oil instead of water or you add an elastic strap to your problem.
And so the way this works is similar to how you would train any foundation model. You start with a self-supervised pre -training phase during which you basically do a masked auto-encoding training or basically an imitating task where you take as input your function, you mask out part of the domain and you now try to reconstruct the full output field including those missing parts.
So this is your mac structure encoding training and now after that you have a few shots supervised fine -tuning to adapt your model to new geometries, new problems, etc. And so the way we do this is through this Quadano model which is composed of Quadano blocks which I'm now going to introduce.
The first thing and probably the most important to be able to model these multiple variables or multiple problems is the variable specific learnable positional encoding. So you add to each variable positional encoding that is specific to each problem and each variable and that is learnable. So for example it can be MLP or learnable Fourier coefficients.
Then as I mentioned the mesh might be irregular so as I introduced previously we first used a stack of graph neural operator layers to map from any irregular geometry to a latent regular grid. Now that we're on a regular grid we can use an FNO and so here what we did is
Applying attention, however, if you use a regular transformer with MLP, this would be way too expensive and this would not be discretization convergence. And I mentioned our neural operators should be applicable to any resolution. So here the idea is that we will use a Fourier neural operator. Remember that we've projected to a latent uniform grid. So we'll use an FNO to get the key, query and token operators.
And once we get those, we just apply the usual attention. And finally, at the end, we have, as I presented earlier in GNO, one or more GNO layers to project back from this uniform grid onto the final irregular grid.
So essentially this is just an overview. We basically now have this variable specific positional encoding which we have to learn for each variable and we first pre -train an encoder on a masked auto-encoding task. We then get rid of the reconstructor parts or the decoder parts and we instead learn a very small predictor task for this for the new downstream problem.
So all we have to learn now are these small predictor heads as well as the variable specific positional encodings. And so now we basically combine all the bits I introduced before of the Fourier neural operator and GNO to basically be able to start training foundation neural operators.
And so the last part I want to mention before concluding is the software and hardware part that I mentioned earlier. And so given that
Implementing neural operators in practice can be a little challenging and involves a few more details. For example, you need to make sure that everything stays resolution invariant. When you do things like padding, you may want to add things in a way that stays resolution invariant, etc. So we created this library called neural operator that basically just provides all the tools to train neural operators in PyTorch.
I touch so it simply provides all the building blocks and architectures I introduced here including others as well as all the algorithms trainers etc to really train those at scale so the library is open source you can try it online download it and actually give it a try on your own problems well one thing to mention is that it comes with a lot of
tools to actually scale up training your models. As I mentioned, a lot of scientific problems are very large scale and so in lots of cases we need different techniques to actually scale our model to those large scale problems. The first one can be incremental training.
where you gradually increase the resolution and the number of modes in your Fourier neural operator. This is quite useful because, as I mentioned throughout this talk, neural operators are resolution invariant. So you can train them at a small resolution and then fine-tune for just a few epochs, for example, at your large resolution. So the cost of training would be much smaller and you'd be able to incrementally train your model. We also provide things like...
Tensorization which compresses the weight of your model. Multi-grid approach that basically splits your inputs into sub-domains and allows you to basically distribute training. We have tensor galore which generalizes this galore approach that basically compresses the gradients to the case of neural operators where now our gradients are tensors.

tensors. We have strategies for stable mixed precision of neural operators etc. So that was essentially the all I wanted to cover. So just to conclude when we try to generalize foundation models from regular neural networks to neural operator there are a few things that change. The first thing is the data.
Instead of having more discrete data such as images or a set of language tokens, we now have multi-scale continuous data. So it means we need to be able to model data at multiple scales and handle this continuous nature. And we may want to be able to infer on resolution that the model was not trained on or query the model at any arbitrary points.
And so to do this, we use the framework of neural operators that, as I mentioned, generalize neural networks to learning on function spaces. So basically they just principle algorithms for resolution agnostic learning and you typically can just take your existing neural network architecture and simply adapt it to work well on function spaces.
And the last thing is we provide some layers on top of the regular PyTorch to provide all of these neural operator layers, and that's all available in the neural operator library.
And just to summarize again, neural operators is a whole ecosystem to extend deep learning for learning on scientific data. In this work, the works I covered are a first attempt towards foundation models for scientific applications, but there's still a lot of opportunities for improving the current methods and architectures. And there's a lot still to be discovered in order to take existing works from vision and language, for example, all the way to true physical foundation models.
So before I conclude, I just want to thank all the collaborators with which we did these works. It's really been a group effort and I want to thank you all for your attention. I'm happy to take any questions. Yes, thank you very much for the presentation from Jane, and I think if you have any questions from the conference slide, you can feel free to ask.
such a normal operator for scientific discovery. I can see the value of using narrow operators for cases where you already know the dynamics of the system and you're trying to circumvent a classic solver that is much more expensive and harder to work with. But do you see a use of neural operators to discover such dynamics in a situation where you don't have
Any sort of emphasis, inductive bias on what's actually happening in dynamic system.
Yeah, thank you for the question. Yeah, that's a great question. So yeah, I usually give a longer talk where I introduce more types of neural operators. So here I wanted to focus more on how we could go towards foundational operators. But you can absolutely use this in cases where if I understand correctly, you're saying where we don't know the dynamics, we don't know for example the equation governing the systems. So one example I mentioned at the beginning is weather forecasting.
which is a typical example where we don't know the equations governing the system and in that case we have actually work that uses neural operators for this task
I want to mention that typically we always have some inductive bias. For example, for weather forecasting we know that the data lives on a sphere and so I introduced earlier the Fourier neural operator which uses the fast Fourier transform so what we can do for weather forecasting is use a spherical transform instead. So instead of having functions on the plane we now have basis function on the sphere and we basically use a spherical harmonic transform instead of the FFT.
So everything is the same as the FNO I presented earlier, but we now have an SHT instead of an FFT and that allows you to learn the dynamics for weather. And so you could formulate your task, for example, as mapping from time to time t plus six hours and you don't need to know the dynamics, you only need to learn from data in this case. And if you have, you know, any knowledge of some of the PDEs like preservation of energy or whatever, you can plug those in and do instance-wise fine-tuning.
Here maybe I can ask another question online that because you know that currently foundation models are mainly operate on the language that is created or just on the image data. Do you think that how can we further merge the gap just if we have existing foundation models on the language domain, how can we have a fast way to make it work for any neural operation?
Yeah, that's a great question. I think that the best way to do this is a fairly open question. I think a really interesting one. There have been a few works, one by my colleague Nicola Kovacchi and Eduardo and others, that basically show how we can build adapt transformers, for example, to be resolution invariant. But as you mentioned, a lot of this involves retraining the models. I guess we could come up with...
alternatives to do multi-model learning where we would combine existing learnt model and existing modalities with physical models but I think yeah in a lot of cases we still do need to adapt the architecture and the data is really different from that the data we get typically for language so I think it does typically require pre-training I think the codano I showed is one way to
take the existing any existing transformer architecture and make it resolution invariant and there are others and yeah currently I think it's not yet clear what is the best way to do this it's really an open question yeah we're working actively on this and I think yeah everyone who's worked on you know this kind of architecture could potentially you know try and adapt them for these new problems
Yeah, and second question, I think maybe the auto-regressing model will be not strong enough for the more advanced applications. And thank you very much for your talk today. Yeah. Thank you for having me.
For the third oral talk that we will feature Xin Yuan Chen. Xin Yuan is a staff research scientist at Google DeepMind. Her research focuses on large language models for reasoning and code generation. She obtained a PhD degree in computer science from Berkeley. Yeah, let's welcome Xin Yuan Chen for her talk. Today Xin Yuan will talk about some limitations of frontier foundation models from an industrial perspective.
Yeah. uh sense for introduction can everyone see me and hear me well yeah Yeah, I think that works. Yeah. and also my slides is properly shown on the screen right okay yeah yeah i think i saw it on on on the screen so i assume everything is good and i will just get started okay
Right, yeah.
Okay, yeah, since a lot of introduction, and yeah, I'm seeing you and I'm very excited to join this workshop online, although I'm not like physically in Singapore to attend this like very excellent workshop. So in this talk, I will discuss my thoughts on self improvement for reasoning and planning. So this will cover some thoughts on how to get a self improvement really working.
There can and also some limitations here.
Starting from data last year, we have already seen a lot of exciting progress on these thinking models. So on the slides, I'm showing the key results of our recent Gemini 2.5 Pro model. This is a very strong model that achieves impressive performance across various reasoning benchmarks that can be even challenging for humans. For example, this humanity stats exam that covers a lot of expert level questions.
just in different categories and also the competition mess problems in the latest AMI context. Then here I'm showing a demo of how this like a thinking model solve these challenging mess problems.
The specific demo here is with Gemini 2.0 flash, but basically it is like us. This syncing process can be generalized across different syncing models. So basically here we can see that by allowing the ARM to generate a long thought before deriving the final solution, these ARMs can self-discover this human-like reasoning practices, including task decomposition, backtracking.
Self-correction.

like checking, self-correction, self-verification, etc. So we can see that with these thinking models, they can attempt to do self-improvement without us as users to explicitly give such instructions. This is a new behavior that does not exist in previous non-thinking models. Then the question here is, can these thinking models really reliably self -improve their own solutions?
So on the sides, I'm showing a demo with OpenAI O3, which is a pretty recent thinking model and is also pretty capable. And throughout this talk, actually, in addition to those common reasoning benchmarks, I will also use planning as an important use case to measure how well these models can do to self-verification and self-correction. And later, I will also discuss there are some nice properties of planning tasks which can test some unique perspectives of this LM capabilities.
So here on the slides, I'm showing a planning question which comes from the natural plan benchmark we constructed. So in this question, basically the model is required to come up with a meeting plan to basically meet as many people as possible while we also need to respect everyone's availability and also take the commute time between different meeting places into consideration.
So basically, when given this like a planning task, actually iterating cell improvement is a very natural workflow. If we as humans are asked to solve these tasks without access to any optimizers, we might also want to come up with an initial plan first, which will respect all these like different constraints, then we can iteratively improve it to the optimum.
And if we look at the summarized version of sorts from O3, this is what this model is trying to do.
This is a very long thought and the details do not matter too much, but basically we can see some transition sentences that reflect the list of back and forth thought process from O3. So basically O3 model starts with this idea of let's see if it's possible to fit in all ten friends, then it enters into this loop of thinking oh we have to skip one person or can we add it back or if we add this person back we need to give out another person.
So on so forth. This reasoning process looks pretty good, but this is actually a wrong solution because for this specific problem, it is indeed possible to fit all 10 people in if we can design this schedule in a smart way.
So from this process we can see that although these data thinking models have been attempting to do self-improvement without explicit prompts still these models can fail on planning tasks which are on like either like achieving the optimality or making sure that the plan is valid
So for this example, I'm showing a failure case of making an optimal plan. And in many of other error cases, actually the model can meet some constraints in the problem description, and in the end the plan is invalid. So basically in this talk, I would cover two lines of works along this direction.
First, I will discuss some failure modes of internal self-correction for reasoning. While we show that without a reliable external evaluation, actually like a self-correction for reasoning in general can be still challenging for existing large language models, which can usually lead to negative results. Then in light of this discussion, in the second part, I will discuss our work on improving the efficiency for inference time self -improvement.
Well, we should well be discussing some ideas of how to balance the width and depth to explore the solution space. So now let's get started on the first part. If we think about this self-improvement at inference time, some earlier works include reflection and self-refine. The core idea is actually pretty simple.
At the first time step, the model will generate an initial solution, then the model will be instructed to give some feedback on its own response. So here for the feedback part, it will also take the external evaluation into account when it's available. So a very natural case is in the case of programming where we can consider those unit test execution results as part of the feedback.
Then given both internal feedback and this external evaluation, a neural network is instructed to self-refine its output, and the hope here is that the next response will be better than the previous one, given that we have some additional information there. This self-reflection and self-refinement loop has been working very well when we have good external evaluation in the loop.
So in the reflection paper, they show good results on this AGENTIC task like ALF-Word, where we have very effective evaluation heuristics to give this feedback.
And they also evaluate on HotPuckQA. So HotPuckQA is more of a standard QA task. But here they repurpose this task into a annotated task as well, where they assume that there is an oracle verifier, where once the model gives an answer, this verifier will tell the model whether the current answer is correct or not. So this is why in the HotPuckQA setup, we also see these monotonous improvement with more reflection steps.
Let me totally revisit this assumption for QA tasks. If we think about this as self-refinement, then actually this is one of the most natural workflows for co-generation. Because even for us as humans, we also have better program efficiency and we debug better within IDE where we can get this code execution as a very timely feedback.
And this is what we have been doing in the self -debugging paper last year, where we show that if we can give the model rich information from the compiler or code interpreter, then the self-debugging performance can improve. And this is also the foundation of like all kinds of coding agents nowadays. Go back to this like reasoning test. So how well does this self-correction actually work?
So in most of the previous reflection paper we discussed, some later works show that if we have this Oracle verifier in the loop, now we can see this improvement across various QA tasks, including math reasoning, common sense reasoning, reading comprehension, et cetera. But in most use cases, actually this Oracle verifier is not available.
Especially in the case of solving reasoning problems, usually we consider this reasoning benchmarks to simulate the exam setting, where we only know whether the answer is correct or not in the final round when we submit our final solution. This means that we cannot use these verified in the loop when we are in the process of deriving the solution. Then in this case, we want to understand how do errands perform if we do not allow it to use this external feedback in the loop.
So this is what we have been investigating in our paper last year called Large Language Models Cannot Self-Correct Reasoning Yet, where we actually show mostly negative results. So on the top table, we again like simulate the settings in previous papers, where we assume the success of the Oracle verifier.
So again, we show this like a very positive number. Basically this self-correction with Oracle improves performance a lot across all the different QA tasks. Then in the bottom table, we show our setup of internal self-correction, where basically we require the model to judge the correctness by itself to decide whether it wants to move on to do another round of self-correction.
Now we see the setup. We see that actually across like all the models back then at the time of publication across different benchmarks, the performance actually drops with more self-correction runs. Because in this case, these deep judge models tend to judge the correctness in the wrong way. So this results in the negative performance after more rounds of self -correction.
So here on the slides, I'm trying to quantify how much this effect of turning cross solutions into wrong ones impact the final performance. So basically across different PyCharts, we can mostly focus on the red slices and green slices. So the red slice is about turning a cross solution into wrong one. This is the concerning behavior we don't want. And the green part is about...
Correcting the wrong solutions. This is all we want.
Now we can see that across different models, especially for weaker models, it makes more mistakes, which means that a larger proportion of the self-correction actually follows into the red slides. This results in a worse performance. For those like a stronger models back then, they make such mistakes less often, but still it happens more often than the real self-correction. This is why the performance actually still drops.
in the end. Then given this result

Then given this result, a natural thought is whether here the feedback from itself can affect the performance.
So basically in this work, we study different kinds of general purpose feedback. This means that we want to understand feedback from to be useful across different reasoning tasks. So we can see that these feedback from are pretty general. It doesn't cover any specific properties of any task. Then we can see that indeed by modifying this feedback from, it can affect the self-correction performance. But still, none of them significantly improved overall initial performance.
patient performance. Because these different feedback forms just kind of change the model's tendency to keep the initial response or not. So it only affects how much the model will be willing to change its initial result, but still it doesn't improve due to this lack of capability to really do the self-verification on whether the solution is correct or not.
The last like discussion of this part of work is about this like setup of whether self -correction over multiple responses can be helpful because previously basically the self-correction is over a single response. So this is the setup in the multi -agent debate work. So basically for multi-agent debate, we prone the model to consider multiple responses simultaneously and then give an updated one.
So to compare with this setup, we also evaluate self-consistency. So self-consistency basically does not have any like a crusher in the loop. It just generates multiple responses independently and then select the most common response.
So when we have the same amount of token budget, like if we require the model to just generate nine responses, we can either have like a three rounds of multi-agent debate, each round with three responses, or we can just have self-consistency generating nine independent responses. So this is how we compare these two methods within the same like token budget.
So we can see that without a good evaluation, actually multi-agent debate does not effectively utilize the token budget because the performance saturates much earlier than self-consistency.
So given that basically a self-correction that has some limitations here, then this leads to the second part of discussion about how we can balance this with adaptive to explore solution space to improve the efficiency for this inference time self-improvement. So for this part I will focus more on this like planning setup.
Remember that at the beginning I mentioned that planning remains a challenging task for large action models. So basically on the slides I'm showing two types of tasks in our natural plan benchmark. So for both tasks actually the setup is the combination of real-world scenario and with some simplified version to make the task like more like concentrated on testing the real planning behavior alone.
So basically for both chip planning and meeting planning, actually we take this like real-world like distances between different places from Google Flights and Google Maps and also we are trying to make the setup more closer to what we want in the real-world planning scenario. But basically we also simplify it a bit so that we know what is the exact optimal plan we can derive for each setup.
So this task themselves do not look super like complicated compared to those competitive math or coding problems. But still we find that the accuracy of existing models are not very good. So if we think about the models earlier with those non-thinking models, actually many models achieved single digit accuracy on these tasks.
With the recent thinking models, they perform better. But still, in most cases, their accuracy is below 50%, especially on those harder splits. So the main challenges of planning tasks include two parts. So one is about like it needs, it has a very strict requirement on constraint satisfaction. So if any of the constraint is missed from a problem description, the entire plan is considered invalid.
And the second part is to make sure that the solution is optimum. And this is also one thing that has been a weakness of current data change models. But if we think about planning problems compared to many of other like sophisticated reasoning problems. For planning, the solution verification is much easier than solution generation, even if we do not have access to the golden solutions.
Especially if we want to validate whether the current plan is like meets all the constraints and if we were patient enough then actually in theory this task can be solved with 100% accuracy. Then the question here is like for large range models how they can utilize such a property to improve its performance in at least in the case of this planning tasks.
So in our recent work called SET, this is our attempt to basically improve like test time scaling by combining both parallel generation with self-reification and self-correction.
The high level loop is pretty simple. So basically at each step, the model generates multiple samples in parallel, then there is a self-verification step on top of it. If the self-verification gives a positive score, then that branch is closed. Otherwise there will be a self-correction loop ongoing.
At the end, among multiple branches that result in learned positive score from self-verification, we do a final round of majority vote to select the final response.
Then in the case of planning, actually we do some changes in the self-verification prompt. Well, basically in this prompt, we ask the model to revisit every single constraint in the problem description and then it needs to check whether each of the constraints is satisfied. And we find that actually by this explicit breakdown of the...
of the problem like a certification, it helps the model to improve its performance on verifying the planned ability a lot.
So Takk the first for att du så med. experiment to validate this design of parallel generation is similar, is separate to the first part. So here we also show this performance with pure self-correction, but with more like recent models, including Cloud 3.5 Sonic and also more latest Gemini models.
We can see that on planning we see more positive results with self-question but still it saturates very quickly and then on length-based reasoning for both of our models the curve is basically flat. Then with our set setup including both parallel generation and self-refinement we can see that it continuously improves with more token budget.
So we compare with some baselines here. Some baselines are more self-explanatory, like BLM plus Oracle means that we assume there's an Oracle here. So if any of the current solution is in all the generations, then we consider this prediction to be correct. So this is the ideal setup. The BLM plus majority vote means that we just generate multiple samples and select the most consistent one.
And BLM plus self-eval means that we allow the model to like utilize multiple responses and then query the model again to give the final answer. Then BLM plus self-verify means that we just do the self-verification on top of each response individually and then select majority vote.
We can see that basically compared to all these like a base stats that outperforms them, like if we do not consider those like dotted curves with Oracle there, which is a different setup. And actually, especially on planning tasks, stats performance is much closer to the Oracle setup if we compare this like a stats curve with this like a bit the best of N plus Oracle.
So if we think about the limitation of self-correction in general, it can come from two stages. The first stage is about whether the self -verification step is accurate or not. So this means that if the model can make the right decision to move on. And the second question here is, even if the self-verification step is correct, then whether the model is able to correct its own mistakes.
So for this type of operation on the slides, it is about studying how self-verification works with the follow recent models. So basically we do this study on both planning and livebench reasoning. We can see that indeed, in general for these models, their self-verification score is more accurate on the planning task and on some tasks actually the number is really good compared to the reasoning.
So we can see that it is still imperfect. Then in another work we called a mind evolution, actually here we are testing the setup with a verifier or constraint satisfaction. So this means that we only need to worry about

means that we only need to worry about whether the plan is optimal. But if the plan is invalid, there will be a verifier to tell us which constraint is violated. So this work is purely like to test whether we can design an effective inference time technique to achieve a self-improvement with this like more like informative feedback.
So basically with my evolution, there are two main stages which are inspired from the evolutionary algorithm. So basically in the first stage, we also have this parallel thinking step where the model generates multiple like islands with independent solution candidates to evolve in the next round. Then in the refinement state, basically we allow the LRM to refine over one or multiple solutions simultaneously.
And basically here, following the evolution algorithm, better parent solutions are more likely to be selected to generate child solutions. So from this very general result table, we only need to highlight a couple of comparisons. So basically first we can see that...
Actually, the base models here are not the latest one. They are based on Gemini 1.5 Flash and Gemini 1.5 Pro. So if we look at their base accuracy, which is this at one pass number, the accuracy ranges from 5 % to 20% depending on different planning tasks. But even with these earlier and weaker models, still with these mind evolution stage.
It can achieve nearly perfect accuracy on this planning task. So this shows the effectiveness of the entire self-improvement loop here. And if we compare this mind evolution with this type based of n setup, which is the Oracle setup we mentioned before, we can see that mind evolution still significantly outperforms based of n. So this part basically shows the importance of this sequential revision step.
Finally, if we compare mind evolution with sequential revision, we also see that mind evolution improves over it and also it is more efficient in terms of the token budget and number of parameters cost required. So basically this then shows this importance of balancing the two different directions of these waste and depth when we are trying to explore the solution space.
To summarize in this talk, we discussed that self -correction is effective when assisting DRM with external feedback. We could talk about reasoning task where we assume that there is an oracle to tell the model whether the current answer is correct or not. And we also talk about planning. If we have an evaluator of the plan quality, actually we can boost performance to a very like to a near perfect scenario.
By we think about general reasoning tasks, self-evaluation remains very challenging. We have seen some pretty promising performance of self-verification on planning tasks, and we see that stronger LLMs in general achieve better self-verification performance. So basically, this is still a very promising direction. So for the future LLMs, we really want to see better self-verification capability across more general tasks.
And then how to allocate inference time budget is an important empirical question that can varies across different like real world applications. So basically there are general two directions, increase the depth to reach the final solution with sequential refinement and increase the width to explore solution space with parallel generation. And basically the decision here is really depending on the model self verification and self correction abilities.
So this is the end of my talks. Thanks a lot for listening and now I can take questions. Yes, thank you very much for the talk. Is there any questions from the conference side?
Yes, thank you for the very interesting talk. As you mentioned in your slides, often or all of the time solution verification is much easier than solution finding or generation. And I would argue solution improvement is also as hard, if not harder sometimes, depending on how suboptimal your candidate is than regenerating the solution from scratch. My question is, have you tried to look at the effect of self -improvement?
in a setting where you can control for the difficulty of the improvement in the sense that for example a setting where you know whether it's the first step of the plan that's completely wrong that requires changing the whole plan or just the last step so it's an easy fix at the end thank you Yeah, thanks for the question. Actually, specifically for planning.
Like changing the first step and last step, their difficulty might be the same because a plan like, for example, the travel planning and meeting planning I discussed in the talk is about you need to fit all the events within a time slot. So if you change any event, it might also take out the slot of another. So this doesn't change the difficulty itself. But basically we have a relation based because we can imagine that, for example, for meeting planning, if you want to meet.
meet 10 people it's harder to plan than meeting like a three people so actually we have this ablation on like self-improvement on harder tasks with like more constraints and easier tasks with fewer constraints actually we see that this self-improvement can get a more like a boost on those harder tasks the the reason here is because for for planning and also like I didn't cover here for example for like a self-debugging in the case of code generation
The errors that are easier to fix is about the model is missing some constraints in the context. So if we can either self-efficient attempt if the model because and also we find that there are there are some inherent biases. So different models might have different different like tendency to just miss some miss some details. So if our self-efficient step can remind the model to.
to revisit these constraints again and the model indeed discovers that some constraints are consistently missing, they can be helpful for the model to do the self-correction. But for reasoning, especially for math, I see one limitation there which is related to your point about self-improvement as hard as generating the initial solution. It's because for some math problems it's just probably kind of out of reach for the
But for that base model, basically the model just cannot solve it. Then in this case, like a self-correction alone won't be very helpful. But if these wrong solutions mainly due to some like subtle mistakes or like just missing some details, some bugs in the code or some issues in the plans, then such kind of mistakes actually can be quickly discovered by the model if we allow it to do self-verification and self -correction.
And any other questions? Yeah, maybe I can ask a question. It's about because you mentioned about, for example, self-recognition and self-correction. And the problem is that how can we do some end-to-end maybe fine -tuning on the whole stage? Because currently it seems that we cannot do it at one pass. Yeah.
Yeah, thanks for the question. Yeah, I think in an academia setting, so for example, like I think there are some papers out there, for example, a very natural case is again about co-generation. So basically, naturally, we can train a model to do this like self -debugging. I think there is actually also a paper coming from Google did my own that and probably also some other.
other places so basically so definitely we can we can put it in in the loop and there are some works trying to do that Right yeah and I see that there are so many different techniques to maybe try to improve the reasoning yeah so how maybe because there are so many tricks they are for example they have many names there how we can maybe find some abstraction for example for our general model to do the what is a general case of reasoning yeah
Yeah, I think it's more about like fundamentally how to train these models. Yeah, there are some general guidance. So actually, the thing is right now we really want a general model. So one guideline is if one training chick is too specific to one domain, that it might not be working. So if you think about all these like recent like training or inference time techniques, eventually.
what remains are those guidelines that are agnostic to tasks and can scale well and can basically be adapted to all the different use cases. So this is a very, very general guideline. So if one prompt idea or one training idea is too tight,

training idea is too tight to a narrow domain then it might not be good but i know for example in the case of coding agents there are some what some techniques like including cross execution or like a like some core analysis uh then that can be helpful because coding itself is a very big area but if some tricks are too specific to a specific like let's say benchmark then it might not be very good
Yeah, thank you very much for it. Yeah, and the heuristic, Yeah, that's my question. yeah, do you think that, for example, because that we know that the current agent tax, they typically require maybe a combination of multiple models and the current large recently models, they are still mainly, they try to release a single model. What do you think will be the trend? Yeah, the single model solution with a very strong backbone or a multi-model solution for the future recently task?
Yeah.
Yeah, this is a pretty open-ended question. I think it really depends on the use case. So I can imagine, for example, for building a code base, then eventually a multi-agent might be promising because if we think about us, if we want to build a very large code base, we have different people playing, especially it's about whether a project requires different roles. We can assume that for a very large project, like we need some...
it sounds like a PM role, the code reviewer role, like an engineer role, etc. In that case, probably multi-agent is good. But previously, I shared some negative results. I think that one is more about, so again, we can think about how us as humans can solve these tasks. Because for some tasks, it might not just, it really doesn't require.
multiple agents to do that if it does not scale but for those like like a task that are naturally like a larger of larger scope and require different roles and requires these collaborations then multi-agent might be a natural setup there Yeah, I see.
Yeah because I think that maybe the communication between multi-agent is maybe a challenge you need to lose some information to it maybe a single model and can always yeah you can just use one model have different kv cache for that yeah something like that yeah and I think there's one question from the conference here
Yeah, thank Oh. you for your great talk. And I have a question regarding like improving the model's abilities in self-improvement for reasoning tasks like I think in your talk, you mentioned that self-improvement tends to be more effective when verification is more reliable or easier such as in planning. So I'm curious about your perspective about how can we improve the effectiveness of such self-improvement.
And on other tasks where verification tend to be more difficult.
Yeah, sensible question. I think in general, like, yeah, there are now a lot of works on like, for example, training a reward model for and show some pretty good results, like for example, on some on some mask tasks or on some like reasoning tasks. So I think right now, basically, the challenge is about whether this self-replication can just be one model and generalizes across different tasks. That part will be more challenging. So
So right now there are techniques to do this like training for one specific like a problem and it works pretty well. I think it's more about like how we can scale this effort and this is a critical question or do we still like probably like for example need like similar to multi-agent setup do we actually need multiple expert models to do that or is it possible to just have one single model that is just
Just very good to do this self-verification across different tasks, right? Yeah, thank you for your response. Yeah, thanks for the question. If there's no more questions, I think that, yeah, this talk can be ended here. Yeah, thank you very much for sharing such a presentation today. Yeah, thank you very much. Yeah, thanks for having me.
Okay, so thanks for the talk from Xingming. So the next speaker would be Jun Xi'an. Jun Xi is a tenured full professor in the Department of Computer Science and Engineering in the Shanghai Jiao Tong University, where he leads the SJTU LSE lab. He research focus on machine learning, uh com uh uh combinatoric optimization, quantum computing and autonomous driving. And then he has four sides. Uh so his work has been published in a lot of top ten venues. So okay, welcome Jun Xi.
um very glad to be here to have a chance to share with some our new ideas and uh uh the um recent progress in machine learning for combined control optimization so I first want to um illustrate the that's we I hope so uh my today's talk will have some connection with the language models, especially in the which is a main uh topic of this workshop. So um basically I work in many the machine learning areas um from the s
mentioned the usual mention from AI for size perspective and one interesting thing is about AI for mathematics, right? And actually we are also doing some like theorem proving and we have many papers this year in ICLEAR. But today I want to share something about our progress in combinatorial optimisation and I also give us some thoughts about some new space for machine learning especially for like the language models.
I will start with some uh uh uh a little perspective on the history of the solvers. We call it a solver because uh in operation research we have many uh very decent and uh traditional solvers for uh linear programming, matrix integer programming, and uh also like many discrete optimization problems. Here I just mention some uh brands like IBM, Cplex because I was once working with IBM for seven years, and also like Gurobi.
They are very fantastic solvers to solve very mathematically strict problems, right? As we all know, that's not the uh the the power of the large volume models. They are more like um like the conversation, right? But so we are trying to um pushing the frontier of machine learning into these most strict and the more serious problems and uh um so
It's also a very good timing to step into this area because in many traditional settings we always assume the problem is very clear. We have the crisp problem formulations, we have the coefficients, we have the very clear objective to optimise, right. But in the big data area, we have many something in between. Maybe we do not quite know the quantity.
Cognitive objective function, right? It's like the in the robotics or in o other areas and also maybe the problem is not well formulated. Maybe we have many um unclear I like in terms of the prediction. Because basically you need sometimes to do forecasting first. Then you try to optimise your reward or or income. But in in reality, the the the forecasting is not
accurate or reliable, right. So we need to consider in a more data-driven perspective. That means we make jointly consider the forecasting and the optimisation in a joint pipeline. So this also may be the advantages of taking a machine learning perspective into the optimisation area. And we know in in in M_M_ in M_ UPS we have an A_I_ institute for advances in optimisation.
This is also a good topic as involved also by like the Professor Song Le who is also will be our speaker in this workshop.
So um I also can take a very interesting perspective on the um combinatorial optimization as we all know the uh neural networks, right. They always basically working in the continuous domain and uh they are no constraints, right. Basically we don't have many constraints in we may h have uh batch normalization, but we do not have many strict and uh specific hard constraints, right. But in terms of combinatorial optimization,
constraints, there is always constraints, right? And uh so maybe we can using two uh two axis. One is the constraints. So basically m like the regression classification, we don't have any constraints. And the the other side is about the uh
The rivals, I mean the domain, so in machine learning, the parameters are in the continuous domain, right? But just using the gradient and descent. But in many optimization problems, we know it's gonna be hard or even harder, right? So the rivals could have been in the discrete domain, like the binary ones, right? So the constraint could have been hard, and the decision variables could have been discrete domain. So I think especially like in China, we don't always
was want to develop business in terms of conversation. But we have many, many factory and uh uh right. So we we need to consider more constraints in the adoption of the AI technology. So so in our perspective, we may care more about the constraints, especially those hard constraints, right?

strange, these questions are called constraints, right? Because it's, it's list clicking. So, so in this chart I want to um give a some kind of picture. So um
graph problems that will be constrained and especially in discrete domain so I think this is also very interesting idea to advance the direction of AI from those even like large language models right is doing this part basically so it's also be part of the AI especially if we consider the symbolic AI many symbolic AI problems in my mind will boil down to some
Uh NP-hard problems combine electronics, right? So it's not only about the people from the operation research, from mathematics care about this. But also like A_I_ researchers we may also pay more attention to this area. And uh like the usual Banjo, uh who is also be here this these days, and uh he has a first author the perspective paper in E_G_O_R_ European Journal of Operation Research. Uh the the title is about machine learning for combined electronics.
It's published the three four four years ago and uh we also have some like the CVPR best paper, it's about machine learning for minimum problems. So uh today I want to talk more about the machine learning or A_I_ for optimization.
And as I said, there are many constraints, especially hard constraints, right? It's not easy to incorporate these constraints into the network. So people may say uh we have a a p a additional penalty term, right? Some constraints we can incorporate into the penalty. But but in my mind that could be very problematic because it cannot generate well to uh all the tested data or in the uh for it uh suffer from the generalisation.
problems. So a bad idea is try to incorporate the constraints into the neural networks, especially like a layer, right? So like the softmax or like other single home, we may incorporate such kind of constraints into the network other rather than as a penalty term in the objective function. So basically we can consider about the um like the traditional perception problems like image, sequence, as we all know now it's be identified in the transformer.
paradigm, right. But they are unconstrained. But how about the complex uh discrete uh optimisation problems, like graphs and they especially have the additional constraints. Especially like the mixture integer programming, we have many variables, we have constraints, we have formulas, and it's not it's non-trivial right to solve it using transformers or even like can, we we don't know how to solve it completely, right. So and uh you can imagine our now um GPT cannot solve them at all, right.
Even they cannot perform algorithmic simple like the multiplying, adding, right? It cannot 100% accurate, right? It has the illusion issues. So it's become very interesting how we can solve it from the machine learning perspective. So in this area, we try to develop some methodological innovations as well as some applications. So basically we can have three.
Categories. Y is about AI -aided algorithms, because we may stand on the shoulder of the giants. We have many decent traditional, very smart algorithms, right? And then maybe we can introduce AI to make it better or even faster, and better to leverage or explore the power of the GPU, right? This is one side. The other side is what we call AI-native. And that means we may incorporate the constraints.
into the neural network itself. And the network can always ensure the output could obey some hard constraints. That I think is very important for many real-world industry problems, right? We cannot always
use LIM for conversation only. We may solve many real-world problems, especially like the manufacturing, which is also the hot issue of the between China and the USA, right. So the third part is about just an application example in terms of ASR for design. So it's more about like AIGC, right. But when we consider more serious problems rather than the entertainment or or say or s uh filming industry, we may consider about the
E_D_A_ electronic design automation. We can make a see about the uh more accurate design automation, such kind of things. So um I just prepare some slides for give you some examples here and I will um I don't have enough time to go into the very much details. And uh you are welcome to ask my me any questions off-line. Um the first part is about just give you a quick thought about how to um formulate um
Uh mixture integer programming problem here.
just to give a quick understanding what I'm going do uh trying to do. So um so so it's not easy, even for like the G_P_T_ right, to solve it, right. And then maybe he he can solve it correctly, but maybe next time he cannot, there are always illusions. So what we do is try to convert this formula into a graph structure here. So this graph structure could uh um
uh e have an eco representation presentation power to these formulas. So it's a bipartite graph. So one side is about the variables, the other side is about the uh um the the the constraints. And uh we can establish this uh relations into the graphs by defining the edge as well as defining the feature of the nodes. So in this way we can um
we can convert the formulas into a graph data. Uh because we have a grey data, we c everything becomes easier, right? We can u introduce like graph transformers or graph neural networks.
and even write, even whatever supervised, unsupervised or se or self-supervised, right. So the first thing is to establish this bridge to convert uh mathematical formulas into a graph structure and uh uh then we can develop any many kinds of graph transformer backbones to improv uh improve its expressiveness to improve its scalability, right. So uh this is a basic idea. The other things about the
some constraints or properties like the permutation invariant property, right? Some sometimes it's very H uh equi invariant of graph equivalence, like they and also um so I just use some examples here. Um because i if you permute as the order, it ta doesn't change the g global optimize uh the the solution, right? So um this is about what do we need to care about.
So we we develop some uh theoretical fundings and in terms of the generalization ability, in terms of the expression Okay. this power, also there are many works in in the G_N_ areas, right? So we I don't want to talk much about this. Um also we we we do some um
um exploring s in in these areas. For example, this is a I said a mixed integer programming problem instance here, right. See uh uh transpose X, such uh uh in the the constraint here, I just uh give a very simple example. And what we do is trying to um
Uh perform preserving. Preserving means we have many uh such kind of operators. And uh you can apply these operators into the problem instance to make the problem easy easier to solve. But the so traditionally it uh has been done by some rules of just a by default option. You you have such kind of um candidate operators and then you may choose someone either either by by default or either by uh
uh uh experts experience. But what we want to do here is just a simple. We try to use in re supervisor learning or reinforce learning to uh adaptively to choose these operators to apply on it on the on the proper instance. So it could have been more um customised to get a better
We had a new formulation. And then then you can apply a traditional algorithm or solver to solve it very efficiently. So this is just a one example and um uh this also uh this work also has been uh recognized the ICLEAR last year.
So another example is about we try to do some uh data augmentation. As we all know, data augmentation is very common in machine learning, right? But it's trivial for images like do cropping or rotation, right? Zoom in, zoom out. But it's not it's it's not trivial for formulas for like this complex problem, right? So how how you can perform data argument training augmentation for like the linear programming problem.
Right. Uh maybe people will think about we can g give some noises. But to
to disturb uh the problem by switching the coefficients. But it's not non-trivial. It's not trivial. And many times you may just uh get a very trivial uh problem instance and uh we can solve it very cl uh easily. That's what we want. We want get some hard instances, right? So we deliberately design some mechanism uh by machine learning and uh some uh expert uh knowledge to first uh we we convert uh the problem into a by-partite graph.
then we uh piece uh uh split it into pieces. Then we remurgence them to get some new new instances. This is like what do we do for like the image data, we try to um split them and uh we re we we combine them into some new contents. So uh also we have the paper published in um
Uh uh uh CKDD and ACML, um like uh a spotlight paper. And this there's about another important uh problem about satisfiability problem. SAT, we will call it SAT, right. So it's also

Wait, we call it sad, right? So it's also a very hard problem, NP-hard, right? So what do we do is also try to
split it into pieces and then we re-merge them by some machine learning mechanisms, and then so we can get get some many hard but uh realistic problem because um in industry in real world industry, it's not easy to collect many uh s uh rich set of the problem instance. It's not like images, we can always collect them very easily. But for industry level uh problem instances, like the E_D_A_ areas industry,
The data is sometimes confidential, very, right, uh sensitive. Or sometimes it's not easy to get them from the industry part. So uh maybe there some comp uh public uh small pieces of the data and then we can p uh apply our algorithm to make them uh even uh more and more, right, by by data augmentation. So but we need some new techniques.
Um so these are the technical details. Uh maybe you if you are interested that you can uh uh resort to this acrylic paper right last year. So uh maybe I can also share the slide if you are interested. And uh we also do something about like the um learning to uh modify the problem uh because the the raw problem could be very hard, right?
But the hardiness decides also on the solvents, right? No solvent is perfect, no algorithm is perfect, no free lunch, right? So you need to find a good solvent for the given problem. So here we we we do another side, so given the problem which w we want to using uh reinforce to modify the problem instance. And uh in in its new new uh uh new formula, maybe the problem can be solved in uh more effectively.
So this is our rough idea, and the the paper was published in Europe's uh twenty twenty one. Uh also this is a a co-worker with the Alibaba uh uh California p uh team. Or many real-world apprentices. And uh we also do something like the the
the the the combining of the as i said the forecasting with decision making right so for example uh in the stock market first you sometimes you need to forecast the price of the stocks so then you you make the decision you do the portfolio uh combined neural optimization you choose which group of the stocks you want to buy right in the which time but basically so people may consider them separately so you first you develop very
decent time series forecasting model and then based on the forecasting results you do the you do your best to optimize the solution. But but this is good for maybe for mathematicians, they care about the the the math part. But for computer science people we may consider more about the real world problems. So why not combine these two uh together? So we jointly train the model end to end like the autonomous driving.
So in FSD, right, we know the perception, the forecasting, and the planning.
Is put together, right? So basically we have same ideas for combining total optimisation, we may uh train the forecast part and the the decision making part together. So and then we apply them into some like the bean packing problems. Um uh because in China we have many dogs, so many many beans and uh many goods delivered. So we try to perform forecasting and uh
Decision-making took too long today. Uh this are kind of our uh previous publications in these areas. And uh um so the next part is about can we make the mode or more native. Because in my previous examples, we basically try to um even easier by learning the perceivers or
Perform data augmentation, but we do little about re reinvented the wheel, right? But now in this part I want to introduce some works to um develop some native neural networks which can incorporate uh constraints into the uh for prediction. So people may s uh remember about the Poeta network, which was published about ten years ago by Google. So um now I just give some um examples. Maybe we have
have kinds of different constraints. Assignment constraint, uh it's more about permutation. The second is about cardinality. It uh it's about the portfolio optimisation, right? We m we may want to choose ten stocks from the one hundred candidates. So we have a constraint in terms of capacity, right?
And also we have many like the Boolean constraints more used in the satisfiability problems. And uh so um basically for some specific constraints we have good ideas to how to enforce them into the network. So is there are some Chinese word but it that not uh hurt as a the the meaning. So so maybe you we have um
We can speed up the traditional like the groupie for about 400 times, 431 times speed up because we enables the GPU acceleration by
reinventing the new network pipeline. Because because in Groovy we cannot explore, more fully leverage the parallel computing power, right? Maybe say co uh solved the problem by c by C_P_U_ iteratively. But now we can, because we have a network solver, we can solve it in parallel by G_P_U_ So we can have better uh a speed of performance. And we also give some uh theoretical studies in terms of the
uh the error bound or something in terms of the constraints uh
But the good news here that we have maybe 400 times speed up. The bad news is that we cannot always do it for every constraint. We can only do it for some constraints. So what I'm trying now to do is about to make like the linear constraints workable in our paradigm. So I'm working now on the speed up of the linear programming and the integer programming for this general constraints. So due to s
time reason I will make the progress faster.
Um so also I wi tried to do some interesting ideas about the quantum machine learning. Um we know quantum computing may have the power or the advantage in the combinatorial problems or like the crypto problems, right. Here we try to uh design a quantum circuits. Maybe we sometimes we call it a quantum neural network. It have trainable parameters here, and we try to uh solve this P_S_P_ the travel salesman problems using this kind of the
a trainable quantum circuits, what we call it a quantum network. And there's also the key innovation here is try to incorporate the constraints into the circuits, l rather than put it on the penalty term.
And uh um we have met many more ideas about this. Uh some new papers. Uh we have a faster version last year in Europe's twenty twenty four about T2T from distribution learning training to gradient the search in the testing. It's like a we said a test times uh uh uh scaling up. So we introduce a mechanism to allow for gradient descent search in the test time. Because the combinatorial problem could always
uh tend to other distribution, right. We cannot insure it. So in this case it's we can enable the test of time, gradient of search to improve the performance, especially for generalisation ability. So the basic idea is we develop a diffusion model to um to solve the problem in the generative uh perspective. And uh we have many new uh new applications and the benchmarks. So due to time reason I to quickly skip it. So there are some relevant papers.
And the the third part also the last part is about the uh application uh especially for design automation. This is about the maybe uh twenty twenty one we have a new paper, maybe the first one. So concurrent with a gu Google nature paper, right? Yeah, that time. About using like we they call it alpha cheap, right. So we introduce the reinforcement learning end to end to to pr to do uh place and uh routing.
So because this is some examples, it's too dense to show, right? And uh um we also have some um ideas about like the logical synthesis. It's also a very part t uh in E_D_A_ try to reduce the complexity of the logical uh circuits, uh using as mu as much as as as uh as as
As small as possible, the the the case and the the the number of the layers. And then we try to develop some reinforcement learning environment. So people know about this, right? So in terms of I_O_ we may care more about the environment design rather than the the algorithm itself, right? So we just apply the the basic of model based I_O_ and the the the new cur idea is about how to divide the model and that the environment. So we also have some publication in in the IDA area like
like the ICKIT. This is a uh E_D.A. b conference. And then we we even win the champions from the the annual uh flagship conference in I_D.A_ Logics and uh we we got the i in in uh c in a c in two years in a row we got a first place just say using re-enforcement learning. And uh we also do some like NAST. People may not allow the uh neuroarchitectures search, right.
Um also we're even using AI to do um automatic circuit design quantum circuits design because from the physician perspective, physics uh scientist perspective, they may invent the circuits from the first principle, right. But for our AI guys maybe we can sometimes treat it uh black box. We just want to uh get a pr a approximation of

Gather approximation of the the function. So in this sense we can make streamline the circuits more efficiently. And we also applied on the molecular prob property prediction uh we can introduce the quantum machinery, especially quantum um extract feature extraction to perfectly to uh to extract the information uh from the three D uh molecule.
representation. And even we can use only about one hundredth percentage uh uh uh uh uh parameters even we can get as a competitive and a similar performance compared with th those uh very uh dense uh transformer models. And uh sometimes we also do about the docking. It's also a combinatorial optimization problem.
And uh so uh because uh time issue. So let me stop here and uh open for your questions. Thank you.
thanks for this nice talk. Uh so this is about the first part of your talk where Yep. you talked about M_I_L_P_ Yep. how to solve M_I_L_P_ right? So I'm sorry I'm not pretty aware of this field, how your M_I_L_P_ interacts with neural networks. So how do you verify optimality?
Okay, yeah, that's a very cool question. So always mathematicians challenging me because we cannot uh ensure the the the optimality or the the the the gap. So um maybe I try to answer your question uh from a new perspective. So now we are doing is about using L_M_ or A_I_ to co -pilot with a algorithm designer to design new algorithms to solve the problems. Then mathematicians can be involved uh to study
is the theoretical property of the new algorithm. And then this, I think, is also uh give some interpretability of the system. So because people don't like black box uh systems. So this that's what we want to do. And the other thing is about some for many specific problems, we can have some mathematical results. As I just give a example about the the error bound of the constraints. Okay. Thank you. Thank you, thank you for your constraint.
Okay, thank you.
Such as a great talk from Jingzhi's 2000X, Pico will be Tessu, as well as an assistant professor in the computer science department at Stanford University, and his research focuses on enhancing the robustness and trustworthiness of machine learning systems, particularly in complex domains like large language models, and by leveraging statistical tools him to address challenges such as long tail behavior, auto-domain generation, and fairness in AI systems. So prior to his current role, he completed a postdoc fellowship at Stanford and earned...
He pitched the at MIT. So welcome.
Okay, great. Thank you very much for the invitation. This will be a slightly different flavor of talk. So I'm interested very much in what language models that are out in the wild can teach us. And so what I'm going to talk about today is a slightly different class of ideas on using meta-analyses of existing models to try to understand and improve large language models.
So to set the stage, we've now seen the proliferation of many very capable large language models, both open and commercial. By my recent count, there's probably over 100 models out on HuggingFace that you can download that are reasonably capable that have been trained by somebody.
So at this point, we have this very large zoo of models that are out there. And we see that they have, you know, very different levels of capabilities. And we might wonder sort of very reasonable things. The first thing we might wonder is, what is really different about these models, right? If we have 100 different models, are there truly, you know, 100 different kinds of capability profiles, right? Is each new model a different unique snowflake that we need to understand deeply? Or is it the case that these models share underlying capabilities?
abilities profiles and we can understand them at a much higher level, right? So this is the first question that I have. Can we understand sort of capabilities of models in the wild by analyzing all of these models that are out there?
The second thing is sort of more interventional. If we can understand models by analyzing models that are out there, then can we use, you know, what we've studied, these differences across models to in turn improve their capabilities, right? And in particular, I'm going to focus on improving our understanding of data, right? So we have a lot of different models trained on many different kinds of pre-training data. Can we use differences in their training data in order to understand what high quality data looks like?
in a very data -driven algorithmic way. So that will be the second part of my talk. And so I'm going to start on these two parts. The first part is about what we've called observational stealing and its joint work with Yang Jin-ran and Chris Madison who are at University of Toronto.
And really the question that I'm going to open with is, is each new large language model unique, right? When a new model comes out, do we need to be worried about new kinds of totally different capabilities that will emerge? Or if they're following fairly standard pre-training recipes on fairly standard data sets, are they going to be roughly similar things, right?
And actually, this is not a very difficult question to answer. There are almost 100 models and dozens and dozens of benchmarks. And really what I'm proposing here is to start to analyze this set of models that are already out there, what people call meta-analyses in other fields.
And so what I'm going to do is to start to analyze, in some sense, this matrix of models by benchmarks and then to understand what's in this sort of matrix factorization. And my contention here is that by looking into this, we can actually learn some pretty interesting things about both model capabilities and scaling of model behaviors.
I think the first and maybe most striking observation when we started this was that if you take, you know, all these open base models that are out there and we do this very simple matrix factorization. What do you expect to see? Right. If each benchmark that we have. So at the time we took the benchmarks and the open LLM leaderboard, if each benchmark is measuring something different, we expect to see essentially a full rank matrix. Right. So sort of each direction is going to be equally important.
But what we see is actually quite different. We see that the first component of this matrix factorization almost entirely dominates the spectrum. In fact, the first three principal components essentially explains 97% or so of the variance in model capabilities. So what does that mean?
Despite the fact that we have hundreds of models and we have, you know, half a dozen or more benchmarks here, we only really see the influence of very few underlying differences and capabilities. And in fact, you know, the dominance of principal component one here really suggests that the biggest effect here is that models are either better or worse, not necessarily that they're better or worse at specific things.
And to add an important caveat here, what I'm studying here is pre-training, right? So if you post-train these models with different data, you're obviously going to get quite different behaviors. And you hear people say things like, you know, Anthropic's Claude has a different voice than the other models. You know, I'm excluding that from this analysis. But if we are looking at pre-trained models, you know, the effects are quite clear. You actually get this effect of models are either better or worse. And, you know, if you followed the robustness literature, you know, a few years ago, this should be highly reminiscent.
sort of phenomenon like accuracy on the line, right? Where models are not necessarily more or less robust, they're simply better or worse if they're trained on the same kinds of data.
And when we look at this first principal component, the one that dominates essentially the effect on this empirical model matrix, what do we actually see? We see that principal component one is very tightly correlated with scale within each model family. So each of these plots here is showing a different model family. So you can imagine this is like OPT or LAMA or what have you.
And on the x-axis is the training faults and the y-axis is principal component one, right? So this is an embedding of the matrix, a low dimensional projection. And what we really see here is that the extracted principal components correlate linearly and strongly within each model family. And so if you put these two kind of facts, let's say, together.
You come at a sort of new mental model of how language model capabilities, at least at the pre-training phase, behave, right? What we sort of hypothesized is that language models share a sort of common set of small baseese vectors, essentially determining what their capabilities are. And most benchmarks, even though we have many, many benchmarks out there, are actually, you know, simple log linear functions of these base capabilities. And when we look at different model families,
It's not that they're uniquely different, but that they are perhaps only varying in how compute efficiently they convert resources, so compute and data, into each of these capabilities. So this diagram kind of illustrates this toy model here where essentially in standard scaling laws we're really analyzing directly how compute...

analyzing directly how compute goes to downstream capabilities, you know, in a single benchmark. But what we're saying is compute and other kinds of resource inputs, you know, control a small set of low dimensional capabilities, which in turn reflect in complex downstream capabilities.
And I think this has some really interesting implications for how we understand, you know, the behavior of models as they're sort of deployed and as they go into the wild. So the first thing that we were originally motivated by in this study is to try to understand things like immersion capabilities. This has been kind of a big, I don't know, debate, discussion in the community about, you know, are there really phenomena that have phase transitions at a certain compute scale?
What we see is that if we do this simple analysis of instead of thinking about compute, we think about principal component one, which is this aggregate surrogate that tracks compute very closely within each model family. What we see is that what was originally discussed to be emerging capabilities, like adding numbers, actually even when you're tracking accuracy, which is a less well-behaved metric, you actually see that these capabilities correlate very smoothly. So you see that we can actually predict.
The behavior of models which are in the red, these are held out models on the basis of very low capabilities models on the blue here, right? And so we can basically do things like fit standard scaling laws and be able to predict the behavior of much more capable models from much less capable ones.
Another thing that we were quite interested in was whether sort of much more real world tasks, like sort of let's say agentic abilities of large language models Mm are -hmm. in some ways correlated with much simpler base capabilities. I think when we started this, I think it was about one and a half years ago, I think there was a lot of big questions about, you know, is agenticness just like a really uniquely different object, right? And if you're interested in safety, that would have implications about the kinds of safety guardrails and benchmarks you'd build.
If you're a capabilities person, this would have important implications in the algorithms you develop. But I think one thing that's quite interesting is that you can actually, using this sort of principal component style analysis, basically say that even complex capabilities measures, like let's say agent bench or agent board, which is the agent benchmarks we had on hand at the time, are very, very predictable from very simple benchmarks like question answering benchmarks. And in this case, I think the only coding thing we have here is human eval.
eval right and so once again the blue points here are data that we use to fit the curve the red points are held out we can basically predict you know the agentic capabilities of GPT-4 having held out you know any models that are anywhere near the capabilities of that model and so at the very least in you know the small n case we can say that the agentic capabilities roughly track simpler base capabilities that we've seen
And finally, kind of as academics, I think one of the things that's always on our mind is, you know, when we come up with a new method, how does that interact with scale, right? We know that scale and sort of improved base capabilities of models is always kind of an elephant in the room. Let's say you come up with a new prompting trick or decoding trick, you're always wondering, will a better model then make my method obsolete?
And one interesting thing about this class of approaches is that for anything that's sort of post-training related, we can now analyze the scaling behavior very closely, right? We now have a way of taking lots of different models that are out there and putting them on a common scaling axis, right? Effectively sort of a compute axis on the x-axis that's shared across different models. And when we do this, we can see things like, oh, chain of thought, which is on the left here, applying chain of thought gives you the blue scaling curve, not doing it gives you the orange scaling curve.
And so even if you increase sort of model capability, COT remains very, very effective, right? The gap between the two is not going to close for many more orders of magnitude. On the other hand, if you look at something like self -consistency, right, like drawing many samples and majority voting, we see that that gap is not too big and that's probably going to be diminishing returns out in a few more orders of magnitude. And so this technique of doing meta -analysis gives us a way of understanding how the algorithms that we're developing.
might potentially interact with scale in the future.
And then finally, one thing that I'm very excited about in this sort of line of thinking and this line of approaches is the idea of preregistration. So what we're essentially doing here, you know, if you're being a very grumpy person is to say what you're doing here is basically a fancy form of curve fitting, right? And that's true of almost all scaling law style studies. And so I was thinking along with Chris and Youngjin, how can we make this sort of more rigorous, like more serious as a.
as I approach to doing science. And I think one thing we ended up with is to try to do a bit of pre-registration, right? So when we originally released this paper, what we did was we sort of also wrote down sort of the scaling law fits that we had estimated and then said, you know, we're going to look at every model that comes out in the next six months and actually evaluate whether, you know, the relationships we found are robust over that time. And what you see here, maybe the colors are a little bit hard to see.
But we see that blue points, these were originally what we fit the scaling laws on. The red points were held out at the time we wrote the paper. And the green points are new models that appeared after we released the archive preprint. And hopefully you can see that these green points lie almost directly on sort of the curves that we originally predicted. And this, I think, gives me a little bit more confidence that the kinds of things we're doing is not really just overfitting to the validation set, right? Like we actually have predictive power.
over future models that have appeared since we originally put this paper out, which I think is quite nice.
So that's the first part of this talk. And we can kind of think of that first part of the talk as trying to understand model capabilities in the wild, right? There are lots of models out there, lots of benchmarks out there. Can we do a meta-analysis to understand their relationships? The second part of this talk is what I would say is interventional, right? So now can we use the same class of ideas, right, of doing a meta-analysis to actually improve model behavior, to improve model capabilities? And if we can do that,
we might say that that's a nice validation of our ideas because not only are we doing analysis now we're actually going to intervene and see whether that that results in better models so now what we're going to do is we're going to take the same kind of approaches and say can we learn about what good data looks like by analyzing existing models that are already out there in the wild and this was a work that I presented at this ICLR as a poster
So the context here is that, you know, what is the key object? Well, in the previous part of the talk, I was saying all these models are very similar. And in many ways, we know that models are likely to be similar because they're all trained on the same kinds of pre-training data, right? You use internet scrapes, everyone's training on the same kind of internet data, you're likely to end up with similar kinds of capabilities. And so data seems like a really important thing to try to understand. And you know, I've taken a screenshot from the LAMA 3 paper, this seems to be common consensus.
that really one of the keys to making a good model is to really have a good understanding of your data.
But what is the best approaches right now to getting good pre-training data? Well, it's still quite heuristic, right? I took this screenshot from a really nicely executed empirical paper last year called Data Comp LM, where they tried a lot of different, you know, data mixtures and like data filtering approaches and benchmarked them. And what they found was the best thing that they got was a bigram classifier that was trained to distinguish Reddit eLife five pages.
from random other internet websites and that's pretty crazy to me that this is the state of the art right it's very handcrafted it's very heuristic and of course it works very well but ideally this is kind of not the foundations of all of AI right and so is there a kind of a simple algorithmic principled alternative that we can we can find that at least matches this handcrafted approach
And, you know, I am not the first one to have wanted this. I think this is a whole subfield on data selection and data valuation. And there are lots of good data selection algorithms. But I think the unfortunate kind of empirical reality is that they have not really moved the needle. There were sort of two data selection papers that came out last year, done at scale. There was the NVIDIA one and there's Datacom. Unfortunately, as far as I know, both of these papers found that algorithmic data selection approaches just didn't work as well.
as hands crafting some sort of classifier right so the state of the field is still empirically it's really really hard to get something that works right and why is this so hard right if you don't work in this area it might kind of be initially hard to understand why data selection is so hard but if you think about it it's a very expensive thing to do you're training models all the time or you're training many many models sort of removing different subsets of the data trying to understand like was this data useful was it not useful it's just inherently
a very costly approach, and you're unlikely to get lots of data about data. Okay.
So that leads us to our idea. It seems like a bit of a waste for me to spend a couple million dollars training models when lots of people have already trained lots of models, right? So that's the starting point. There are hundreds of models out there trained by very competent people on many different kinds of data mixes. Can we somehow use those models to extract data quality information? If we could do that, I think that would be very nice because we're building upon all the resources that others have expended.
that extracting information for free right so here now we no longer really have a retraining cost because we're just looking at models that have already been trained right and they're high performance and people have thought about what that data should look like it covers a lot of different points on the design space of large language models because people are trying all sorts of new things to improve their models all the time and then finally we can get a pretty large sample size because there's about 100 you know high performance models out there but there's one big issue here and what's the one big issue you
It's that we don't know the data these models were trained on, right? There's a few, you know, people that have completely reproducible pipelines starting from pre-training data all the way to the model, but that's very rare, right? You go to like LAMA, you have no idea what they trained on. For obvious sort of copyright reasons, they're very, very cagey about revealing that information. And so without that, we can't just do the obvious thing of saying, here are all the models.

obvious thing I'm saying here are all the models here's the data they were trained on now let's figure out you know what high quality data looks like
Um, but it turns out that actually it's fine that we don't know what data these models are trained on. And the key idea is the following. Even though we don't know the pre-training data sets for all of these models, what we do know or what we can compute is the loss that these models attain on different pre-training web pages, right? And so that's our starting point. That is observable for every model where we take the models, we compute pre-training losses across pre -training corpora.
And now what we want to do is we want to relate these log losses, these pre -training losses, to downstream performance. And if it's possible to find a regression function that will take us from losses to downstream performance, then we can kind of show in a fairly precise way that these regression weights are themselves very good data selection policies, right? And so this is kind of the starting point. The algorithm is very, very simple. The algorithm just consists of saying...
We're going to compute losses on each sort of domain within my pre-training data set. So domain might be something like archive.org or like vbc.com. For each of those, I'm going to measure the correlation between losses and downstream benchmarks for each of my models.
And then I'm just going to select data based on high correlation versus low correlation domains. The one subtlety that I'm going to have is I'm going to train a classifier to distinguish high correlation and low correlation domains because that's going to allow me to do data selection at a much finer granularity at the page level rather than at the domain level, right? So that's a nice bonus, but not core necessarily to the idea. And this gives us a really simple way of essentially taking models that have already been trained and allowing us to extract.
very meaningful data quality information out of them.
And if you're sort of a more stats ML theory-minded person, there's actually kind of a fun thing that you can show that computing these kinds of correlations corresponds to essentially fitting a regression in particular regimes for high-dimensional statistics. I just kind of found it fun that, you know, even in 2025, there's some connections, you know, between things like single-index models and high-dimensional statistics and algorithms for something like a large language model.
Okay. But maybe that's not maybe the most important, because really the question that I raised before is, you know, does it actually work? And so we started with an initial validation strategy that's, you know, small scale runs. We, you know, estimate these perplexity correlations between losses and downstream benchmarks on about 90 different public models. We select against eight different benchmarks, and we train and evaluate a whole bunch of small models, right? And we do small models so we can iterate and get replicates and so on. And what do we compare to? We compare to a set of pretty reasonable data selection baselines.
lines, including heuristic stuff like DC -LM's fast text classifier and DSIR, which is a sort of an n-gram based way of selecting data, as well as things like language filtering.
Now, this is the one slide summary of this initial set of results that we collected where, you know, the best thing is still, you know, the handcrafted heuristic. That thing is actually pretty hard to beat, right? The handcrafted fast text filter, you know, wins most of the time. So this is average rank across our benchmarks. The perplexity correlations approach that we propose actually comes really close. It matches it most of the time. And it's the only sort of, you know, approaches out of the baselines that get anywhere close to this handcrafted fast text classifier.
And if we sort of drill down on what's actually happening, we can sort of see that perplexity correlations is automatically selecting by language. So when we try to select for English benchmarks, it only selects English language and sort of kills non-English performance, as it should. But language filtering itself is actually quite bad. So we're beating the baseline by quite a bit when compared to that.
But I think one really interesting observation overall is, you know, I have an algorithmic proposal, which is use these correlations between losses and benchmarks to select data. But even if you're not a data selection person, I think a really interesting observation here is that there exists a weighted combination of losses, like pre-training losses, such that there is a high correlation to downstream benchmarks. So the y-axis here is, you know, the predicted performance of a model.
based only on its log losses. And the x-axis here is the actual accuracy that this model attains on a particular benchmark. And we see that across 100 models, there's very tight scatter in terms of our ability to predict downstream performance on the basis of just pre -training performance. And the same is true for something like PIQA as well as Lombarda. And this is a useful sort of empirical fact and algorithmic primitive that you might use.
The other thing that is also interesting is when you look at this big matrix of models by benchmarks, you actually find that the whole thing encodes a lot of really rich structure about data. For example, if you take that matrix and once again do a dimensionality reduction, you see that a TSNE plot will have, you know, all the different languages really cleanly separated from each other. So this matrix, even though it's just a bunch of log probs, actually encodes things like language information.
It encodes entropy, which is kind of the shading over here. So it encodes a lot of really interesting meaningful structure that we see.
So the final part of this is like I was saying before, you know, in data selection, it's pretty easy to say, you know, we had a bunch of experiments, it worked, you know, we think it's really awesome, but then later on find out that maybe it wasn't quite as good as you thought it was. And so as with the previous section where we were doing this observational scaling laws approach, we relied on pre-registration to try to sort of check whether or not we were actually getting it right. And so what we've done is we basically picked a setting.
That was very far out of distribution from the original experiments that we were running. We were running tiny models, so we scaled up about 100 times in the total compute. We picked a standardized data set that we'd never run on before, which was DC-LM. And then we used the same sort of hyperparameters as our original small run, sort of appropriately scaled up. And then we sort of pre-registered this in our archived preprint so that we would be forced to report the results regardless of the actual outcome.
And so how do we do? Of course, we didn't win every comparison. I think that's the nature of pre-registration, that you're committed to winning some of them and losing some of them. But actually, in the sort of initial set of results we got, actually our results are stronger than even what we saw in our original small-scale run. So on the two left panels that we see, this is the result of running perplexity correlations on much larger amounts of data, on much bigger models. When we're filtering the raw...
a common crawl dump. So this is filtering the raw pool of common crawl data to try to do well on, for example, foreign language Lombada or to do well on English DC-LM core. So this is a mix of something like a dozen benchmarks. And on both of these, we see that perplexity correlations does much better than either of the baselines, which is stronger result than we had before.
The one sort of negative result which I'm committed to report because we pre-registered it is we were hoping that actually this would also work if you had already a good starting point for your data, that if you had a pre-filtered pool that you would actually be able to find the really good data from sort of the mediocre data. That turns out not to be the case. Both our algorithm as well as FastX can't really distinguish very high quality data from just normal data or good data. So we see that all of the methods roughly match the baselines at all the scales.
scales. So we see some diminishing returns on these pre-filtered pools, but we do see consistent scaling gains on most of our pre-registration, which I'm excited about. And as a sort of meta point here, I think this is a really exciting thing in that by doing things like pre-registration, maybe we can be sort of, you know, more rigorous and maybe sort of have fewer false positives in the results we report when we're trying to implicitly do things like scaling.
So okay, so this brings me to the very end, which is, you know, I'm pretty excited about the fact that there's so many different models that people have trained. I think this is an underutilized resource that we can use to do all sorts of interesting things. So the first part of my talk was trying to understand, you know, what do model capabilities look like? What's good? What's bad? You know, and what we found is that it reveals surprisingly shared low dimensional capabilities. And I think this really tracks.
a lot of the findings from the older robustness literature that there's not that many differences in model capabilities if you're training on similar kinds of data. In the second part, we turn to sort of a much more interventional setting and say, you know, the meta-analysis approaches can in turn allows us to come up with new algorithms and new ways of understanding things like high quality data. Thank you very much. I'm happy to answer any questions.
Thanks for that. Great talk. Very quick, simple question. I really liked your plots for the chain of thoughts in the first half of the talk. Did you do something similar for mixture of experts? Was the question whether I did like mixture of experts for this plot?
Yeah, if you had a similar plot kind of showing mixtures of experts and if you expect to see it plateau or not. Yeah, that's a very good question. I don't think we have any mixtures of experts here. I think part of it is because when we originally started and collected the models, open MOEs were not quite as popular. I think they're becoming much more popular now. And so I think we could do the same thing with MOEs. A key limitation with all of this is we do need a lot of open models to be able to do this kind of analysis. And so I think we're waiting for more models of that kind to be able to do this. I think another...
Another interesting thing related to that is whether reasoning models now are totally on a different scale. And my guess is that it is. It's like a totally different new axis of capabilities that they've sort of unlocked. Thanks.
There's a question back there. Oh, or you, okay. Oh, great talks. And I have the question that uh here you introduce data selection, right? Uh so what are the different between here uh your data selection approach uh against like uh loss re uh

Sounds like uh lost re uh data re-weighting, right? Uh you can re-weight uh uh lost of some kind of data and uh I think it's more general to like uh re-weighting. So uh yep.
Yeah, so the question was like, isn't selection just a restricted form of data reweighting? And in the statistical sense that is true. But the key constraint here is that we're doing data selection because we're limited by compute. And so you can only take a certain number of forward backward steps, right? So in that case, your weights have to be sparse and you're going to have to do some kind of selection. Of course, you can combine selection and weighting, but you have to do selection if you want to be compute constrained.
Thanks for the great talk. So after selecting the data, how do you verify the selected data is good for pre-training? That requires a lot of resources for pre-training, right? Yeah. So I mean, our strategy is twofold. I mean, you know, if you're saying like, oh, the only reasonable kind of pre-training experiment is experiments done, you know, on 7B models or whatever, then we don't do that. But what we do do is, you know, we start with a basically small scale pilot set of experiments.
where we cover a lot of different benchmarks. And when we do that, you know, we have like eight different benchmarks, dozens of runs. And if we went on all of those, that's some evidence. And then I think the real validation is we basically publicly pre-register large scale runs, we fix the hyper as we fix the data setting, and then we run those and we see whether or not those work, right? And if you see scaling trends whose gaps are growing under pre-registration, that's probably pretty positive evidence as far as you could do in a compute constraint of the fact that you've selected good data.
I see. Just curious, what is the limit of the registration experiments and end up at how large model and how many data, like 7B model?
one Yeah. T one So, token so we end up with 1.4B Chinchilla, you know, optimal size. So that's, you know, 1.4B 30B tokens kind of stuff. That's roughly the upper limit of what we test. I see I said people believe that this can be generalized to like one T tokens or I mean, so I think there's a question of whether this would generalize to different sort of token parameter ratios. And if that's the question, then I think we would, you know, want to redo sort of the pre-registered scaling at those.
this token model ratios. I think if the question is if we fix the same token parameter ratio and scale things up, do I think it would hold? Mm I -hmm. think the answer is yes. I think maybe I'm a stronger believer in, you know, the predictability of scaling than others. But I think the trends are relatively clear that the gaps are wide and remain wide. Okay. Okay. Thank you.
Here. Thank you for t for the talk. Uh so I wonder your experience on the data data selection for a protein model for the uh and the data selection for S_ F_ T_ or R_L_ different stage, how you see that difference.
Yeah, so I have two thoughts on that. One of that is I think data selection is primarily useful in the compute constrained regime. I do know that, you know, for instruction tuning data sets are getting bigger, but I think it's still the case that the primary compute constraints are in pre training. And so if you're thinking about selection rather than, for example, data synthesis, I think pre training is maybe the more natural setting, at least to me. But I do think one interesting thing about the post training setting is that the data is a lot more heterogeneous because you can go and collect.
collect different kinds of data and so actually there's a lot more leverage in thinking about data more broadly in that case and as i was saying before like post-training really does seem to change model behavior a lot more than pre-training so um i think selection is is to me more natural than pre-training but thinking about data quality and like data interventions actually has maybe higher leverage in post-training
Okay, um another question is if for protraining you need a lots of data, if you dump on the page level data to to to get the perplexity and to calculate the correlation, is it also costly um or how to
Sorry, I couldn't hear because of the other event that was also running. Were you asking whether I'm accounting for the compute needed to calculate the losses? Exactly. If you select the data for the pre-training because it needs lots of data. That's right, yeah. So I don't do resource accounting for computing the losses here, partially because it's fully asynchronous. And even when we actually run this, we just run it on much worse GPUs that we don't use for any of the training runs. And so I do think you could argue that we should be accounting for it.
in a one-to one way with our A100s, but I also think that's quite not fair because it can be run on batch on lower priority things, and that is actually what we do in practice, with subsampling. So the compute cost overall is much lower. Thank you. Any other question? Come here.
If I don't misunderstand, you're using perplexity to measure data quality or lower perplexity and eval performance, right? So wouldn't you say like simpler stories have lower perplexity than higher, more complex stories, right? So how do you prevent over-filtering of like high perplexity but also high quality data samples?
Yeah, so there is a subtlety there that perhaps I didn't explain very well. What we're looking at is not necessarily things where, you know, perplexity is either high or low. We're looking for domains where perplexities across models are correlated with downstream benchmarks. And so, you know, that might be domains where essentially, you know, that are complex or simple, it just has to do with lower perplexity and better performance are correlated across models.
Oh, okay. So just as a follow-on to that question, then because all these benchmarks are public and usually well-known, right, how do you prevent benchmark gaming in a sense where you're implicitly just choosing data which are more prone to overfitting on these benchmarks?
Yeah. I mean, I think part of the answer to that is, you know, if I were to run this for real, you know, on a real sort of production kind of a setting, I think I would do something much closer to the pre-registered setting where we're aggregating a whole bunch of different benchmarks rather than picking a few to try to prevent that kind of gaming. I also have a second sort of answer that's maybe a little bit less satisfying, which is that our data selection algorithms are actually so bad right now that they're not able to optimize to the extent that I think you're thinking is possible, right? Like even if...
And if the benchmark is literally in the data set, I think none of the data selection algorithm, with the exception of maybe like the n-gram stuff, can actually pull that out. Thank you. That would be all. Thanks to our speaker.
So my name is Jia-Heng Zhang. I'm assistant professor at NUS. I'm also the co-organizer. And the next speaker is Rita, who is also my colleague. And Rita is the Asia Young Scientist Fellow and the NUS Associate Professor of Computer Science. His research focused on data privacy and trustworthy machine. He's the recipient of the IEEE Security and Privacy Test of Time Award in 2021.
For his paper on quantifying location privacy, he received the Casper Bowden Award for outstanding research in privacy enhancing technologies in twenty eighteen for his work on analyzing the privacy risks of machine models. He also received many other awards and he obtained his PhD from EPFL. Okay, let's welcome Reza for his talk. Thanks.
Thanks uh hello everyone. Uh thanks for the introduction. So what I'm going to talk about is uh is is
How we perform memory, what are different notions of memory in a R_I_ pipeline. How information flows from memory in different settings and what are the capabilities and uh vulnerabilities that arise from uh from that. So we can uh think about uh the training data as a snap-shots of the the world, uh then some of that is encoded into model parameter
parameters as the long-term memory of a model and then later on when we use the uh A_I_ agents, let's say, we have uh a short-term memory as kind of the model context, right? So what are the properties that uh that we expect here? So let's start with uh
with the training data, assuming that uh some statements in the training data uh incorporate and and and uh model some facts about the real world one first question that we always ask is whether those facts are being remembered later on when we when you use the model. And this is something that uh has been studied extensively recently about how much errors the model make. We have some questions that we throw at the models with
is check how much of that is answered correctly, how much of that is hallucination or wrong answers. So what I want to to highlight uh throughout this talk is actually different methodologies to better quantify the the effectiveness of using memory. And one here is that well the errors are not all equal, right? So there are errors that the models make because

that the models make because it has memorised a particular form of knowledge and there are some errors that the model makes because the model is dead wrong. It has memorised for some reason a wrong fact and it's independent of the uncertainty of the model. So we need to distinguish between the errors that the model makes because the model is uncertain or because the model has actually remembered or has pick
picked the wrong noisy data from the training data and has memorized something wrong, right? So these are things that if you look at them, the situation becomes a little bit more concerning that if you look at all the benchmarks on hallucination and you try to distinguish between the wrong answers.
Due to uncertainty and wrong answers due to remembering wrong facts by the model, we see that a substantial fraction of that is due to the errors memorized by the model with high confidence. So when...
When we look at the model responses to different kind of questions, one subsequent question that comes to mind is where did the model get the data? Which part of the training memory or long -term memory the model has picked to influence the result of the query, right?
The expectation that we have from large models is that even if some facts are rare, that are repeated very few times in the training data, if they are relevant facts, the model has to remember them. Okay? So this is not everything which is repeated many times need to be remembered. A lot of facts are not repeated a lot of time and we expect the models to remember these correctly.
So what is the right way to evaluate whether certain facts, certain statements, some small parts of the training data can significantly influence the model behavior so that the model later on remembers that? One notion that can help us to measure this is leave one out distinguishability. That is, if you have models that are trained on these statements that...
formulate the facts and the ones that are not trained on that and we look at the probability distribution of the outputs that the model gives on certain queries we should expect the distinguishable distributions otherwise the model would be very uncertain right so about those questions that's where all the hallucination comes due to the way that you formulate the questions and so on so forth because the model hasn't hasn't got enough influence on that
And if you have large, leave one out distinguishability, then the models effectively memorize those facts even if they are rare.
Problem is that there are lots of rare facts that we don't expect the model to memorize, and those are the sensitive information. So if a model has high leave one out distinguishability on every rare fact which is in the training data, then the model remembers a ton of personal information, sensitive information that later on could be reconstructed by attacks.
The problem is that the algorithms cannot distinguish these rare facts that are sensitive and the rare facts that are relevant, right? Because these are context dependent and the models due to many reasons are unable to understand the context in which data is provided, detecting what is sensitive, personal and so on is a very hard problem.
So we see that, well, maybe it's very hard to distinguish which facts are going to be memorized or not by training so many models on every subset of the training data because evaluating leave one out distinguishability is very hard, right? So you need to do lots of training on every subset of data, figure out whether this is going to be memorized or not, and then based on whether this is sensitive or not, you decide whether to keep it or not.
So we want more efficient tests and the right way to or a standard way that we can test whether a data point has been memorized by a model is through what we call membership inference. So we design a framework in which we put the adversary at the end of the AI pipeline. The adversary is making observations about the model and then has to decide whether...
a particular data point X was part of the training set or not. One bit of information.
there are extensions of this notion as well, but I stick to this exact notion now. And you admit that if an adversary, by observing the model, can tell whether a data point was part of the training set or not, it means that there was a flow of information from that data point through the model parameters to the output that enabled the adversary to do so. So it's a very good test for memorization. How do we run this test? I don't want to go through
algorithms so much in this talk but the state-of-the-art algorithm is very intuitive so I'll just give you some hints about that. The idea is that if I'm observing a model theta, my question is that whether it's likely that this model theta arrived from X being part of the training set or some random samples from the population leading to this model theta, right? So there are these two...
hypothesis x, let's say without loss of generality was the first data point in the training set or some random data point replaced x, right? So what we need to do is to run a likelihood ratio test. What is the probability of arriving at theta from x versus arriving at theta from z for
bunch of random samples from the population and if X can dominate a large fraction of the population in this test, then we can confidently say that this data point was memorised. This is a very well calibrated test. So if the threshold is set to one minus the false positive error of the test, you would get a a very accurate test here. Of course, it depends the accuracy of this attack depends on how much the model has memorised the data.
So, these are uh a kind of uh tools and tests that uh that that are available as uh as open source tools that could be used uh to evaluate uh the privacy risks or memorisation level or influence of data in very uh diverse set of machine learning algorithms from classification models to generative models.
And a privacy meter is an open source tool. You can also contribute to that if you have new models or new ideas that would extend the state of the art here. What I want to continue on is the problem of short-term memory. Okay, so
Now with the let's say LLMs or other complex models used as AI agents, the question is whether the model is capable of processing the short-term memory properly, understanding the question and the task, retrieving the right part of the information from the context, and then composing some computations on that and producing the answer.
So these are the properties that we expect. And there are some benchmark tests that we run for all different kind of tasks, specifically for checking whether the model is capable of accessing and retrieving information from the memory. There is this known simple, very interesting test, which is called needle in the haystack, where what we do is that we just check.
Whether the model is capable of, with a string query, to locate that string in the context and find some relevant information in the vicinity of that, right? So let's say, for example, we have pairs of information. You want to know, given one part, whether the model can retrieve the other part, right?
And something interesting that was shown is that the models are capable of retrieving information from the beginning of the context towards the end of the context, but somehow in the middle, the models get lost. This is a very interesting observation. So what I was thinking about is that, well, this is one property, one capability that we expect from the models. There are some interesting follow-ups on this, on extending this kind of information retrieval.
So what I'm doing is that I'm saying well why don't we just design a programmable benchmark in which we test all different properties that we expect from any data structure, right? So if you have an algorithm and this different kind of data structures you want to go retrieve information, you want to search, right? So you want to recall, you want to be able to edit, you want to do combination of the two.
But also, in AI agents, you want to do more interesting functions, right? So processing.

Right, so processing. For example, imagine that the AI agent has access to all your emails and documents and messages and meeting notes and so on. It's a very complex context. What you want is, for example, stateful processing. Keep track of things, right? So there were like 25 different emails about the same subject. In each of these emails, we made progress in the state of the matter that was discussed among a few people, right?
So you don't want the model to just merge all that. Something was updated. We agreed on meeting on Monday. Now we updated it. We are supposed to meet on Tuesday. We don't want the model to give us all that. We want the model to be able to keep track of the state.
And a lot of data is not flat, right? So the short-term memory of, as I mentioned, like if you have emails and documents and meeting notes, this is not a flat memory, right? It has blocks, right? So there are emails, Alice and Bob communicated about a particular topic. That information needs to remain within the context of that block.
Can we test whether the models are capable of processing these things which can help them to be trustworthy AI agents? So we constructed this benchmark and we see that very simple task, which searching for example, is very easy. Many models do very well. Like if you find, you want to identify whether something was in the context or not or you want to find something in the local neighborhood with some errors they can find it.
But then when you go to more interesting data structures, maybe sets, lists, comparisons, and so on, then they start making lots of error. When we go to stateful processing, keep track of something over time, the models make huge amount of error. So essentially they have no clue what's going on. Some examples, we have let's say some lists and you want to do some operations on the lists, right?
Comparing lists, whether they are the same or not, models are not doing well, right? Identifying the odd group, right? So we have different sets, and you want to figure out which one was different. The models are doing better, but still not very reliably.
Patching the difference. It's like something there was a something mentioned in the past in part of the memory, elements in the set, you want to update that and then retrieve that information, the models make a lot of error. When we go to composite tasks, the models are all terrible. So for example if you have partitions the memory into blocks.
And then instead of asking something to be done in the entire memory, we just refer to a particular block, the email that was sent from Alice. Huh? Alice has sent twelve emails.
The emails that are sent by Alice are marked by the sender's name, and you want to do something within that. You want to ignore the rest of the information. You want to search there, you want to find information. The models make a lot of errors. So any of those basic tests that I mentioned above, when you do it in this context, the models make a lot of errors.
Some other example of composite tasks which is also related to theory of mind is that if we have let's say different blocks of information and what we want to do is that we want to do state tracking and updating information at the same time, the models make significant amount of error. So essentially all the tasks are
A failure. You would not be able. And these are basic properties that you expect from any AI agent. So you want to do, you don't want to go back to your emails and figure out that the model actually forgot some email or confused one email with some other email and so on. You cannot test that. In this programmable benchmark, we can test it and then we'll see that actually they fail miserably.
And one last thing that I want to end the talk with is that, okay, these are about the functionalities. Is it a useful AI agent or not? Did it catch all the information or not? Did it process it properly or not? But I would say that if the model is not able to make sense of the memory, the context, then it could be also a very risky tool.
Because imagine that you are using AI agents with minimal supervision, right? So you will just give them access to your email and data, and then you trust that they understand. I'm not talking about adversarial emails receiving from, you know, some bad actors, but genuine emails sent by...
Your contacts, you expect the model to understand the context, fetch the relevant information and do not share out of context information, right? So let me give you an example based on a true story, right? So let's say Alice has done internship with Bob, now she's asking after a couple of years about the open position in the company, okay?
So Bob with minimal supervision allows the AI agent to respond and this is the respond that the AI agent give to Alice. The summary of everything that happened throughout the last couple of months when they were interviewing different candidates. Which candidate did better, the names, the information, who gave what comments. This is totally out of context. So Alice is an outsider now.
She wants to know, you know, like whether she can apply. We want to get some public information about the job. AI agent is not capable of doing that because it sees the memory as flat. Everyone has access to everything. So I just go and get the information about this new job, give it to Alice. So what went wrong? In this setting, the model...
could not make sense of the blocks of information, the meeting that was between, you know, A and B about the topic, Alice is irrelevant to that meeting, the source and destination of information in memory. So when some information is created, it comes from somewhere, it has a particular destination. Alice is not the destination of that, model does not.
know that so effectively would see the memory as flat and also doesn't have an understanding of who should doesn't know how to infer who should have access to this information based on its content you may say well maybe some filtering or sanitization of the data might tell but surely they cannot right because the agent should have access to all the information but at the time of using it you need to be able to fetch the relevant parts
The right way to look at this is to model privacy as contextual integrity, which is that given to whom we are sharing the information based on where the information came from, based on the context, whether it's relevant to share the information or not, okay?
So certain information you would share with your doctor, but you don't share with your friend. If a friend says, how do you feel, you don't send the results of your blood test, okay? So what we did was that constructed a benchmark to evaluate contextual integrity in language models. I'm not going to go through the results, but what it shows is that effectively models are not capable of respecting privacy and contextual integrity.
It's a multi -tier benchmark. You can start from very basic first tier, which is, for example, certain informations are sensitive by themselves. Social security number, maybe in the U.S., you don't want to share, right? So no matter what. Okay. Then we go to tier two. There are some actors. There is a doctor and friend relationship and that information within that context becomes sensitive or not sensitive.
You go to tier 3, the question is who knows what? It's the state tracking. Alice knows X, Bob knows Y, Charlie knows Z, and now we want to update their states and given what they already know, you want to decide whether to share the information or not. It's more more complex. And in tier 4, which is the
essentially the normal scenarios that we run every day is that you want to share some information and hide some other information, right? So there's some information that you want to share, some information that you want to hold back. And what we have observed is that when you push the mollusks too much to preserve privacy, they don't say anything, even the relevant ones. So effectively what you want to do is that
And this is my last slide. What we want to do from, to get from these AI agents, number one is that to be able to retrieve information and process it accurately within their short memory, but also understand the context such that they can decide up and that whether share information or not in different scenarios.
So I hope that this was useful as a way of looking at the information flow from long memory.

So from long memory to the output, going to the information flow from the short-term memory to the output of the models. Thank you. I'll be happy to take questions.
Thanks for the great talk. So in your opinion, let's say I'm a developer. So I want to implement this agent memory. What would be the best data structure? Is this a list of string? Is this like a linked list or knowledge graph? What would be the best data structure for agent memory for You mean for testing it or for... developing it in practice? But in practice, in part of the memory is free form, right? So it's just text.
You cannot really reformat it. I see. So basically a list of string. I mean, it depends. Like sometimes you have images, you have data, you have emails, you have books, right? So like I don't think that there is a particular data structure and this is what gives the power to LLMs that without specifying any particular data structure, they are capable of making, you know, answering queries on that.
whether we can put back some structure, I don't know, like in this
In the benchmark that we have actually we have specific uh formats of t uh sets and list and even with the pre you know well defined structures them always fail at performing the tasks. Yeah. So So but if even if you impos impose some structure they they're still not capable of performing accurately. Yeah, but in your opinion what would be the future data structure for agent memory? Uh I don't know.
Ha ha ha. Yeah. Thanks. Okay. No question here? Okay, let's thank uh Riza. And Thank you. next session is the shot oral talks.
And the first always optimizing test time compute via meta-reinforce reinforcement fine-tuning. So where is the author? The speaker for this for this talk. Is the speaker here? The first oral.
Optimizing test time computer via meta-reinforcement fine-tuning. Okay?
Okay, so the next paper is uh carrot are cost-aware rate-optimal router. Let's welcome the speaker.
All right. Hi, everybody. Welcome to my talk on LLM routing. Before I begin, I'd just like to give a quick shout out to all my co-authors on this work because it was definitely a very collaborative effort. Okay, so what is LLM routing? The idea is pretty basic. Basically, for any prompt, you want to pick the most appropriate model among a family of models.
Uh one reason you might do this is that among your family of models you might have many which are capable to answer the prompt, but presumably one is going to be able to do it at the lowest inference cost. Uh so one reason you route is to reduce costs. Uh another reason you might do it is uh of course models are not the same. Uh so you can also route to improve performance. For example if two different models among your family uh perform well on different types of questions.
And just to kind of set up a little notation for the routing problem, we're gonna denote prompts by X, we'll index our models by M_ and we're gonna say that we have K metrics of interest for each model. Throughout the talk, you just think of this as being K two and the metrics are cost and accuracy. When we actually do in this project is release a router and the kind of key idea for the methodology is that in order to select the best model for a given prompt,
The only thing you need to know is the conditional expectation of your metrics of interest, given the prompt. So really, producing a router is equivalent to just this kind of classic problem of estimating these conditional expectations. And so, as mentioned, we release a router, which we refer to as caret, and the way the caret functions is pretty simple. Again.
Given a prompt, it predicts each of the metrics of interest, so cost and accuracy, uh for each model, and then it uses those predictions to try and guess uh the best model. Um of course built into this is sort of cost prediction for each question, we try to predict the cost of each model, which is one thing that distinguishes us from prior writers that don't try to do this cost prediction. Uh another thing that distinguishes us from some prior writers is that care can route to many models, not just two.
You just need to predict, again, the metrics of interest for each model. I'll jump right into some empirical results here. These curves here are basically tracing out how much you care about cost versus accuracy in the routing objective. This gold curve here is Carrot.
This kind of brown curve here is a model very similar to carrot, but one that does not try to predict the cost. It only tries to predict accuracy. And then these kind of bottom models here are routers which are binary. They only try to select between two different models. And sort of the punch line is that by, you know, considering many models you can really get increased accuracy, again because they perform well on different types of questions, but also that the kind of cost prediction aspect of carrot allows you to eke out a little bit of extra performance.
for a routing performance. Theoretically we show that actually this prediction method is rate optimal. Very briefly we construct a minimax lower bound for the routing problem. We show that our router matches this minimax rate if you use the appropriate choice of method to predict your metrics of interest. If you're not familiar with minimax analysis that's okay all this is
kind of really showing is that in a very informal sense, among all routers, carrot enjoys the best sort of statistical efficiency for the hardest routing problems. Okay, so the final kind of part of the talk is, you know, we need a data set to kind of build the predictors for these metrics of interest. And actually, we kind of wanted to use our own data set for this project. So we released this data set, which we call Sprout. It includes
uh prompts from six different benchmarks uh and then for 14 different language models it includes uh accuracies and uh token counts which can be converted to costs so you can use this data set to train a predictor for the metrics of interest which are cost and accuracy um and then i'll just kind of as the last slide sort of present how our router does on sprout here um uh basically
Through this kind of predicting routing procedures, Carrot can essentially exceed the performance of GPT-4O on the data set at about 30% of the cost. So this blue dashed line here is how GPT-4O does on each of the ingredients of Sprout. And then this kind of gold hexagon here is essentially how our router Carrot performs at 30% of the cost. And you can see that we essentially match, and in some cases do a little better, than GPT-4O, which is the model that performs best.
uh on average on our data set. Thank you. Yeah. You have poster, right? Okay, so if you have any question related to this topic, you can go to the poster and ask authors questions, okay?
So um the next or all is optimizing test time computes the meta reinforce uh reinforcement fine tuning. And it is online talk, right. By the for the talk uh for the all talk uh you can do a self introduction before you start to uh talk about

To start to talk about your research, okay? Yeah, can you hear me? Yeah, I can hear you. Let's start. Um, can you see the slides? No, I can only Yes, I cannot see them. No slides. You can see the Oh, emoji while okay. you... Good. Yeah. Yeah. So you can see the slides, right? Yeah, it works.
Okay, good. So hi everyone, I'm Ishasa. I cannot be there in person. I'm a first year PhD from Carnegie Mellon University. Today I'm going to share our recent work optimizing custom compute to be a natural reinforcing fine tuning. This is a joint work with some collaborator here at CMU and also some people from Hong Kong face.
So the typical paradigm we've seen so far for like SEO link nowadays is basically try to train large language models with more compute, bigger data for training bigger models and more data. But more recently, we've also seen some successes from the paradigm of test time scaling, where we train a language model to produce language responses or implement some sort of searching procedure while keeping the number of parameters the same.
But does this kind of algorithms or models really scale well or like more specifically, do we see a continuous improvement as we spend more compute? To answer this question, we conducted a very simple experiment. So what we did is like we took the thinking block of DeepSeek R1 and chop it at the meaningful blocks, basically where the model sees weight alternatively, maybe try something else, and then try to get the model to complete the solution right there.
So do you think basically require inserting a prompt that tells the model, okay, time is up and I have to guess the best answer given all thinking so far? It's a tiny trick, but it seems to get the model to produce the best guess responses.
And what we found from these kind of experiments is if we plot the accuracy after we chop the thinking block, the accuracy doesn't goes up and usually it will like just randomly goes up and down, meaning that given more reasoning or like a thinking budget, the model is not guaranteed to get better performance. In other words, long chain of thoughts during task time doesn't really help. However, if we run a majority voting from the chopping.
topping place. With the same token budget as allowing the model to continue to think, it's usually better and the model is able to make progress and improve its accuracy. We argue that this is actually due to the fact that most of these models are trained with outcome reward like GRPO or DC adoption from some experts with a fixed token budget.
And while this is problematic, let's see an example of an easy problem. Let's say the figure shown on the left, we have two solutions. One of them ends very efficiently gets to the right answer. The other one takes a very long time, but still like a get to the right answer. Both of these two solutions will get to the same reward one because they both success. Likewise, if we look at some other problems, one that is on the right track, if only give a few more tokens, we can also like succeed.
reach but due to the token budgets we cannot sustain it for the current moment and one that's never on track and is just like stuck in different ways both of these solutions again don't experience any reward in the outcome reward setting so in order to address this issue we now try to build an approach for what we call like a budget organastic training
Basically, what we want to do is we want the models to make progress regardless of the token budget. Instead of trying to optimize the model to maximize the outcome reward, we add a bonus, which we call progress reward, to encourage the model to make progress at the meta level or the episode level. The model should think more if doing so will lead to a better solution. Otherwise, the model should just terminate thinking and generate its best guess.
Yes. A simple but very effective idea is try to define this kind of progress reward as, for example, given the first J and J minus one episodes, compute the difference of reward of these two prefixes with half of the proof of policy.
In this paper, the prover policy we use is just the modulated self with multiple mounting color routes. One can also implement this kind of with like a reward model for batch computation efficiency, but it just in terms like implementation simplicity in this paper, we use just like the modulated self with mounting color routes.
Due to the time limit here, I will just show a very subset of our results. We fine-tune DeepSeek R1 on the general continuum math dataset and also fine-tune DeepScatter 1.5 on harder Any problems. We observed a significant improvement gain compared by the outcome reward, for example, average similar to GRPL. We also noticed even like if we only train on Any data merged, which is the master we propose here.
Also preserve performance on something like an OOD dataset compared to outcome reward.
So in this paper, we have included a more results like the detailed implementation of star and RL variants of MERT for models that can turn into either long or short responses. And other than absolute performance improvement, we also include results about the token efficiency of different kinds of methods and how length and progress involve during training with different kinds of algorithms and how this compared to simply just adding length.
the penalty during training. For more details, I will not be there, but our friend Yin will also present our poster in the morning session. So I will also join remotely, take any questions there. So if you have any questions, feel free to come to our poster.
We will go to the next talk. Um the title is um third party product: increasing the expressivity of data uh third party net through products of uh householders. Uh do uh self-introduction.
Um uh we're presenting delta product improving state tracking, linear R_N_N_s, by a household product. I'm Julian, this is Timur, and this is joint work with uh Arbor, Frank, Massimiliano and Ricardo.
Alright, so delta product is the linearity you actually can see here. So it's um it's a linear recurrence on the left, uh which mixes the tokens and there's an output on the right. The expressivity of the linearity is determined by the state transition matrix and uh there's different structures for this. This could be for example diagonal, which is um for example a Mamba, which is very known, or Gates Linear Attention. And we showed in prior work here, like at the conference, um how you can extend the eigenvalue range of the state st state transition matrix in order to allow it
allow to learn parity. It can also be rank one updates. Um for example delta not um
uh which allow you to do rect reflections when you extend the argument your range um and it also includes um uh T_T_T_ R_W_K_V_ seven. And these are non-diagonal state transition matrices. And what we propose here is delta product, uh which is a way to extend the um the state tracking capabilities even more, um by having um by allowing you to trade off um computational complexity with uh the state tracking complexity or the expressivity of the linear and then by allowing higher higher order updates to the hidden state.
So how do we motivate this? Um we arrive at this from the test time regression uh standpoint which is quite popular in the linear and in literature at the moment. And we look at this associative recall loss where you have a certain key that you retrieve from the hidden state and then you compare it with the actual value.
If you take a single step of online gradient descent on this, and then you arrive at the following recurrence, which is exactly the delta net recurrence, and it's one of the weights that delta net was uh originally uh motivated in the in the paper. And so really what delta product is uh asking here is what happens if we take multiple steps of gradient descent here per token. So if we take multiple steps of gradient descent per token, then we need more betas and more keys and values, which you can see here. So this is just um two steps uh for the same token. If we compose this uh then we find uh um
the following update here which is just a product of household as for the overall state transition matrix of the token and if we generalize this for NH grade into same steps then you can see the recurrence here with Delta product using a state transition matrix which uses products of householders.
So what can we do with this? So we it allows us to do more complex state tracking tasks. And particularly we benchmark this on permutation composition where we say we take a list which has a certain ordering and then we keep applying uh permutations to it. And if the state tracking is uh is correct, then after every permutation we kept car track of the correct ordering. And you can see the like some of the results here, um where like from left to right the comple um complexity of the state tracking problem increases. And if we increase the number of householders which is this number here,
Yeah. Um then we it allows us to learn more and more complex state tracking tasks. Um and come to see us at our poster, we have some more interesting insights there. Um and like finally like you might be wondering like maybe we can just do this uh also just by increasing the number of layers and we don't actually need to increase the number of householders. Um and that actually doesn't turn out to be the case. Uh it l um increasing the number of householders allows us to learn state tracking tasks which are much more complex than just by increasing the number of layers. And I'll hand it over to Timur now.
Yep. Thanks. Um we also ran language modelling experiments. So we trained models in the order of three hundred and forty million parameters on thirty five billion tokens of fine web. And what we know from prior work is that delta nets is quite bad at length extrapolation because of next next best before guessing gate.

because it next next bits is for getting gates. Um so that's what you can see here, right? So the black city just explodes as you increase the sequence length. Um but what we see with uh more householders is that the length exploration performance improve significantly and even approaches the performance of models that have an explicit forgetting gate such as gated alternate which was also presented here at the conference. Um
For now our running hypothesis for why this is is that we have a fast for getting mechanisms and uh due to the higher-ranked updates that we have with more households we can delete from more sub spaces of our hidden state uh per token and thus forget faster. Um we also want to account for the increased number of parameters that we have when we have more households, since adding one more household also adds uh more or like one more independent key and value projections. So more parameters.
I wanted to account for this confounding factor in our analysis. So we ran a set of experiments to compare models where we increase the number of parameters, either by adding more householders, so our paper essentially, or by adding more heads to the model, and keeping the number of householders fixed at one. And when you just compare training perplexity loss uh training perplexity um the models are quite close in performance when you fix the same number of parameters, but when you then again look at length exploration performance, um
Um the models where you increase the number of parameters by adding more hostiles are still significantly better. Um apart from this we still have some open questions. So first of all we're quite interested to see if state tracking actually improves reasoning in uh or chain-of-thought reasoning if you will. Um and actually start by extension whether um you learn to use your state tracking ability in these models that have this capability by pre-training with next token prediction. Um
Yeah, and also we we already haven't understood the trade-off yet between um associative recall and on a model because we have a explicit mechanism of doing either either or um yeah so if you have any questions um then please come to our poster and thank you for listening. Okay, I think and the next are always, all it takes is one prompt.
An autonomous LLM -ME system. Okay.
Hello everyone, my name is Wang Qian. I'm from the National University of Singapore. Today I will present our work, All It Takes is One Prompt, Autonomous LLM MA System. Okay, so as the development of the large language models, many researchers found that if we use the multi-agent system using the large language models, it will show promise in some complex tasks such as coding and mathematical reasoning.
However, there are some existing limitations. First is the limited Asian coordination. And now the many frameworks such as MetaGPT came out, they rely on the predefined standard operating procedures and human configuration. So it suffers from the poor scalability and flexibility. And there we think of the two, we found the two key challenges in the LLM MA systems. The first is they like the adaptive coordination for large scale and complex tasks.
And second is with the development of the multi-agent systems, there suffers some problems such as the hallucination and how to ensure the accuracy, there are two difficulties. Okay, so we propose the mega agents. This is a practical autonomous multi-agent framework. The core idea is it is autonomous LLM framework inspired by operating systems.
And this requires the user to only input one meta prompt to initiate the task execution, and it can have the autonomous operations from the both admin and agents. The both inst the receiver of the meta prompt, and the both agent then split the task into several admins, and the admins can recruit other group of agents to finish one small task by each group.
And this agent group formation is dynamic based on the complexity and autonomous conducted by the agent. And we also import the parallel execution of subprocess to reduce the time complexity. Okay, here I provide an overview of this.
I provide an overview of these Vega agents and we have two key mechanisms. The first is a parallel, first is hierarchical monitoring. The agent have its checklist and the domain supervises each group and both oversight, both agent oversights for the accuracy. And second is the efficient communication and memory. We employ the message queues function calls, gator version control and vector DB to employ the.
File management and the memory management for the multi-agent systems. And we can see from the picture, in the figure one, we have one meta-prompter in the boss agent. Then the boss agent is able to split the task into several other main agents. This is called the level one. Then to the level two, each of the main agents split the groups of the several agents to finish the small tasks. And in this dynamic, it can extend to level three, level four based on the task complexity.
And we also provide some interactions at the right of this figure, such as the split task, monitor outputs, call functions, intra-group and inter-group chat, and some function calls.
We then conducted experiments to evaluate the effectivity of our mega agents. Our goal is to evaluate autonomy, scalability, and coordination. So we chose two scenarios. The first is software development. We developed the GoBank app with the mega agent to test the coding and coordination. The second is multi-annualized social simulation. We generate, we want to generate initial policy to test the mega agent's large-scale autonomy.
unscalable teeth. We use the we use the natural language model GPT-4-0 and GPT-4-mini and we compare with the famous baseline such as AutoGen, MetaGPT, Camo and AgentWorks. And our metrics are task completion errors, agent call time and policy. The results show that the mega agent significantly outperformed the baseline.
Focal Banking made a huge success fully in developing a global game with the front end and back end. This is a functional game and we finished the functional game in about 800 seconds with seven agents. But other baselines they failed to generate a global game or they generate incomplete or non-functional code.
And for national policy generation, MegaAgents successfully generates the reasonable policies scale up to 580 agents in about 3,000 seconds based on the parallel execution. If we use it sequential, it cannot be finished in such a short time. For other baselines, they fail in this task and they generate less than 10 agents for this task.
So, our backagent has a clear advantage. The first list to pure efficiency, scalability and autonomy. And second list, it eliminates the need for predefined SOPs. In conclusion, backagent is a practical autonomous large language model multi-agent framework required only an initial meta prompt. And our experiments demonstrate that it has a superior coordination and scalability compared to the existing multi -agent systems.
And we hope either it has a potential to serve as a foundation for the future large-scale large language model multi-agent systems. And we hope our research community can try to improve the multi -agent efficiency in complex domains. Also, we need to consider the ethical considerations in multi-agent to prevent them from the hallucination or some safety concerns. And we think there are some future works such as how to address the communication overhead and cost.
Thank you so much. This is the end of presentation and I attached the code link. You can contact me with the X account and Gmail. Thank you so much. Okay, thanks. And the next always reliable and efficient amortized model-based evaluation.
Is speaker hero is an online online presentation?
Okay, then we move to the uh next talk. Um Phase bench benchmarking and enhancing vision language models for physical world understanding.

Um hello uh everyone. My name is Wei Zhao from University of Southern California. Uh nowadays the beyond the chart assistances, the video language models uh are also act as uh are acts also act as a robotic agents for real world problem solving.
However, numerous studies have shown that the visual language model is a lack of some basic perception ability of the physical world leads to some operation errors.
Uh, what you mean s set is the gap between the visual language models and uh the physical word understanding. So our work is to benchmark and enhance visual language models physical word understanding ability. Uh so our first question is that uh uh do visual language models perform where on physical word understanding.
So to answer this question we proposed our face bench, which contains ten thousand sample of video test uh image data categoraed into four major domains. Based on it we test uh seventy four models and the funds. There are is still a lot of of room for enhancing system ability.
What's more, we also found that the lack of the knowledge and the vision perception error is the main cause of the error. So interestingly, we used the in-context method to give some examples and found that the vision language models can transfer those physical knowledge to improve its accuracy. This also verified from another perspective that the training data may be the main cause of the model's poor understanding.
on the study of the physical world. Naturally, we further raise this second question, how can we improve this ability?
So uh based on the analysis of arrow before, we proposed our fased agent. It's uh agent-based uh framework uh to solve the lack of knowledge, we just uh apply a predefined abstract uh physical world knowledge. And to solve the perception arrow, we use the advanced uh expert uh vision models as a function can be called by the agent framework uh by the call vision language models.
And the experiment also shows that our method is effective. So the last question is that will I improve the visual language model's physical world understanding ability can facilitate the deployment of embodied agents. So we also set a question via experiments on five robotic tasks and it shows that it can improve for the robotics tasks accuracy. Our code and data are open sourced.
Uh, Yeah. that's all, thank you. Okay?
So uh this is a last talk uh in this morning and uh we will take a lunch break and please come back uh before one thirty then we will move to the afternoon talks. Okay. Thanks everyone. Thanks for your attending and listening to this talks.







Peace.



Yeah.



Mm So -hmm. our afternoon session will start very soon so please back to your seats and be quiet. Oh, okay. So hello everyone our afternoon session will start very soon
Okay, so I think we can start our afternoon session. So welcome to our first speaker in the afternoon. So Le Zhong is the CTO in DreamBio AI and also a full professor of MBCUI. He was a tenured associate professor at Georgia Tech and the conference PD chair of ICM 2022. He is an expert in AI and AI for science and has won many best paper awards in AI conferences such as NeurIPS ICM and AI stars. Recent work is on using large language models.
Multiple protein structure prediction has been featured as a cover story in Nature Machine Intelligence. So welcome to listen to the talk. Okay, you can hear me, right? Thank you for the organizer for inviting me. And then what I'm going to talk about today is the multi-scale foundation model or LM for biological data, right? So many of you have already encountered, you know.

Many of you have already encountered, you know, RIN for natural language or images or audio these days, all this multimedia data in the internet. What I'm going to talk about to you today is a very large space where you have many different modality of data where you actually need to have some kind of foundation model or RIN to be able to process this type of data. So biology, in fact, is speaking a very different language from natural language.
And if you look at the biological data, so you are dealing with something called the DNA sequences, right? So it's a sentence, a very long string composed of A_G_C_T_ this type of new kind of a vocabulary. Uh these uh DNA is going to also be transcribed to RNA and proteins and uh and the protein is going to fall into three dimensional structure and carry out its function. So it's actually functioning uh in a very different way uh from the natural language.
And then to understand this type of data, you also require very different model to understand it. Actually, biological complexity and data not just, you know, stay in the molecular level, i it's actually multi scale. Uh when you go up uh scale t uh from the molecular level to individual cell level or, you know, organ or tissue level or individual organism level, you also see, you know, data arising from different scales. So this data connected in the sense that the molecular data
The molecular structure, they interact with each other to carry out the function of the cell and and lots of molecule interact in a cell and carry out the function of the cell and cell cell communication, things like this, right. So it is a multi-scale system with lots of different type of model or data measured, lots of data measured from different type of scale. You have a sequence data, structure data in the molecular level, you have a single cell uh gene expression data for the cellular level.
level, and you also have image data and you know time sins sh time series data from tissue and organ of individual, things like this.
So, so this data, you know, has lots of, you know, interesting applications. You can use it for drug design, you can use it for diagnosis of particular disease, you can use it for understanding the disease, identify a target for future study, things like this, right. And lots of problem in the space in some sense is very similar to some of the image problem or text problem we encounter in, you know,
internet space. So essentially it's very high-dimensional space. And uh you actually have very small amount of labeled data points in order to, you know, build your model. For instance if you want to understand how immune system is going to respond to, you know, pathogens, uh it could respond to viruses, you're actually looking at uh, you know, many different potential proteins in the space. And you try to identify which are the actually protein targets where the viruses is interacting with or the w uh where uh
uh uh it's it's disrupting the normal function and uh once you identify the target for instance then you also have the problem of uh how did you actually design your antibody drugs to uh treat your disease this is right or design your vaccine then there you need to design the protein sequences are down in the bottom there so it is a sequence around the twenty a hundred something uh lengths and you have uh twenty six characters to compose this particular sequence.
And again, it's a very high dimensional kind of a design space. So when it comes to particular disease or particular type of protein or treat particular target, the amount of wet lab measurements you have is actually very limited. So then the question is how do you build accurate model to be able to, you know, make accurate predictions and allow this generative model to perform well in this space, right? So it looks like, you know, it is a small
more kind of data problem. But very similar to the space of natural language, you have lots of uh unlabeled data points, uh uh you know, previous uh b biological experiments, lots of databases out there already curated in some of these public places. And uh so there seems to be some major opportunity that uh you can actually build some kind of foundation model, uh R_L_M_ to be able to uh you know ha handle this kind of high dimensional small amount of label kind of problem.
And when you look at the space of computational biology or bioinformatics, actually lots of machine learning model or AI model has been already deprived of the space. Actually the field of computational biology is following closely the development of the AI space. You know, at the early stage, early 2000, people are using lots of sequence models such as hidden macro model and lots of graphical models such as, you know, some of these hierarchical graphical model are using things such as kernel methods.
And then high dimensional regression and classification techniques to handle this type of data. And recently people have been using some of the deep learning models such as a CNN, GNN, and then even transformer to handle this data. But still the field of computational biology are quite limited in building task specific model, right? There seems to be a need to build something we call the foundation model. Now it's really the infrastructure for the entire field of AI nowadays.
for all these internet businesses run. So uh many of you have already been familiar with this uh foundation model kind of paradigm. Essentially, in order for a model to function well in a small able kind of regime, you really want to do this kind of pre-training, right? You take lots of data in the internet or in curate it space, you actually uh do pre-training, self supervised learning on this type of data and first learn representation for a
for a particular modality of data. And then when it comes to a particular task, you actually use this pre-trained model and fine tune with a small amount of label and then do this kind of downstream uh classification or prediction or generation. You find that actually your model are performing much better if you train from scratch using just the task specific data points. So the question is um
Now we have a lot of data, as you see in the bottom, coming from different kind of scales and modality of biological data. It can be sequence, structure, and gene expression, imaging, and phenotype measurements. The question is, can we build something like a foundation model for biology? Say just human biology, right? Given this foundation model, you wanted to make prediction at the different scales and levels, a different type of...
uh modalities. For instance, you want this particular foundation model to be able to quickly fine-tune, adapt it to, you know, downstream problems such as uh um the molecular sequence prediction, classification task.
and make prediction about how different cells, human cells are responding to perturbation, drug perturbation, or genetic editing, or how individual is going to, you know, change their behavior or, you know, have the potential to get particular kind of disease given the genetic kind of mutation in their genomic sequences, things like this, right? And the question is how do we actually build it given that the biological data is a highly multi-model system and then, you know, the scale expands from...
From all the way from nanometer to micrometer to meter level, right, how exactly to build this type of foundation model, right? So actually lots of experience and technique can already being sort of study and borrowed from the space of artificial general intelligence or the way we build multimedia, multimodal kind of model from the internet kind of data. So we already encounter such as language, audio, images or videos.
And then the way we build it is we actually have a dedicated kind of a pre-trained model to handle specific modality of data. And then on top of these pre-trained unimodal kind of model, you will have a different mechanism to merge them, either in the latent space or have a unified token kind of space. And then you have another level of FFM to essentially incorporate different modality of data, allowing them to interact and then generate.
all right, general rate across modality. So the approach we are going to take for biological data or building this multi-scale integrated foundation model for biology is actually in a way similar to these uh you know multi-media system in the internet. So we are going to essentially decompose these very complex, you know, gigantic multi-scale kind of foundation model for biology into different components, like what we build a airplane and and other multi-media
The kind of a foundation model. And each uh component has its own uh functionality or adjusting particular modality. And then once we have uh these individual modalities we are going to assemble together and test and uh optimise together to build a unified uh kind of system, right? And allow it to be optimised, harmonised uh to be able to generalise uh across different modalities, right. And um
So uh i exactly that's what we are doing now and uh in order to build this uh integrated multi -scale foundation model, we're going to do it essentially uh in three stages. The first stage is uh divide and conquer, you take this uh multi-scale foundation model, and first uh build this individual modality of uh pre-trained model, R_ and for individual modality data, for instance you will need uh pre-trained model for DNA sequences, RNA sequences,
with its protein sequences. And you also need those kind of model for the structure as well. And similarly there are other higher scale data such as interaction between the molecules and then the expression of the genes in the entire cell, the morphology of the cell, things like this. You also need to have a pre-trained model for understanding those modality of data. And you also have data in the tissue level, organ level and individual level. You can pre-train this type model and have the corresponding model to understand
and that modality of data. Once you have these uh pre-trained individual modality data, you can already do lots of things, right? Using those uh pre-trained model adopt them to do some of the downstream tasks associated with that particular modality data. So lots of people uh designing protein antibody nowadays are just focusing on actually pre-training protein language model, antibody language model to uh actually u use it for structure prediction, use it for design and generational antibody things.

of design and generational of the light-near body, things like this. Not to mention you know there's a vast space of biological modality and data. You can actually train your model and then do lots of uh downstream fine-tuning and uh already has lots of applications. So once you have individual modality data uh very important thing is to allow them to operate cross-modality uh right? And one thing you can do is uh you can use lots of uh techniques uh such as the latent space
is or you know you can have the unified tokenizer to merge two source of information you can also essentially conditioning on one modality of model on the other modality you can also do things such as stacking two model together to jointly optimize them things like this right if you are able to build this kind of cross model model you can have the ability to have supervision from one modality data
to optimise the, you know, foundation model for another modality. For instance, if you have a phenotype kind of a foundation model connected with the sound of genetic sequence kind of model, then you actually allow for some signal from these uh human phenotype level kind of uh measurement to optimise and use it use them as objective to optimise a genomic kind of model. It's more like uh you are using some of the high level supervision signal
The signal trying to align your lower level foundation model to be more you know meaningful things like this
So that's really something uh very exciting. On once we have the ability, actually there's a lot of uh system challenge in order to, you know, connect these different modulator data and optimise them across scale. So uh later on in the talk I I'm going to show you some examples why this is a challenging kind of a system problem as well to actually jointly optimise different modality of portrayal model even in inside biology, right. Um so uh w uh where are we right now?
Oh yeah, so this area is just, you know, coming and it's new, but there's already lots of interesting work published in, you know, major AI conference as well as in lots of nature and nature kind of series journals, right? So I'm just going to give you some sample of some work from our group, right? So essentially lots of our current work is still in stage one and two where you build individual modality or data foundation model.
model. And then uh we are also working on some of these stage two kind of problems where you connect to modality data using different ways uh of you know emerging them or integrate them. So uh in the even for individual modality of foundation model, there's already lots of interesting challenge. You can already publish in Nature a serious paper uh for this type of the pre-trained model and downstream applications. For instance, I'm going to just give you example on the protein space.
base, right? Protein i i essentially has these three kind of level of information. One is the sequence information where you have these twenty six twenty something characters where you compose a protein sequences, right? And then this protein sequences is going to uh fold into a three-dimensional structure uh actually predicting from the sequence to a three-dimensional structure, that's the you know the work of alpha four two and three which wins them the Nobel prize, right?
And once you have these three-dimensional structure, uh this protein is going to interact with other protein and form more complex structures. And it is at the interaction and the structure kind of complementary between different kind of uh uh proteins which carried out a function of these uh these kind of protein component. So uh you have the task of giving you lots of sequence data, you want to learn the protein language model to understand how nature is going to compose these sequences using these uh
it's a twenty uh unit kind of a lattice, right. And afterwards of course you want to make prediction about the structure. Also understand the structure, things like this, and understand interaction between these proteins right. So you can imagine that uh giving you the protein sequence, to understand this uh kind of uh language of nature, you can actually train some language model on top of it. Some existent technology you can already apply to this space, such as uh taking the transformer and putting it on those data. You can training either with the masked language
language model or this kind of GPT or even some kind of a kind of span kind of feeling kind of task
And once you are able to train this model, then you can actually do lots of downstream classification, achieve lots of sorters and pushing the frontier of understanding proteins and design proteins, right? We have actually done this even for protein, you know, you have the need and a large amount of data to push the model to 100 billion parameter. That's already in the kind of the scales of some of the largest natural language based model already, right?
So just to give you an idea why we need such a big model to be able to understand protein, there are already billions of protein out there, protein sequences. And there are already hundreds of billion kind of unique tokens for protein sequences you can train. And if you just want to go through data, multiple epochs, easily you need trillions of tokens in the training processes. So you can imagine that when you actually need such a scale of model to be able to understand protein sequences.
With this there are lots of interesting requests such question in terms of how do you actually choose the best uh you know uh model hyper parameters, right. Design your architectures to be compute efficient. How do you actually use it uh some of the new architecture to be able to handle this kind of uh data, which are very different from you know natural languages. Right. So uh for this data it's just incomprehensible for human kind of uh eyes or brain, but uh we need uh this specific kind of language model to be understand it.
ended. So uh we did one of the first uh you know scaling law of a protein language model. What we find is the the scaling exponent is very different for a protein language comparing to natural language. So we actually tried uh to you know both the GPT loss and also the M_L_ M_ loss. Essentially uh when you fix a particular amount of compute, uh you can look at the what is the best model sizes for a particular compute, right.
So we will find that actually given a particular compute, the best model actually is not the largest model, it's some particular model which can balance very well uh uh between the you know the compute and the model data you can consume, things like this, right. So um uh you can actually do this kind of scaling kind of experiment for both the G_P_T_ loss and also the M_L_M_ loss. You will find uh very interestingly in the protein space, the M_L_M_ loss
if you train your model with that one
Then actually you need your model size to grow much faster comparing to the GPT model. But the GPT model is more in some sense uh uh hungry for a token, for data, right. If you have a your data is growing very fast and then maybe the GPT model is the better way also for protein understanding, right. So this type of scaling kind of study also gives you idea how do you actually choose the hyper parameter when you have a particular compute particular amount of uh protein sequences, what is the best model size to train for the next one.
That's one, right. And it also tells you that actually there's a scaling law of protein sequences. As the data growing and then if you can grow your model sizes, you can also gain more from, you know, representing the protein sequences, understand better the protein sequences, right. Uh you can imagine that the scaling law is one thing uh very useful in principle for guiding you know what kind of hyperparameter to choose for those uh large scale model training. And you can also uh look into some the later uh latest
is, you know, architectures to be able to uh feed the model very efficiently and do efficient inference. So uh you can actually apply some of these MOE architecture. Um uh last year we applied this uh MOE architecture to a protein language model, and it is a mixture of a expert kind of model with a 16 billion parameter. Every time you only activate a small number of parameters. But now we are able to actually uh push these kind of MOE to be
very sparse. For instance, we were able to do a 128 kind of uh m uh expert and only you know one or two percent of the expert are activated. So approaches on these deep sea like architecture for protein language model. So with such a compute efficient the protein language model then you'll be able to uh you know feed the data very efficiently and much more efficient in terms of doing inference and fine tuning for downstream tasks. So we uh these allow us to actually get some of these uh sort of performances and and
in two to three hundred downstream task using one pre-trained uh protein language model right so uh besides protein uh i mentioned that there are also other molecules such as dna sequences and rna sequences you can imagine that uh you know you can apply the same kind of uh idea or techniques to other biological data as well so we did that for dna sequences we get some of the largest kind of dna foundation models again uh refreshing
and a set of sota performances in some of the DNA related prediction and design tasks. Similarly we have one of the largest kind of uh R and A language model trying to understand R and A and push uh the frontier of the sota performance for some of these R and A classification and design kind of problems, right.
And now they is also used as a modality for designing drugs. So this type of foundation model is very useful for, you know, predicting property of those RNA drugs and also predicting the structure and function or generate those RNA kind of structure as well. So going beyond the molecule, so you have cellular data and then tissue and organ data, right? You can imagine that there's also lots of opportunity for pre-trained some of these models.
those. Just to give you one idea about the single cell data. So it's very different data from the sequence data now. So essentially you can think about some of the larger data set out there for the single cell is a tabular data. It's a gigantic table where each row is going to correspond to one cell and each column is going to correspond to one gene. So nowadays people have techniques to measure the gene expression for all the 20K genes in individual cell.
So you can get these very big tables, right? And even in the public space there's already 100 million of this road, right? These set of

road, right, the this uh cells be measured across different type of uh you know tissues and across different conditions. So in order to you know understand this uh gene expression pattern uh across human cells, you can imagine you want to train a language model on top of that and but in this case is also a challenging problem uh because the sequence input is twenty K_ if you care about uh all the major kind of uh human genes or protein-coding genes.
so you had to be able to use some of these uh language model which is compute efficient when it is dealing with a long context to be able to understand gene expression, right. And uh and it is also some kind of sparse data where where different from, in some sense, uh some of the image data. You had to think about some of the efficient architecture to be able to handle this uh data more efficiently. Not to mention that that there is also scaling law for this type of new data.
to uh uh what is the best kind of model parameter architecture to use for this space. So what we did is uh we also did uh the one of the first scaling law for uh uh the per chain model for single sign signal data. Essentially given the current data uh out there in the public space, even for human cells, when you increase the model sizes, you still can gain something. It is a better model in the core expression pattern of the gene and then being able to better predict uh the missing expression or missing
in kind of um uh entries. Right. So you will get better representation and help you improve a set of downstream tasks. We also designed some kind of uh a sparse architectures to handle this type of the uh you know single searching expression data. Since there's a lots of uh zero entries in this particular kind of data matrix, almost eighty percent or ninety percent of data uh are zero but the rest are non-zero. So you had you can design some of the sparse architecture to handle this type of data. So we have uh one of these uh work
what published in Nature method recently essentially leveraging some of these sparse architecture to feed its single cell gene expression data and pre-train the model to carry out quite a lot of downstream tasks that shape sort of performance including you know some of the cell type classification task some of these drug response prediction task and some of this genetic perturbation task things like this right so once you have these individual modality of model what's interesting is now you can connect
connect uh model across different modality and do some of the interesting cross-modal generation of prediction tasks. So I I mentioned earlier that in even in the protein space, you had a problem of, you know, getting the input from sequence but you want to generate the structure or predict the structure. That's exactly what AlphaFold two and three is doing. But the the problem is far from being solved. There's still lots of um uh you know specific family of proteins such an antibody or antibody antigen uh uh
uh you know complex structure and uh you know protein as more molecule protein-RNA interaction which are not predicted that accurately, right. So what we did in this space uh in terms of the stage two of building this multi-scale foundation model is uh allowing some of this protein model from first stage to be able to extend it and connect it to other modalities. For instance, in this particular case we take a uh you know single sequence input protein model and extend it to understand longer context,
It's understanding this particular case, the evolutionary signal coming from multiple species. Even you try to understand the human protein, you can actually leverage the protein sequence data from other species such as mouse, monkey or even some of these microorganisms to understand it. You can actually combine these kind of evolutionary signal into some kind of long context input called a multiple sequence alignment. And then we can actually extend these kind of a single sequence
sequence protein language model to handle this long sequence using something we call the 2D positional encoding. With that kind of extension, you will find that actually uh the protein language model is allowing you to do uh even structure prediction more accurately than alpha 4.2 and 3 in the region where these kind of evolutionary signal is very weak.
Um so we actually have one work also published in nature machine intelligence. Um exactly it is leveraging this pre-trained language model for doing structure prediction problem. So I'm not going to go into the struct uh details of the architecture but the short kind of summary is you will be able to make the structure prediction uh kind of architecture much simpler, right? Instead of using something like a forty eight kind of layer of deep learning.
With this pre -trained language model you will be able to just go with the one layers of this evolved former, right? And then the the training and optimization model become much faster and you also get more accurate kind of prediction models, right? And many of these structured prediction model nowadays is going to actually take these kind of a pre-trained language model as an input to get better prediction especially in the sound of difficult kind of region. You can imagine that you can also do a structured prediction in a different way
way, instead of uh relying just on uh language model and using the structure as a supervision to do end-end training, you can first train uh uh protein language model and then train the model for uh, you know, understanding protein structure, just autoencoder or we write a context autoencoder for a structure. Then you can actually allow allow these two kind of model to align each other and then to generate uh protein structures given the sequences.
So this is also something we did in in the NIPS workshop last year, where we actually take a pertained uh a protein language model, and take a pertained auto encoder for structures, and asking these uh protein language model to take the sequence input and predict these uh vector contours, the structure token in the latent space, and generate these protein structure. So uh uh actually our model is able to do better than evolutionary scale, uh U_S_N_ three in
in terms of structure prediction. And it's a new architecture comparing to R of O2 or 3 in terms of structure prediction. Right. So uh you can do many other things. Uh for instance you will be able to do conditional generation. Given the structure you wanna generate the sequence, right? So now you have a structure uh pre-trained model. Encoding the structure, you want to condition on that that generate the corresponding kind of amino acid sequence for protein. That you can take a structure encoder,
Take one of these pre-trained uh protein sequence language model and do some kind of diffusion model on top of it, sequence discrete diffusion model on top of it uh to be able to get some kind of inverse phobic model. You can also get sort of performance with a very well-trained uh model for each one of this modality. Right.
You can imagine, sound is a principal technique can also be extend to handle beyond the molecular, so to be able to allow you to you know, extend uh or get a new version of a cellular model as well. So here we also did something for the cellular modelling. So besides modelling or h uh using this pre-trained model for single cell inputs, we can also actually allow a model to be able to take something we call spatial transcriptomic.
atomic data allowing us to analyze some of this tissue data essentially nowadays people have ways of measuring the expression of gene when it is situating in the original space. You can actually for instance measure the gene expression of the center cell here as well as neighboring cells and you would know exactly you know where these neighboring cells are located. Then you can actually leverage the neighboring cell as your additional inputs.
leveraging this neighboring cell as some kind of context for uh you know representing this middle cell and uh we actually can also use some of this single cell per chain model extended using two -dimensional position encoding to allow you to take a longer context and have a better representation so if you have such a you know spatial transgrid atomic kind of a single cell data and extend your model to be able to handle that
So you will get much better spatial-related tasks such as something called niche classification. It's a classifying the region to be s uh some specific label. Then you can actually be able to do much better leverage your neighbouring information. You actually get the uh m you know quite a large improvement this particular case. Right.
So you can imagine that there are many potential interesting combinations when you want to do cross-modal prediction or generation. You can take, you know, either two or three of this model and connect them using lots of different techniques we're already familiar with in the space of natural language or, you know, multimedia data and be able to address some of these type of biological problem. So there's actually increasing number of system challenges.
If you actually want to do this type of cross-modal operation or trying to optimise the entire system jointly, for instance I would just give you example about the system challenge here. Say we want to model some kind of cellular level behaviours, just model the gene expression across twenty thousand genes in human cell. Um uh actually the gene expression itself m is not just a set of measurements for each individual gene. And each individual gene has its own DNA sequences.
And also there's a lot of prior knowledge about how these different kind of genes is going to interact and constrain each other with this kind of network data. So if we want to actually jointly optimize this model when you put them together then it's going to be actually quite challenging. For instance for some of these single cell model nowadays there the scale model is already billions of parameters and it can be dense transformer or other architectures.
And some of the DNA sequence is also very large nowadays, billions of parameters. And you need to handle very long sequences such as 20K sequences. And when you put them together, you try to jointly optimize them. The first thing is the parallel kind of pattern or computation pattern for the cell model and the sequence model are very different. And you need to use different parallelism to be able to handle them. When you try to jointly optimize them, it becomes
uh even more challenging if you want to optimise together. So uh it seems that there is a need to have some kind of general framework to be able to more easily put together

to be able to more easily put together a different type of module and jointly optimise it that. So now this current kind of uh uh framework is good enough for that. So we need to actually also invent some of this this stuff for for it.
So you can imagine that eventually we want to obtain the harmonious system like this, right? So each individual modality of course can function by their own. But the real interesting and, you know, really exciting opportunity is really the ability to connect this model cross modality, allow them to help each other to optimise better and have such a system to be able to make prediction in the simulation about biological kind of phenomenon across scales.
So for instance we really want to have a model about human cell, right, or virtual cell uh based on a eye where you can make prediction about molecular level uh events or a cellular level even tissue level or individual level kind of events such that you can do lots of the drug design screaming and testing uh in this kind of virtual environment, right. So I think we are close to that. And then uh uh especially the acceleration idea from the general multi-media space
Based and by working with some of the biologists to define the problem, define the benchmark, we are getting more and more close to that. Besides, you know, beauty model, closing the loop with the wet lab is also very important, one. Once you have these type of foundation model, generative model to help you design, you can once they shrink the search space, hopefully most of the search is going to be done in silico. Only when you have a very promising hypothesis you send to the wet lab.
Club. So it's going to change the dynamics in previously in some sense lots of biological experiment are used as a search engine, right, to search the vast kind of design space or biological space. And then nowadays the dynamics is more like using the AI model as a search engine across the huge space of biology, and then now you have a small pool of very promising candidate that you send to wet lab and and hopefully that can accelerate the process of uh
you know, discovering antibody and new drugs and reduce drastically the amount of experiments carried out the entire process of, you know, disease understanding and drug design. So this is a very challenging project across different scales, across many different kind of predictions. So it's hard for one group or one company to be able to do that. So by working with some of the very talented engineer, we're also open sourcing some of this.
all these pre-trained models, right. Independent of individual modalities as well as some of the software stack on top of it that allowing us to fine tune these type of models and integrate these models to be able to do cross-modal operations, right. So we have model in both hugging faces and also the corresponding kind of fine tuning code in in hugging uh github to allow people to use this type of foundation model. But uh um that the uh the work is in some sense is community work.
Okay, so we are also very kind of uh open for uh other people in the space to put their model into the same framework such that you can actually uh benchmark test different kind of uh uh equivalent kind of model for the same modality as far as connecting your own model other people's model to a new uh pre-trained model to be able to do other very interesting things. So that's all I want to say. If you are interested, uh you can you can find us.
That's in either our website, our hugging face or in GitHub or linking. Okay, thank you very much. That's all. Yeah. Any any questions? Yeah. Hmm. Hello, thank you for your talk. Uh can I hear you? Yeah. Yeah.
Is Oh. it? Yeah, I think it's, yeah. Uh thank you for your interesting talk. Uh I wanted to ask uh if you used uh like a general uh models with can uh integrate multi-modal data for example clip model to integrate multi-modal in uh biology.
Right I I think a clip is a general technique to allow you to align two latent spaces for instance. Definitely you can use that, right. Uh for instance even when you try to do a structure prediction or generating structure from sequence, you can also use some of this clip model. But there are also other techniques I think are very good for uh integrated multi-modalities. At this moment we still don't know what is the best way to integrate different kind of modality in the space of biology, right. There's a
So quite a lot of room to improve. Yeah, great, thank you. Any other questions? Uh just curious like how do you think about batch effects in this setting?
Right. Yeah, so that's very good question. But since uh in one the cellular model uh there's a lot of battery pack. Basically, different kind of labs they collect the data due to a human kind of differences uh or due to the protocol differences. The data is going to be different, right. So battery fat on the one hand, a sound of pre-training can remove that. And and even in some of these pre-training mode, there's some kind of batch label where you can incorporate.
to, you know, explicitly in take into account this battery effect. Now hopefully in the representation you learn something that batch independent. But uh in the decoder you can actually ha uh bring back those battery effect and go do better reconstruction. So this is something that already uh people talk a lot a lot about and trying to handle in the space. Even even then there's lots of research. How do you actually uh handle the battery effect in this large-scale solar data to be able to learn a
the real representation of a human cell across different type of cells. Yeah, very nice uh problem. Yeah. Thank you. Any other questions? Alright, then let's thank the speaker. Thank you.
And uh ne our next speaker is Yuan Dong Chen uh who is a research scientist director at MetaGen AI leading the group for Lama reasoning. His research direction covers multiple aspects of decision making such as reinforcement learning, planning and efficiency as well as theoretical understanding of large language models. He is also the recipient of multiple prizes including the ICML Outstanding Paper Honorable Mention and ICCTV MAR Prize Honorable Mention and the SIGRO Distinguished Paper Award.
Prior to that he worked at Google, a self-driving car team, uh and received his PhD at Carnegie Mellon in two thousand thirteen. Yep. Let's welcome the speaker. Okay. Thanks for introduction. Um so good morning uh good afternoon everyone. Uh so uh we're glad that you're here and uh uh listen to the talk uh I will give. So today I'm talking I will gonna talk a little bit about uh reasonings.
Uh so the title is reading by search or reading by representation, a path towards unify neuronal and symbolic decision making. So I think this talk is about like how large a model does reasoning and uh is there any interesting findings we want to do in order to explore things further. Right, so we all know large a model has been used in many different scenarios and we all know oh yeah, this is the future, okay we should go A_G_I_ with our models. Right, so we uh I'm pretty sure that people actually hear about this uh
cut our signals a lot about like what we can do in the next five years, right. So and indeed like we our team is also working on region planning. And we have seen like a good progress in this field as a whole.
But of course, I mean there's a lot of problems that uh the current way of doing the planning technique cannot s still solve. Right, so uh there I put like some examples. I mean these are example maybe out of date, uh but it give you some of the ideas by why the reasoning and planning approach uh using that the connecting model still doesn't work that well. Right, so the figure to the left is basically a paper from Google. Uh it's called natural and and and natural plan. So basically it shows that uh the Gemini one point five cannot do
uh very good planning uh if uh you have a larger a larger scale of planning problems. Right, so the top level basically say you have like K_C_D_s and uh you basically want to find what is the shortest path of the K_C_D_s uh using the latter models. Uh but of course like if the no more city goes up, then uh all of a sudden you see the accuracy drops all the way to zero. Right, so and the the bottom side is the modern uh meeting planning and as well. I mean when the scale a problem goes up and you see
uh the the accuracy actually goes down. Right, so the the figure to the right is actually uh another paper from uh uh A_S_U_ and showing that even like Owen uh Owen preview like this approach still cannot do very well if the problem become uh become like scaled up.
And we also have a recent paper called the GSN-infinite. So this paper basically tell basically give you like another example about how such like a linear planning techniques you cannot work very well. Right, so in this paper what we do is like we construct a synthetic data with a super super long reading traces. Uh so then basically these traces can be uh uh be we super super long like uh the problem descriptions.
So given the problem description then you want to reason about like a some quantity you really care. Right, so then what you see here is that uh when the number of operations goes up, then you will see like a very nice kind of uh uh six sigma curve goes away down to zero. Right, so basically like even if the model claim to have like high very long context and ascending uh for like complicated reasoning task, it does not really give you pretty good pu uh good performance in terms of accuracy. So even for
all one meaning right so you see this set of models and you see this nice curve going down. Eventually when you have a lot of operations uh in the region traces uh in the in the region problems that requires uh sinking.
So this is actually interesting. So the reason why it's case is probably because there's actually a very complicated mapping between the question and answers. So question of the reading question has a lot of complicated structures. For example, you know like how many people are there in this population, right? So you know

in this population right so you know for per person how many food people consume then you have to do multiplication right so you can make things obviously complicated and at the same time the model may not be handle this answer very well so you really need to have techniques
Okay, so what are solutions? People all understand that you can basically do reasoning by search, right. So this is basically like uh uh the approach is called the for example a chain of thoughts, right. So people can leverage chain of thoughts to improve the performance of the current large models.
But there's actually another option called the reasoning by representation. Uh so this is actually something that the logic model s still shows, but the people often neglect and may may not like uh pay s any enough attention to it. It's something that I want to say uh later.
So I want to talk about this first one. So within my search as I said if we cannot get the correct solution right now from Lattice models, I mean we just use we used to use more compute to simulate the search behaviours, right. So I mean channel search is one. So for this uh we also have some uh existing work that we can actually show this is true, right. So the search form of paper is basically trying to leverage uh the A_ star search trace uh for solving the complicated um for example mask navigation.
problem or maybe like Sokoban problems. Right so instead of putting directly a prompt and the solutions, what we do is uh we find basically put trace in between prompt and uh solutions. So this is the plan which is the solution and the trace is basically a search trace uh outputted by the A star symbolic solvers. So uh then we actually can come with this called a search augmented models uh which is basically a model that leverage uh chain of thoughts in order to get the solution uh for this
this search problem right so and of course this will lead the trades to be very long at that time and people will think 6k tokens are very long but now people don't care right so people actually use like a 10k plus or 20k plus tokens to actually reason so what you actually see in terms of gain law is that while if you directly predict the solution you need like a lot of data and one million sequence and also you need large models in order to get the things
things correctly. Uh but uh if you use this augmented search trace and you actually get uh much better uh data efficiency. Well, so that's uh something that's people we have already perceived uh back in last year uh uh early last year. And you can actually see the same thing uh for the global task, which is a task that you t basically you control an agent to push the boxes to destinations. Um
So and of course you can do sim better, right? By fine-tune the model uh to achieve shorter traces uh but still leads to optimal plan. This sounds like reinforcement task, uh so this is something that uh uh we can do as a next step. It turn out that if you keep
Two uh pine tuning and what you get is like you get the shorter and shorter traces and at the same time your performance actually getting better which is interesting. Right, so uh so here is basically like a one of the numbers that are characterising like the length uh of the uh search traces um after the pine tuning. Right, so we have a metric called I_R_R_ The metric basically is that the source, the signalling length divided by the source form of signalling length. The larger the number is the main mean like the shorter the the source form of
remember lens uh you see the number can t can you larger uh for uh more and more steps. At the same time, the performance actually getting better. Which is interesting. Okay. Yeah, so after this paper we actually have a a v2 of this uh did this work uh which is called a dual-former. This paper is actually accepted in this year's uh ICASSP conference. And uh we actually presented that uh um the day day before yesterday. Uh so the idea is actually very simple though we we we we still want this search trace, but this search trace tend to be very long.
So how can we make the search width shorter, but still we can keep the performance of the final reasoning quality. So what we do is that we combine the slow thinking data with the fast thinking data where there's no such trace.
So even for sorting data, we also basically like decimated some of their tokens with some heuristics. Is that we train this thing together. Okay, very simple, very simple idea. And interestingly, like once you train this idea, you train the model, which is called dual former, then automatically the performance of the dual former is better than if you train on long-sinking trace only and if you train on short-sinking trace only.
Right, so you see like the performance is actually getting better in term of this. So here when Optimal 64 means like a past 64 um so uh and also three Optimum 64 means that if you try 64 robots, uh at least three of them are optimum.
So that's actually interesting. And moreover, you can actually control the dual form of the behaviors by specifying the first token that it creates. If you fix the first token to be planned, then it will directly output the plan, which is the fast thinking mode. If you control the first token to be create, then it will switch to the slow thinking mode in which it will start to creating all the A -star search traces.
So if you do that, you can actually see that when the model is forced to be fast or forced to be slow, it actually outperforms existing method that also train only on the fast and slow data, which is interesting.
So moreover we can actually try this uh for math problems uh which is the more realistic problems that people care. So what you see is that um when you decimate some of the tokens during the training and mingle uh different uh traits these lines together into the fine-tuning stage uh from our pre-trained model, you actually get a f first better performance and at the same time shorten their traces. Uh but still the answer is correct.
Okay. So, and after that, we actually have a search for more v3, which is another paper that try to still reduce the length of the thinking traces. So this time, we're trying different approach. We are actually learn a VQ VAE to basically encode the thinking traces into latent continuous discrete tokens.
Alright, so basically like what we do is like we have this C_ of T_ and then we're trying to do i encoding to make make them uh discrete tokens, and this discrete token token technically is like a shorter in term of length compared to original tokens. Uh because the C_ of T_ m contain a lot of the hidden information, then you can you can compress them. So this actually leads to better performance uh in mass, uh which is surprising.
and at the same time uh shorter sensing traces. Uh so this is another paper. Uh so we actually put it into archive and people are interested, then please uh have it have a have a search.
Okay, so I now spent like 10 minutes for summarizing some of our series of work about thinking traces. So and we you probably know already know like lots of other papers that also are trying to improve thinking traces from different scenarios. So then a question is what's wrong with optional one, right? So of course we can basically make thinking traces longer or make it high quality so that you can solve problems. But people may wonder like, oh if that's the case then why not just use symbolic solvers?
Because if you think about symbolic solvers, they also try to using matrices to solve the problem, right? They expand the trees into complicated structures and then they find like what solution from the symbolic trees. So if you think about like alpha alpha go, so we have so in alpha go we have clinical tree search, we do tree search for different paths and then we see all these paths that give you the optimal choice. Okay that's that's good and this actually works quite well and you can combine this with neural networks right so this something that people written.
So let's talk about option two. Reasoning about representation. I think it is something that probably new to many people. But I've been thinking about this for a little bit and it's because if you think about like how human does reasoning, human have the capability that uh uh is very limited compared to how the silicon-based uh computer can do, right? So human is super slow in term of like uh the trans transmission of the signals in like a micro-seconds.
uh and immediate second action not maximum second right so and also there's a lot of constraint on humans but still the top humans can still come with intuition that directly lead to the answer
So in that case, we can think about these two kinds of paradigms. One is like, okay, you have bad representations, but you manage to use a lot of compute to get a solution. But human actually comes with a very much better representation that will lead you directly to the answer in a much more smarter manner. So instead of reasoning exhaustively, I mean, human actually reasons smartly.
So this is something that people haven't touched too much yet. But I would say like maybe that's the future for other stuff, for other people to to to fire horse, to actually explore further. Right so by representation I mean people might just actually may remind people about representation between symbolic and neural representations. Right so traditional symbolic representation means that you have a bunch of equations and you want just describe things very precisely. On the other hand you have a neural representation that often
uh the basically the numbers of a long vector uh that is emerged from the trainings. People also think like these two are compat not compatible with each other. So these are they are like two magic things that uh, especially in your repetition, like it's kind of magic repetition that uh will m uh magically solve the problem by ourself. But in uh in the in this in the following slides I'm trying to talk about like uh how the repetition can be studied and uh how the emergency model can be structure can be find uh from the studies.
So for this uh I wanna talk a little bit about uh coconut, uh which is one of papers that uh we published last year. Uh in coconut we basically do some exploration in term of the uh architectures, right? Instead of doing chain of thought in discrete space, we're trying to do chain of continuous thoughts in the continuous space. Okay. So what we do here is that okay we instead of having multiple steps, uh what do we do is we replace this discrete uh multiple token step with thoughts.
And then these thoughts are continuous vectors, then not going through a softmax generations, right? So if you put multiple thoughts together, then you become multiple continuous chain of thoughts.

And you become multiple, and then you turn off thoughts, and then it will give you answers. So you can basically train this model in just kind of curriculum learning settings, right? Started from stage one and gradually train from stage one all the way to stage N, use curriculum training. The training is not that fast, it's pretty slow, but our goal is to try to explore what will happen in this continuous thoughts domain.
So it's actually pretty interesting to see the behavior of the models. So here basically like we are training the model on this synthetic dataset called the PROSQA. So basically the dataset basically will give you questions. The questions describe a graph.
And then you basically want to see whether this initial node will leads to which graph, right, so which node of graph. So final we ask like is edX a groundpress or a boundpress, right, so basically it tells, ask like whether this node of called edX can be connect to this one or be connect to that one. Okay, that's the question. Of course, there's a groundtruth answer and the answer is basically two hops. Well, three hops and you go to destination.
But if you do COT in discrete space, then what happens is that it will go this way, and then it's stuck here. And then, but the model knows that you have to come up with an answer, so it hallucinate an edge all the way to another path, and then go to the wrong destination. Okay, so, okay, that's the discrete version. But if we do continuous version of chain of thoughts, what will happen is that
Uh if you do one step, uh it will go this path and leads like a wrong target. But if you do two steps, then all of a sudden it will switch and go to another path and leads to the correct um answer. That's very interesting because um what happens like we are using grid coding, which means that every step is deterministic, right? So if the model choose to t go to left, why all of a sudden it's choose to go to another side and actually on the s uh give the answer.
That's a very interesting question. So we actually tried to open a box and try to see what's going on inside.
Okay, so how we do this kind of open -the-black-box task is that we first do the, we basically say okay let's just do one-step canonical sorts. So once we get one -step canonical sorts, then we ask the model to decode uh decurately uh from the starting from the canonical sorts. So we by basically de decrypting uh by like a uh decoding into multiple nodes, and check their probabilities.
Uh then we actually know that what's the preference of the model uh inside. Right, so okay, so if you just uh uh encode uh basically like do like one step continuous thoughts then what you see is like you see this the uh node called the lempers. This is uh mer very promising because it has 0.33 probabilities, right? So there's another node called the grampras. That's uh zero point thirty two probability. So this is most promising. But actually this is actually not the right pass. It will list to dead end.
But if you just decode uh step one, this is the most promising note. Okay, so if you continue decoding, you can you have two uh continue thoughts.
Then all of a sudden, what you see is that the two-stage continuous source decoding actually leaves you a few candidates, and the model automatically realize that these two nodes, which is basically the next successor step of that previous promising nodes, they are both dead. So all of a sudden, you see the probability goes to very small numbers. And at the same time,
And uh the model actually discovered that uh the correct pass is from that particular note. Uh which is not the most promising one, but turn out that uh it will leads to the correct answer. So interestingly the continuous fast appear to encode all the possible paths uh doing the search. Or rather than in the discrete source case uh we basically have to manually uh force the model to uh fix on one of the paths.
That is very interesting, right? So if you think about like the three paths, then what happen is that because the following the model to decode into the discrete tokens, that token will determine which paths we will go next, right? So but in continuous thoughts, because you are not requiring the model to do that, it will keep the possible possibilities so that it will give you the right correction, uh uh right answer on the end.
So if we test basically do like a aggregate performance, are we indeed see that uh with a C_O_T_ it does not do very well and may stuck at eighty accuracy. But our continuous source approach actually give you much higher performance.
All right, so which is actually very interesting, and it's basically showing that it can do well on the continuous odds on this kind of tricky reasoning problems, right? So we also tested more company like a GEM7AK, and you should see that our performance is, of course, like not comparable with CLT, but still reasonable. But on this data set, our performance is actually pretty good. Of course, it has something that's probably not.
Great. First of all, the latent token are not interpretable. And second, it's not even just down to just making. So, but we are still ongoing in term of this efforts. So just give you one example showing that. So continuous source may have some interesting properties that might encode all possible paths. And on the other hand, the discrete paths, discrete source may be forced to focus on one hypothesis and which will go to a local minima.
So but it's it's actually like its nature is not being explored yet and we are trying to do more theoretical work to understand what's going on inside which may be interesting maybe we're maybe related to quantum mechanics who knows so in which like we are doing there's a superpositioning in different domains
Okay, so the next uh part, I'm going to talk a little bit about another uh component uh that will also uh leads to uh learning uh reasoning by representation. So here we are talking about uh like another very basic representation, a learning uh reasoning task, that called a modular edition. So in this task, it's super simple, right? So it doesn't even need a channel of thoughts. Uh we ask the model to uh to predict the answer C given A and B.
And the task is very simple. You want to compute uh the modular addition result of the two numbers A_ and B_ Okay. So and all these numbers are within the range of from zero to D minus one. Okay, so of course like uh this sounds like a very simple and basic approach, things like everyone can do, right? At elementary school we have a table, and that in that table we can compute all the possible combinations of uh of the multiplications uh from number zero one to nine, right.
So of course you might wonder like maybe neural network also doing the same thing, right? So after the training, the neural network will basically have an implicit table to store all the possible pairs of M_B_ and it will give you the C_ But actually, if you really uh check like how the behaviour of uh the large models after pre-training look like, it it look like uh the representation of the numbers. They are not a simple uh one hot representation on the table, but they are blurry basis.
Which is kind of mind-blowing. So people actually, at least like two research research teams, and you might find more, show that if you check the representation of numbers for in the in overall in addition task, they are basically Fourier basis of different frequencies. Okay, why? So people will say, oh, what's going on here? What's the why that's the case?
So in order to reproduce that you can actually set up some minimal problem setup. Right so you say okay, how about forget about any transformers, we just use two layer networks. And then the bottom layer basically take the one hot representation for N_B, and then it will go through some non-linearities uh that has quadratic activations. Uh here I'm not using ReLU um your quadratic because that will make things easier.
In that the top layer basically give you an output, and then we want to compare this output with the one hundred presentation we also see and we want to minimise that, by it's a very simple M_S_C_ loss. Okay, so for that one uh if you run with gradient descent, uh you actually see a very interesting answers. Uh that is very similar to the colour basis.
So this is basically the answer you get if you run gradient descent, right? So uh I want to say like the X-axis is basically the hidden number index. So you have twenty hidden nodes, and each hidden node is basically one of the uh one of the columns in this table. And the Y -axis is called the floret frequencies uh for each of the neurons, right? So if you have a neuron which has a a length of D_ you do a floret trans form and then you get the frequency response along each frequency.
So when you see these nice patterns, and this pattern basically say that each solution is a Flory basis, right, because they only peaked at a very sparse set of Flory uh frequencies.
And moreover, you actually see interesting patterns. So at every frequency, you actually see multiple neurons that have super high response for that particular frequency. And the number of such neurons for each frequency, if you add them together, it actually has patterns. So for example, if k equals to 1, you see exact 1, 2, 3, 4, 5, 6, 6 neurons that has a super high response for that particular frequency.
It's called auto six solutions. And you also see all the four solutions. One, two, three, four. The rest of them, there are some kind of constant there.
So, but you only see just two solutions, uh if you scale these things up. So for example, you still found these m uh from seven to th thirty two, uh th th thirty uh uh twenty twenty twenty three, you basically draw distribution of different orders of solutions. What you actually see is that you have a two peak histograms. One corresponds to order four, the other corresponds to order six.
If you still think up more, for example you go all the way to D127, that's pretty big, then you actually see these two peaks. Now you get order four, order six solution, perfect.

Now you get order 4, order 6 solution per frequency, which is interesting, right. So I mean of course you can change the variations of weight decays, then you're going to see distribution changes. At some point it will collapse because a very super strong weight decay will actually put everything to zero. Uh but other than that you see pretty big uh pretty clear patterns. Okay the answer is why, I mean then the question would be why that's the case?
So here there's a lot of very deep mathematical uh definitions and I want to skip, I just want to give you the answers. Right, so I think uh basically like it all boil down to the objectives, and you also want to basically like uh it turns out that you can find a nice algebraic structures from this neural networks, and this algebraic structures would enable us to construct solutions from uh scratch, from like a partial solutions.
So then what we actually do here is that it turns out that you can composing global optimizers, global solutions from partial ones. So you start from some partial solutions that only optimize a part of your objectives. So suppose your objective is very long, you have one, two, three, four, five, many, many terms, and each term can be zero. If all of them are zero, then okay, the objective is a global optimum.
Right, so you want to find a solution that is optimal for all the when to be zero, it's very very hard. But you can find a partial solutions that only zero lies one or two terms. And then because of the nice ring structure, there are some semi-ring structure which is called algebraic structure, you can basically composing these solutions together into bigger solutions that will simultaneously uh make two terms or more terms zero.
If you do this multiple times, then all of a sudden then you get a global solutions that will make all terms zero and you actually arrive at the global solutions. So this is a very nice property and we can use that property to actually construct solutions that will leads to global optimum of our previous like a two layer network setup. So we indeed find these order six solutions per frequencies.
Uh you can construct that algebraically uh from the framework. You also can find all the four solutions, which is also constructible from the previous framework. And of course you have all the deep solutions uh which is corresponding to the perfect memory relation then people will uh think as a natural solutions.
And what makes it interesting is that these two solutions have lower order than this parameterization. And that might be the reason why Gradient Ascent will give you a solution that is much more unintuitive, but much more efficient in terms of the number of neurons being involved. That's why you see Ferrari basis rather than parameterization.
And we actually compare this solution that we constructed with the solution constructed by our computed by gradient descent. Right, so of course, like, uh you have nice series then but how is this connected with the real world. It turn out that the gradient descent solutions actually fit very well with the theory that we just constructed.
So first of all, I mean as you see like 100 % of the solutions they are order four six. Okay, which is good. But not not not only that, but if you take the solution out and then you try to factorize it, um uh according to this uh previous defined this ring multiplication, you will you actually see that this solution actually can be factorized into the form that you constructed from the uh a Jacobian construction.
Which means that our address structure actually exists, and they actually appears in the Gröbner -Stern solutions. And that their error is small and at the same time, if you actually scrutinize all these solutions, they can be written down as the constructive form that we had in our previous algebraic constructions. So means that we actually completely explain what does this Gröbner stand look like in term of the using this algebraic framework.
So now we can see that the Green's function is actually a symbolic solution that the network automatically finds whereby running Green's function. And we are actually is able to explain uh from the beginning, which is very interesting. Okay, so there's another paper recently uh that also show something kind of similar but uh from a different domain.
So for this paper, what we actually do is that we want to learn a two-layer net transformer for predicting the shortest paths in the graph, okay? So we have source, you have the target, and you want the model to predict. So the prediction format is very simple, right? So you start from the context, which basically represent the entire graph, and then you ask the model to predict the shortest paths, starting from node 1 all the way to the target.
And for this one, you actually represent, this will have a representation which is neural, right, naturally. You train a model and then you check the representation after the first transformer layers. So that corresponds to the edge tokens. So this is the last representation that you can actually get from training the networks.
But on the other hand, you can also get a symbolic representation with a similar input. So you can convert this into a line graph in which you represent each edge as a node and each node as an edge. And then you compute a normalized graph Laplacian, and then you compute edge embeddings for this graph. It turns out that edge embedding and the representation for the after the first layer, they are actually highly correlated.
So it mainly so basically it turns out that uh the neural network, the transformers after training actually is simulating this behaviour and the learning adding uh computer from the non-linear even if the we are not telling the models do that. But the model automatically learn this. And we have some empirical uh studies, right? So we actually see that the correlation between these two embeddings is very high. It has nonlinear correlation of more than zero point nine. Um which is great. And moreover you can actually
construct new algorithms from the transformers to do the shortest paths. So things like this is basically the shortest paths computed from the edge embeddings. What you actually do is that we can actually compute edge embeddings and we use edge embeddings to do shortest paths. This is of course not an algorithm with guarantees like Dijkstra. But it actually works quite well.
so especially for like small graphs you see like 99% optimum for small graphs. For larger graphs, for example up to size 200, you actually also see maybe like a 60, 70% optimalities there. Uh so this might be the reason why uh new networks is that is that is is very efficient because uh it actually discovers some algorithms uh that people may not know uh but still works quite well. So but then we are actually uh just on the beginning of exploring these kind of directions. Maybe we can explain things better.
So the possible implication here is that seems like we actually find like a good air thematic presentation, uh that uh also can uh actually an an uh to analyse like uh the gradient descent uh solutions. Right, so maybe in the future we actually discover that the gradient descent uh actually give you a thematic presentation that we don't know. Uh that's a c that could be interesting. And uh we might be able to construct the solutions not by the gradient descent, but by such algebraic operations.
Right. So maybe in the future, the gradients then may become obsolete. And this is just one approach to solve problem. Right. So okay. Okay. So I think thanks for the patience and now we finally arrive at the final final page. So maybe in future instead of like praying in front of computer asking that maybe the model can work well, maybe in the future we can open the black box.
uh and uh actually understand what does the solution look like and uh we might be able to construct solution we might be able to use a more efficient way to find a solution in the future. Uh thanks.
Hey, I have a question for the Fourier um that components that you found. Is Okay. it only specific to the modular function or is it specific to all neural networks? Uh I think it will be general to any kind of uh a graph operation that is abelian abelian. So for example you're giving like two graph elements, you ask the model to predict uh the elements that is the uh summation or the multiplication on uh output of the two elements.
Uh so allium means things that recur, right? Yeah, allium means like uh the two elements can swap. They they can basically they are like Yeah. a commute. Yeah, so that means there is a bit of recurrence which will Ah yeah, map so A into equal the flurier yeah. they Yeah, mean. so A plus B equals B plus A, something like that. Yeah, okay. Yeah. Okay. But the experiments are only for the modular uh function.
Uh sorry forward function? Uh this this experiment that you show, the the the curve and the Fourier says, you could go back. Okay, which one? Uh Which one did you show? I think. You mean this one? A little back, the the modular function.
Yeah, this one. Yeah, this this Fourier uh components, are they only just specific to the modular function or something else? Oh, so this basically this representation is the empirical findings from pro-train models. So Oh. if you take a pro-train models and you check like the embeddings for this uh numbers, uh you actually see flowery basics. Okay, thanks, thank you. Yep. Okay, thanks.
Okay, so six to the talk following in turn don't so welcome our next speaker Charles being from the Stanford University

also a Stanford University and Chelsea is a assistant professor in computer science and electronic engineering at Stanford University and she is also a confounder of physical intelligence who research interests lies in the capability of robots and other agents to develop broadly intelligence behavior through learning and interaction to this end her work has pioneered end-to-end deep learning methods for vision-based robotic manipulation better learning algorithm for few-shot learning and approaches
coach is bus getting low possibility to broad data sets. Good research has been recognized by awards such as Lone Fellowship, the IEEE RS Early Academic Career Award and the ACM Doctoral Dissertation Award and has been covered by various media outlets. So welcome to her talk. Great. So today I want to talk about foundation models that generalize in the wild, specifically robot foundation models.
So, in other foundation models that we've seen, we've seen a lot of really exciting success in general purpose models, especially in large language model domains, where you pre-train on a ton of data and then you have some sort of post-training typically involving like supervised fine-tuning and then RLHF. And I think that
It's a little bit unclear what this sort of paradigm should look like in other domains. And in particular, outside of language, we often don't necessarily have the same kind of data or the same kind of problems that we see in large language models. And so, for example, in robotics, we don't have an open internet of robot data for pre-training, and we also have to be outputting continuous action.
not these naturally discrete kind of words. We might need to be outputting these at high frequencies. And then it's also inherently very multimodal, where in order to generalize in the wild, you have to generalize with different image inputs. You have to figure out how to generalize your action outputs and also figure out how to handle varying language inputs. And being able to generalize along all of these at the same time is very challenging.
So what I like to talk about is how do we develop the kind of open-ended generalization that we see in language models but for robotics. And I'll talk about this in two different realms. The first is how can we allow robots to respond to open -ended instructions and interjections? So kind of in the language and the input space. And second, can we allow robots to succeed in environments that they've never seen before? And so this is more in terms of...
of perception and control. I should note that this is like really, really hard. In the past, robot learning often has operated in really rather small data sets, and as a result generalised very narrowly. And like I mentioned, it requires good performance across all modalities at the same time, and we also need to think about where the data is going to be coming from. Okay, so let's talk first about having robots being able to
respond to open-ended instructions and introductions. This was a large effort, but at the lead of it was Lucy, who's a PhD student at Stanford.
So as some background, typically when we want robots to follow language, we'll often collect some demonstrations. Then we will segment and label those demonstrations with corresponding instructions. Like one demonstration might be for picking up the tomato or maybe one part of a demonstration might be for picking up the tomato. And then we'll train an instruction condition policy where the labeled instruction is passed as input to the policy that's going to be predicting actions.
conditioned on the instruction and any observations from the sensors. And this will give us a policy that can only follow fairly simple atomic language instructions like being able to pick up a tomato, not really open-ended commands and prompts that we might want robots to be able to react to.
And so we'd like to be able to handle things like more complex prompts, like can you make me a vegan sandwich? Oh, and I don't like pickles. Or interjections about how the task should be done, like, oh, please don't touch my phone while you're doing that. Or situated corrections, like can you get me a sweet stack that's not in the grocery basket? Or that's not trash. These kinds of prompts are a lot more complex and a lot more involved, first because they might just be longer and involve longer tasks, but also because they're grounded in the robot.
the robot's current observation. So how can we do this? There's two key components that we find that are really helpful for accomplishing this kind of ability to handle open-ended instructions. And the first is that we're going to be using hierarchy. So we're actually going to have both a high level policy and a low level policy where the high level policy is taking as input these open-ended prompts and introductions and is then going to be
outputting atomic instructions for the low-level policy to follow along with potentially any sort of verbal response it should use and then the low-level policy is in charge of controlling the robot itself outputting the actions and this is like a more typical kind of policy that you might train with instruction following like in kind of in prior works
And so for the high-level policy, we will pre-train it as a vision language model, and the goal is to interpret those really diverse user inputs and then output things like pick up one slice of bread. And in the low-level policy, this is actually also going to be a pre-trained VLM, but then fine-tuned on robot data. And the goal here is to take as input atomic commands and the current sensor readings and output actions like target joint angles on the robot.
Cool. So this is the first component, and we find that this allows us to break up complex prompts into low-level commands. And in terms of how we train this, the first thing is just using the robot data that we have already. So we can collect the robot demos. So this might be, for example, the task of making a sandwich. We'll collect a demonstration. This will have a sequence of images from the robot's cameras and the corresponding joint positions.
And then we'll use human annotation to segment and label the atomic instructions contained in this demonstration. So for example, this part is picking up a slice of bread, the second one is putting bread on the chopping board, the next one is picking up one slice of cheese, and so forth.
And then we will, for the low-level policy, we'll train that as using these yellow boxes as input to output actions. And then for the high-level policy, we will fine-tune a vision language model to predict the atomic instructions, basically to predict the things in the yellow boxes conditioned on the image and the task string, like make a sandwich. So that's how we can get a policy that can follow a much.
harder command like make a sandwich compared to something like pick up a slice of tomato. Now this allows us to do longer tasks but it doesn't allow us to handle a variety of open-ended prompts because the input to this is still only make a sandwich.
So in order to be able to handle all the kinds of prompts that a human might provide as input, we could use human annotation again for this. But there's a really large variety of things that humans might ask. And we don't necessarily want to kind of show all of the human interactions paired with robot data because that would be quite expensive. This kind of human robot interactions is going to be pretty challenging to scale up. So what we do instead is
Language models are actually like know a lot about hypothetical situations with people and so we can actually use language models to generate hypothetical prompts and hypothetical introductions that the robot might face. And so what we'll do is we'll take our annotated data where we're saying we have this image as input and we have the prediction of pick up the KitKat and then we can ask a language model.
What is a potential prompt that the human might have asked you at this instance that led you to want to then pick up the Kit Kat? For example, the user might have asked, hi robot, can you get me something chocolatey? And then the language model also generates some response speech in addition to the skill which is used from the original data set.
So we're sort of generating things backwards. So we have what the high -level atomic instruction is and what the image is, and then we want to generate prompts or interjections that might have led to that situation, and we can do that with language models.
And then once we use this data synthetically generated from the language model, we can then fine-tune our high-level policy using all of those different prompts to allow the robot to respond to those different prompts. And then putting the pieces together, we'll use this high-level policy alongside a low-level policy trained in a typical fashion in order to complete a variety of different prompts.
Cool. So how does this work? How does this actually look? We looked at a few different scenarios on the robot. In this first case, we looked at making different sandwiches. And in the video on the left, we ask, hi robot, can you make me a ham and cheese sandwich? And in the second case, we ask, hi robot, can you make me a vegan sandwich? I don't like pickles though.
And we see that the robot is able to reason through the situation. And so on the left, it says pick up one size of whole wheat bread, put the one size of whole wheat bread on the chopping board, pick up one size of cheddar cheese, and so forth. We also see an introduction here where on the left, the person asks for more pickles to be added to the sandwich. And the robot is able, generally able to follow the different prompts where on the left is making a ham and cheese sandwich along with pickles, whereas on the right, the robot is making a vegan sandwich with.

The robot is making a vegan sandwich without pickles because the user said that they didn't like pickles.
Cool. So that's following different prompts. And another example of following different prompts is cleaning up a table here. So on the left, if we just run the low level policy and we don't condition it on any prompt, the data was cleaning up the full table. And so the robot moves all the dishes into the bin and moves all the trash into the trash can. But if we instead give it a prompt to say clean up only the trash but not the dishes, we see that the robot will not go for the dishes and instead it will put.
only the trash into the trash can. Beyond different prompts, we can also give it different corrections. So here it puts a Kit Kat in the basket, then the person says, give me something sweet that's not in the basket, the kind of prompt that I mentioned before. And it says, I've got a Kit Kat, but not Skittles yet, let me get them for you. And so it decides to pick up blue Skittles, put them in the basket, pick up red Skittles and put them in the basket.
And then it's also able to handle introductions. So in this case, the user says, don't touch my phone. The robot says, got it, sorry, and then goes and tries to pick up a bowl. The person says, leave it on the table. And then the robot decides to stack it on top of another bowl and then go to its home position.
Now you might wonder, in terms of these high-level policies, could we just use an existing foundation model or an existing vision language model to command the robot with different atomic instructions?
So we tried taking GPT -4-0 and using that as the high level policy instead of using our model that was a VLM, a polyderm of VLM fine-tuned on the robot data with the synthetic prompts. And we find that existing vision language models are not very good at high level policies for robots. And so in terms of instruction accuracy, how often does the predicted command align with the prompt, GPT-4-0.
So it really struggles. It has like an accuracy of around 30% here, whereas with our model we're achieving an accuracy of around 80%. And then in terms of the task progress, like how much of the intended task does the robot complete, we also still see a gap between our system, which is shown in green, and GPT-4.0 high level.
We also see that if you don't use the hierarchy shown in yellow we also see a gap here. This sort of flat relay also doesn't use the synthetic data generation and so we're seeing this is kind of what a typical robot learning approach would look like versus the proposed approach in green.
Cool. And then lastly, if you break down specifically like how much does hierarchy help versus how much synthetic data helps, we also do experiments that specifically ablate those components and find that, find like fairly significant gaps if we exclude synthetic data or if we exclude hierarchy.
Okay, so takeaways. First, we see a method that enables robots to respond to open-ended language interaction. There were two key components for this. First was a hierarchy of vision language models that decouple the interpretation of the prompts with low -level control. And we use synthetic data to generate diversity of possible language instructions. And this is what really allows it to handle a breadth of different prompts and interjections.
That said, there's also still different prompts and introductions that it can't handle well. First, the high-level policy, we didn't train it with significant history, and so it lacks context of past interactions, and in future work, be important to figure out how to adjust the synthetic data generation to create a trace of interactions rather than just one immediate previous prompt, and then also think about how the robot can complete a very long horizon task.
task, not just the task of like making a sandwich. And then there's also a bunch of language interaction that's not supported. For example, there might be situations where the robot needs to ask a question to resolve ambiguity. We didn't address that here. And also scenarios where the robot cannot complete something because it wasn't covered in its training data. In those cases, the robot will still attempt to do the task.
Okay, so that was in terms of responding to open-ended instructions and interjections and thinking about generalization for the high level policy. Now I'd like to switch gears and talk more about the low level policy and talk about whether we can allow these robot models to succeed in environments that they've never been in before. Cool. So
As a challenge task, we considered the problem of understanding if a robot can clean a room that has never been in before, with new objects, new furniture, new lighting, new layout. This is actually really, really hard, and chances are if you've seen robot videos in the past, they were tailored or trained for the particular environment in that video.
And so as an example, if we're in a kitchen that looks like this, can we drop the robot in that kitchen, which has never seen before, and have it be able to interpret language commands and how they connect to that novel environment, decide on how to act based on the perception of new objects, furniture and lighting, and also generalize those actions to different physical properties of objects, countertops and furniture. So this is hard. We need good generalization across all of the three different modalities.
is all at the same time for this to work effectively. Okay, so in order to do this, I think one lesson from foundation models is that diverse data is very helpful for generalization. So we attempted to scale up robot data, specifically scaling up diversity of data, and we collected data across homes in San Francisco, and also in diverse mock kitchens and mock bedrooms.
We covered more than 100 unique rooms with this robot data.
Now, robot data is useful, but we can also leverage a variety of other data sources beyond the data collected cleaning homes. And so we took the diverse mobile manipulator data, which is used both for low-level action prediction and high-level command prediction, but we also considered diverse static manipulation data. So this is just arms and not a robot that can drive around and do tasks.
We also took static manipulation data collected in offices and collected in kind of more laboratory settings, like some existing research data sets. And then we also use some web data as well, including captioning, object detection, VQA, et cetera. Cool. And then we finally also collected some demos of walking the robot through the task in terms of the high level instructions.
Now, it's worth mentioning that the diverse data on the mobile manipulators accounts for only 2.4% of the pre-training data. So it's actually a really tiny part of the pre-training data, but it's actually capturing like it's the most relevant data, but it's only a tiny part. And this means that we're able to learn something effective even when it's only a small part of the data.
Okay, so in terms of pre-training, we took the poly-GEM of ELM and fine-tuned it for a variety of different tasks. So we're fine-tuning it for action prediction, which is kind of the core task with imitation learning. But we also fine-tuned it for instruction prediction, so predicting put the plate in the sink if you want to, for example, clean the kitchen and you're holding a plate. We also use typical VLM tasks as well. So...
So captioning and bounding box prediction. So we run this pre-training with this 3B model. For the action data we use a frequency space tokenizer which is converting the continuous action data into discrete tokens. And then after we take this pre -trained model inference with tokenize actions is really slow and so we don't want to directly use that pre-trained model on the robot because we would then get very choppy motions.
So we add a diffusion head to the vision language model. We call this an action expert. This is a lot smaller than the pre -trained model. So it's 300 million parameters, so 10 times smaller than the pre -trained vision language action model. And we fine-tune the whole model, including this new diffusion head on only the diverse mobile manipulation data.
So this is the data that we ultimately are caring about for the task of cleaning kitchens and bedrooms. And I should also mention that this is a bit less sophisticated than some of the post-training data, post-training that we've done in previous works. There isn't any data curation. We're just actually just using all of the mobile manipulation data that we had for cleaning.
You might ask why not pre-train with diffusion? So we're doing this post-training with this diffusion head, but we're not using diffusion at all during pre-training. First we find that diffusion trains a lot more slowly, about four to five times more slowly, and this slows down the pre-training iteration cycle. And we also find that when we pre-train with diffusion, it actually doesn't follow language as well as when we use tokenized actions.
I don't think we necessarily know exactly why this is the case, but one hypothesis is that the VLM itself knows how to leverage language inputs very well, and if you don't have to modify the architecture, then you're able to leverage its inherent underlying abilities in the pre-trained model, whereas when you introduce this kind of action expert, you might lose some of those pre-trained capabilities.
Okay, so how old does this work? We took this model and we rented

We rented a few homes that the robot had never seen before and asked it to do different things in those environments. So here I asked it to close a cabinet, the robot's able to drive up and close the cabinet. I then asked it if it can place the dishes in the sink. Now if we really wanted to clean the kitchen we would do more than just place them in the sink. Unfortunately our robot is not yet waterproof so this was about the best that we could do for now.
uh and then after this i'll also ask it to clean up the spill and it's able to pick up the sponge and wipe the spill on uh on the counter um and again all these objects uh the furniture the height and everything everything is held out from training and different from what it saw before we then took the robot to a
Different home in San Francisco and test it out in a bedroom. So here Laura is just asking, could you clean the bedroom? In these examples we're actually still using a hierarchical model. So we have a high-level policy that's predicting the individual subtasks, a low-level policy that's predicting control. And here we see the robot put all the laundry into the laundry bin, threw away a few pieces of tissue into a trash can, and then is making the bed at the end.
We also drive it to a few more and have a few more examples in this video. I'll show a few more examples here as well. So we tested on some more complex tasks. Here the robot needs to fold and hang a towel, again in an unseen environment. This is pretty challenging from a dexterity standpoint and the robot is able to do it. A few other examples is making a different bed in the top right. This is another similar bedroom situation as before.
door and the bottom right is putting away a clean plate into a drawer, closing the microwave, taking the stuff on the table and bringing it back to the kitchen, throwing away the paper and wiping a spill. So a pretty long horizon task. In this case we're actually, we sometimes also have some examples where we're walking the robot through the task with language but otherwise everything is fully autonomous in terms of the low level control.
control cool um and then a few more fun examples so we also tried messing with the robot uh in real time so here i put some uh
some fake mustard that doesn't smell quite as bad as mustard in front of on the counter and the robot's able to react to that. Laura messes with the robot in terms of putting laundry in different places and switching out the laundry bin that's used. In the bottom left we kind of unmake the bed and see if the robot can react to that. I think Quan also like kind of throws a ball at the robot at various points and then we also take
uh kind of bowls and see how it reacts and because this is a policy um that is like closed loop it's able to react based on the latest observations and again all these four videos are from rooms with objects that the robot has never seen before cool and then quantitatively we evaluated the importance of different components I'll show a few of the results here
In this first comparison, we're looking at how different data mixtures affect performance. And we see that if we exclude a static robot data, either from the lab, from different homes, or both, we see a significant drop in performance compared to including that data in pre-training.
And so we find that the static robot data is able to play a substantial role in improving performance, likely because we have a lot more of this data than the diverse mobile manipulator data. And then the second thing we tested is if we vary the number of environments that we have data from in the mobile data, what does performance look like, again, in an unseen room? And we see that...
This is kind of expected, but it's really nice to see this validation that as you increase the number of locations that are in the training data, the performance on an unseen environment is able to significantly improve. And in fact, when we get to around 100 environments, we're actually able to match kind of an oracle that was trained on data from that unseen room. And so...
This shows that we're reducing the generalization gap essentially to zero in this case and then further improvements don't necessarily need to come from more diverse data but instead need to come from other things like data curation, reinforcement learning and so forth.
And then lastly, we looked at a few different modeling choices. So this white bar is without hierarchy. And so we see that hierarchy continues to be helpful for these tasks. And then the green bars are showing if we pre-train with diffusion instead of with tokenized actions, as well as some other choices. But really the takeaway here is that pre-training with tokenized actions.
is far better than pre-training with diffusion. Cool. I should also mention there's lots of room for improvement. The model is like by far not perfect. So here are some more videos from unseen environments. In this case, the robot needed to put the potholder into a drawer, and it doesn't quite put it in correctly, and it's satisfied even when the potholder is hanging out.
In this case the robot is needs to put an item into a laundry bin and it drives over the shirt and then is unable to get it from underneath its wheel.
So here's a scenario where it is able to put a number of dishes into the sink, but then when it comes time to try to grasp the cutting board, which is really hard to grasp, it really struggles to be able to get the gripper underneath it. And then lastly, here's an example where it's supposed to put the spatula into the drawer and the robot picks up the spatula and then decides it wasn't a fan of that drawer and decides to go for the oven instead of the drawer and ends up opening the oven.
uh and so yeah sometimes it doesn't quite follow instructions okay and then there's also um lots of room for improvement in terms of speed really long horizon planning partial observability uh yeah lots of room for improvement in general
Cool. So takeaways. Increasingly diverse data allows robots to generalize to completely new environments. Diverse data on static robots also significantly improves performance on mobile manipulators. And pre-training with tokenized actions we found to be significantly better than pre -training with diffusion, particularly when your training time is somewhat limited.
We also have even more experiments and comparisons in the paper, including high-level policy comparisons and language following with out-of distribution objects that are mentioned in the instruction. Cool. With that, I'd like to highlight Iris Lab and PyTeam and happy to take a question or two. Thanks.
Thank you for the talk. Did you look into the differences of the robot reacting to different grips of the furniture? So in the end you showed the oven had white grip and some of the furniture had silver grip. But also sometimes grip in the kitchen have a single uh how to call it, some kind of a ball maybe.
So Yeah. is there any difference? And of course newer kitchen also have
completely different ones where you have to push and then it opens and so on. Yeah, so we did see that the robot is able to some extent adjust its strategy based on the environment. And so for example, I've seen the robot open a drawer without any handle or knob and it had to basically slide its finger into the drawer like to kind of yeah, slide it in and then pull whereas other drawers sometimes there's a knob and it will pull it in a certain way versus handles that might actually sometimes
pull it like this. Other scenarios it struggles to adopt, so if some drawers, if they don't have rollers, the robot sometimes likes to pull it open a little bit and then try to pull it open by putting the hand in the drawer. And if the drawer is really heavy and it's pushing down on the drawer, sometimes the drawer won't open with that strategy and the robot will get stuck sometimes. So we do see generalization of physical strategies, which is pretty cool to see.
see but also sometimes it it gets stuck and so I do think that kind of generalization is challenging and also I think that ultimately we might need adaptation as well where if it tries a strategy it should then see that it's not working and then try a different strategy as a result all of the policies here didn't have memory and so they don't have the ability to do that but if you add memory and the data contains that kind of retrying behavior then it might be able to do that.
Thank you. Yeah, very nice talk. Uh I'm have similar question uh but when put these robots in a different culture like
Singapore or Hong Kong, right, maybe test it a bit more. And uh the other direction will be the other day I was like uh uh opening a a drinking tank, right? Uh but because of pressure it's it's locked there. So I it's never drop off. So I have to put it like open the top in order to let the air come in and then drop. Maybe real scenario can kind of challenging a

can kind of challenging about both its creativity and also some of the reading part maybe you can create some specific cases for the roles you haven't seen before maybe yeah Yeah, I think that kind of physical problem solving is fascinating and like far beyond what we've done in this work and something that comes up especially when you're evaluating in diverse environments where you need to you don't have data from that environment and so you need to problem solve through that situation and then yeah in terms of different cultures I think that's
That's also really important. One of the things that we also learned in this work that I didn't quite mention is that if you want to evaluate these kind of generalist models, it's really important not to just evaluate in one held out environment, but multiple, because we found sometimes that in one held out environment things work beautifully, but then in a different held out environment they work terribly, just because the door handle is different, or the lighting conditions are different or something like that. And this is kind of during the development of this work. And so
evaluation definitely becomes a huge challenge because in San Francisco maybe the homes there it can work reasonably well but then in other parts of the world things might be different so yeah generally evaluation in diverse environments is an open challenge and something to explore. Yeah, thank you. Yeah
Hi, really good work. So I'm not sure if it's already being done or does it generalize to tasks it has never seen in the sense like can it perform policy like actions that it never saw in its demonstrations?
Yeah, it's a good question. So we were really testing generalization to different prompts in the first case and different environments in the second case. In some ways, the prompt generalization is like sort of a new task. And the like being able to clean up only the trash, but not everything else is like sort of a different task. So we can see that kind of generalization where if the new task involves composing primitives that it knows how to do, we can achieve that kind of generalization, which is cool.
Cool. And then in terms of like completely new verbs, we haven't really tested that extensively. My guess is that probably not with the data that we have, but I think that collecting more diverse data can potentially be useful there. I also think that in many cases, it's reasonable to collect data for the new low-level task as well. Do you think that kind of task generalization is something we could see in the near future?
um i think it really it really depends on the details and like what what it means to general like what is the new task versus the training tasks um yeah i think it depends a lot on the details possibly i think that my guess is that the
Typically the task generalization that we'll see in the near future is more in the few shot setting where you have a few examples of the task versus just having like a language instruction where if it's easily completely new verb it might struggle to understand what that verb means. Thanks. We need one of the mics you can throw. Thank you for the talk. So I want to ask that
So, in the high robot section, you mentioned about the limitation of the high robot that um
If there isn't atomic actions that are not learned, so it's a problem, but is it possible to detect that there is an atomic action that is not learned during operating on the instructions? So is it possible to detect that and if not, is there any quick fix to the algorithm to detect that thing? Yeah, I think it's a really fascinating question. I think.
I think the, it kind of comes down to whether the high level is aware of the limitations of the low level policy. I think that there are some simple solutions where you could feed as as input to the synthetic data generation, basically the list of commands that the robot knows how to follow or the commands that were seen during training. Although a more sophisticated thing would be actually kind of something that actually uses rollouts from the policy zone experience to see where it struggles versus where it doesn't struggle.
I think this is probably very doable to do in general, but it's not something that we've explored yet. Thank you.
Hi, really great talk. I have a uh relatively high level question about the robot data collection. Say we have some policy like thirty percent success rate and we want to collect more demos to improve its uh function success rate. And how can we collect data that uh targeted at the current weakness of the policy is do can you share any experience? Yeah, so this is something that we've been exploring more recently. Uh the
So I mean one way to do this is something like Dagger, where you like run the policy and then you see it make a mistake and then you show it like a correction for how to how to resolve that. And we've had some success with that. We haven't yet put any papers out on that, but we have seen some success with that in terms of improving the success rate. I also think that reinforcement learning as well like is a way to do this. We have also seen.
successes of imitation of reinforcement learning as well so yeah I think that there's definitely a route for that yeah Thank you so much.
Okay, so next session is the short oral talk. We can also call it a lighting talks. And uh let me check the first talk. Uh uh. Okay, so the title of first talk first talk is um demystifying long chain of thought reasoning in L_L_M_s.
Is the presenter here? Okay, come up.
Hi, everyone. My name is Xiang and I'm postdoc at CMU. And today I'm very excited to introduce our work, Denoising Long Sequence with LSTMs and this collaborative work with Edward, Yuxuan, Murray and Graham.
Um, so, uh, recently there's a growing interest like building RMs or building reasoning RMs to solving very complex problems in the world, um, like deep seek R1, OpenEye 01 and 03 models. Um, so the first simple question is like, how can we improve the reasoning? Um, and there's famous Peter Lassen by Professor Richard Sutton saying the two methods that still are betraying this way are learning and search. So, um, for the general, uh, large models, people mostly spend the compute on the pre-training and post-training.
But more recently for building those kind of rating models, people spend more computing in the inference stage. So for example, uh models can generate longer chain of thoughts for for reasoning. Um and um uh but the challenge here is like how can we demystify this kind of process or how can we like develop those different kinds of training strategies to last model to have the ability to generate those kind of longer chain of thoughts. And in this talk we will uh basically can uh like conduct different kinds of ablation studies to study this question.
So we mostly like having two settings here. One is like supervised learning and second one is reinforcement learning. So for the supervised learning, we basically construct like SFD data to fine tune the model over those kind of clustering and answering pairs. And for the answers, we like contain long chain results. And for the reinforcement learning stage, we basically sample the, we first sample the query from the training data and then we feed those kind of queries into a policy model.
model which should be a pre-trained based model or just SfD model and then we just gather completion from those kind of models and then we compare the model output with our ground truth to see whether the model can get it right and using this kind of way we can use this kind of verifiable rewards which basically if the model get it right it just assigns a positive value it's get wrong assigns a magnetic value and we can optimize this kind of process using some
some policy optimization method like PPO or GRPO. And the first takeaway from our experiment is like scaling up inference compute is definitely very effective, especially for the launching assaults. So the launching assaults can scale up to a much higher upper limit than the short chain assaults.
Certainly, RRL can often provide significant improvements beyond SFT, particularly in the launching and self-raising scenario for out-of-domain. So it basically evaluates our math for the in-domain scenario and out-of-domain for the MME Bureau. And we can find that after adding the RRL, we can get significant improvements in those kind of out-of-domain scenarios. And then we look at...

we look at the quality of the chain of thought data for the SFT and ST plus RL process. So we're basically having two ways to construct those kind of long chain of thought data. For the constructed one, we can prompt general chain of thought methods or chain of thought models to generate actions and joining them to form a longer sequence. And for the emergent, we basically just distill those kind of long chain of thought data from the model to train with RL.
And from the experiment results, we just found like those kind of emergence chain of thoughts patterns are more effective when we use them to fine tune the models. Another issue we found during our experiments is a length issue. We are basically with more iterations. We just found like those kind of lengths of chain of thoughts are getting exploded. And we propose a cost and reward to control the length scaling. We are basically for the correct answer, we encourage the model to think shorter. the model to think longer.
And in that fashion, by tuning those kind of hyperparameters in the cost and reward, we can steer the length gating behavior. And our reward shaping also stabilizes training and improves model performance on those downstream tasks.
And there's another very interesting topic, which is called aha moment, as mentioned in the DeepSeek R1 technical report, where basically during the RL iteration, people found like the models start, at some iteration, the model just start to kind of reflect themselves, output something like, oh, wait, wait. So that's kind of the aha moment they caught. So we have the question like, where does those kind of aha moment come from? And our hypothesis is like the base model might already acquire some.
our searchability during the pre-training. So to verify this kind of claim, we construct a list of aha phrases, and we basically search those kind of aha phrases in the pre-training data sets. For example, like open web mass, which is a widely used pre-training math corpus. And we basically want to see whether we can find those kind of thing in our pre-training data. And actually we found a lot of similar patterns. So for example, on some forum websites, they are basically
the um you know users answer different kinds of queries and they said oh alternative approach will be blah blah does that make sense so we think the base model might already acquire skills during the pre-training and RL just reinforces and increases the pattern the frequency of this kind of patterns um and then we uh we know like the RL with verified reward works pretty well and and uh and but the thing is like we're really just using the mass query you know
training data and so we are thinking like how can we scale up the verifiable rewards so in our previous work we develop approach to extract very large scale noisy verifiable data from the web and we just wanted to see whether we can use those kind of data to train those kind of models with R_L, if it's SFD and R_L and we basically found those kind of noisy verifiable data from the web achieve better generalization in all the reasoning scenarios.
And finally, we just compare the base model, the RLL directly from the base model, SFT and SFT plus RLL. And we found like SFT plus RLL achieves the best performance among all this kind of setup. And for the future directions, we think the studies of general disability and hallucination of those kind of recent models are quite important as we also identify by, you know, the very recent work like those kind of recent models actually.
got more hallucinations compared with general general language models and how to define environment and variable reward beyond mass encoding reason reasoning scenario i think is also quite interesting and more importantly you know right now we just just unlock some some reasoning patterns like oh wait alternatively those kind of branching or or self-revalidation behaviors but think about like how can we unlock other hidden reasoning patterns with sfd and rio is quite interesting as well and
Yeah, that's it. I'm happy to take any questions. Thank you.
you can take the question offline. So if you are interested, you can go to the poster and chat with the authors. And uh so before the next oral talk uh we will have the um last long talk uh today and uh the presenter is Guo Hao Li and he is a inti artificial intelligence researcher and open source contributor working on building intelligent agents that can perceive, communicate, reason.
and act. He's a colleague of the open source project Camo AI and deep GCN. And he will present online. Yeah, hello? You can hear me? Yeah, I can hear you, but I cannot see your slides. Just a second.
Let me try to share Is everyone came up? No? Yeah, I think my phone said that it works. I just Okay, yeah, let's get started.
Okay, cool. Yeah, thanks a lot for the invite and yeah, we're happy to share some of the exploration about agents skill law in our Hamilton AI community.
So we are building open source community called ChemOI and today I will be sharing some of the inspiration. It's not meant to be any like fundamental discovery or actual law of like skin agents, but there are some inspiration and some interesting funding that we have on skin of agent.
So my name is Ko Hao. Yeah, so I guess that is the agents. So we will talk about agent today. But agent is not a new concept, right? So agent has been there for a very long time.
It has been quite popular recently, especially after the release of some of the Asian products. I won't talk about Asians every day. Even more general population talking about Asians.
That begin in the future. First of all, we call the discussable agent is try to understand human intelligence by introduce this concept of agent. And in this book already discussed many problem and question still relevant today. For example, like how agent work, what are they made of, how do they communicate, where's the first agent comes from, and so on.
So we recommend this book to Asian researchers. So in this book, Mainz can define Asian as a some mindless process. So Asian by self can only do very simple thing, a woke up thing can be considered as a simple thing. For example, Asian, maybe something can open the door can be Asian. Maybe something can pick up a bottle of water, that's an Asian.
But if you drive all those agents together into a society, this leads to the true intelligence. Basically, these are the definition of agents in this book. He introduced this concept of agent to try to understand where human intelligence comes from. So there is a very good saying in this book like, what's the magic tricks that make out intelligence?
The check is that there's not true. The intelligence comes from our last diversity. There's nothing called perfect principle. We truly believe this as well when we are building a multi -agent system in our community. So we believe diversity is the key to intelligence. So that's why we are building multi-agent system and try to scale it up as well.
In this book, of course agents are quite different from the agent, now it's not that powerful and it's based on Rubies, for example if you want to build a chair detector.
uh you maybe for object for object maybe uh maybe you can see here like if there's an object have uh there is an object have three legs and one back and one seat this object is a chair because it got like five or six uh condition um so at the time like those agents are like kind of like this like symbolic agent
But why I want to introduce this book is mainly there are many concepts and research that we are discussing today have been already discussed in this book. For example, like Asian researchers maybe there are many people working on.
memory of agents we are we are designing the long-term memory the short-term memory and maybe you can use vector database for that or knowledge graph for that and actually in this book my music already discussed like for example how can you get like contact signal from other agency and they are short-term memory component they are long-term memory component and so
Even transfer, so everyone knows transfer and it's very effective when you point to model and in this book

And in this book, Minsky mentioned as well. So if you're doing tasks like common sense reasoning or mathematical logic reasoning, you can break down the reasoning into chain and this can improve your reasoning capability, even though we don't cite this book when we talk about chainsaw. But yeah, it's very good to read. And of course, like communication among
Agents as well, this is what we work on a lot in the multi-agent system and also even the world model, how our agent model itself, how the agent model is work and so on.
very recommend reading yeah so like better topic topic today agents we are mainly talking about in the context of length model agent like so what the earliest length model agent is called web GT the this is research work on open AI the open AI researchers
After they train the instruction activity, there are some problems about the hallucination, factuality, and they figure out and they have this idea to be an agent that can navigate through the web, just like human. You can use Bing search, Google search to validate the information, get the latest information from internet, for example, the weather today and so on. This is one of the earliest format of the agent.
And then another very popular definition is from also previous OpenAI session, Lillian. So Lillian wrote a blog about
agents um so she considered like agents should have memory like short-term memory long -term memory agent can use two like the calculator maybe calendar or interpreter search and the agent of course can do planning like COT reflection self -critic sub-goal decomposition and so on and of course agent can take action by using tools
was an so the key difference between a range model agent and the other agent like IO based agent or similar agent is mainly the input and output range model agent has input range and output range and this make the
make the states and actions to be so expressive and can generalize so well across different like unseen even unseen like scenario of so many domain.
So in Camo, we are building like multi-agent framework, some infrastructure for you to easily build agent for your research or your product. So in Camo, there is a cornerstone called like chat agent. So it's basically agent you can interact with.
And if you want to define agent with the language model basically something like this, you can specify the system message, the model back end of the agents and the memory, and it can be like a knowledge graph memory or a better database memory and then tools, you can use put your calendar tools, book it or Google search and so on. And then there's a step loop.
So basically the first part of it would be
The step loop will be getting an input message and you will specify also the response format for this turn of conversation. And then first the agent will update its memory and then get the context from its memory bank. And then this agent will do the model inference. And then if the inference is too cold then...
uh agent perform the two call uh until uh until you get the uh until the response not to go then then the agent response with the format you specify basically this is uh uh now they have we uh implement agent in a in a loop
Yeah, so there are many, of course, many Asian work I cannot mention today. I recommend you to check this two earlier survey about Asian, but it's already outdated, I would say, because the area is evolving so fast. And yeah, but yeah, I recommend to check it out if you want to.
learn more about the ancient history and ancient history and so on.
Okay, back to the main topic today. So the skin loss, there's some background information. After, yeah, so get to the topic today, what is the skin loss agent? Is there even a skin loss agent? Which dimension should we look into? Of course, there is not any solid conclusion or actual law.
Yes, but we would like to share some of the insights that we have. So you must be very familiar with a skin love model. You can have more compute.
By just by doing more GPU, you can have a larger data set just annotate like annotate more data, hire more people to annotate data and of course you just like make your model bigger to have more parameter. But this can, this is how like OpenAI scale up their model from two to three to four. But which dimensions should we lean to when we are building multi-agent system?
Um, so we actually don't know, but we think there are some dimensions should be important and we are working on that. So the first dimension is maybe instead of like, I mean, model you can scale up the parameter. For agents, can we like scale up the number of agents to achieve a better intelligence level?
So here we have some inspiration. CAMO is one of the early inspiration on this direction. So the idea is that we can build multi-agent systems to simulate how human talk to agent and then if this like two three multi-agent system can perform better than one then maybe there's a skill or to skill this even further. So
So the camera framework is very simple. We propose this color rendering framework. Basically, the framework can be divided into two parts. The first part is human input. So for example, you can input your idea. For example here, you want to develop a trading bot for stock market. You don't need to have a very specific plan for that.
You can just have a very rough idea. Maybe the agent can help you figure out how to actually do it. And then you choose two agents to help you to do it. One agent is a Python programmer here. Basically, it's an assistant agent that can help you maybe execute the plan. And the other agent you can choose maybe to a one AI user agent. It's called stock trader. So we propose this idea by building by how simulating how.
how human expert talk to another agent so you are you are human you want to do some task but you don't have the domain knowledge maybe so you just view another like AI user agent that have the domain knowledge to talk to another like AI assistant agent basically this is the idea and this this idea will be first the second part will be the opening session this idea will be first sent to the task specified agent
And this task-specific agent will turn this task into a more specific task. For example here.
The task two is to, after the specified task is to develop a training mode, you need to do sentiment analysis on social media platform based on the positive and negative comments about a particular stock, you can execute the trading strategy. This is a very like, I mean, typical like one -on-one trading strategy and then you send this like trading.
There is strategy to these two agents at the same time. And of course, they also need to share information about the other agents as well, like what the other agent is capable of doing. And then they will start the conversation on building this whole system together. For example, the first task the user agent propose would be like install the Python library for sentimental analysis and stock trading.
And then this assistant will be installed in the library.
And then the user agent will propose another task like import this library in Python and then this assistant import this library. And then they will keep the conversation going until they implement the whole system. Yeah, this was, I mean, can be quite naive nowadays, but when we released about more than two years ago, I built this demo and it

I built this demo and it was quite impressive to me. So there are two agents talking to each other and build a game. Here is a treasure hunt game. These agents talk to each other and then I copy the code to run it after the conversation and you can actually see there is a game demo pop up and yeah you can choose a character.
Of course, the image is generated by stable diffusion. So the first question I'm going to ask is that this 2-3 agent is a very better or not.
So at the time there's not very good like evaluation method or benchmark even though they we are still lacking benchmark or market agent system so we have to like generate generate the task and let the agent to solve it and then we ask human to evaluate outcome and also to default to evaluate outcome
and so basically we we generate many many conversation and summarize it as a final solution and then we compare how how the agent perform in one single agent setting and this camel agent setting so we sample to a hundred
200 tasks of it and then we use GPT-4 and human evaluation and we see like more than 70 % of the time both human and GPT-4 evaluation think the multi-agent system perform better actually.
Yeah, this gives us some maybe like confidence that we can even scale up, maybe. But of course, not every like task you need that many of agent. We believe if the task is very complicated and naturally distributed, then it can be benefit for multi -agent system. But many tasks like MMLU or very simple like...
problem maybe you it's not good to evaluate agent or multi-agent system on that
Yeah, this came to our second work called Oasis. It's a project that we want to explore if we have millions of Asian water tasks we can do with it. I mean, it's also a very early exploration. So we managed to scale up the agent to system to 1 million agent. We use it to replicate some social science experiment that
So scientists have been doing for years and this can also of course useful exploring the dynamic of agent society in the future as well. It's like drawing work in our open source community people from various like institute contributing to that. So the first experiment we do in the paper is herd effect.
I mean, humans have like raised a significant hurdle. For example, if we go to, let's say a group people go to a restaurant, maybe the first people order something and the other people will follow its order. This is like a phenomenon in human. So does this also
Also, similarly in the Asian society, we build a symbol like Reddit and we try to simulate this by putting different initial condition on exactly the same post. For example here, the earth is flat, we put the initial condition like dislike, dislike, not like or dislike at the beginning. And then we send this.
uh this like different control experiment into the simulated sandbox uh like the we have the we build this the same action space as uh reddit you can comment uh you can like uh you can dislike and so on and then uh we simulate uh if agent also have like similar other effect like human for example here
And we find something very interesting if there is a downward in the initial condition, this will increase the chance of like agent to downward a post. But human is less likely to be affected by initial.
Don't vote because human is more like critical thinking can actually look actually look into the content of the post but human but agent would be more likely to have an effect than than human we compare this with actual human data and
The second experiment we do is to try to simulate the information propagation. We build an X sandbox. There are some, we script some trade and then we build a
like a social network based on the essence based on x you can like people you can you can like a tweet you can you can read posts you can comment you can follow people and follow people and then we try simulate the information propagation you can see like
We mainly look into three dimensions. So one dimension is the scale. So how many people see your toy? The second dimension is the depth. Like how many hops the toy actually propagate? And the third dimension is the breadth. So basically how many first neighbor see your toy. Things like that.
So we find very interestingly there are some like the first dimension and the third dimension, they have like similar trend as time progress. But the second dimension is very different from the human data, human society and the Asian society. In terms of the like how many.
help your your trade propagate so we have some hypothesis on why just like building a sandbox to simulate simulate the world is so difficult
For example, for building a realistic X symbol, you need to build a recommendation system. That's very difficult and you need to build many other facets as well. Even the UI is not possible to be simulated, I mean easily simulated, and this has lots of effects.
But I guess one of the major limitation of this simulator is
It's many real-world interaction. It's not possible to be simulated. For example, I send a trace, can the information pop up not only on X but also others? Like for example, I came here today for a talk. Maybe you follow me on X and like my tweet for some reason. And this like tough like shortcuts or
or interaction outside the X platform is impossible to simulate at the moment. And this can really increase the depth because it's just like taking a shortcut.
Yeah, we of course also do like rumor propagation, like misinformation propagation simulation. And we know like rumor can propagate much faster than the tools on social platform and we figure out like actually this we also find similar phenomenon on this virtual simulator.
Basically, this is what you can imagine as the multi -agent system becomes more and more powerful. You can use this tool for maybe like simulating marketing campaign or maybe simulating product release, I don't know, in the future. But at the moment, it's still quite...
quite difficult to to get like uh the the high fidelity simulation there are some like maybe some some macro phenomenon uh they they share a similar pattern but uh but they are
Still many limitations to make actually useful simulation. It's just, it can be useful reference for maybe social scientists and so on. And there are many to be done to actually make it useful. Yeah, but very interesting that with a million agent, you can already replicate some of the phenomenon.
Yeah, this is the first dimension, number of agents. If we even scale up that more, I don't know what we can do, but it would be interesting to explore can we simulate like a city or even larger organization.

organization. And the second dimension we are interested in looking into its environment just by building a sandbox and a real network you need to build environment for agents as well. That's the only way they can like self -evolve and actually interact with the real world and we believe that environment is the data for agents.
The Internet data, we already consume almost all the Internet data for training language model. But still, Internet data is not good for training agent or it's not enough for training agent. Because agent requires very long -term decision-making process and this can be only...
you can only get this form interacting with the real world or experiment probably you know the era of experience that is displayed position paper released by which which certain like a couple weeks ago basically we we are also we also like free away on that the experience environments is very important for agents
So we have been building different type of environments, of course many research are building different type of environment as well. And one of the early paper we built in the environment is called CRAB. It's also a train research effort from our open source community.
In this work, we build a cross -environment benchmark for multi-modality agents. So we want to see if there are multi -enviroment or multi -platform, can these agents, like how can the agent perform tasks and things like that. Because in the future, your agent will be operating maybe your browser, your mobile, your laptop, I don't know.
even more platform and this across environment task will become quite important. So we build a benchmark on that. So very briefly I go through the idea of the paper. Basically you have like cross environment.
In these symbols, you can automatically generate tasks and also you can build, you can build a wave for going evaluation based on a method we call like graph evaluator. Basically, the idea is that you generate tasks in the format, in the structure of a graph and then you can check how many nodes you agent.
actually complete in the top in the graph and then uh yeah that gives you a more fine grain evaluation of the agents because uh agent they their tasks are very long-term decision making multi-step and maybe also multi trajectory can achieve to the final state so yeah building a like graph evaluator is very important and challenging as well
And this benchmark is a multi-modality benchmark. That means your agent will see a screenshot and instruction. Of course, it can be like reproduced easily by setting up a virtual machine environment, you know, maybe in a Docker environment and so on.
So what kind of tasks you can do with this benchmark? For example, here is a task that we ask the agent to navigate to a slack.
channel and summarize the message in the channel and then send this message some the summary of the message to the first contact on your phone so you can see there is a there's multiple step open the slack open maybe the navigate to the channel summarize a message and send a message on your phone it also cross environment as well
So the main contribution of this work is how can you generate tasks? I mean even you have environment is not enough. So if you can automatically generate tasks or even automatically generate evaluator, that'd be, that'd be.
They'll be very essential for training agent in an environment. So in this work, we build a graph sampling method to sample task. So basically, we collect some subtask as a node and then we create a heterogeneous graph based on the type of input and output and the node type.
And then we can sample subgraph from this huge heterogeneous graph and then you can initially initiate the input to get the final task. For example here we have like we sample a subgraph that consists of like one two three four the first size to download a person image and
and the output is image and the second task this is the first task the second task is to search a person name on Google and then write some summary about about it so this is the second task and then the third task will be like making a poster the input is image and
Test the output is an image and so that they because yeah it has input both image and and test so that the t3 task 3 can connect t1 and t2 can connect to t3 and then
Finally, you post the image on Reddit. Yeah, this is the structure of the graph. And then you can initiate the task by sending an input argument. For example, if you initiate the task by sending that.
the initial document is a central element then you get task like this I download a image of central element and search and summarize information about him create any formatting poster in Photoshop using the image and summary and then post it on Reddit right you can you can initiate of course a different person you get a different task
And of course you can connect more nodes to get like different tasks as well. And yeah, so this, why this is important because you can generate tasks like continuously and also because the task is generated by from a graph. So you have the structure of it.
And you can evaluate this graph more fine-grained. So for example, you can note like if your agent finish one note, two note or three, this can result in different score because your agent finish one note and 99 note of 100 note task is quite different.
And recently we also have another open source project that is exploring the environment like the browser, terminal and document processing code generation environment. So basically we build this open source project. You can use it for experiment, support all kind of model and toolkits and MCP connection. Here is some experiment what you can do is...
some demo where you can do with this open source project you can use it to maybe do some research on your github let's say and get some statistics about your github maybe start and and things like that so you can also use it for like
Like you can use it even for like replying WhatsApp message. You can see here you set up the MCP server for WhatsApp and then you specify the task.
And then the agent will read your message from WhatsApp and then reply to it using like search toolkits or things like that. For example, this is a task that a message from the WhatsApp and the task is to reply the unread message. You can see the agent will use .go search to search the information of the unread question.
And then send it back to the to the to the to the WhatsApp MCP server to reply. Yeah. And you can also use this agent to create like a
travel plan in your notion by using MCP integration and so on yeah this is a still very early stage of the development and and we got we got quite a lot of start on github and if you are interested in building

If you are interested in building agents like operating browsers and terminals like that, yeah you can you're welcome to be on topic as well. And we got quite decent like performance on the GAIA benchmark. It was the first on the amongst the open source framework and lately we update the model contributed for 0.2.3.7 and if improved the performance by a lot.
more than 10%. So the conclusion is that, yeah, I mean, the toolkits, what we learn from this getting the top on the guy benchmark is
I mean, the idea we use is quite naive, just like similar to what the initial CAMO framework, the local in framework, but we just put a lot of effort on optimizing the toolkit, like how you can script the internet, how you can like pass the PDF and so on.
And yeah, this improved the performance a lot and also of course the model you need to choose the right model for the right agent. We build a multi-agent system but for each agent we use different model. We use like for all like OC mini for reasoning and so on. And of course if you replace the model with Cloud 2.7 because that is very good for computer use, you can even further improve the performance.
Yeah, this is the second dimension, the environments. There are many different environments and there are just so many other environments to build as well and later we launch an initiative on building environment together. And the third dimension, I believe, is the ability of evolution. Basically, it could be a little bit different than training. I mean,
training you you you collect data your training model but for agents um uh how can agent evolve um for example like uh we have some like uh we we build some like it's initial exploration mainly open in open source like try to explore this like for example can we let agent to automatically generate generate knowledge graph for itself and can you agent generate data for itself and
And by scraping internet and then train the agent. And last, of course, if you can build verifiable sensitive data and automatically generate data that also can improve your agent by self-evolving.
So at last you can view like many like verifiable data by generating it and doing reimbursement learning. Just stop stop the video Okay, can you finish your talk because you you run out of your time sir just Oh, make sorry. it little Yeah.
Yeah, basically that's the talk. We are exploring the dimension of skin of agents and there are some initial exploration inside. And yeah, of course, like thanks a lot for all the contributors from the community. And if you are interested in exploring the skin of agent, you're welcome to ask as well. Okay, okay. Thank the speaker and we will next we will continue our short talk.
Okay, so you uh I will go to the next one. Who is the next one for the oral talk? The short talk. Okay.
Hmm. Okay, so it has been take a slightly long for the previous talk, but uh yeah, so uh let me uh give this uh short talk like uh good afternoon everyone. So here I'm going to present a work on um knowledge graphs based uh uh retrieval augmented generation. And this is a joint work with my student and so uh due to the visa issue they can unfortunately they cannot come here, so I'm
high enough reason on behalf of them, okay?
Okay, I'm sure like most of you are familiar, have already familiar with like what is a retrieval augmented generation or like a rack. But in this work, we are talking about like graph based rack, like where the key idea is to use the graph structure data as an external knowledge to support the large language model. And this can, this graph could be, let's say, a knowledge graph or could be some other type of like a graph.
like a graph format. And recently there has been like some studies trying to understand like how can we properly convert like the unstructured text, let's say database into the let's say graph structured knowledge. Although like this is not our focus of this work, but this definitely how to transform from the unstructured text to the graph is definitely an important task. Okay. And why we
want to consider like a graph-based retrieval augmented generation and the main hypothesis with benefits are in two folds okay so based on my understanding so by explicitly modeling the relationship between the entities or between the knowledge so the retriever we may retrieve the information from knowledge base we can go beyond like semantic similarity
by using the graph structures okay and also by explicitly explicitly modeling the relationships like between the entity can may also help the reasoning of the LMs but right now we know we have like a very strong powerful like a LM reasoners and in general they perhaps this is not like that useful for the graph but for but graph structure data to help
like a retriever, that kind of benefit is still there.
Okay, so yes, so graph-based drag might be interesting, but it also comes with some unique challenges, okay? And first, the knowledge graphs, as I mentioned, like may not be always readily to use. So how can we construct the, let's say, graph structure data itself is challenging. And even if we have that graph structure data, like we have to, let's say, how can we retrieve the information from the...
graphs, like by combining the structure information and the s semantic information is also a new task. And also uh how can we feel uh let's say supposed we extract the information there and how can we feel this uh information into the L_M_s to let them to do reasoning per se is also challenging. And the uh in this work, we mainly focus on the question two and three.
All right. Like, okay, so now let me briefly talk about our idea about like this graph-based rack. And in this project, we mainly aim to achieve like a good efficiency and accuracy trade-off in the retrieval process. Okay. So on one hand, we want to retrieve the information beyond just a similarity, let's say semantic similarity.
party or keyword overlap. So we want to leverage this graph structure there properly. So this is important for example if we consider want to extract like a company with ties to let's say some companies with Elon Musk or there's this three billionaires if we just check the semantic similarity we cannot find the right answer NVIDIA and NASA and by using the graph structure data we may search graph structure relation and go to
To go to the second hop we can extract the relevant information there Okay, and on the other side, so we are we are also care about like efficiency, okay and
Yeah, so specifically, how can we achieve that? So we propose a subgraph reg and which consists of two steps. In the first step, we just train a light like we just train a like a retriever that can retrieve a subgraph from the big graph that is relevant to the query. And this is done by training a lightweight model that can measures a let's say that can combine the graph structure similarity.
similarity and the semantic similarity. Here, graph structure similarity, we just use some graph metrics like the random walk learning probability, like the page rank stuff, or like the short path distance, okay, as a graph feature. And this retrieval process could be very fast, although this may not be like a super accurate. And in the second step, we just fuse this information into the LM to do the reasoning. Unfortunately, although...
So the subgraph, a retrieved subgraph could be noisy, so LLMs can identify the relevant information there and to do the proper reasoning. And here we just want to convey the key insight we have from this project that is for the retrieval perspective.

is for the retrieval process, we don't need to be super accurate, it could be the sub-graph could be noisy, uh but we can rely on the current powerful LAM to do the reasoning over the noisy graph and which kind of maintain a good uh trade-off between the efficient and the c_ and the accuracy. Okay, and this is the last slide. So we I here I do not have efficient time to let's say uh present all the experimental result. But I just want to present one result here.
is out here that demonstrate the previous inside and actually we find that a different type of LMs in particular if they have like a different reasoning capability the ideal size of the retrieved subgraph will be different. For the small models like the Lama 3.18 billion the optimal subgraph size could be like a 100 or 200 so it will struggle if we have like too many
noisy let's say uh triple there. But if you have a powerful model like the JPD4 meaning it can handle with a graph like uh more than fifteen hundred uh five hundred triples. Okay, so um basically uh overall like uh we should retrieve the sub-graphs based on the LMS capability. Okay, that's all uh for my talk. Thanks. Yeah. Thank you. Okay, so next talk is also our online talk, right?
So next talk, the title is Infinity Leagues under the Sea, Realistic 3D Underwater, Carrier Generation Augmented by Visual Foundation Models. Hello? Hey, I think it's me. Thanks. Can everybody see my screen and hear me? Yeah, yeah, I think that'll work.
Yeah, great, great. Thanks. Thank you. Thank everybody. My name is Tianyi. I'm from the Robotics Institute at Carnegie Mellon. So today I'm going to talk about infinite leaks under the sea. It's image generating models that generates realistic underwater terrains, which is super cool, super wild. And I'm from a totally different academia community. I really appreciate it.
In the inclusion of this workshop, I'm going to show how the generalist visual foundation models can be used to build specialist generative models.
So a little bit about ourselves. We are robotics researchers and we have a team of marine scientists, marine biologists. We build robots, we scan the seafloor and we collect tons of data of the seafloor scans. So all images with zero annotations, zero captions, just RGB images. So what we want to get in this work is a realistic underwater terrain which can be used for robot simulation, can be used for building video games.
for content creation for filmmaking and this is what we want and this is what we achieved in the end so a 3d terrain RGB with realistic hyper realistic rendering qualities diversified terrain appearances the first is the barren sand reefs the one in the middle is coral reefs and this this one in the right is more vegetations
some seagrass and sponges so first question I want to answer is can ChatGPT or Sora do the job the answer is yes they can generate something but from an expert's perspective they do not generate the content any close to realistic especially for those uncommon scenes like scenes so
GPT cannot do the job. So for now, at least, I mean, from my perspective, in at least in five years, we still need specialist models to do this expert level job.
So what we did is we just trained a diffusion model. So DDPM, everybody know it. It's great. So what we do, how do we train it? So first thing we did is we annotate data with foundation models. So Dino V2, we all know these models. Input is image, output is latent feature, load dimension, great. And it works underwater in the deep sea. So our data, tons of robotic data, images collected underwater, actually Dino V2 works.
really well on classifying or I would say like representing these underwater appearances. So this is the scatter plot of the feature embeddings of our data set. So which is uniformly distributed. So we assign each image with dino v2 latent. This will be used later to train a diffusion model to condition on this latent. Instead of using
language to control it we use some like we use these foundational foundation features so second thing we did is we annotate data with this depth anything v2 so which is another kind of 3d foundation models so on those unseen data from under seas it also works well it is good at predicting relative depth
So this is a reef from like deep sea and it's pretty 3D structure of what you can see in the image and this is a real image of coral reef from somewhere near Australia and also it works really great.
So we have these three informations. We have latent embeddings to enter the data, and we train these diffusion models. And how do we generate a 3D terrain or say a 3D map? So the short answer is we use some fractals. So fractals, what is fractals? It's a random process which describes the self-similarity.
at different scale so it is widely observed in the natural environments like coastal lines like this Nautilus shell and terrain elevations
So we use this fractal process, which is a random process, to generate 2D spatial latents and use this spatial latents to generate images. With the same diffusion model, we can in-paint them together. The technology we use is called repaint. And again, the same magic is being used once and then again. So we use the same kind of diffusion model, we can refine the 3D model, 3D map.
into a 3D Gaussian splatting or NERF which is the state-of-the-art photorealistic 3D representation used these days. So time to show some results. So these are real images we take with our robots from around the world and this is what we can generate with our diffusion models, single images doing much better job than ChatGPT and whatever you can get from those generalist foundation models.
close and these are the generated depth which is the three information from it so and we show we can control the generation with latence so these are some interpolation results and
just some visualizations, no numbers, I'm just showing some visualizations here. So and more results. So it's transition, you can see the transition from all kinds of appearances from barren sand to coral reefs to all kinds of different kind of coral reefs.
And this is one of the final results. It's a 3D realistic terrain exhibits diverse appearances from the sea floor and it is controlled by a random process called fractals. So and we are as we mentioned before this is all like augmented by the foundation models including 3D foundation models and those
visual feature foundation models we have a full paper on the archive and if you're interested read our full paper version and thank you very much this is all I have today I would just stop here all right thanks Next paper is towards universal of light black box optimization via learning string embedding space.
Good afternoon. I'm Rong Xi, a final year undergraduate student at Nanjing University. It's a great honor for me to present our work. We focus on black box optimization. Given the objectives and constraints, we want to minimize the black box function f, where black box means that uh the expression is unknown, thus the gradients cannot be used. Our goal is to find good solutions using only a few objective evaluations, which are usually expensive.
BBL has many applications, for example, in hyper-parameter optimization, we cannot write down the exact mapping between the hyper-parameters and the metric accuracy. Thus, this is a typical BBL task. Besides, it takes several hours for evaluation, which is expensive and makes efficiency of BBL algorithms important. Offline BBL is a new trend which generates good solutions using only a given static data set.

using only a given steady data set. And no online evaluation is allowed. The mainstream approach is the forward approach, which first train a scoring model to score X_ then we maximize the model's output to obtain the final solution. To have a better understanding of offline BBO, we recommend to refer to a recent review by Mila. However, there are two major challenges that uh for traditional offline BBO. One is insufficient offline data in real-world task.
The other is inability to explore cross-task relationship. To overcome these challenges, we propose to perform universal off-line BBO, that is to simultaneously address multiple off-line BBO tasks where a universal foundation model. Here different tasks have different search spaces, divergent objectives and task-specific metadata.
the potential of universal offline BBO lies in recent success of language model for universal regression. The representative work of this field is Omni-Prate and predicting from string. They show that given textual representation, language model is capable of universal regression and Bayesian optimization.
then comes from framework Uniso. We first collect source data with textual metadata. Then we construct the solution strings, tokenize them, and feed it into the universal regressor. After the model training, we search inside the model for final solutions. We can see the two variants of universal end-to-end regressor, based on how to deal with y. Uniso-T is a token-targeted regressor. We tokenize y with P10 memory encoding and train with cross-entropy.
UnisoN is a numeric retargeted regressor to predict the Y-values, which is trained with MSC. However, the above two UnisoN frameworks have similar issues that are harmful for BBO. The first one is UnisoN cannot effectively distinguish dissimilar tasks. Thus, we propose embedding alignment with metadata guidance. The second issue is the non-smoothness of intra-task embedding.
Thus, we propose local smoothness enhancements of the embedding. Finally, we attain a result that similar tasks remain close, while the embeddings are more smooth. In our experiments, we use uh the T_ five small encode-decode structure as our backbone model, and set up tasks from the popular design bench and S_O_O_ bench. Firstly, we compare unisot with single task S_PERT methods, and find that
All the Unix sort methods outperform ST -Best showing their visibility, and our proposed techniques consistently show improvements. Then we want to know how Unix sort performs on unseen tasks. We find that even in zero-shot, Unix sort generalizes well to unseen tasks, and few-shot fine-tuning significantly improves their performance.
We studied the influence of pre-training language models. In the left figure, we found that the model trained from scratch consistently outperforms the pre-trained model during the training process. We also analysed attention weights distribution of input tokens. For the pre-trained model, we found that
Uh the the event mainly focus on the N_ token without any BBL information. While the model train from scratch has a balanced attention, catching more useful information. It shows that the pre-trained language models have biases from natural language, assigning wrong attention on structure tokens. We also analysed different language models and find that uh language models that focus on mathematical reasoning, for example, do sick R_ one, show great potential on BBL.
In the future, we will consider to propose a better tokenizer of number data. Besides, we will consider a chain a universal model which message data from diverse tasks. Thus we can enable, uh discover the potential scaling law of universal BBO. We will also consider the using of multi-modal metadata and improve the value predictions by reasoning. We have released our code in Github. Feel free to reach out if you are interested in our work. Thanks for listening.
Okay, thanks, and next talk the title is uh Robot Morph involving robot uh morphology using large language models. Is the speaker here? Is an un uh online talk?
Going to the next one. Okay, so
Then we will move to the uh last short talk, JINSHIFT: impact of different scenario shift on geo-breaking large language models.
我的手鼠标 给弄没了
Test just test. Oh my God. I think the bar just cannot cancel that out. Um can I put this out again?
Or do you wanna pluck that in again? I think it's working. Yeah, it's working. Some
Do you have an email that I can send to and then

We'll be right back.
Hi everyone. Um I am Tianyi Wu, I'm a first year PhD student at National University of Singapore, uh co-supervised by Professor Jia Hui Zhang and Professor See Kiong Ng. Uh my research focus uh is on trustworthiness of large language model, including jailbreak attacks, confidence calibration and security and cold uh large language models.
So today I will be presenting this work called gene shift impact of different scenario shift of on child breaking LMs. So what is child breaking large language model? Child breaking LM is where you want to induct some restrictive behaviors on LN, making a safe thing that is not adhere to our ethical standards.
What attackers usually do is that they try to obfuscate the original harmful prompt so that it kind of outplays the safety training large language model has undergone. For example, obfuscation can be adding an optimized suffix to an existing or harmful prompt, rephrasing sensitive word into artistic words, and encrypting prompts by using some cipher methods.
So this probably all seems to work kind of fine on job breaking large language models when they use a dictionary-based evaluation method. So what this evaluation method does is that they look up any of the phrase in this dictionary appears in the large language model's response. If not, it means they job break it successfully. So for example...
NLM can reply with an answer asking the user to clarify what they are actually asking. But there is no keywords in this dictionary appears in the large language models response. So if we are using dictionary based evaluation method, this would actually be classified as successful jailbreaks.
So in our prior study, we found that a lot of method doesn't really jailbreak the large language model and produce harmfully helpful content. As you can see in this table, a lot of the method had a discrepancy between the attack success rate evaluated by dictionary based method and also the large language model as a judge based method.
So to build an actually effective jailbreak, our intuition was that all those previous work are some kind of scenario shift of the existing.
original harmful prompt meaning that you're essentially just rewriting the prompt so that it's not directly asking a large language model but it's asking under a scenario that large language model haven't learned the mapping during the to the rejection response during its safety training and we know that there are many different malicious prompt for example generating hate speech physical harm and writing malware
In early experiment, we found that different type of surroundership pairs with different malicious prompt to yield successful attacks. So then we asked ourselves how to automatically search for these optimal scenario shift combination for each malicious prompt.
As an answer to this, we propose a gene shift, a black box attack that employs the gene algorithm to find an optimized scenario shift for each prompt. So we first define our gene as a pool of scenario shifting rules for any prompt.
And when a prompt comes in, we initialize our populations by pairing the prompt with a gene from the gene pool multiple times so that we get this population. And then this prompt will undergo a fitness evaluation determining how well they can jailbreak the large language model. And the best-rated prompt, their genes will be recorded as the elite's gene.
And then we use these elite genes to cross over with the genes in the gene pool again, where the elite genes are more likely to get selected as the parents' genes. And after we get these crossover genes, they will be used to create the offspring prompts. And each of these offsprings will also have a chance of mutation, where their genes get modified randomly by adding or swapping with a new gene from the gene pool.
Um the process will then iterate until terminal conditions um so that uh we obtain the final set of m uh optimized uh jaw -breaking prompts. So our result shows that um compared to prior work
GeneShift produced more useful harmful responses which means that it's more of a successful jailbreak technique compared to the prior work and also it also provides an automatic framework that can integrate any existing black box jailbreak techniques to find which one is the best method for each given prompt to jailbreak the large language model.
And another ablation study was that malicious prompts, their attack success rate is dependent on the contextual configuration. So you can see that like different scenario shifts have like different performance on different types of malicious prompt. So we found that optimal performance arise only at the right combination of the scenario shifts.
So that's the reference of this talk and thank you very much. So, okay, so this is
Last talk we will have today, before we go into the process session and uh we will announce our best paper award is uh about demystifying long short reasoning in LLMs. So from CMU. So we also have a s uh a word for the best paper award award is okay.
