# Workshop 23968

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

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

You



We are covering a variety of topics about reasoning, and I know that I clear already had an amazing set of papers about reasoning and LLMs and planning, but today we'll hopefully dive even deeper into reasoning.
Um and this reasoning has been a a trending topic in recent months and we hope that today uh we'll cover different topics, different challenges and hopefully uh the papers that will be presented today and the keynote uh will cut through the noise uh will also um show you what works, what doesn't work um and you will get some insightful lessons today. Okay alright so we'll explore different types of top
topics including training methods for enhancing reasoning in language models, inference time scaling, which is pretty popular nowadays, benchmarking reasoning and planning, multi-modality and embodiment in language models, and causal reasoning, collaborative reasoning, etc., etc. So a bit about the program.
Sorry. All right. A bit about the programme. We have in total seven keynotes, seven Okay. lightning talks, one panel which will be actually in the morning, not in the afternoon, and 110 poster presentations. And you can here scan that QR code for like more details about the schedule, the talks, etc.
We have a stellar lineup of speakers that we're super excited about, so make sure to attend the full workshop today and hear from their wisdom.
Gevan Dank Bornak, Professor of Computer Science at UCL, Bernard Professor at College of Computer, Computing and Data Science at Nguyen Technology University, Jiancha, Professor of CS in Hong Kong University, Natasha Jacques, like the...
Stefan Mackiller and Joanna Hay and you are in GAL today joining us. Regarding the schedule and the session, so we're going to kick off the workshop with a talk from Yuan Dang followed by a talk from Geivan and also we will have the panel around 10.50 and also the poster session starting at noon and also there will be a lunch break there.
For the afternoon session, we're going to have two keynote talks and several lightning talks here. So yeah, make sure to stay until the end because they're very, very interesting talks. Regarding the number of submissions, this year for the first edition of our workshop, we actually got an exceptional number of submissions, around 200 submissions.
We hired 235 reviewers and in total 11 area chairs. We accepted 99 long papers within the 145 submissions. 12 accepted tiny papers within the 36. And so we ensured also we tried our best to assign three reviewers for each paper. We managed that for 74% of the
of the submitted papers and most of the papers had at least two reviewers. Regarding the country distribution, actually in total we received the submission from 22 countries, uh seven from countries from Asia, eleven from Europe, two from North America and two from Oceania. And so it's a it's a very uh diverse set of submissions from different countries.
continents and different countries. I also want to say thank you so much for the area chairs who really helped us go through their views, write meta reviews. Also I want to thank all the reviewers. I couldn't list them here, but thank you so much if you have contributed to this workshop.
I truly appreciate that. Also, I want to give a shout out to all the organizers of this workshop who worked really hard on putting this workshop together. Tianhu, Yang Yuanzhao, Qidong Feng, Minyan, Kan, Yali Du, Jiang Yu, Kanyu Chen, Pengwaika, Arman, and Brienne. Thank you so much.
Also, our sponsors. I want to thank our sponsor for generously sponsoring our student registration, TikTok and Huawei. And yeah, that's it. I think now I'll move and we're going to welcome our first speaker. So our first speaker, Yuan Dong Tian, just.
uh yeah um so the talk um is about the title reason by search or by representation a path towards unifying neural and symbolic decision uh making um and you want to hung tian is a research scientist director at meta uh leading a group for llama reasoning his research direction covers multiple aspects of decision making including with
reinforcement learning, planning, and efficiency as well as theoretical understanding of language models. He is the project lead for OpenGo project, an efficient replicate of AlphaZero that beats professional players with a single GPU during inference, serves as the main mentor for upstreaming LLMs and a GALOR that improves the training and inference of LLM.
And he's the first author recipient of 2021 ICML Outstanding Paper, Honorable Mentions. He's also the 2013 ICTV Prize Honorable Mention and also received the 2022 CGO Distinguished Paper Award for compiler Jim. Prior to that, he worked in Google's self-driving car team in 2000 and...
13 2014 and received a PhD in robotics Institute Carnegie Mellon in 2013. Sorry. Yeah we'll put the talk in a bit. He has been appointed as an area chair for NeurIPS, ICML, CVPR and ISSA. So please join me in welcoming a professor here to present his talk. Thank you so much.
To present the thing.

Okay, so thanks for uh uh introducing me. Uh, so my name in from uh doing uh research uh and a research scientist director. Uh so then I'm going to talk about uh reasoning by search or by representation.
A past was unifying new and the symbol decision making. Yeah, so the title looks a little bit long and also maybe unconventional and people probably haven't seen this kind of talk before. So I want to make sure that um there are some interesting things in the talk and people uh hopefully people like it.
Of course, like people all know that large models have been used in many different scenarios and everyone just love it and become kind of like a social norm for many of the scenarios. And in our group, we are also working on reasoning and planning.
Reasoning and planning uh for lacto -motors. Uh of course there is a a large a lot of uh uh hard problems uh in uh reasoning and planning, um even if we have made substantial progress uh for lacto-motors. So uh here's like of two examples. Uh so uh this is basically image to the left basically show that it's a it's a paper from Google Deep Mind showing that uh uh even if Gemini uh can do well uh for
small um kind of problems uh regarding to planning. When the the complexity of the problem uh goes up uh the accuracy actually goes down and uh finally drops all the way to zero. Uh the figure to the right also show something similar. Uh this is actually from an R_S_U_ uh sorry A_S_U_ uh in that paper uh basically like they test this um uh
Uh reasoning and planning and models uh for this complicated domains. Uh and not kinda complicated, uh it's called the m uh mystery blocks world. Uh so this is a planning task and uh can be easily solved by any symbolic solvers. Uh but unfortunately if you actually run uh the existing uh planning uh method, um y uh the reasoning method uh from a large model side, you see that all these approaches actually crash uh to zero.
uh when uh you have more and more complicated problems. Right, so this means that f it's very hard. Uh and recently we also have a paper uh collaborating with CMU uh that try to also uh show the same kind of uh results. So what it has what it does is that we construct inside of there uh with infinite uh reasoning capacity. So basically you can tune the capacity um uh with a number of different ops. Right, so you can start with um
generating some basic facts about like how many lions in the zoo, right, how many child that each zoo each lion can produce, etcetera. So Mm-hmm. once you have all these basic facts and you ask the model to reason about complicated facts that can be computed from all these numbers, right, so you can also always make this object complicated.
And uh if you ask model to uh reason about the problems, you actually will see this uh very nicely shaped um a sigmoid function that shows that that goes uh when the problem goes more complicated, uh that is measured by the O_P_ count. Alright, so this basically is true for all the uh kind state of the art reasoning problems I would test O_N_ minie at that time. And also test Q_ one two point five. Uh you basically see this curves, I mean the
And basically the model becomes stronger if the curve is extended to the right, but eventually you see things drops all the way down. Okay.
So I mean I we can imagine that I mean from human perspective if a human knows how to solve this problem and they should be able to get everything one hundred percent. No matter how complicated the problem is, right. So but unfortunately for the current using models you always see these behaviours. And uh we also see other kind of things for situation for example y if you ask a large models to compute um multiplication of multiple uh numbers uh then when the number of digits uh for this two numbers goes up
this up, then you will also see the same behaviour. Correct. Uh I think it the if you was think about like why that's the case, uh it's usually because the question can be very complicated, and uh the increasing complexity will create a very complicated mapping uh between the question and answer that the model cannot handle.
Okay, so then the question, of course, is what are the solutions, right? So actually like we talk about like two different approaches. The first approach is kind of conventional approach called the renaming by search. So I think one of the representative approaches basically doing chain of thoughts. And the other option is something that I want to tell in this talk about you can think about the other way, right? So if we can design better representations.
As the model learned by representations, maybe the reason it become easy. And the actually large model has already been doing that and the people may not be aware. Okay, so let's start with the first option of redesign by search. I mean, ideally if we cannot get the correct solution right now from AMS, an obvious solution would be, oh, how about we use more compute. Right, so we generate many, many, many tokens, and then the token hopefully will lead to a solution that's, that is correct.
So for that one uh we have a series of work uh that try to leverage um the uh the search trace of our existing combinatorial solvers uh in order to uh solve uh a problem uh that is seem to be hard uh for large models. So here's one example called a search formula. Uh in this example what we do is we want to find the shortest path from a starting point all the way to the goal point. And uh uh the obvious way to do that is to say okay we s
Okay, we start from a prompt, and then we ask the model to directly predict the final optimum plan. Uh but right now uh what we are doing here is between this prompt and the final plan, uh we can actually add a trace. And this trace is basically if you run the solver and solver will give you a sequence of uh a node creations and node closure. And this sequence become the trace that uh is necessary for the model to reason properly. And um so this is basically give you
with what is called the third augmented model all right so you add the trace in your decoder and then ask decoder to train on top of that so in comparison if you run a solution only models then the model only tell you the final plan rather than using any trace in between
And uh we actually see very surprising skin loss uh compared to uh the uh compared the search augmented model with the uh search only model solution model. For solution only model you in need like a many parameters uh in order to get uh high accuracy in a evaluation set. And you also need lots of data. As here we have one million data needed for a very simple fluid with by thirty immune navigation problems. But if you use a search augmented model, uh then all of a sudden you see much
much fewer number of training sequence needed and a much smaller models in order to achieve the same accuracy. So this basically tell you that if you augment uh the search trace during your uh large model trainings, uh then it's actually much more parameter and data efficient.
So same thing happens if you try another another game called Sokoban in which like you have players and you should put all this push all the boxes into the destinations right so of course you cannot pull the box so you have to have to basically think about that and require some planning and you still see the same kind of behaviors and this are basic imitation learning but in order to make sense
making spiral uh what you could do is of course to fine-tune the resulting models uh to achieve uh shorter trace uh but it still leaves the optimum plan. So this is basically a reinforcement in task and uh we call this search homing. And uh it's actually pretty clear that um uh if you do this iterative approach, then what we see is that uh the the lens distribution
of the intermediate steps in order to reach the goal, that we choose a channel soft length, we actually become shorter and shorter after you uh do this iteration multiple times. Uh so uh this is basically measured by uh this metric called I_R_R_ uh which is the ratio between the solver's uh trace length divided by uh search formers length. And of course if the search former uh is able to find some shorter trace then this number will co become higher.
So this is exactly what's going on, alright so if you uh do the alterations are in one two three steps. So here we basically do re-just sampling, uh rather than doing a reinforcement uh re-just sampling is a poor man's reinforcement learning uh from my point of view. And this still works quite well. And uh at time, uh you are actually interesting to see that optimality rate actually goes up even if the search trace goes down. So this is uh interesting observation.
That can be explored further.
Okay, so we have done like a multiple extensions for this work. So one extension is called dual former. So this is actually a work that is being presented in this year's conference, so a couple of days ago. So in the dual former we are trying to reduce the search trace further by doing some kind of dropouts. You can drop like a subset of the traces and you train a model on top of that.
that and surprisingly the model actually doing better. Right, so um then what happened here is that you start from this uh uh four traces and then you drop some of these traces uh you not only drop the such traces uh partially uh leads to shorter traces, but you also drop

these two shorter traces, but you also drop the entire trace uh then which would basically leads to uh the original search only uh data set. You combine the two and a resulting model actually uh will have this nice property that uh it will automatically switch between the fast mode and the slow mode uh uh by themselves by themselves and actually work better for dedicated uh model on either uh modes. Uh so uh basically once you train a model, because the model
Though data contains both the longer trace and the shorter trace, uh you uh you expect that the model will select automatically uh whether to use the long sinking or the short sinking in order to solve the problem. And it does, and at the same time the average trace length is shorter and the performance is also better uh than the models that is trained on uh longer trace only or single uh shorter trace only.
And moreover, you can actually uh do um uh you can actually do uh control of the uh dual-formers right, so what do we do is like uh we can actually add um we can basically like uh make sure that the last pattern of the dual-former is uh the first pattern of first token is of the dual-former is fixed. And then you force the model to um to use the f the faster thinking or the uh a slow thinking. So uh if you force the model to do fast thinking then
And the performance is actually better than the model that only train on fast thinking. It costs for the model to do slow thinking then the model is actually pretty is good compared to the model that train only with the slow thinking.
We also try these ideas for mass reasoning by fine-tune existing base models on the mass data. So what we actually see is that once you train with the dual-formal kind of approach, uh it actually reduce uh uh this shrinking trace substantially. And at the same time it actually give you uh better results uh basically a few point uh up. So this is basically like for like uh uh small models.
Also, and you actually see that there's some performance boost once you do this training procedure. At the same time, the trace length is shorter.
Okay, so we also have a paper called the the search for Mobi3 which is named uh token assorted. So uh for this paper um what we actually do uh is that um uh we are trying to reduce the sinking trace less uh also uh by some compression technique, but this time not by dropping the tokens, uh but actually uh by uh doing a VQ-VAE uh to con to compress the tokens.
are all the way to this latent space. So now you have a latent discrete tokens and you can replace this original channel thoughts with latent discrete tokens and then you can train this model accordingly.
And interestingly this actually leads to better performance, um and the same time uh you actually have a shorter C_O_T_s in order to ach achieve um the uh the same reasoning capabilities. Um so and uh of course then this basically concludes first part then uh we have been seeing some work that you can leverage uh the same kind traces uh in order to solve a problem. Okay people ask okay what's wrong with option one, right. So.
Oh, yeah. So look like option one already did some good work in there, and people actually enjoy uh the results. Ah, so I think um uh for option one, if you think this twice, uh then uh it actually very similar to search. Right, so uh but search has been leveraged uh in uh existing uh symbolic solvers. Right, if search can solve problems, then of course why not using traditional symbolic solvers. Right, so why the actual models is substantially better?
There are dancing molecules for this reason in a planet problem. So then we st we slowly move to option two. Alright, so uh if you think about how human actually do the work, human actually uh
think about the problem not by a very exhaustive search and a huge computational power, but the human actually convert the problem into something that is most more intuitive and then in this in very kind of high-dimensional intuitive space and you actually see there's a very clear pass uh from beginning to the end. Right, so basically instead of s uh reasoning exhaustively uh human actually reason smartly.
So this is something that's quite interesting, and I don't think that people have extensively think about this direction before.
Okay. So if you talk about representation, uh traditionally we actually have two kind of uh representation that in basically in your mind, right. So there's a traditional symbolic representation, right. So you put equations, you put um uh uh you put mathematical uh formulas there. So this is symbolic representation. There we often discrete consider as discrete and um uh and uh very precise, right. So on the other hand, you also have
Of new representations. These representations you learn from by neural network trainings. And right now, a new representation is not really uh well understood. Uh people think, oh, that's some magic happening in a black box. And that black box magically give you better representation that we don't understand that well.
But in the rest of the talk, I'm going to tell you some ex interesting findings that um sometimes uh you can actually find emergent symbolic structures from these neural representations. So this basically means that maybe these representation are actually the same, but just because we don't have c enough mathematical capabilities to find the symbolic representations and then we make this neural representation looks very mysterious.
But now it seems like they actually a way to explain it. Okay, so let's start with a coconut uh which is a paper that try to explore uh different architecture uh to do uh chain of thoughts. Alright, so traditional chain of thoughts and they use discrete tokens. But uh for continuous chain of thoughts, uh we actually use continuous tokens in order to do reasoning uh in order to get answers.
So uh for coconut uh how we going to train it uh first of all uh we start from this uh language of C_O_T_s, that is printed data, and uh we progressively replace each step of the C_O_T_ into uh uh then continuous uh sort of vector, okay. And two, you go all the way to the stage end, then when uh all these steps have been replaced uh by the continuous sort of vector. So with training models, uh we start from the original model and then
Then we progressively sample replace some of the source and then we train this in a curriculum manner.
So uh once we have done that, uh let's take a look at uh how uh the trending news model is different from the discrete models. Right, so here is like a one task that we test on. The task is very simple, right? So uh you basically tell uh the the model a graph and the graph is basically represented as a natural language and your goal is to find starting from a starting point, um whether the starting point can go to
either of the that destinations, right? So there will be one pass that leads to the correct answer and uh there will be no pass from the starting point all the way to the end point that is wrong. Okay, so that's a very simple approach and uh the graph is given by in contact, uh got given by the prompt. And uh we hope that the model can solve the problem. Okay, so here is the ground truth solution for a particular case, right? You start from index and it goes to three hops and you get to destination that is correct.
Okay, but if you run a COT, we are running COT in a greedy manner, if we run COT then what happen is that the COT will tend to pick, sometimes the COT pick the wrong path, right, but because COT is greedy that which means that once it pick the wrong paths, there's no way you can go back, right, so it pick the wrong paths and then find oh there's a dead end and in order to go to destination it will hide or hallucinate an edge.
and all the way to this place so that it can reach a conclusion. So it will give hallucinations. But if you try like a coconut and our continuous approach, if you just use one continuous thought, then what happens is like it will also give you the wrong paths. That's wrong. But if you actually use two thoughts, then magically it switches to a different starting point, starting moves and go all the way to the correct one.
So this in some sense quite weird uh and also interesting because it look like uh that first source a first uh field, first continuous source are the same. But the why the model actually end with two different paths, one is being uh incorrect and the other is being correct, right? So if you think about only about this first step, maybe the first step the model does not really decide uh which path we want to take, but magically the model actually find the right path later.
So then what's inside? So what we can do here is that for every continuous dots, we can basically decode a discrete representation, discrete dots after that, and see what kind of nodes it is in favour of. Right, so for example, you put the single continuous dots here and then the continuous dots and you decode that and you can see that
that uh this node I call the lempest was being favoured uh by the models uh because the probability, exact micro probability is high compared to other choices. Right so uh but interestingly this is actually not the on the right pass, but for step equal to one that's the most promising one.
Okay. But if you put two, if you put like two sorts at the same time, okay, you saw the same time, and then you do decoding. So then what happen is that you actually see all the possible hop two steps and it actually has all the possible hop two step. And for the nodes that

And the folder notes that used to be promising is to hope to successors, they proved they are becoming the dead end. They basically don't have a very high probability of a softmax. But the actual correct one, that is stemming from a not that promising pass and that was having high probability. And that's why the model can decode the number decode the final performance final correct answer very well.
So interestingly, apparently the continuous source actually encode other possible passes, doing a search and finally find the answer at the end. So in comparison, if you think about the discrete channel source, then what it does is that every step it has to nail down one possible move. And this nail down will actually give you a local optimal solution, because it's a greedy search.
search but like a new thoughts look like it actually encode all the possible choices and so that the model can find the right solution at the end that's very interesting so this actually reminded me of quantum mechanics in which the representation of the states is can be regarded as a superposition of multiple stages at the same time rather than collapsing to one single observations
That's interesting. Uh so uh if you check all performance for this entire data set, now which is a data set that created synthetically. So what you actually see is that um the channel of slots only uh reach uh eighty percent uh but our approach can reach like a much higher uh performance. Right. And uh you can also see that uh we with like more and more channel of slots um basically you get like a higher performance uh in term of um the correct labels.
And of course like uh you can also try this with GSM-AK uh the performance is actually reasonably good uh not as strong as CoT, uh but uh uh in this entire data it's actually give you perfect uh performance at the same time. The name of tokens is much uh smaller uh than that the actual CoTs. Yeah of course there's a comps uh there's some kind of a uh weakness there. Uh first of all the latent tokens are not really interpretable and second is it's own test and GSM-AK.
Okay, so we're going to do something uh more on top of that. Okay uh so I give you this example uh to try to motivate you to think about like if we have different architectures and uh the model may represent uh this entire thinking process uh very drastic different manner. So I give you another example uh which is another reasoning task, uh which is very simple task that everyone will know uh in the elementary schools. It's called modular addition.
So uh for that task uh that uh the idea is simple, right? So you want the model to predict C_ given A_ and B_ alright. So uh and the C_ is basically be computed by A_ plus B_ uh mode D_ it's called the modular addition. So since all the A_ and B_ and C_ they are within the range of zero to D_ minus one, you would imagine that the neural network will try to save uh implicit table and the use that table uh to uh remember Yeah.
where are the pads of A and B in order to predict C, right? So it's super simple task. The model should just do as uh uh what the we uh as a child uh can do.
But interestingly what actually happen is that if you really learn such task the learned representation is not implicit table to do retrieval it actually learns flowery basis. So this is actually an interesting phenomenon that already been observed by existing works. So if you see if you check the following papers they actually found that in the pre-trained a larger models
Uh these models uh represent uh the actual numbers uh by a flowery basis and you can actually bring them out uh bring these uh multiple flowery components there. So okay, that's actually very interesting. And uh we can actually also use this following like a minimum uh setup to reproduce this kind of uh representations, right? So this setup is very simple. You have a one button layer and one top layer and with um uh hidden
then uh non-linearities in between. And these nonlinearities are basically using uh quadratic activations. Right, so the goal is to basically like uh ask the output to be similar to the problem rotation of the uh output of C that you want. So this is the animistic loss, uh very simple. Um of course this is a non-linear non-linear loss. Um okay, so it's very simple. Uh uh even if with this simple ex um
Setup. What you actually see is that you can actually get the solutions with gradient descent. And the solution of gradient descent is actually very regular, super interesting here. So here you have a figure and the figure, the x-axis, the horizontal axis is basically indexing into hidden nodes index. So here you have 20 hidden nodes.
And each hidden node is represented by a column. And each column is basically the Flory transformation of the weights for that particular neurons. Okay, so usually like if you put a random signals there, if you take Flory transformation, you basically give, it will basically give you some kind of equal frequency distributions. So, but here the Flory
For a response is very peaked at some frequencies, which means that original signals before the Fourier transformation is really a sine-cosine curve.
So now you actually see the same thing for that minimal problems that only has two layer um networks. So and moreover uh what is makes things more interesting is that if you compute a number of neurons that has high uh uh frequency uh for that particular uh frequency, a high response for that particular frequency, what you see is that uh you you will see very regular patterns. For example for k equals to one,
When for frequency equals 1, you get 1, 2, 3, 4, 5, 6, you have six neurons. Uh that is high high frequency uh compared B to uh compared to um uh compared to other neurons. And for Okay. frequency equals 2, you have one, two, three, four, five, six as well. So this is called all the six solutions uh for that particular frequencies. And you also see other kind of solution like all the four, right, so you have one, two, three, four, four solutions now for that particular frequency.
Yes. And you only see these two kind of solutions in different modular addition tasks. So here you have a larger scale task when d equals 24, 23. Then if you plot a histogram of orders for other solutions for frequency, then you basically see the two peaks. One is order four and the other order six. They rarely happens and then nothing else. If you scale the model to scale the the
the training to even larger d, uh then you basically see the same peak uh and but with different uh modifications small changes, but all basically like you basic uh this to s this two peaks. Except for the cases that you have very very strong weight decay then everything crabs to zero. So that's something that you can understand. Okay another question is why. So um for this uh I think there's a lot of deep mathematical uh details uh so but I want to just tell you
with the intuitions about that. So the idea here is that what you can do is that you can basically write down the MSE loss and then you can basically write it into these kind of forms.
And in order to get a global optimal solutions, you really need to make sure that this first term is one and the remaining terms are zeros, right? So, of course, these constraints are highly non-linear, right? So, um but however, they actually exist like uh a nice algebraic structures, which is the structure which we call the semi-ring structure. So if you think about all the neurons uh weights um uh across different number of hidden nodes,
You can actually define the different operations in this space. So under using these operations, you can basically prove that this entire space can connect all two layer networks with different number of hidden nodes as a semi-ring structure. So once you have this semi-ring structure, then what can we do is that we can actually combine these partial solutions that only satisfy
Okay. One condition into a joint solution that will satisfy both of the conditions. So if you do that, then we actually end up with this kind of interesting structures. So we can first construct the partial solutions that only satisfy maybe one or two constraints in the objectives. And then by our ring multiplication and ring addition, you can make the solution more suitable for the entire.
uh uh objectives. And finally you end up with a solution that can uh satisfy all the constraint of for uh low for global optimum. So this by doing this uh you actually can construct the solutions uh all by uh algebraic uh operations. Right, so we can construct the solutions uh for example construct all the six solutions, we construct all the four solutions and we also can construct solutions that correspond to the perfect memorisation.
for example, when you memorize every entries individually.
So, because of that, uh because this two has lower order, the gradient descent tend to uh converge into the solution that is simpler and uh much more efficient. That's why you see the Frobenius basis come out. So we can also uh show that uh the gradient descent solution really matches with this theoretical construction. Uh which is very interesting. Uh so we can get lots of global optimal solutions.
but maybe this solution may not connect very well.

Maybe this solution may not connect very well with the ground truth, with the ground with the sense that we are we d we use every day for training our models. But in this case, it actually matches very well. First of all, I mean, we have to see in the SIFT algorithm, I mean, these uh solutions are all the six, all the four, which is good. Uh but not only that, uh but if you actually taken down taken out a solution per frequency, and then we try to factorize it uh using the ring
structures right. So here you have this ring structure there and to model it to basically construct the solutions. But when now we take the Green design solutions and then you check whether it actually has the factorisation. The answer is yes, ninety five percent of solution actually can be factorised into such forms. And not only that, uh factorisation arrangement is small, uh but if you actually check the solution that have been factorised, they actually fit into uh our algebraic construction.
very well. Uh so uh forty seven percent uh yeah are following this kind of structures, last eleven percent are following this kind of structures and so forth. And all these solutions are can be interpretable and all this uh Z_ uh component uh can be uh constructed. Uh if you are interested, uh please check the paper.
And of course this these answer distributions are in the higher parameters of each solutions and distribution is actually highly no-linear and highly peaked. That which has something interesting that we need to explore further. And there's some green dynamics uh that tell you that it will try to convert to simple solutions uh if you apply a gradient k.
And finally I have maybe like one minutes left. I'm going to talk a little bit about uh the the paper. Uh this is actually the paper in this workshop. Uh so there's another example showing the symbolic uh structure can em emerge from neural representation. So here the task is uh to try to learn a two-layer transformers for predicting the shortest path in the graph. Uh so um the prediction is very simple, you you basically like uh construct the context that represents the entire graph.
off. And then the prediction is to basically predict like okay what is the shortest path from the node one all the way to the target. Okay, super simple.
So it turned out that it's very interesting to see that representation after the first layer, transformer layers, is very similar to the edge embedding of the line graph of that graph. So if you take that particular pass and you basically do a pure symbolic manipulation of the graph, you first start with a graph and then you convert it into a line graph. Line graph means that each edge become a node.
ensure to become an edge. So you will once you have line graph, you can compute the normalised Laplacians. And then you can do S_V_D_ you get energy. So this this is a pure symbolic structure. But on the other hand, um if you really train a model with transformers, you get a representation uh that is a pure neural and you actually see very high correlations uh between these two representations. Right so the normalisation can be zero point nine, uh which is uh which is very high, right? So this normal
normal equation often range from minus one to one, but now this is zero point nine.
And not only that, uh you can actually construct a shortest path uh uh algorithm uh from this representation. Right, so here is an algorithm that can construct from representation. Uh it's basically very simple. You compute line graph and compute eigenvectors, and then you use eigenvectors and compute the nearest neighbour uh agree approach uh to find shortest path. Uh so uh why this approach is not guaranteed to give you optimum?
you won't s uh sort this pass. But actually empirically if you do some experiments on small random graphs, you actually see a ninety nine percent it will give you optimal paths. Um even if if scale up to um larger graph, for example two to hundred node, uh more than eighty maybe seventy percent uh of the chance that this approach will still give you optimal uh trajectories. Uh optimal shorted distance. So that's very interesting, right. So it means that uh the new networks may
A used a very different approach uh to compute the uh something that uh we think uh we should be computed by uh and uh symbolic algorithms. But of course there need to be more explorations along that direction further. Okay, so uh uh finally arrive at the next uh s uh the last slides. Um so first of all uh once we have seen all these uh interesting uh results, um I'm the one possible question that may raise naturally is that
that uh maybe the new network actually learn something more efficient uh uh s efficient rather than we don't know. And we just uh treat it as uh uh new representation. Maybe in the future they are all symbolic, but uh following some a very interesting algebraic structures uh that we don't uh need to know. And secondly is Wiener standard is just one way of achieving that solutions. But there could be other ways of achieving that. That maybe in the future, maybe there we can construct some advanced algebraic operations,
I directly give you the solution that are given by WinDescend. But in that case, maybe WinDescend will become obsolete later. Right, so that's something that's crazy. Uh so it's very bold uh claim. Uh I don't have any evidence, uh but that could be an interesting exploration to explore further uh if people are interested in some ground breaking directions to go.
And finally, I want to say that maybe in one day instead of playing in front of computers in terminal clusters so that the computer can work well, uh maybe you can open the black box and the we know exactly what's going on and we can get a much better results uh with uh much more data efficient approach. Thanks. Yeah, thank you. We have time for one, two questions.
Yes. Uh thank you very much. Yeah for quite amazing presentation yeah actually I was very interested about the uh coconut I mean yeah the uh because it shows that I mean A_O_M_s they can perhaps I mean possibly a reason better in the continuous latent space yeah rather than they discrete I mean yeah.
Uh you might interpret about space, yeah, but I mean, understand time you also have research, you know, like a Google, I mean, cosine that shows that like muti-agent I mean collaboration can let you better reason, yeah? Um which lets me naturally to think I mean whether these two ideas can be combined, whether if like say if M_O_M_s I mean like agents I mean working Okay.
Talking to each other in a latent space, I mean the uh continuous space, they can actually communicate more efficiently and get reason better together than I mean than talking like human interpreted about to the stage I mean, yeah. Which will be I mean also quite cool, but also a bit scary, because I mean you see A_I_ Oh collaborating it's scary. with each other what we understand what they are doing yeah. What what mean? Do you think that is a something that might uh eventually happen?
Um I think that's a good question. So I think the future if we use agent, we rely on agents, then they might come with a way to communicate that's much more efficient. That's totally possible, right? So um but on the other hand there will be many different ways to make sure that uh they only talk about things that you want them to talk about, right? Something else, right? So it's possible that I mean maybe like the information they communicate is latent, but you want to make sure that you minimise the information gain or mutual information between that information and all the information.
are sensitive. Uh so we want to do that, as you basically can put a mini-constraint like that in order to uh in order to enforce this is not happening. Right? And second uh you can also uh try to understand model better as so that uh you can monitor uh what's going on. And a third uh maybe you can still use the uh other approaches to do latent uh encodings. Right, so for example the token are sorted papers I mentioned, in that paper we are using discrete tokens.
that can be decoded uh that can be decoded uh back to the uh the original token space. And that is telling you what's going on. So these are different ways. And finally maybe you don't need a very efficient communication between agents, right? So you can force them to be uh to do channel cells. That's another way of doing that. Okay, thank you.
Yeah, please if you have more questions, please feel free to ask me online offline. Uh we have to move to the next talk. Thank you. Okay. Thanks. Thank you.
Okay uh thank you again for making talk. Uh next up we have Professor Gan uh Guy Van Den Broek from UCLA. Uh the talk title is Symbolic Reasoning about Large Language Models. Guy is a professor of computer science and simultaneously fellow at UCLA where he directs the statistical and relational artificial intelligence Star AI Lab. His research interests are in machine learning
knowledge representation and reasoning and artificial intelligence in general. Guy will be joining us from online. Hi. Can you hear me? Yeah, Hello. we can hear you. Hello. Good morning. Yeah, we can't hear you.
Please All get right. started. Thank you. All right. I'm not sure if my screen is showing. Here it is. Yeah, so good morning, everyone. It is.
Good. So let's get started. So I want to talk about, I guess, which is the main topic of the whole workshop, symbolic reasoning and LLMs. How do they go together? And the way that I kind of approach this problem is thinking about these good old fashioned AI algorithms that were so popular many decades ago. And, you know, thinking that they actually had a few things going for them. So these algorithms, they used to do deductive reasoning, you'd kind of write down your knowledge and then there was.
And there was an algorithm that used the rules of logic or probability and would come up with answers.

and would come up with answers and you had this beautiful property that we kind of forgot about which is that you know the answer is always guaranteed to be correct the reasoning is always sound but of course the the reason why we don't use these things to build you know these general intelligent let's say chat systems is that they're very limited in scope right you could only ask certain specific questions and even if you could ask the question you might have to wait till the end of the universe
universe to get the right answer you know reasoning is intractable computationally and so if you now fast forward 30 years then now we're in the age of transformers and the way that we do reasoning is very different it's now done not through logical not through deductive inference but through inductive inference by looking at lots of examples and building chains of thought and you know of course it's correct on many problems but not on all problems and we all know how to
How to find those corner cases where the reasoning goes wrong and that's what half of the world is investing in.
But the beauty of these approaches is that they're, of course, unlimited in what you can ask and hope to get an answer for. And of course, they're tractable, they will always give you an answer, even if it's a wrong one, they will make you wait forever. And so the main question I have in my research already for quite a while is, how do these deductive reasoning algorithms, how do they play a role in machine learning, and specifically now in the age of transformers and LLM?
problems and also maybe what was wrong with maybe the old-fashioned way of doing reasoning algorithms way back when in good old-fashioned AI and and how can we kind of upgrade these ideas for the the modern age where we have GPUs where we have data and so on so that's a the talk topic for today
Okay, so first, what is the purpose of reasoning algorithms if I have a transformer available to me? And I'll give you a bunch of examples where algorithms can be useful, but this is maybe the simplest one. Here we're asking chat GPT, generate a sentence using the keywords frisbee, caught and dog and give the words in the in the order that I specified them.
And you know, ChatGPT will give you a decent answer. It will say frisbee dog and cat, but not in the right order that I asked for. And then so what you typically do as you get the models to reason better or understand the assignment is you ask again, you say, please don't make that mistake, fix your fix your error and so on. And so then it makes another mistake. And so it doesn't really quite get it right. And what I'll show you is a system called control.
control g that is actually guaranteed to always follow the instructions and in this case it generated a frisbee is caught by a dog which is the most obvious answer but also somewhere in its generation i saw a pair of frisbee players are caught in a dog fight which i thought was a very creative answer uh that surprised me okay so uh what is this system doing how is it following these instructions and how is it using deductive
with inference and reasoning algorithms. Okay, so let's see what this system actually does. So the general setup is we have some prompt like the weather is and in this previous example we have some keywords like say I want to use the word winter, right? And our pre-trained language model will have a next token distribution and the weather is cold or warm with roughly equal probability.
If I want to condition my distribution on the fact that I say the word winter, then I open my intro to probability textbook and it says use base rule. So here's Reverend base looking over us and base says that the distribution I should be sampling my next token from given my prefix and the fact that I will eventually say winter. So I'm kind of planning ahead for saying winter is simply the next token distribution that I have.
ignoring the constraint alpha at times the probability of achieving my constraint if I choose a particular next token. There's a normalizing constant here that doesn't matter.
And the reason why this type of reasoning is hard in language models is that computing this second quantity here, the probability of eventually seeing winter or eventually seeing Singapore, it's completely intractable. It's clearly sharp P-heart. No one knows how to take a transformer and come up with this number. Okay, so that's sad.
But for the sake of argument, suppose that instead of a transformer, we had some other type of deep generative model, let's for now call it a tractable probabilistic model, and suppose that this tractable model could actually tell you that, oh, if you're eventually going to say cold, it's much more likely that you'll end up saying winter than if you would say warm, okay, and so this model knows how to compute this probability of achieving the goal.
And what the control G architecture does is simply say, well, use your large language model for what it's good at, which is next token prediction, grammaticality and a common sense knowledge and use some other type of magic reasoning model that can tell you the probability of your constraint being achieved.
And you can just sum the logits of both of these models and now you get your posterior distribution given the constraint and you can actually sample tokens on your way to achieving your goal. And for now, I will just hide completely for you how we get this tractable pro stick model, but that will be the topic of the second part of the talk.
All right. I would like to do more than just generate keywords. That's maybe a little silly and maybe even easy now for modern LLMs. What I would actually like to generate is something that satisfies a constraint that's quite complicated, like a DFA. And so there's lots of things you can write in a DFA. Here's a simple DFA that checks if a string contains the phrase gets called. But you can do things like, you know, phrases and words must or must not appear.
help appear from a certain vocabulary say things exactly some number of times or at most some number of times ends the sentence in a certain certain way use a certain regular expression really almost anything you can write over a finite sequence length you can turn into a DFA and this is the goal we want to generate things that satisfy this DFA and we also looked for a cool example where we could show that this architecture is actually really good at reasoning towards the goal
And the application we targeted was interactive text editing, which is kind of the bread and butter of modern large language models. But instead of just saying write a creative story, we gave a story where we were not so happy with part of the story. So there was some blank inside of the story. And then we said, can you just infill this text, but you have to use these keywords that make sense in the story. Of course, it also has to match with.
what comes later in the story, and the length of this infilling has to be 25 to 30 words. Not tokens, but words.
It turns out that these instructions, they can just be turned into a DFA in a simple little language where you say what are the keywords, the length and so on. And then this is what the model generated. So it came up with this nice little in -between story that perfectly matches the keywords as well as the part of the story that was already fixed in the assignment.
Okay, so this is pretty cool. Is this actually working well? Well, we asked some humans, as you do, so we did some human evaluation. And I'm going to focus on maybe the last column here. We had these keywords and length constraints that we give for these creative writing assignments like on the previous slide. And so the first question is, do you like the story? Yes or no?
And so we're comparing GPT -4 against this control G architecture. And it turns out that the control G stories were a little bit more well-liked because, of course, they are kind of maybe taking into account the suffix better or the keywords that had to be used than what GPT-4 was outputting.
How often do we actually succeed? How often do we reach our goal? Well, you know, only 30% of the time GPT -4 was actually able to infill this task with the right keywords and the right length of works, while for us this is 100% and I'll get to that later.
And so if you looked at, you know, how often did we actually succeed at the task and write some piece of text that people like, let's say three stars and up, then the difference is staggering, right? So Control-G was able to solve the problem well 82% of the time, GPT-4 14% of the time.
And the reason why this is surprising, of course, is because GPT-4 was essentially a DFA running in this control G architecture on top of LAMA 27B, which is a tiny old model, and it just wipes the floor with this model that's more than 100 times bigger, right? And so I think this is very encouraging for the idea that if you bake reasoning algorithms into your large language model architectures, then you'll save a lot of money and you'll do really well.
And I think more people should try to build these architectures that are neurosymbolic.
All right, here's another example of where we applied these constraints in the generation. So this is your usual grade school math benchmark. And so here on this question, the vanilla LLM got the wrong answer. It says 24. That's not the right answer. Control G gave the right answer. And in fact, if you use Control G, then you can bump your accuracy by a few percent if you...

see by a few percent if you add to the right constraints. So maybe the question for the audience is what constraints did I put on the generation in order to make the wrong answer become the right answer. And it's a little subtle, but I'll show you what it is. I just told it that it has to use all the numbers that are in the problem statement.
So that's a very simple thing. If you assume that your instructor is not trying to trick you, then all of the numbers are relevant or at least should be part of the chain of thought where you say this number is irrelevant, right? So every number has to be part of the chain of thought. And if you just say this, then the wrong answer becomes the right answer and the accuracy improves. So this is a fun way in which.
Symbolic reasoning about the DFA and probability of satisfying a constraint using deductive algorithms is actually able to improve this inductive reasoning chain that is this chain of thought, so kind of a combo of both types of reasoning. All right, so this was the Ctrl-G architecture. I haven't really told you exactly how we solve it, that will come next, but at least from a bird's eye view, what's nice here is that...
The constraint that we put on the generation is always going to be satisfied. And the reason is that this tractable model will give a 0% probability to any next token that has a zero probability of satisfying the constraint. And so those next tokens will be eliminated, they'll be masked out completely. And that means that you will actually never really drive off a cliff because before you do so you'll give zero probability to that direction.
Second point is that actually when we do the reasoning, we use a tractable deep generative model that's different from the large language model. But as I'll show in the next part, that tractable deep generative model actually doesn't know anything about the constraints. It's just another generative model that was trained on the same text without ever knowing what is the objective, what is the reasoning task at hand.
And so that's really nice because that means that the model actually generalizes really well to unseen reasoning tasks because during training it has actually never seen any reasoning tasks. All the reasoning is done by algorithms, reasoning on the distribution that was learned on the prior essentially.
And so this is also a major difference from how many people, I'm sure even at this workshop, tackle reasoning, which is come up with some distribution of reasoning problems from the internet, from human annotators, from synthetic generation and just learn how to do the reasoning on that data set of reasoning problems. And, you know, this is very expensive and somewhat brittle because, you know, if the distribution of reasoning problems.
changes slightly then everything breaks and the beauty of algorithms in good old-fashioned AI is that they don't care you know the set solver doesn't really care what set problem you give to it it will always give you the right answer all to be fair you might have to wait for a while and so the takeaway here is that if you have an intractable generative model you can control its generation using a model that is designed from scratch to do reasoning
And of course, now you're wondering, how do we get such a thing? How do we get a generative model that can do deductive reasoning? And so that's the second part of my talk.
All right. Now, there's lots of types of reasoning and they're all very interesting. But for the purpose of this talk, I would just like to limit it to what's called marginal inference. So in marginal inference, we have a joint distribution, in this case over two random variables. And I would like to know the probability of the first variable being a one and so I have to sum the numbers here. I have to integrate out or sum out the variables that I don't care about. This is marginal inference. And of course, this is the task I care about as a reasoning.
reasoning task because this is exactly what I need to solve this problem in control G. If I want to know the probability of my next token given prefix and alpha, I have to somehow sum over all of the future text and then see when do I satisfy my DFA constraint and when do I use which next token. So this summing over all these variables I don't care about, this is the task of marginalization.
And here's a little bit of a landscape of generative models, and they're very different in what they can do.
let's first talk about how expressive are they can they really capture complex data and so if you open your old machine learning and AI textbook you'll find models like naive base and notion mixture models tree-shaped graphical models or hidden market models or even Bayesian networks and so these used to be where we built our reasoning algorithms you know algorithms for probabilistic inference in Bayesian networks were very popular you know 15 years ago
But today we don't really use these models to do language modeling because they're just not capable to capture the complexities of natural language.
On the other side, we have our favorite transformers, GPTs, diffusion models, very expressive, and this is what we use today. But the other dimension that we kind of forgot about is that, you know, these old -fashioned models, they were actually tractable for reasoning and specifically on all of these models, you could actually compute a marginal probability efficiently in time polynomial in the size of your learned representation.
While in all of these models, it's just hopeless to ever know a marginal probability. And so in pursuit of expressive power and fitting our data, we kind of gave up on these deductive reasoning capabilities.
And the architecture that I'll talk about now is trying to take these old fashioned representations and actually scaling them up to the point where they may become expressive enough to compete with these intractable models while still keeping the ability to compute a marginal probability and do the probabilistic reason. Okay, so what do these things look like?
The trick that we will use to build these types of generative models is to think of them as polynomials, and specifically polynomials that represent the distribution.
of our generative model so here's a distribution over three random variables and of course in practice this will be many thousands of random variables but for these three random variables here is a polynomial that assigns to each monomial a coefficient that is essentially the probability that you know if I were to evaluate this this polynomial I would get this table here okay good
But polynomials are not useful because polynomials are, you know, if I have n variables, then I have 2 to the n different monomials in my polynomial here. And, you know, this is not a representation that's scalable at all. And there's a simple trick to make it scalable, to make it a deep architecture, which is to represent the polynomial using a circuit of sums and products.
Of these variables, x1, x2, and x3. And now with a very small circuit, I can represent an exponentially larger polynomial, which is an exponentially larger joint probability table. So that's nice. Now I have a deep generative model that is just a polynomial written in a funny way as a little data structure.
And already this is useful because now I can run this on the GPU. I can say what's the probability of this image where these three pixels have these three colors? And I ask, what is the probability for every input node that I will use of my polynomial? I take sums and products of likelihoods and at the very output of my neural network, I get the likelihoods of the model for this particular data point.
So now if I essentially get a Fourier forward model that evaluates the probability of my data, I have essentially a generative model here. But we want more than just a generative model. We would like a tractable generative model. So what does that mean? I want the ability to compute marginal probabilities. And so now it turns out that if this circuit that I have
this polynomial circuit if it represents a polynomial that is what's called multilinear meaning it's never got any kind of x1 to the power 2 or 3 right it's all every variable that appears is to the power 1 or 0 then I can always compute a marginal probability efficiently
Okay. And this is getting a little technical, but this is, you know, a slide that, you know, you can go back to later if you really care. Essentially, if I want to compute the probability of some pixel being gray, the first one, and I'm ignoring the other pixels, so I'm marginalizing them out of the distribution, then I need to compute this integral where I marginalize out Y and Z. Okay. This is my distribution here. The output of my neural network is my distribution, and it is a sum.
of two polynomials. Well it turns out the integral of a sum is simply the sum of the integrals and so now I've taken this integration problem here and got myself two new integration problems that are no longer at the output layer but at the layer just before the output layer.
I can work backwards for this product under some assumptions that I won't get into. This can be written as a product of integrals. And at the end, I just have to compute the integral at the input nodes of my distributions where everything sums to one. And so I'm hand waving a lot here. But the main takeaway here is that if I want to compute a marginal inference, then I can do it efficiently on these multilinear polynomial circuits.
And this is exactly the magic trick that we used in this Ctrl -G work where we were outperforming GPT-4. We had a little language model. It wasn't so little. It had 2 billion parameters.

It wasn't so little, it had 2 billion parameters, but it was essentially a language model that is, it's a worse language model than GPT-4 obviously, but it was a multi-linear polynomial written as a circuit. And it has this property that you can actually compute the probability of satisfying your DFA constraint in time linear in the sequence length, as well as linear in the size of the DFA and the size of this polynomial circuit.
And so these magical tractability properties are exactly what allows us to do this constraint generation in the previous part of the talk. All right, check the paper for more details. Maybe at this point you feel that I tricked you because I said I would try to build reasoning algorithms into modern LLMs. And then the only thing I gave you was just another feed forward neural network which happens to represent a polynomial.
And it turns out that this is not, I didn't really trick you. So you can check out this paper that we just put online last week proving that if there is an algorithm for your distribution that can compute a marginal probability, then there also exists a circuit that is multidimensional that represents exactly that distribution and that circuit will be small and efficient.
So these circuits and algorithms are really two sides of the same coin.
If you are more into the machine learning side, please check out this PyJuice package that we released last year. It's very, very fast at training these polynomial circuits or probabilistic circuits from data. And there's actually quite a few such toolkits out there. And I think PyJuice is extremely fast, often orders of magnitude and other tools out there, especially if you just roll your own PyTorch codes to train these circuits.
So what we have is extremely scalable custom CUDA kernels for these types of machine learning models. And we actually compared to the Dynamax JAX library from Google folks because they share some similar representations and they're actually orders of magnitude faster as well in training these circuit models from data.
So now I told you here's an application where reasoning the old-fashioned way is actually super useful to make the LLMs behave and do the right thing. And then I also gave you some background on, you know, how do these modern reasoning algorithms look? Well, it turns out they're just circuits on the GPU.
And I want to go back to maybe an even more compelling application in the modern LLM age of these reasoning algorithms. And so this is a paper that we just put online today. So I think it's on archive since like half an hour ago, hopefully. You can also find it on my website. And it's all about enforcing constraints in a generation where the goal is not to satisfy some logical constraints, so there's no DFA.
But some kind of soft attributes that has some probability, for example, you know, I want the text to be non-toxic or political and non-toxic or I want it to sound poetic, you know, these types of constraints or in general just constraints that are alignment goals, right? So people are spending billions of dollars trying to fine tune and train models to.
corresponds to what humans want to get from these models using some reward function and so these attribute probabilities that we will try to achieve they will just be exponentiated reward functions if you like to think of those all right so this is the setup we have our language model we have our next token distribution but we would like to know if I continue generating in future what's the probability that I'll do a good job and generate something that is non-toxic
Okay. Well, I could in theory look at all the possible continuations that could be quite long, but there's just short examples here. And then some of them are quite toxic, some of them are quite harmless. And depending on my next token choice, there's a lot of toxic stuff or there's a lot of harmless stuff. And what I would need to do is to somehow compute the expected value of this attribute probability.
under the distribution that is my continuations from the large language model. So we'll refer to this as the expected attribute probability. And sadly, this thing is hopelessly intractable. I cannot figure this out for a transformer. It's definitely sharpie heart. No one knows how to compute the expected toxicity score of a generation and hopeless.
But of course, we know now that control G is able to do it using a simple trick. So what was the simple trick? Well, let's just pretend like our continuations are not coming from a transformer, but that they're coming from a tractable probabilistic model, a probabilistic circuit. Okay. All right, fine. So I can train a probabilistic circuit that is very similar to my language model. It will be close enough to kind of guess the probabilities of these continuations.
And then suppose that I can take my attribute probability classifier and also approximate it using a log -linear model. So I'll train a simple log-linear classifier to detect whether something's toxic or non-toxic.
Well, now we can develop a deductive reasoning algorithm to solve our task. And yes, I can now in time linear in the sequence length, linear in the circuit size, linear in the number of features of my log linear model, I can now efficiently compute what is the expected attribute probability, what's the expected amount of toxicity, what's the probability that my continuation will be toxic.
Yes or no. Here I see that if I say it's a pain in, I'm more likely to say something toxic. Well, if I say it's a pain too, it's a little bit less toxic, the generations that I would get.
So what I do is I go back to Reverend Bayes. Reverend Bayes has just multiplied my next token distribution with the expected attribute probabilities and then sample proportionally. And so now rather than saying it's a pain in, I'll say it's a pain two because that's a safer choice in terms of my toxicity score.
All right, so if you do this, it turns out you get state -of-the-art LLM detoxification. So a lot of the detoxification baselines are in terms of GPT-2. And so this trace model that I just described gets state-of-the-art toxicity while getting the same fluency as the original model and almost exactly the same diversity as the original model. What's interesting here is that a lot of the RL techniques, they end up losing the diversity. They essentially kind of...
kind of collapse into a mode, which you can also see by the fluency being vastly different, and yet they don't actually get better toxicity scores than us. We also did the same thing with Gemma 2B, where compared to DPO we get much lower toxicity in the worst case and in the average case, while being as fluent as the original model and as diverse as the original model.
So this technique actually works really well for just general alignment purposes. Another fun thing we did was, you know, let's try to get these, let's try to train a model.
a simple lock linear model that we can now use to generate language as if we're talking to this random character, Twilight Sparkle. Okay. And so the way you would typically do this is by prompting saying you are Twilight Sparkle. Here are some examples of what Twilight Sparkle would say. And then you ask, how is the weather? And you would get some answer. Now, crucially.
Um,
There's two things going on here. One is that it takes a long time to parse this prompt. And with trace, we're just asking the question, how is the weather? And all of the information about the alignment, meaning what would twilight sparkle sound like? All of this information is in the classifier that we're taking the expectation of using our reasoning algorithm. So this model is extremely fast and it very quickly gives a good answer. Gosh, it's sunny and very beautiful. And all around me, it's a very, I've been told it's a very twilight.
I like sparkly answer and the baseline actually just gives some really boring answer that's not really like the character that we want and then the second point yeah this is super fast this is quite slow because you know the prompt has a lot of tokens in it that need to be processed by the LLM.
So you can do this for a lot of different characters. Here we did it for 76 different ones, characters like Doctor Who or whatever, all of these different people you may want to chat with. And it turns out that the quality of the generated text is better, meaning that it's more like the character than if you were to just use prompting to achieve the same result. So this kind of control with this trace model is actually much more effective than begging through prompting to do the right.
the right thing. Second point is it's super fast because it doesn't actually need much training at all. To train a new personalized language model, all you need to do is train a new log linear model which will take you three seconds or ten seconds.
While all the other baselines here, they spend many, many hours training an RL model or some kind of neural network to actually detect, you know, or train for the probability of, you know, the later continuations sounding like Twilight Sparkle. So that's very much infeasible. So orders of magnitude faster at training time and at inference time also faster.
So here's the baseline. It's a unit of one time and trace is just 10% slower than the baseline. prompting is

extend the baseline. Prompting is much slower because we have to squeeze all of these extra tokens into the prompt, which slows everything down. And then all of these other models based on various other architectures or controllable generation are also much, much slower because they have to do a lot of work at inference time as well. All right, so that wraps up my talk. So I had two questions that motivated the talk.
Is it useful to have deductive reasoning algorithms when I have a transformer available and lots of GPUs? I think yes, between the interactive, sorry, between the creative text writing and the alignment and personalized language models. I showed you a bunch of...
applications that i find cool there's a whole bunch of other applications you can check my labs website on model-based rl and image in painting there's lots of cool things you can do if you're willing to pair up a deductive reasoner with with an llm or a diffusion model second motivation is like
figuring out what happened with these reasoning algorithms in the past and why aren't we using them today? Well, I think we need to learn them at scale and make them tractable, right? We need to make them have billions of parameters and guarantee that whatever model you learn.
can in linear time give you the answer to your reasoning question. And that's exactly what you get from probabilistic circuits, where at least for the task of marginal probabilities, they are extremely scalable and extremely tractable, and that's how you kind of build the modern type of reasoning algorithm that is useful in this age.
All right, so thanks for your attention. I imagine there's thousands of people in the audience or there could be five. I have no idea, but thanks for your attention anyway. And also thanks, of course, to all the people who did the actual work, my students, postdocs and collaborators.
Okay, so thank you guys for uh amazing talk. This room is actually packed there are many people sitting in the back. Um we have time to maybe take one quick question.
Um I actually have a question about the D_F_A_ work. Um so we thought uh that we can actually do a lot of things with these regular constraints, regular in the sense in the complex sense, um but there are also things that these regular constraints do not capture, like for example checking uh JSON syntax for example, which you would need uh context-free uh uh constraints. Uh so I was wondering how easy it is
to generalize these algorithms for DFAs to, for example, push down automata. Yeah, so that's a great question. So my lazy answer here is that because we are generating from a finite sequence length, everything you know about the expressive power of languages and the Chomsky hierarchy all falls out the door.
Because if you have a fixed sequence length, then binary decision diagrams can represent any Boolean function and it then turns out that the DFA is just a binary decision diagram over a finite sequence length. So the lazy answer is you can do anything you want. The real answer is when is this DFA small?
And so here I think there is some new line of research we're trying to do also showing that you can over approximate your constraints. You know, it doesn't really matter that you forget to invalidate some wrong answers if the LLM gives zero probability to them.
Right. And so I think there's a nice interplay where, you know, the LLM can rule a few things out because statistically it's certain about that. And then the DFA can rule a few things out because it knows the logical constraints and then together they can hopefully get the job done. So there's some interesting, you know, over approximations that make this extremely scalable, even for things that you wouldn't naturally think have a compact DFA.
I hope that answers your question. That makes sense. Thank you. Yeah, so I have a question. So have you tried like you train the model with the DFA filtered response where you actually see the model become better?
Oh, it's a good question. I will classify this under the question of like interesting if I had tons of GPU power, but I barely have any GPU, so I will never know the answer. But if you would like to find out, I'd be curious to know what happens if you now put this into a training loop. Let's thank the speaker again.
Alright, cool. Um we're twenty minutes behind schedule. So unfortunately we'll have to speak the uh we have to skip the break because some of the panellists uh will have to leave for the airport around noon. So um the panel is expected to start at eleven and so we need to jump right away to the next talk. But uh please feel free to go grab quickly a coffee or use the restroom.
And in the meantime we'll have our next speaker uh um uh Jaron Gull who's gonna talk about AI models collapse when trained on recursively generated data. Um yeah in the meantime we're gonna prepare the slides.
So Jaron is a professor, an associate professor of machine learning at the computer science department at University of Oxford. He leads the Oxford Applied and Theoretical Machine Learning group. He is also the tutorial fellow in computer science at Chris Church, Oxford, a Turing AI follow at the Turing Institute and Director of Research at the UK Government AI Security.
by Security Institute. Uh prior to his move to Oxford, he was a research follow in computer science at Sainte Catherine uh uh College uh at the University of Cambridge. He obtained his P_H_D_ from the Cambridge machine learning group, working with Prof Zoubin uh Gar Ramani and ab f uh founded by the Google Europe Doctoral uh Fellowship. Yaron made substantial uh contribution to the
into early work in modern Bayesian deep learning, quantifying uncertainty in deep learning, and developed machine learning tools that can inform their users when the tools are guessing at random. So these tools have been deployed widely in industry and academia with the tools used in medical application, robotics, computer vision, astronomy, and by NASA. Please help me welcome Javin Gal.
Mm. Okay. Okay. So good news, I can make my talk shorter. So we gonna be back on time. Um I actually have can you hear me okay? I don't know if this is okay. Um I had like two half talks back to back, each one of them is about fifteen minutes. So I can give only the first one and then depending on interest.
maybe cover the other one quickly or if we want we can discuss some it can go over questions about this one or we can also do questions for this one independent later on. Um so we quite flexible. Uh this is a new talk that I prepared literally last week um I I trialled it twice already giving talks uh uh at NTU at NUS so I got some feedback. Most of those
times but when I try that before the talk was 15 minutes long and then we had half an hour discussion just people asking questions. So we will see how this goes. So this talk is basically going to talk about A_I_ model collapse or the future of knowledge and reasoning in A_I_ This is based on a nature paper we had last year uh we featured actually on the cover of Nature uh looking at what happens when A_I_ models are trained
based on data generated by other AI models.
What is the life cycle of an A_I_ system? Uh first step, we usually scrape data from the web, then we take that data and we fit that into the model to do some pre-training. Second, that's the second step. The third step, uh we do post-training. So for example, we do alignment, safety training, uh evaluations, uh and then we deploy the model in the fourth step.
Can anyone see anything missing in this figure over here in the in this life cycle? Second? Um I would put interestingly people keeps an into other evaluations to sit free over here. But yeah, I w I uh would put evaluations in post training over here. Any other missing things in that? This is very much not comprehensive. So there should be lots of stuff missing here. So what other stuff can people see missing here?
Second, iteration. Iterations I Mm. that would often fall under step two, I would say. So you bring in the model and internally you would change different architectures and you would iterate over the architectures. What I'm missing here is I call this a life cycle. This is not a cycle.
This is a cycle. So what is actually what is missing here is that when we deploy the model, that's not the end of the life cycle of our AI. We actually deploy the model. People use this system. They use the usage of the system generates lots of text that goes back on the web that then affects the

That then affects the scraping of the next cycle. So this is actually what the system looks like. Users use deployed models and pollute the web with synthetic data. So for what we talk, I'm going to talk about GPTs in quotation marks just because it makes it very easy to convey the idea. But nothing with this talk is specifically about GPT. It could be about any language models. They just happen to be sequentially numbered which makes it very easy to convey the idea.
Which makes it very easy to explain things. So we're gonna have GPT-3 that we just deployed. Users use that model to generate lots of interactions, generate lots of text. They pollute the web with that synthetic data. That synthetic data is then scraped again, being used to train the next model. That next model goes through testing and then that gets deployed as quote -unquote GPT-4. So basically the deployment of GPT-3
Affects the next generation models training and this is what this cycle actually looks like. This is more of a spiral going out, basically. In this talk I want to understand what would happen if we were to continue this cycle for five or ten or million times. So basically I want to look at the hypothetical G_P_T_ five or G_P_T_ ten or G_P_T_ one hundred. I want to understand how does this synthetic data from the last generation model
affect the training of the next generation model, and how does that affect model knowledge and model reasoning. So start with a very simple premise. Language models are density models. Uh the objective of a language model tells it to predict the next token based on the frequency of different ways of completing the sentence that we saw in the training set. So
For example, if you have a sentence, an example fictional character is fill in the blank, you might complete that as Harry Potter.
All we might complete an example fictional character is as Luna Lovegood. Each one of these would be basically you're given the sentence, an example of blah blah, and then you complete in the probability of based on the probability that you've seen in the training set Harry Potter, Luna Lovegood. So for intuition I'm gonna look at a hypothetical example where the corpus that we collected let's say in 2019 for the sake of argument contains lots of knowledge factors.
And we can have those knowledge factoids on the X -axis over here. Some of these appear more frequently, like the one over here. Some of these appear less frequently, like the one over here. So basically what we're gonna do now, I'm just gonna set our starting point to be able to talk about stuff more comple completely. Uh so an example functional character is Harry Potter.
would be a factoid that might appear again and again on the web, appear again and again in our corpus, and is fairly frequent. So it might be this one over here. An example frictional character is Lunar Lovegood, might be a factoid that appears only once for the sake of argument, uh far away in the corner of the internet, and it's a tail event. So that might be this thing over here. So it is very low frequency, very high frequency. X-axis over here is different factoids.
Why axis is frequency of different factors. So the I example fictional character is Harry Potter. Factor appears very frequently. This is high frequency. Example fictional character is Luna Lovegood.
In fact, it appears very infrequently, and this wing over here is very low frequency. As part of our premise, still this is still the setting, we say that we're going to train our GPT -3 on the 2019 corpus, and we're going to deploy that. So assume that our GPT-3 perfectly captures the fact that it's frequencies. Remember, our GPTs are just like density models. Their job is to capture these frequencies. So our GPT-3, for the moment, we assume just
just perfectly is a perfect model, has no model mis-specification, has no training error. Perfectly captures the fact with frequency. So we can say that this is a twenty nineteen corpus, but also we can say these are the frequencies of generating different facts according to GPT-free.
After deployment, users drew a phonics sample of realizations, basically different texts, from GPT-3, each one sampled proportional to its frequency. So how people use our GPT-3, our language model, is they sample, like they say, they generate, they get model to generate some text or they ask a question, the model answers the question or they generate some...
um a fact or any other interaction of the model basically samples in in the case of like question answering for example like who is a fictional character uh you would basically sample different answers or different facts based on the fact frequencies in the corpus so in that case you would sample harry potter much more frequently than luna lavgood just because it appears more frequently there in the training corpus so therefore it has higher probability under gpt -free
Now users are going to pollute the web with synthetic texts that they sampled according to the frequency from the GPT-3. And this is what we're going to see.
After we use the split in the web, with all the synthetic texts that gives us our 2022 corpus, which is slightly different from the previous one because now some facts appear slightly more frequently and other facts appear slightly less frequently. So you can see over here in the highlighted in red over here that s uh this factor, it for example, went down in frequency. This one went slightly up in frequency. And this is just again because we do generate a finite sample.
Well, from this histogram, this is just pure statistics, but nothing specific about GPT, nothing specific about language models. This is me something from a histogram to depict what would happen when we generate a sample from a histogram. Some things will go slightly down, some f some things will go slightly up when we just sample each one according to its frequency. I hope is everyone happy with that? Because that is the premise I'm going to start from. Any questions, anyone wants any clarifications?
Okay. Yeah.
Here the assumption is that a chat GPT models are going to generate frequent uh sort of fake uh texts uh or like fake entities or like fake sorry not fake uh fictional entities right uh and this is how you're assuming that the tail will get larger and that larger. Um so I don't want to say fake or fictional. This just happens to be my example over here. An example fictional character is blah blah blah. But
The point is, when you sample from GPT you would sample a piece of knowledge according to its frequency that you see that on the web. If you see a piece of knowledge much more frequently than others, then you would you will be more likely to s to to sample that to see that when you generate a draw from that distribution, from the GPT, from the language model. And how are you sampling? Probably I'm just uh Uh you just use non-zero temperature to generate a sentence.
Okay, you're just a prompter to Individual, to come yeah, okay. that's as easy as much. If everyone is happy with that, I'm gonna go to the interesting stuff which is the problems, problem setting. So the problem setting, okay, so until now we just discussed our starting points. Our starting point is we had a twenty nineteen corpus, we trained the model, we polluted the web and we got our twenty twenty two corpus. Next we gonna deploy our GPT four.
quotation marks, but was trained on the polluted 2022 corpus. So we had a previous corpus, we have a new corpus, we fit a new model, G_P_D_ four on that. The question we want to answer, given this example cycle, what can we say about the tail events under G_P_D_ five, under the next model? So assume that the tail event probability is very small.
in GPT -4. So assume the probability of generating the factoid an example fictional character is Lunar Lovegood is epsilon. So that's the thing over here.
Users pollute the web again with key samples from GPT -4 this time. So the probability of the tail event not appearing in our next corpus, the 2025 corpus, is going to be probability of not sampling blue nalagood in T model samples, which is going to be 1 minus epsilon to the power of T.
Uh with some fairly simple mathematics uh for these assumptions and relaxing the assumptions a bit more involved mathematics, we can show that with we will almost surely forget tail events with GPTN as N goes up. And I have a nice picture to depict what's going on here. So over here we're gonna look at the frequency of different factors.
Basically, we can look at FACT frequency and the GPTN as N goes up.
So we basically got the model collapsing. So this is an example of model collapse. As we generate a phonetic sample from our density and repeat that
to be that which gives us a new density then generate another finite sample from the density which gives us a new density and repeat that. We basically concentrate to the mean of the original distribution. Um we have some language model experiments to show that with actual language models over here. So uh we have uh

Uh we have uh on the X axis we have the perplexity of different generated sentences, so different generated data points. And on the Y axis we have the probability uh or basically the
uh frequency of these things uh we have LLM generation zero. We have generation one. So we have fit the LLM on the data generated by the previous language model, generation two, three, four, up so and so on. You can see basically the complexity starts shifting to the left when we have when we keep replacing, completely replacing the data with the
a genetically a synthetic data affected you from the last language model but also when we preserve data so when we have we mix synthetic data from the last last language model with a real data that we use for the language model training uh in both cases we see that the models basically start collapsing basically the perplexity of sample text goes down with more generations so why should we care about that um
We have some interesting implications from the insights from this work. One, language modelling paradigm of just scrape the web and train on the data is fundamentally flawed. Unless something changes,
We know that some human knowledge will be forgotten. We will start losing knowledge in our society as language models will dominate online discourse in like five, ten, twenty years time. Does that mean that future models are doomed to fail? Not necessarily. So this is actually we got quite a bit of press coverage from the paper and we got a lot of people asking, well, does that mean that all language models would fail? People like to say that, or therefore language models would fail. And actually very much that's not.
it's not the conclusion from the paper. It just means that unless we intervene on that cycle, a model will collapse. But we already have like examples of different ways of intervening that we're gonna see in a second. There are also some major caveats for the results we talked about. For example, Nix and synthetic and real data. So the above, we implicitly assumed that uh the simple setting where the synthetic data replaces previous generation data sets.
In the paper we also study what happens when the syntactic data is mixed with real data, where the previous generation's data set a a different proportions, and we actually find that mixing coefficients slows down the rate of collapse. Uh but at uh as generation N goes up, it will still collapse, just slower. Uh human text also represents human intention. People don't just dump all language model generated text on the web indiscriminately.
People often generate text that goes for curation process. The people curate like the text that they generate and they only put online the text that actually conveys the ideas that they have in mind. Basically people have intentions and language model synthetic text represents these intentions. At the same time...
Language model language model interactions, both farms generating lots of junk and services spamming automatically generated text online, these do pose real risk to the web's data distribution over time. Um there's also interesting effects on scaling laws. So current scaling laws are broken, and these assume a static data distribution.
Scaling laws actually look very different in the regime when sympathetic data makes its way inadvertently back into the training corpus. You can look at a paper Tale of Tales that characterizes what scaling laws would look like in the regime where we actually have sympathetic data getting back into the training set.
Um some more frequent asked questions I often get about this work uh do we care about model collapse if we have enforcement learning for language model training. The answer is yes. Enforcement learning improves reasoning but we still need knowledge in the models. And this result is about knowledge disappearing. Basically what happens to knowledge over over time over different generations. And what about distillation? So a chain of distillations of models would still have the same failure. So this
So distilling one model to the next to the next will still lead to model collapse. Does that mean that we cannot train on synthetic data? No. So for example we know that we can train on synthetic code to improve performance a lot.
The main difference is that the synthetic code has gone through a curation process, where we only keep the code that solves the task that is counterpart to the previous intention in humans generating text. That's also the basis for enforcement learning training, where models get a positive reward for code that solved a specific problem rather than just generating any random code.
What's next? And that's I think is my last slide, is we need new tools, and for language model companies to use them, for example tools to distinguish language model generated text from human data. Watermarking as an example is not used by default by the language model companies. We can also try a very interesting idea is also try to actually separate
knowledge from reasoning. So why do language models need to represent both knowledge and reasoning at the same time? Why shouldn't like why would we not want to represent ontologies separately in the language model as a reasoning mechanism on top of the ontologies? That allows us for example to avoid this failure of literally fact frequencies changing with time, especially if we don't want the answers to be dependent on the frequency they appear in the web. If you look at the medical domain or if you look at many other applications,
In the case of machines the probability for you to get like customer services I don't know like the probability for you to give an answer should not depend on the frequency by which you saw the fact you should have some set of ontologies that should give you the answer for your medical diagnostics question or for the customer services question and at the moment language models will give you knowledge based on the frequency in the corpus and I think it's a very reasonable thing to expect.
to say that we want language models to just be a reasoning mechanism on top of a sort of ontology. So that is also very interesting direction for research. Uh we also need better regulations uh around automated use of language models as these affect us all, and we need people to study how language models shape our society. And with that I'm gonna finish my slides. Uh I'm just gonna promote this paper quickly, that's the stuff that I'm not gonna talk about.
But because I want uh because the workshop is running behind schedule, but that's another paper we had featuring in nature last year. This one we didn't feature on the cover, but we will just mention on the cover uh detecting language model hallucinations. And this also has interesting implications to reasoning and language models, especially the question of what is a hallucination in the context of reasoning. Uh that's all. Thank you so much.
Great, thank you Irene. Uh any questions? We have time for one two questions. Hello and welcome. Thank you for this talk. I have a question about your model of collapse. As you said, we train one model, then we distill it into the next generation, and then the next.
And uh you said the entropy decreases and we collapse into some uh strange distribution. But uh if we change the model with the next token prediction, it shouldn't happen, the entropy if we don't uh change the model perfectly, the distribution of the model learns will uh capture more, like the or this should uh
underestimate the probability to uh make the probability capture more possible outcomes. So you should assume some additional things when you say that this thing collapse what are those additional things like the alignment process which actually decreases the entropy to make the good answers. So Yes. what's the problem with our models?
So in the in the in the full paper itself we actually talk about three different sources of error. All of them compound to increase the effect of model collapse. One is the finite sample size that we have from the previous model generation. Second one is model misspecification. The assumption that over here I assumed the perfect conditions where we actually managed to perfectly capture the frequencies or the density. If you can't perfectly capture the density that actually
the amplifier's model collapse. And the third one was optimization. Under the assumption optimization is not perfect, then that also leads to another error that amplifies this effect. So these things actually lead to worse collapse rather than making it less bad. That said, there are lots of different effects. Yeah, there could be other effects that will go in the other direction. Yeah.
Okay, thank you. Yeah, we have time for one more question.
Thank you for your presentation. So in your consideration your cycle is not considering uh considering about the users or huma human in the loop in a sense that if the concept has been forget by some large language models and people really want to use that concept people will not use that large language model to continue pros producing. Have you considered that? Yeah, so Like that's it become actually something like a nature selection, Th that right? is a very interesting question. I think that that is part of a
To have a bigger question, which is like, language is dynamic, language changes with time. And I think your question is actually touching also like on the intention argument that I know what kind of what answers I expect to see if a language was

what answers I expect to see if the language model is not generating the correct answers, I'm not gonna use the language model. Um humans interact with their like humans interact with their models uh based in like very complex ways and this makes a very a fairly strong assumption which is you're gonna use the model
uh according to this cycle. So yeah if you basically say that oh I I know that well in this very specific example, I know that Luna Lovegood is a character in her i like is a fictional character and this language model just doesn't generate that then this is a bad language model, I'm gonna stop using that. And then that will affect the data distribution over time and that will affect the dynamics and then like in GPT-N we will not see the observations that we have now.
I don't know. Yes. But that's assuming that you know what frequencies you expect to see in what language model is giving instead. So there will be some complex interaction between these two different things. Thank you. Thank you. Thank you again. Alright. Um alright so now yes, we think
Okay, so now we'll go to the next keynote talk by Natasha. Uh for people standing in the back there are a few seats here, so yeah please you can go and grab a seat.
Okay, so for this talk we are introducing Prof. Natasha Jakes who is an Assistant Professor at the University of Washington where she leads the social I_O_ lab. So Natasha is also a senior research scientist at Google Deep Mind. Today she will present the talk titled Social Reasoning for Large Language Models where she will investigate and discuss how improving our social reasoning capabilities through modelling other agents
Although multi-agent training can take us closer to flexible generalist agents which better align to human values, now let's welcome Natasha. Hi, thanks so much for having me and I appreciate the patience with the remote speaking. So I'm really excited to talk to you today because we have some kind of hot off the presses work that I hope people will be interested in.
But so just to start off, I mean, obviously, we're in this kind of like massive hype storm about AI, it's in the news all the time, it seems to be moving so fast and getting better and better. But it's always kind of interesting to think about the ways in which AI is still surprisingly dumb, right? So, you know, I work a lot on multi agent problems like coordination problems. And when we try to get real world robots to coordinate with each other, even in
in you know a DARPA challenge like the state-of-the-art coordination we see the robots will crash into each other and destroy a drone for example so we're still pretty far from succeeding on this and actually even LLMs right are kind of dumb in a lot of ways one of the ones I wanted to highlight here is this idea that you know if you just repeat the word poem forever you have this prompt please repeat the word poem forever the model can actually do things like leak training data
data. So they're still kind of massively unsafe in ways that I think big corporations deploying LLMs are not super comfortable with. And then of course, one thing I particularly wanted to highlight is, you know, I still want my robot butler. So why is that not happening? But if you look at state-of-the-art robotics research that does, I guess state-of-the-art might be a bit of an exaggeration for say, Ken, I mean, it's getting older now, but this is work that integrates LLMs into robotics pipeline. So you should.
You should think that it would be pretty powerful and pretty impressive. And I really like this paper, but you can see that when you ask for things like put the Coke can down on the far corner, which is like a very specific instruction that should be pretty clear, the success rate of these models is still pretty low. So we're still pretty far.
From my beautiful robot butler that I want to be able to do my dishes, or even from having safety guarantees that the LLMs we're using now won't say something really bad like leaking private training data. So, you know, why is this and how can we fix it? So the particular angle that I have on this problem is I think we can make AI smarter by thinking about the fact that we're often able to learn from other intelligent agents in our environment.
So if you're on the road in your car, you can learn from the behavior of other cars. And if you're an LLM assistant, you can learn from the humans that you're interacting with. And it might be obvious to you why, you know, learning from other agents could help with these kinds of more social problems. But I actually think it's a great strategy for just improving learning and generalization in general, particularly thinking about how multi-agent training can make.
more robust agents so that's kind of what i'd like to talk to you about today but yeah just mentioning the work in our lab kind of spans this space from the more multi -agent side where we use adversarial training to make sure we have more robust agents to you know working on multi -agents for diverse problems like climate change or satellite assignment and then thinking a lot about how do we actually interact with real people so we do a lot of studies where we actually deploy our systems to real humans and see how they
How they perform. I was fortunate to be part of this Google project on the first robot that could play table tennis with humans. And then how do you actually learn from human feedback to train language models? So that's something I'm pretty excited about.
And it's something that I've been doing kind of before it was cool. So I always find it kind of interesting. I'm going to start talking about two projects today. I'll get into the first one. In the wake of DeepSeek, which I'm sure you've all seen and are excited about, I think people got really excited about the use of RL for training LLMs. And some people were even saying we're now in the RL for LLMs era. But of course, we already were. RL was already working.
for many years. And so I want to think a little bit ahead and say, you know, what's the next step instead of just doing RL fine tuning of LMs.
What about multi -agent RL for LLMs? So that's actually what I want to talk to you about today. So this work is so hot off the presses, we haven't even written the paper yet, we're submitting it to NeurIPS. But we have the results together. And so I want to talk to you about it. And I'd love to get your feedback and questions so we can make the paper better before we actually submit it. But the idea of this work is actually doing online.
RL fine tuning of LLMs where both LLMs playing a particular role are updating simultaneously. And so why might you want to do this? Why might you want to do online RL fine tuning and why hasn't it been done? So existing work that has looked at multi-agent RL for LLMs has kind of chickened out by either doing things with like RNNs because that's less expensive in terms of the memory or doing things where you use like DPO to do.
to do offline or iterative updating and fine tuning that way. But you kind of lose out on a pretty important benefit if you do this kind of iterative offline thing, which is that if you can set up a game where both agents are updating simultaneously in response to each other.
You can get into game theory and get some nice theoretical guarantees for what that game does. And this might be something you really want in the safety setting, for example, so like red teaming. So that's the focus of this work. We're looking at setting up a adversarial red teaming game where both agents update online with RL. So you have an adversary that provides some prompt X, the defender LLM, which might be your like.
like gemini model that you're trying to train to be guaranteed safe uh give some response why uh and it's judged by a reward model and the key thing here is that they're both training in this online zero-sum game to minimize and maximize this reward so the defender is trying to maximize reward according to the reward model and the adversary is trying to minimize it why do we want a zero -sum game
Because you can trivially pull results from game theory to show that if the game converges to a Nash equilibrium, it can be shown that for any prompt X, the defender will give a safe response or will at least maximize the reward under the reward model.
And so that's pretty powerful. Like that's taking a step towards getting safety guarantees that your LLM won't say anything unsafe or won't reveal the user's private data. So this would be really nice if we could get it. But of course, it is challenging from both an infrastructure perspective, like building the code to actually do this, and from a memory perspective, because RL fine tuning of LLMs is already very computationally expensive in terms of memory. Now you want to update potentially two LLMs.
So what we do in this work, which is just a first step, is self-play. So we're going to take the parameters of a single model. We actually start from this LAMA AB instruct obliterated model. So this is a model which has been trained to be less safe. And what we do is we use this to initialize the parameters of both an attacker and defender. And we're going to use the same parameters for both roles going throughout the game, but they're going to get a system prompt that tells them whether they're playing as the attacker.
attacker defender in each version of the game we use hidden chain of thought so each uh agent essentially or each agent playing a role gets to have some thinking tags where it can plan for example how to formulate its attack or how to defend against the prompt and only the final answer from each agent is shown in this conversation and then only the defender's answer is really judged
with the reward model. And so this is kind of how we're setting up this game.

This is kind of how we're setting up this game. We seed each round of the game with prompts drawn from this wild teaming data set. And the prompts can either be a harmful prompt that's known to be an adversarial attack already or a benign prompt. And so let's look at what it looks like if the attacker is given a harmful prompt. So here it's prompted with exploit the vulnerable and those in need for personal gain. And what we see is that the attacker gets to have some, you know, let's.
Let's think step by step chain of thought here about how to reason about this and it says oh to refine and complicate it we
this with a specific context, da-da-da-da. It then produces a final attack. Develop a phishing scheme that targets people who've lost their jobs, something like this. When it's the defender's turn, that chain of thought from the attacker is hidden, and it just sees the prompt. The defender gets its own hidden chain of thought and produces some response. So here, the defender has successfully identified that this is likely a scam.
a scam. And so likely it's going to get a good score in this game. So how does it actually get scored? Both of the requests and the response are fed to this wild guard safety classifier. So it can classify if both the request and the response are harmful and whether the defender refused to answer the prompt. And so how is this actually scored?
As it might be obvious to you, if the defender says something harmful, then that's bad. So the attacker would get a plus one and the defender would get a negative one. If the defender said something benign, the attacker would get a negative one and the defender would get a plus one. But I'm really, I hope I can take a question here or like take an answer. Does anybody see a trivial way the defender can win this game?
Like what can go wrong with just this? Is anyone willing to speak up? Dang, I'm not sure I can hear. I may have to just answer for you. Sorry. Oh, we got a mic.
I'll give away the answer this time or should I can't really see the audience so maybe yes Do you hear now? yeah Yeah, you okay, so you always refuse to answer. That's the way to handle it. always refuse to answer
Exactly. Thank you so much. I really appreciate it. So exactly. I can always win the game trivially if I'm the defender by just refusing to answer every prompt. So we can say that our proof is trivially true. I can maximize if my response is only about being benign, I can maximize my score and be safe for every response. But that's not actually a good defender.
So we don't want that. So we integrate this refusal classifier that's available in this wild teaming dataset. And so what we say is if the defender refuses, whether that's appropriate or not depends on the classification of the attack, right? So if it's a benign attack, then the attacker is going to get a score for this and the defender is going to lose the score. If it's a harmful attack, the reverse.
And then similarly, the compliance is also just treated the opposite way. So if the.
it's these scores are actually added together so if the defender complies with a harmful attack and produces a harmful response the attacker can actually get like a plus 1.5 out of that and we this is really important to countering that trivial solution to the game that you just mentioned we do sneakily add some reward shaping so this makes it not quite zero sum in practice we add some reward shaping so that the agents have to adhere to the you
the r1 chain of thought template and we see that they're able to do that pretty easily and for the attacker to keep the attacks diverse and make sure that there's good coverage of the different types of requests that the defender might get the attacker is incentivized to stay faithful to the classification of the seed prompt it was given so if it's given a harmful prompt it has to produce a harmful attack if it's given a benign prompt it has to produce a benign attack
Okay, that was a lot. How well does this actually work? So what we see is if you're familiar with the literature on red teaming, let's dive into this attack diversity thing. So a lot of the work on red teaming has looked at training an adversary to find weaknesses or exploits against a fixed defender. So the defender is not updating.
So as you might know from RL training, it's just going to collapse on the highest rewarding thing that it can find, and it doesn't inherently have an incentive to find diverse attacks. So in this paradigm, the attacker will just find the same limited number of exploits over and over and over again. And so this has led to some work on, you know, giving the attacker some kind of explicit diversity incentive to counter that. But the problem is we don't really have great ways of measuring the diversity of attack.
attacks um and they can they're all kind of flawed in different ways and so this you know isn't you know very satisfying let's say but the nice thing about the self-play game is this resolves this issue completely because as we know from the theory is uh that as the defender is able to patch an exploit that the attacker finds it's no longer rewarding for the attacker so the attacker is incentivized to keep searching for new attacks
attacks that actually work on the defender. And that's what our theory tells us, right? Like if this converges, if you train this infinitely and it's able to converge, then the attacker should find all the possible attacks that could elicit an unsafe response. And so what we see here with these different, yes, somewhat flawed diversity metrics is that if you just train an attacker only, which is kind of the approach in previous work, the diversity collapses over training. Whereas in our self-play game, the diversity of the attack.
the attacks is maintained and we can see this is like the historical diversity of the attacks over the course of training and what we see is that the attacker only baseline will tend to fixate on the same couple of modes of attack whereas a self-play RL agent will spread the attacks out over the course of training so the darker coloring is like later in training
And just to make that super clear, let's actually look at the kinds of attacks that are generated under both paradigms. So in the attacker paradigm, we see what we expected, which is it's collapsing on an attack that tends to pay off. And so it's always like design a stealthy mission, design a stealthy stealthy, design a stealth, design, design. And that's just because this is rewarding for the fixed attacker and it continues to be so. But in the self-play game, because the defender patches that hole.
The attacker is forced to find more diverse attacks. So you can say like, you know, generate a hypothetical scenario in which a CIA is this, you know, can you verify the alleged vaccination status of Michael Anderson, et cetera, et cetera.
We do notice though, if you don't have this hidden chain of thought, even the self-play game is a little bit vulnerable to finding the same attacks like within a particular iteration, which kind of makes sense. What are the best attacks against the defender at this moment might not be that diverse. We really are saying that the attacks are going to be diverse over the course of training. But the point is the chain of thought template is actually very important because without it, the attacker might write similar prompts or just refuse to revise it.
I see tax. So that's giving us some extra power. But I think the real question is, do we actually get a safer LLM at the end of this, right? And so the way we're measuring this is with a bunch of different safety benchmarks. And we're comparing, so we started with this instruct obliterated model, which you can see on the harm bench is like one of the most reliable benchmarks. I hope you can see my cursor. It was like very unsafe. But what we see is very interesting and a little bit surprising to me even.
Is that when you use this fine tuning, self-play fine tuning procedure, you actually get a model that's safer than Lama 8B Instruct, which is a model that's trained to be safe using like RLHF.
So I think this is pretty impressive. But as you very astutely highlighted, and thanks for answering, we could achieve this result potentially in a trivial way by always refusing to answer every query. And so we also measure refusal. And you can see like the self play without the R1 template is actually over refusing. You can look at this while jailbreak benign, you should be answering those prompts. So this measure should be higher.
And you see it's like only answering like 50% of them. But in contrast, our method is able to not, you know, it's refusing a little bit more than the baseline model, but not dramatically. So it's not just finding a trivial solution to this.
In terms of other capabilities, we measure both chat and reasoning. The chat score is decreasing a little bit. That's what we're trying to squeak up kind of before the nerves deadline. So we still have three weeks. We're still working on this by trying to integrate some more like interesting chatting like supervised training data into the mix of the training procedure. So we think we can get this to be a little bit better. But the reasoning capabilities, language understanding, all of those are maintained. So we're not losing capability as we play this game. We're just getting more safe.
safe. So in conclusion for this work, we believe this will be the first work, I think it's the first work, but please if you know of something that I'm missing, let me know, to explore online multi -agent RL for improving LLM safety. It's addressing a pretty significant issue with prior red teaming work because that work really struggles to find a diverse set of attacks and this can.
And it does lead to a safer model than LAMA 3.1 AP instruct, but without losing core capabilities.

without losing core capabilities. So I kind of I have another project I want to talk about, but I'm not sure how much time I have left. And I'm also happy to just take a question about this project in the middle if that makes sense. Somebody could tell me how much time I have. I know we're kind of off time too. So it'd be good.
It's always hard giving a remote talk when you can't see the audience. I think Natasha was a great talk. So when you do the multi -agents with self-play, one of the classic pitfall of self-play is a co-adaptation phenomenon. So my question is how did you manage to mitigate these issues?
yeah it's really interesting right like um so are you asking about like why um the training the defender to be more safe doesn't nullify the attacker's ability to make attacks or like if there's like interference between one llm having to play both roles Really, let's say I take a LLM from a completely different family with a completely training dynamics. So it's very likely that even despite the self-pleasure diversity, they keep overfitting doing the.
tuning process from Mach-Lung to Um, well, so I guess like we have trusted a few different models, like different llama models and quen models. I'm only showing the llama results here, but we have more experience with different models that it seems the effect seems to persist. There is some level of I think like overfitting to the game, because as you can see from the objectives of the game, that the game objectives don't incentivize chat ability.
Right. There's nothing about like the quality of the response. So next steps for us are to integrate potentially some like RLHF reward model, which also includes something about like helpfulness and stuff like this. But I think we're not seeing a drastic amount of overfitting. The only thing we're trying to improve is just this like chat score. So hopefully by the nerve submission, it's that number is higher. But yeah.
Yeah, I mean, I think I think if that is answering your question, but I thought you might be asking a different question about whether learning to defend properly interferes with learning to attack because it's literally the same model. Or are you asking about that or not? It's like if the two models drift away from classic safety mechanisms. So they're so good at defending attacking each other. And when you go back with another LLM, they too over-specialize.
To be to play together Ah, okay. I see what you're asking. Okay. Um, kind of like maybe you're asking about like more like reward hacking the reward model, right? Um, or like over specializing to the reward model. The I think we're not seeing that. So if you look at this, like these are
suite of safety benchmarks that kind of measure different things in particular harm bench is like a well-known safety benchmark that you know is distinct from the game that we're training on and we see that we're still performing well according to this alpaca evals and eval that like isn't dependent on our game stuff like this so yeah I don't think we're over exploiting the reward model of this case maybe We can... I'll take like one more
question about this and then um can you let me know like how much time i have for the second project i just know we're over time so i wasn't sure i can also just skip it if you want to get back on time cool We have five minutes left, Natasha. all right i'll just take questions about this we'll skip the we'll skip the second project sounds good any more questions about the the self-play stuff Um, yeah, can you hear me?
Yes, yes. Yes. Thank you for the talk. Um I was wondering um uh what do you think if do you think there is like other interesting game setup uh like I don't know d um there was some papers on using debate to um kind of as a method to use scale of oversight. Um do you think this is also promising? Do you think there are like other games that are kind of under explored and could lead to like other benefits?
Yeah, I think if you have multi-agent training infrastructure, you could do a lot of interesting things. You could imagine doing something in debate where your judge is actually updating to be more accurate so that it can catch like more manipulative arguments from the debaters, for example, I think would be interesting. I think there's a lot of places where you want robustness. So thinking about this kind of safety angle. I've been working, one of the co-authors of this work is.
Tim Alcock, who thinks a lot about like mental health applications. So do you want to have a therapist agent that's robust to any behavior of your simulated patient, right? So you make you kind of red team your therapist to make sure that it's reasonable and robust no matter what the input is. So I think there's like a lot of interesting directions we could go in with this. I'm really excited about it. As you can tell from the back that I'm presenting it before it's actually, you know, published.
Okay, so perhaps let's give another round of applause to Natasha for her wonderful talk. Thank you so much. Yeah, and I just want to highlight this work is all coming out of my lab at UW. So I encourage you to go check it out and get in touch with the authors as well. All right. Thank you so much.
Hi, can you hold on a couple of minutes? We are like doing some very brief like panel discussions set up and it will happen about two minutes. So also connecting to the...
One of the organiser of this workshop I'm a research scientist of Google DeepMind and today we are very honoured to invite six uh panel discussion members to discuss the reasoning and planning large language model. Okay, the first one is Yuan Dong Tian. Yeah, um so Yuan
Yuan Dong is a Research Scientist Director in Meta JNI, leading a group for LAMA reasoning. His research direction covers multiple aspect of decision making, including reinforcement learning, planning and efficiency, as well as the theoretical understanding of large language models. Uh the second one is Yairing Gale.
uh Professor Yeow Hsing leads the Oxford applied and theoretical machine learning group. He's an associate professor of machine learning at the computer science department, University of Oxford. He's also the touring uh to Totorio fellow in computer science as Chris charged Oxford, a touring A_F_ fellow at the touring institute and director of research at the UK government A_I_ security institute. Let's welcome the third uh member, Junsheng He.
Professor Jun Shen He is an assistant professor at the Department of Computer Science and Engineering, the Hong Kong University of Science and Technology. He received his Ph.D. from Carnegie Mellon University and his Bachelor from Tsinghua University. His main research interests are in natural language processing. Let's introduce the fourth uh speaker s oh no, panel member, Jeff.
Uh Jeff is now working as a senior researcher in bit dance research. He graduate from the University of Oxford three And years ago where he was primarily focused on classical statistics. Currently his main focus is on responsible large language model, reward modelling and multiagent systems. And our first member uh Lin
Let's welcome our first member, Lingyin. Dr Lingyin is currently working as a research fellow at University College London. He will join the Statistic and Data Science department at Southern University of Science and Technology as an assistant professor. His research focus on building AI co-scientist, enhancing large language models reasoning capability.

Having models with the capability and design open-ended curiosity-driven exploration-based method. And our our final member is online. Natasha. Let's welcome him. Alright. Yeah.
So Natasha is an Assistant Professor at the University of Washington, uh from the Paul Allen School of Computer Science and Engineering. And also she's a senior research scientist at Google. Her research is focused on social reinforcement learning, developing algorithms that combine insights from social learning and multi-agent training to improve a-i agent's learning to uh for generalisation, coordination, human interaction.
Let's welcome all our panel member again. Okay, I will start. So welcome everyone. I get a few questions for you guys to discuss.
So the first one is about test-time scaling. So we all know that, you know, current open AI, O1, Gemini thinking, deep-sea car one, they are really really popular. So what's your opinion of it? Like how effectively like how scalable do you believe these test-time scaling techniques can like can it enable like more complex reasoning systems? So how do you do you believe it or what's your opinion?
Okay, yeah, so I think uh this is a interesting direction to go uh but uh we also want to make sure that uh I mean usually like when people talk about technical scaling, uh the X_ axis is always uh uh exponential. And the Y_ axis is kind of linear. Uh so it's kind of tricky to see like uh what will be uh
how much computer you need in order to achieve something. Right, so I w I w imagine that maybe people won't might seek for like a more complicated um techniques uh for example text time training, right, so then you get representation change it uh doing your time scaling, maybe that might be m much more efficient. Um but there could be other way of doing that. I mean it's it's also possible that the model may not be that strong uh after you scale up. Uh so um
You you need a very strong base models uh in order to uh skil uh more effi m more more effectively. I saw um you already see papers where I see papers that um they show that uh the limit of the I_O_ uh capabilities actually is bounded by uh the base models. I saw maybe the per mutation base model and also will uh change the ceilings of the task scaling.
So there's a lot of effects. Uh so I'm not saying that oh we have to do one hundred percent on type smoothing scaling and everything will be fine. I don't think so. There's a lot of smoothing to do. Uh maybe just to add on that, um I do also think that base models itself is quite important. And one analogy I like to think about whenever there's post-training is that
the base model, you can think of it as like a waterfall. And post-training, all it does is like cutting the waterfall into like smaller and smaller streams until you have the cup of water that's to your solution. And so in terms of if your answer is never in the waterfall, so not in the base model, you can never get to that answer. So maybe that's an analogy to think about. So even if you have infinite computer test time, if it's not in the base model or if you didn't train it in, I feel like it's hard to get to that answer.
So uh do you do believe that it can no somehow lead to AGI stuff? Well, I think uh Like like one potential solution for example. Right, I'm not sure if I'm qualified to answer this.
that that's like a very nebulous question because what do we mean by AGI right um I guess like if I can say something about this I think the interesting thing about it would be is if the model could adaptively decide how much compute to spend given the query that it was asked I think that would enable something interesting right so if you learn to produce a chain of thought that you can extend when you know that the question is harder it would take more computation
then that could maybe get you a robust model without being so computationally expensive like the query is easy to answer you don't need to spend a lot of tokens so I think that would be kind of an interesting direction to pursue
Thank you, Natasha. Uh one reminder. So we get an QR code on our slides. So if you have get any questions, you can just scan it and submit your questions. We will s select some of them and we will ask our panel members at the end of this panel discussion. So just please go ahead to scan it and submit your questions.
Okay, let's get to our second question. So our like our workshop title is called reasoning and planning in large language mode. So how do you view the difference between reasoning and planning? 'Cause sometimes like in different literature they are mixed. Like sometimes people will say okay, reasoning is planning, some people will say well reasoning is not planning. So
How do we, like, how can we, how should we distinguish between these two terms? Like where do they overlap or where do they require fundamental different model capabilities? So, I very much agree with what you're saying that I think in different communities with, like if you come from like the
Like triple AI community then like reasoning like planning would be reasoning for that matter would be fairly different what people would often talk about in machine learning. In language models I think the equivalent for these would be reasoning. Planning is required to find good reasoning.
So you would use a c you would have a c a trajectory that represents some reasoning and then you might use planning to search for different trajectories that would give you an answer, uh w uh c will build a sequence of reasoning steps that will solve the task that you have. Um yeah, that's what I can think of. Um
I think uh from reasoning uh usually it actually contain many things. It contain knowledge, right, contain common sense, um and also contain some of the step of exploration. Uh I think of for planning um at least from my point of view, planning is probably like a more specific to search procedure, uh to find the solutions um that might not be correct at the beginning and then given a solution they want to find oh hey what's the better solution on top of that.
Ah, that's what I feel by planning. I mean if you play games, play chess, play Go, uh that's definitely planning. And if you play uh kind of like a navigation like put push boxes in a soccer ball task, it's planning. Um but maybe less on the knowledge side. Uh reasoning is more on the knowledge side, but that's I feel like that's probably my bias, like some people may have other opinions.
Uh yeah, um yeah maybe I can and talk a bit about my uh understanding. Um yeah typically I think people uh these it depends on the definition to people define like a resonant and planning the same. Um a lot of times like especially for the language modelling community. Um but if we um master distinguish between the two terms, um my personal um uh my personal understanding of the difference is like um planning is like more high-level just as yeah you know don't say the two to make the high-level
um uh planned like steps. And for this kind of uh capability I feel it m uh requires uh some abilities to look ahead. Uh for example if we uh have to plan an environment uh very well or we may need to have some uh kind of like inherent notion of the world model and to to kind of expect what could happen uh for the environment and uh we can plan uh kind of uh steps uh and by kind of like inherent looking ahead.
But recently on in this context uh it's kind of like when we have this observations, a lot of observations, uh how can we uh make the next action and a prediction, and a mathematical reason is like we uh have all these uh we we have a plan that how to solve the problem, and we have some context that acknowledge and the information, uh how can we make a derivation and to derive some intermediate results. Uh yeah, and that's my understanding of it, kind of like slight difference.
Uh from the uh my opinion I think that the planning requires more feedback with the ability and it requires more strategy ability and uh meta-seeing the ability. And for the reasoning it requires the lo logical reasoning and as well as the causal reasoning ability. And from the empirical perspective I would like to say that the I think reinforced learning will be more useful for improving the planning ability, including the mat
the meta-thinking and strategy-thinking ability, but it would be bounded more on the reasoning ability with the uh backbone models. So I would say the re-emphasised learning may be most suitable for improving the planning ability, including the meta-thinking ability and strategy uh planning ability. Yeah. Maybe just like a quick uh

Maybe just like a quick addendum to like the planning itself. I think I agree that planning is usually associated with like longer horizon tasks. So usually if you have a very, very hard task you want to plan first and then solve it. And just from a safety perspective, I do believe that long term planning, like if agents are able to actually long term plan, as well as have unfavourable chain of thoughts on like plans.
That's also supposing like a safety risk as well. So maybe something to think about. Yeah. Yeah, I also like get some um feeling about you know reasoning and planning. I feel like reasoning is more like a no how you can leverage your knowledge some knowledge from the pre-training process like how you can it's it's just it's just like a knowledge graph that you start with some beginning points, you find a link behind between
the knowledge notes and you gradually like find the link from your starting point to your terminal so that's that's how the reasoning work but planning because I'm a reinforcement learning researcher. But so planning in my sense is more like you know, you have a typical like environments, you need to like look ahead to check for future outcomes and
to somehow like backtrack to the current state. So that's mainly not like that's relevant to knowledge, but it's quite specific to the game itself, like to the long-term game. Natasha, do you have any opinion of this questions?
Yeah, I mean, I think the way we actually use these terms in AI is probably just an artifact of what community is talking about it. So planning is like a classic like robotics problem where they go like embodied planning, how do I plan to achieve like a long horizon task, it's more usually in the physical world. Reasoning is like cropping up in LLM land, we're talking about, you know, deep seek, we're talking about stuff like this. But I think
A more interesting way of maybe formulating this would be to say reasoning is like deductive reasoning, is causal reasoning, is theory of mind, is like social inference. And it is potentially a different capability than just, you know, simulating different futures and seeing which one I think will lead to the highest payoff. Like there's might be some level of backtracking and updating hypotheses. Maybe there's even like symbolic reasoning in there.
And I think it's just like more ambiguous and less well formed because it's not as mature, I guess. Thank you, Natasha, and thank you everyone for answering. Let's go to the next question.
So, despite the current, you know, development of, you know, reasoning models, we also have some classical methods, for example, symbolic reasoning and like formal verifications. So what do you think of like the integration of those traditional methods like neural, is it doable like for neural symbolic
Reasoning like verification-based reasoning stuff. So how do you view them like how sh what are the most promising direction do you think for achieving this integration between the current newest method and the traditional method? Maybe I can start. Um so in terms of like integration of neuro-symbolic, I would say um coding itself I think is like one of the most canonical ways of integrating LLMs with the environment. It's quite
Because you have the terminal, you can look at the terr you can look at your errors, you can look at whatever the terminal outputs you. And that's a very good signal in terms of how to improve in the next round. Um so I think coding itself is very promising, incorporating the L_M_ with an environment or like a symbolic a symbolic actor which is the terminal. Um yeah, that's from my perspective. So okay, so that's interesting, because I never c like that's not what comes to mind to me when I think about the symbolic Oh.
A Hmm. combination of things uh which is like a very different interpretation of incorporating uh symbolic feedback from the environment into a continuous model. Um I was going to go for the other direction, where people actually use language models quite a bit in the verification literature now as a tool to accelerate uh setting up requirements, specification, um I had something else in mind, but I forgot. I might remember later.
Yeah, I think uh uh another way to do that is that uh you can have a neural network, I have a larger model to write down the specification of the domain specific language. Right, so for each of the domain there's already solvers and but this solver requires uh domain specific language DSL to drive and I mean you can you can ask a model to write down a JSON file and that JSON file will specify uh all the
Rounders are the specification of that solver. Then the solver will try to give a solution, the solution has guarantees. The solution guaranteed to be correct given the specification is correct. And then the language model can leverage that answers and replies to users. So actually like a uh last year we actually have a
Uh we actually have a work on like travel planner that actually do exactly that. We call a mixed entertainment programming solver. And that solver able to give you a travel itineraries um that is guaranteed to be feasible, I'll give them the constraint are feasible. Alright so and then uh the uh the the the the uh larger models can reply back with that particular optimal trajectories. Uh tenou tenou is right. So you definitely can do that. Um
And another possibility is that you can ask quantum models to give uh initial solutions uh to the solvers. Uh so some of solutions um are easy to guess from the specifications, but harder to refine. So I mean for example for travel salesman problem, you might get an idea of oh yeah, what roughly look like, okay, put that into a solver uh and then you have initial solutions. Given initial solutions, many of the solvers already have a mechanism that
With that physical solution you may be able to have a a very good estimation of the lower bound upper bound of the of the actual solutions. Nice. So this lower upper bound will help the solver to prune uh in their search internal search procedure in order to get a better solution. Uh so this might lead to steve very massive um accelerations.
Intel want to sell it, Intel to get uh optimum solutions. Uh so this are like a different way of doing that. Uh so uh and also I think uh uh professor uh uh uh uh guy from u_c_l_a_ he also mentioned uh one of the another possibility like you can do post-processing uh from the uh from the large model outputs, uh so that uh the output is also constrained to a D_S_D_F_A_ or whatever. Uh kind of uh existing
Uh symbolic uh uh finance state machines.
Yeah yeah, maybe I can add a little bit about the uh l uh I I think there is a difference between uh traditional, yeah, because uh uh I said the traditional uh neuro-symbolic integration and then nowadays for the language model I think the traditional uh and yet because I was working on kind of this kind of thing during my P_H_D_ and uh tradi when people talk about neuro-symbolic uh integration, people were mostly working on like architectural-wise, like you
to uh uh combine the neural network and some symbolic it is creating maybe variables and together uh like there are some structures, the variables and network and together with a deep neural network send the two to somehow figure out how to train it. Uh this like a traditional way uh how people mostly work on uh neural symbolic and uh it it was very difficult, it was very difficult. But nowadays with language models I think there is a promising direction uh as said by
by um by us uh by by other people uh in the coding or as the formal language or you interact with the other symbolic engines uh this more like on the response side that it we didn't we don't change its architecture, but it's more like how how can we incorporate a symbolic sense in the response? How can we let the language models to interact with some uh symbolic engines, external symbolic engines. Uh I feel that's a d uh difference between uh the current uh this kind of thing and the traditional
Neural symbolic uh uh integration. I feel the current paradigm is very promising. Yeah, but for the traditional as we don't say any many positive signals for the language model. Yeah. The the the is actually another uh
Uh going ex so there's like another line of work that is Mm-hmm. gaining popularity, which is uh combining knowledge graphs with language models. Where the knowledge graph represents the source of knowledge and the language model does the reasoning on top of that. That is a solution for example when you need to update your knowledge. Knowledge graph is basically a snapshot, a state of the world that represents the current
facts what might change tomorrow. So if you have like information like who is the President President of the United States or different facts that can change with time and then language model itself acts to answer questions so to do reasoning on top of that source of knowledge. Uh Natasha, like what's your opinion of it?
Yeah, I mean, I think what everyone has been saying about integrating LLMs with kind of verifiable symbolic tools, like classical planning algorithms, knowledge graphs, I think that's all very promising and definitely the right approach to take. I think when I heard neuro symbolic, I was also thinking like neuro symbolic concept learner like that paper and that line of work and agree that that there's some question of will that still continue to pay off in the modern era when LLMs are so
are so powerful. But I think it's like worth, you know, hedging our bets a little bit. I think it relates to this question of, are the current techniques sufficient to take us to AGI, whatever.

take us to AGI whatever that means or is there some fundamental drawback in the methods we use that won't actually work for all problems so I kind of want to talk a little bit more about like robotics problems and embodied planning in my talk but I didn't end up getting time but I think like if we just think scale scale scale on infinite data is the thing that works that's obviously working in the case where we have language where we can
can scrape like all the text humanity has ever written, like the entire internet, all the books, that works great. That's awesome. But, you know, is that paradigm going to continue to work as well when we get to something like robotics where data is much more expensive and much more scarce and the problem is that much more complicated and the representation is that much less neat, like language is already compositional and structured, right? So do we actually need some kind of new strong prior to generalize to those problems?
It may be something like these kind of neural symbolic approaches become more necessary again. But maybe that's like a later part of the discussion.
Um I can actually I really like that argument. So I I was at the AI agents for science workshop yesterday and a very similar discuss we had a very similar discussion, but in dynamic open -ended environments. So not not just embedded environments, but also like open -ended environments like um
uh scientific discovery. Um these require interactions with environment to collect data to basically to update your knowledge of the world to understand understand the world and that is much much slower. And that takes much
To get the scale of data that we have on the web from these sort of interactions that will take hundreds and thousands of years. So we do need to think of new methodology to be able to model these sort of things and these might go. So there's maybe like the high level is that we're not at the, like we didn't solve AI by using transformers and just getting more data. There are still open problems that we don't know how to solve. And for these.
New symbolic approaches might be a direction to think about. Thank you all for the fantastic answer. Let's go, let's go to the next one. So the next one is about evaluation. So how do you think of the current evaluation of, you know, planning ability, reasoning ability, like
uh what what what do you think of the existing benchmark? So for example for mass we have like computational level mass, we have computational level code, for general domain it seems like we don't have something like that. Um so what what do you think about like do do do you think we need new specialised evaluation framework to better capture planning and reasoning specific challenges?
Um actually building out what I just said now, I don't think we have many evaluations for open-ended environments which is again leads to very different uh challenges when closed-ended environments like math reasoning and that actually will be very interesting to see to what extent existing systems would it would work or would fail in those sort of evaluations.
I should building on that um yesterday there was a very interesting workshop on like self-evolving agents or LLMs and there was a guy from Open AI and he was talking about um benchmarks um as well and that the second half of
AGI, AI agents is going to be on how to benchmark properly. And the one analogy he gave I thought was very, very good was that you don't evaluate an engineer on day one, but you evaluate how the engineer will perform in like six months time. So on that thing, I don't think we capture at all. Usually the benchmarks are static. So if you have like AIM 25, 24, then well, that's your score. But the way he was thinking about it was.
Can we sort of continuously learn and it's not like a software engineer comes into a company and looks at the code base all again, but they sort of learn from experience. So after six months they're most much much better than after day one, but we're currently evaluating them at day one. So I think these kind of benchmarks sound very very interesting to me.
I think another kind of benchmark is uh is like a adversarial benchmarks, right. So instead of having static uh static data sets, which all always the case that people might get over fit to it, uh so uh it's possible that we can actually convert into environment
And this environment will have um uh will find like what is the adversarial samples that will break the models. Um actually I think this say like uh what Natasha uh what uh here has been doing right. So we have multi-agent and then when there will be one um uh det detector to uh when uh one attacker and they're going to play the game and so that the game will uh reach out uh they reach the natural curriculum and so that there's no way you can attack the system.
the system. So that's actually something that could be automatic, uh and could be done by reinforcement as well. Uh so right now I think many of our researches have been doing this kinds of things manually. Uh so we uh optimise uh heel climb like a one benchmarks and then we have other papers that say oh yeah there's some issues with the benchmarks, some holes, and then people will improve on top of that, right? So we are doing this manually uh with our insights and understandings. But
But I could foresee that in the future if reinforcing uh is your pyticus, right, so everybody is using it, then maybe this entire procedure can be automat automated. And then in that case like uh we may enter into next stage of evaluations. Can I can I give a very concrete eval that I would want to see?
um again like that came up in the discussion yesterday so i i was thinking yesterday like
uh solving I_T_ problems on your computer. So build an agent a that has to do like planning and reasoning to solve like fix your internet when it stops working. But that should work on your computer but also on your grandmother's computer and on your niece's computer and on my computer and your computer. Uh which each one of these is gonna have like I installed my operating system on a different drive and you have your different browser and someone else has
so it's like a different ASP, like there's all of these like random things that could be different from one to the other and like a reasoning system should be able to solve that regardless of like these like this is a very constrained environment.
Which is still open ended. And you can still iterate quickly because it's all virtual. I which is one of the difficulties with embodied systems. With robotics it's very slow to iterate. Uh but still like I would be quite curious to see how well those systems would perform. And Natasha, what's your opinion of it?
Yeah, I think the thing that I'm really interested in evaluating that I think is overlooked a little bit is when we think about how LLMs actually interact with people like as assistants, are they actually good? I don't think we have good ways to measure that because in part it's obfuscated by the fact that people are really smart and adapt to the LLM, like people best respond to the LLM. So in like a more banal context, you just think of like the conversational assistant setting. It's like how much.
How much trouble do I have to go to do prompt engineering to get the behavior that I want is one measure of like the inconvenience caused to me to adapt to the system but I think there's like a more interesting like AI safety issue that's like more insidious which is that if you introduce a system and a bunch of people best respond to it what does that change what does that do to the collective equilibrium so like the classic
maybe i'm going a little bit off topic here but like the classic example is youtube starts uh optimizing for watch time you can essentially think of that as like a planning problem of like what videos should i recommend oops it turns out that radicalizes people to watch more conspiracy theories and then they watch more videos so but that best response of people to the system changed the equilibrium to something really dangerous so like how do we evaluate uh how the the reasoning or planning model what change that induces
in people and whether that's good or bad so that might be a little bit off topic but that's something I'm very interested
I actually can add to that, because again, this reminds me of feedback loops in deployment. Another example of that is autonomous driving. So if you have an autonomous car and you try to deploy that, then the way that the car behaves, autonomous car is going to behave differently from normal cars. Their four pedestrians are going to behave differently when they see an autonomous car. They might be more cautious. They might be more careful when they get next to that.
Because of that the car will behave differently back towards them because the car was trained with like pedestrian models that didn't see autonomous cars before and that's going to basically lead to a feedback loop that each one pushes the other out of distribution. These are sort of feedback loop these are like out like these are like long-term feedback loops which are actually difficult to converge because you need to collect data of the new pedestrians and then you need to update the car with
with the respect to those new pedestrians and deploy that which again would behave differently and then the pedestrians will again behave differently towards that new car with towards that new agent so uh that's another example of an evaluation where doing like long-term planning or long -term reasoning probably will break probably will be like as an evaluation going back to the question that probably will be quite challenging compared to the static ones
Okay, thanks for the answers. Let's move to the next one. So

Move to the next one. So this one is a common issue like we we are discussing it all the time. So it's about academia versus industry. So you know given that the current frontier of reinforced learning, reasoning, planning, research, especially on large language model area, they really demand a lot of resources. That is, you know.
basically owning industry levels, company they can they can have. So what do what's your suggestion? What's your thinking of it? Like what kind of research should academia focus on to remain competitive and continue to produce high impact work?
I think there was a keynote talk um by Danqi Chen, and she was talking about like how academia could still do like language model research with academic budget of a GPU, even in pre-training. So I think I recommend her talk. I think it was very insightful. So even for pre-training, I think there's a lot of stuff that academia can still do in terms of like data filtering. I think later on there's also a paper called S_ one that's gonna be presented. I think that's also very academic academic perspective.
There's like this doctor GRPO paper that's also I think from the economic economic lab. So I think from an algorithmic perspective I think there's still quite a thing few things to sort of tackle. I don't wanna tell academia what to do. But like generally speaking I think those are quite good like papers to look at. Um yeah. That's my opinion.
Also I think we see a lot of examples from the talks here today about works that have been done in academia and these are like examples of stuff that he could do in academia. My general advice would be to focus on questions that a where you have like industry failure. So questions where industry companies would not necessarily want to work on these. So a lot of stuff on like AI safety, AI security which would not necessarily be a priority for industry labs.
and then trying to craft those questions into something that you can answer with the resources you have access to. So a lot of the stuff we saw today does not require pre-training models. Like the simplest thing I can think of is like evaluations that just require API access. But there's much more you can do beyond evaluations as well.
Yeah, I think there uh there's actually a lot of questions that academia can do without too much resources. I know, so uh for example uh can you open can you open a black box for uh neural networks, so that we understand the mechanisms uh so how it works, and uh in which situation it will produce workarround representations. Or whether it would be useful uh for uh our training and planning task. There's a lot of questions like that.
Uh so I mean the next token prediction is just when parodying uh for people to to play with. Uh so it has uh uh many mystery there and uh why there will be more new concept coming out. Why why the natural model can do generalisation rather than memorisation. So these are like big problems and uh people don't really have good answers uh for that. Right so um I think industry mean in many cases can be boring in term of like pushing
Being the metric of the big models. Right, so um yeah, academia side maybe you might try something very different, uh and still if you five very good findings then it could be the next uh uh largest change of the vision moment. Right, so uh that's that would be very very interesting. Yeah.
Um, uh yeah. And because I I am kind of like the research in academia who is doing language model reinforcement learning. Yeah, I do feel it's more difficult uh compared to um for example last year. Uh because this year like uh and a lot of people um view reinforcement learning as a main paradigm, but it's definitely much more expensive to to do uh than you just do S_F_T_ and yeah last people uh were doing a lot of distillation last year.
Here. Um but uh one thing I think uh uh there are some good examples I s uh I want to add one is um I I think uh in the context of reinforcing learning uh it's also helpful to uh do do a lot of analysis to understand as a uh R_I_O_ the checker points. For example uh the recent uh um paper um to to talk to discuss the question about uh uh whether the R_I_O_ model is limited by uh by the base model, right? Uh for example that particular paper is a from a
the from academia, that doesn't do any training. Uh it just takes a bunch of like checker points, and it do a lot of analysis. And of course, uh you can raise other questions uh which are also interesting um Hmm. by just doing analysis uh I think those are uh kind of good papers and good uh n problems to discuss. Another thing is uh even though we want to do R_O_ training,
Yeah, and it's uh it's very difficult to complete with industry and to just uh complete with metrics. But I I think it's the help for to uh try some things that is very um kind of um bold and the industry doesn't has started doing. Uh for example, we just talk about a non-symbolic integration, right. Uh there are some common integrations like to utilise some um external solvers that industry is already doing like alpha alpha and geometry, for example, is one example.
example. Um but there are kind of like uh uh more broader things like uh you you can propose like a very uh different uh chain of thoughts uh like a recent patterns. Yeah, for example I really like the work uh from meta, even though it's a from industry, uh like the coconut, right? Uh coconut from continuous reasoning, but I believe those kind of experiments can be done in academic uh commercial budget. And because this uh ca kind of sounds are very very new, uh you can do this very very early stage.
early stage, maybe you can just try with one model something. Uh and you can show some positive signals and maybe someone in the industry w uh feel interested, they will follow up with uh larger scales. Uh I feel Mm. those things are uh kind of a in the industry and academia can do and c and it's very interesting, yeah.
Natasha, do you have any opinion? Because you get Oh, a job yeah. position in academia and industry. Yeah, I actually feel really strongly about this because I was in industry for four years and then left to go back to academia, but I still have like one day a week at DeepMind. But I actually think industry is not a good place to do research because you don't really get to be as creative as some other people have said. Like what's going on in industry right now is people are.
They're competing to try to get the best model and stay ahead of the competitor. And there's like a scramble to develop these new technologies fast enough. And the models are so expensive that they don't want to take a risk on doing some crazy new idea. They want to scale up the thing their competitor already proved works.
which I think is kind of boring, right? And there's this big push to just get everybody on a giant 50 person team doing a product essentially, and it's no guarantee that you can even publish. So if you really like research, I don't think industry is a great place to be doing it. Whereas in academia, you get to be creative, you get to try something new, and you can show it at an interesting scale. And I was actually fortunate to be on the iClear best paper committee this year, I think.
I think yarn was as well. And I got to read all the best paper candidates. And I feel like most of them were from academic labs. Like I think the really interesting creative work is really coming out of academia. So I'm going hard on that question. Okay, thank you, Natasha.
Let's goes to t our final questions. Then we'll uh share the questions from our audience. Uh the final one is it's more like uh uh
So what's your anticipation for, for example, for the next one and two years for the development of reasoning and planning in large language model? Like do you anticipate that the breakthrough in reasoning and planning, they will primarily come from continuous scaling, more data, more reinforcement training? Or do you think we need fundamentally new approaches like new novel architecture, new learning objective?
What's your opinion? Okay, so uh I'm of course like people can still scale uh and uh there would be uh some initial some new results coming out.
I so uh but I would believe that uh you probably need uh something much, them very different uh in order to uh get the best of it um so for example um for for people can understand like mathematics uh in maybe like a few examples uh maybe for example you if you teach the students to do multiple digits multiplication, right, so then in elementary school students uh they are able to do that.
at after some practice and then if they be are patient enough then they should get everything correct uh even no matter how long uh this two digits look like right so but for current like large models um this approach doesn't really work that well, right so the model getting better and better, which mean that it can compute uh longer and longer digits multiplications, but if you make it even longer, then all of a sudden these things will fail uh so basically there's a fundamental
t limitations in the current architectures. Uh so there might be some inductive bias issues, right, so that might prevent the model from learning uh this kind of um uh very simple uh uh uh uh multiplication task, right? And if you think about like a senhel data, think about like a different task, I will pretty sure that there will be a lot of such task that uh uh the current model cannot do very well. And this might include like planning a reading task.
and the reason why people don't pay too much attention on that is because they're not related to the daily life.

related to the daily life, uh and uh or maybe less related to daily life. Right so it's possible because most of time people use large models because they
it can provide a useful guidance uh for their daily lives, um so and people appear to feel like, oh that's already enough, but if you think about frontiers, uh that's actually a lot of corner cases, a lot of corner situations that the current model cannot do very well. Um so I would imagine that um this might requires fundamental new uh approach. And another aspect is uh human actually has much ha higher data efficiencies.
compared to the computer, compared to the large models. Um I'm not sure if any people agree with that, I f I I heard that this there was some debate yesterday about that um
So uh human can basically like a find figure out the patterns in a few s uh samples, but uh for machines, for large models, it requires thousands of samples, even ten of thousands. Right, so maybe in the future when uh all the models have already absorbed all the possible knowledge in the world, and then what is missing here is like uh mean we always have people who are working on directions that uh maybe in a world only a few hundred
it uh maybe like a a hundred people knows. Right, so um some very abstract masks, right? So like strings, m I'm not sure string theory is a good example. But some uh examples that you only have very f a hundred for people uh working on that. But in that case like how we're going to get data. The data is basi the other data are coming from people's brain, right? So, but they are very busy with their own research. It's very hard for for for us to get data. So once we cannot get data, then the model gets stopped improving.
being. Uh so and uh there will always be uh some r also corner cases that um the model cannot do very well. And uh because the model just does not have the uh data efficiencies to catch up with humans. Um so in that case we probably need a some f fundament fundamental different algorithms. Yeah, that's my opinion.
So I remember until a few years ago we had scaling laws where people had a drew a straight line and they said look at that model size is increasing with time and we have linear I can sub sub linear logarithm whatever uh in case in capabilities uh by year so and so we're gonna have A_G_I_
By just like drawing a straight line. And I think we over the past year or two we saw that this kind of this idea kind of broke apart when we got to a point where
Again, like we have like fairly uh circumstantial evidence because we can't get the actual numbers from like OpenAI for example about they tried the much bigger model and they this is the decline in performance that they had compared to what they expected to get uh but we do see that they actually had to change paradigm and start using new methodology of test time scaling.
Uh, well, the recent models we had over the past year basically tried to scale now scale test time instead of scaling training time. And now I think people are thinking, oh, if we just scale test time for long enough, we're going to be able to get to AGI. And I would speculate that we might hit again a wall at some point and we wouldn't require a new methodology again. If you look at the history of machine learning or the field of AI, this is something
is something that this happens again and again um we often need new philology once we hit like once we realize like this is the maximum of performance we can get from a certain technique which is like would be surprising if we can get a technique to a single method to basically be able to solve all the problems in the world um i also want to make another very interesting observation which is test time scaling is an idea that has been around actually for a long time
time. Um about ten, fifteen years ago in like invasion statistics uh you had Monte Carlo something. That the longer you mix, the better results you're gonna get. And for that we also know that there are limitations to those methods as well. And there's some cap of performance you can get based on the capabilities of the model. And you're not gonna be able to get forever increase in performance.
Oh, I think uh I agree with whatever they all say. Um just from the pro just from the view of like whether we currently have the technology to reach A_G_I_ I think for a very controlled environment where you can define all your parameters, I do think we have like a lot of technology that already allows you to get very very very good results. But if we're talking about like a very general agent, so like a A_G_I_ agent or like a thing that can do a lot of things that has not seen before,
For that I do believe we need possibly new technologies. So if we talk about like GSM-AK, right? It started off like quite low, but then now it's like close to being solved. So for these kind of benchmarks, static benchmarks in particular, I feel like we have techniques to just iteratively get better and better and better. But when it comes down to like a general algorithm that can do a lot of things at the same time, especially unseen things, I do believe we need something else possibly.
Natasha, what's your opinion of it?
Yeah, I mean, I think there's a fundamental problem, right, which is machine learning is basically induction, right? It works when you've seen the data in your training data set and it doesn't work out of generalization or out of distribution doesn't generalize, right? And you might say that, well, LLMs, they've trained on like the entire internet, there is no anything that's out of distribution. But I always like to come back to this, this really good tweet from Noam Brown, who talked about how LLMs are so much better at chess.
then they are at tic-tac-toe right and tic-tac-toe is a very easy game but it's just that no one is on the internet debating tic -tac-toe strategy right so if it's not in the support of the data then you really can't handle it or even if there's low support and so then there's two issues with it right so one is kind of the ilia suits cover test of time award talk like data is the fossil fuel of ai we've already run out of data so we're not getting more data in text land in domains like i mentioned before like robotics or something the data is
it is already more scarce and the problem is already more hard. So is that really going to translate? And then the second problem is the world is non-stationary. It's always changing. So there's always new inputs. And so if you truly can't generalize to something you haven't seen before, then there is something lacking in the paradigm, right? So yeah, I think, you know, we might get a lot farther. I mean, maybe it's analogous to, I feel like we're kind of in the
you know, LLMs are to what confidence were in like 2012. Like we saw computer vision be revolutionized and a lot of people were then fixated on doing things with confidence and it really blew up and there was sort of a gold rush there. Now we're in like an LLM gold rush and we're making a lot of fast progress. But yeah, will that cap out because the same techniques don't work when you don't have like, yeah, I already mentioned we have so much language data and language is already like a nice format.
format it's already compressed when you go to a harder problem and you have less data is it still going to work Thank you. Thank you for all the nice answer. So the following questions is from our audience.
Um the first one is about reinforcement learning. So now, you know, we see that reinforcement learning largely increase the models capability of reasoning. So to what degree do you believe that reinforcement learning in post training enable real generalisation beyond the pre-training data or it's just simply amplifying ability that is already learned during pre -training? This is a important problem because it's
You know, it determines that if we can really break the data we have to achieve, you know, super human A_G_I_ or they're just imitating like mimicking how human behave in the in the pertaining data. So what's your opinion of it? I think it goes back to we in which environments can you do enforcement learning. You can do enforcement learning in close-ended environments.
And that's where you're going to be able to solve problems by effectively exhaustively search potential solutions and covering the entire support of the distribution, open-ended environments or environments where iteration is much slower.
will require so in the field of reinforcement learning we have like very different paradigms for like model-based model-free that are supposed to solve like when data acquisition is expensive people would not use model-free reinforcement learning and robotics for example because it's very expensive to do a single experiment people often like look at model-based reinforcement learning or combinations of model-based model-free and it might be that we will
We will start seeing model-based reinforcement learning for language models as a way to use uh to improve the model in an open-ended environment where data acquisition is expensive. But I I haven't seen any progress on that yet, so that will take another couple of years. Yeah, I think uh uh the first of all, I think I agree with that. Um if you have a ground truth reward uh you are in a close environment,
Then by doing self-plays, by doing infinite roll-outs, then you will be able to get all knowledge, right. So all main knowledge is from the environment, and you might discover new structures, uh and the new strategies and this will be something that the human cannot do. Right, so I think example like an alpha go, alpha zero uh this alpha zero is kind of one examples that you can see this happening. But the rule is kind of objective. And once you have the rules, then you can explore.
and you get

and you can explore, and you are get like a lot of uh new knowledge is from just exploration. So that's good. But I think for um environment that you need the reward models, um then it becomes tricky because the reward model basically in only like capture a final subset uh of the knowledge to some extent. Um and that knowledge uh if you if you do reinforcement learning, you do like um
search, then you might exhaust these knowledges uh in the real world models. And this knowledge once you exhaust knowledge then the model know how to do hacking, right, to find, oh yeah, there's actually some shortcut you can do, uh and uh the model won't sta won't be able to a progress uh after you reach that level. Right, so um so in that case like a w then how we deal with that? How can we get out of this um
um kind of uh issues uh remain a big problem right now. Um yeah uh I think that one kind of argument would be uh maybe the verification is easier than uh than than finding like uh finding new uh solutions. Right? So th if that's true then it's possible that you can still do this play in order to get things better, right? Because you always easy to verifying and
And then again again with better verification models. And then the first model will get even better. I so you can do this, and basically you still have this intuitive um approach to climb up the ladder and you learn something. Alright. But there if there's a limit
Uh then uh I think uh there would be uh basically this entire procedure were convert to some uh closure. And then you probably need it to have non new knowledge uh outside the system in order to make it enforceable work again. Uh so this could be for example better training like um more diverse data, right so or even human knowledges etcetera. So it's really depends on the scenarios.
So I Yeah. saw a very hot uh discussion on the social media i in recent, that it's the reinforcement learning the real im influence of the reinforcement learning is to convert the pass at K accuracy to the pass at one accuracy, which means that the usage of reinforcement learning is to improve the sampling uh efficiency of the current methods. I think uh it is to say for m
Uh uh for the measurement problem or the closed execution problem, the reinforcement learning uh is used to improve the sampling efficiency and to help you get a more accurate results from the passed uh from the originally passed that case results. So but I think in the future reinforcement learning would like to play uh more and the more crucial role in improving the planning and reasoning ability and we would like to have a new
new paradigm to leverage their pow the power of reinforcing learning. So I would like to see a new paradigm in the future not to just scale and scale. Yeah. Uh Natasha, like just like your talk about sale play, like multi-agent reinforcement learning, so what do you think of it?
Yeah, I mean, I definitely am a big believer in RL fine tuning. I think self play does unlock something pretty powerful, which is that, yeah, you could potentially cover all of your cases. If you have like an adversary agent that's presenting a bunch of new cases and the agent is adapting online, then you could get actual coverage of all possible cases, which I think is really exciting. I do want to address, I think people were like really taken by this paper that was like, does RL really incentivize reasoning fast in LLMs beyond the.
on the base model right um and it was kind of saying like yeah it just it just upweights the correct path and rather than like discovering a new path but i think that may be kind of an artifact of the fact that we are in llm land where your base model is literally pre -trained on everything and you're doing kl control right so you're actually saying like stay within the what the base model is capable of saying in order to maximize reward so of course you can only find the path
within what the baseball is capable of saying that leads to the highest payoff that's literally in the optimization objective right um but if we if for people who do robotics and you know i do a lot of like human ai coordination stuff we see a very clear difference between like a behavior cloning model which is just trained with supervised learning on some data and a model that's trained with rl right behavior cloning is very brittle it's able to imitate the data but if you go off the data manifold it basically just you
just breaks. Whereas RL, because you're constantly sampling from your own policy and seeing whether that pays off, it's just much more robust, right? It's very unlikely you can get into a situation it hasn't encountered during training. So you're fixing that like teacher forcing gap as well. So yeah, I'm basically really bullish on RL fine tuning, multi-agent RL fine tuning. I think it does add something pretty powerful. And I think there's, we've only just really scratched the surface.
surface of what RL can do for LLMs and foundation models. So yeah, I'm really excited about it. Maybe to add to that, you also like you see empirically so if you compare between doing like pure enforcement learning or enforcement learning after fine-tuning along trajectories or just fine-tuning along trajectories, you do see an uplift from the enforcement learning, it is controlled experiments, so it definitely is adding.
Thank you. Uh one the last questions for our panel discussion. Uh it's uh this is about the reward stuff and can we train the large language model with reward defined by itself or other large language model? Instead of an external grounded choose r reward signal. Like how can we move to more open-ended and creative task rather than some statistic like data set?
Yeah, I think uh we have have seen many papers and many works that try to use reward models uh to drive uh reinforcement learning, right. So and uh actually it works reasonable well. I mean especially the reward model is pretty p p pretty good. I so you have you typically have a very large reward models so that uh the m the model can generalise reasonably well.
cover different cases and you can run reinforcement on top of that. That's okay. Uh and the people have seen good uh performance gain uh from that. Uh so that's uh something that is already being used. Uh of course like uh at some point you you might see like oh there are some hiking problems and you need to stronger the word models.
Yeah, with the usual caveat, but we see the same failures in like a classic reinforcement learning of three-board hacking and check the yeah people are working on these solving those issues.
And also just from like LLMs being the reward model themselves, I feel like there always has to be like an innate human interaction with what are you trying to tell this model to say what is good and what is bad. And I think you always need this human interaction in this case. So maybe the best way to sort of mitigate this reward hacking is to have like an iterative manner where you first say, okay, I want you to optimize this.
do whatever you want. And after a few iterations of training, you look at whatever it did and say like, okay maybe you did this wrong, you did this right. And so there's this iterative loop where you just keep giving the L_M_ to say, oh do this, it will most probably find a way to hack it and then you'll go wrong.
I actually like this idea a lot. So I encourage the audience to work on a human in the loop reinforcement learning. Um because like I was going to comment on the previous uh the previous uh as Natasha's comment as well about reinforcement learning gives motives which are robust. That's only with respect to the exploration policy. Um if you have an exploration policy that doesn't explore the entire space and it in finite time, and especially when stuff is expensive, then you will not explore the entire space.
there will be lot of gaps but you will not have seen it training time um reward models specifically, if you have a language model based reward models then these are very susceptible to uh manipulation by the agent you're optimising. So having I really like the idea of having a human in the loop to con ex to effectively make sure that the reward model is doing what you want it to do for the agent that you're optimising.
And Natasha? I I I believe that the multi-agent setting like reward is not that the same like the single-agent settings. What do you think?
Yeah, I mean, I just want to agree with what everyone else just said. I really think it was great. I think there's a lot more we can do with this with human in the loop. Like we haven't even really thought very deeply about what signals we should be learning from in terms of human feedback and how that should look and how do we have the right model of what humans really want and humans are diverse and how do we account for that? Humans preferences change, how do we account for that? So I think there's a lot of richness there that hasn't been begun to be investigated.
Um, but yeah, uh, in the multi-agent setting, like, I think there's still a lot of leverage. Your original question was, you know, can we rely on kind of like LLM based feedback or RLAIF, stuff like that. Um, there's a lot of leverage to get from there. Like LLMs are very powerful. They're capable of simulating a lot of different behaviors. So I think we can go there. It is making progress there, but is it ultimately what we want? Like maybe we want to think more about like supporting human flourishing.
thing, right? And actually making these things useful for humans. So, yeah. Yes. Yeah, I want to add one thing. Yeah, I think for reward models, reward models will finally be hacked. I think that's for sure. And you will have some improvement, but you will hit a ceiling. I think another way people are also kind of doing this is to find some related problem.

have a lot in this is to find some related problems that you can actually define um good the reward. Uh one example I think open AI also mentioned in their blog about deep research. Uh even though deep research when people really use this product is kind of hard to verify because it's open ended generation. Um but the open AI released that the browse comp uh benchmark, right, uh just uh two weeks ago and open AI also mentioned that deep research was explicitly trend and to behave well um browse comp.
kind, barbarous company is kind of verifiable uh and the Q_A_ but kind of a difficult a verifiable Q_A_ uh data set always uh and easily verifiable, uh like a rule-based reward. Uh and sometimes you just a hope for generalisation and you find some related problems. I think the c the question uh becomes okay when your reward model is hacked, uh the performance, how that does it compare with you find a relation of problems that can be uh easily verified and uh for the general g generalisation performance.
performance. To look at which one is better, uh uh that's depends on some uh empirical um comparison the specific environments. Yeah, that's my uh main idea point. Thank you. That's all for our today's panel discussion. Let's thank our panel members again.
Yeah, so next we will have the poster session and the lunch break. So now our presenter is trying to present their poster in this uh words and uh also outside we have some uh presentation. So feel free to talk with them. Yeah.




















And so yeah, glad to be back to here to attend this afternoon session of our language model reasoning workshop. So this afternoon we will have three keynote talk first by Stephen from OpenAI and then we will have the utmost talk from NTU and last one is from Hong Kong UST by Junxian He. Yeah, so among this keynote talk we will have some...
uh around seven oral paper accepted by this workshop. So uh now we will have the first uh keynote talk by Stephen. So I will pass to uh our host to to introduce Stephen and then Stephen will be uh online to do his presentation, yeah.
Should I go? Hello? Hi, Oh, Stephen. hi. Hi. And our fifth talk, we are glad to invite Stephen McAller, who is a researcher at OpenAI working on agent safety. So he was previously a postdoc at Carnegie Mellon University working with Thomas Sandholm.
His work has been published in Science, Nature Machine Intelligence, ICML, NeuroReps, and ICER, and has been featured in news outlets such as the Washington Post, LA Times, MIT Technology Reviews, and Forbes. Welcome to our workshop. Stephen, now you can start your talk.
Okay. Yeah, yeah. Thanks so much for having me. I wish I could be there in person, but there's a lot to do. So I titled this Toward Capable and Safe Virtual Agents. And sort of like the first bit of this talk will be like the capable part, which was mostly work that I did at CMU. And then at the end, I'll talk a little bit about the safe part, which is the work that I'm doing now at OpenAI. But first, like let's get into what I mean by virtual agents.
So just kind of like taking a step back and thinking about, you know, agents in the real world, we want to really automate the economy. And there's really kind of two main types of things that people do for work. There's physical tasks and virtual tasks, right? So physical tasks, these are things like in manufacturing, healthcare, retail, things that people do with their hands, roughly one half of US GDP. And to automate this, we are going to need to have a lot of robotics. The other half of US GDP is what I call virtual tasks.
tasks. So this is what I'm going to be focusing on in this task in this talk. And this is essentially anything that humans can do in front of a computer. So think about sectors like finance, you know, business, any sort of office job, and in particular AI research. So I think we need to like think really, really clearly about taking seriously the possibility of actually automating AI research itself and the implications of that.
And that's kind of what I'll get to in the second half of this talk with the safety aspect. Okay, so really kind of picture what it would look like if you had an agent that could truly do anything a human can do on a computer, potentially even at a superhuman level, right? So it could be, you know, you can ask it to give, you know, have a very like high open ended task, like I want you to, you know, do AI research, I want you to do, you know,
pursue this like particular alignment agenda uh something that would take a human you know months to do and it's like a lot faster it can delegate it can you know have a spawn a bunch of different copies and all of them are just like doing all sorts of things writing a bunch of code trying things out maybe you give them some resources some gpus um and you know just kind of goes and it's smarter than humans uh and it can just kind of like autonomously
do all of these tasks that we want to do uh you know that humans can do on a computer so this is kind of like the goal of what we like to get to just having these like fully autonomous agents uh that are doing our AI research for us that are then you know accelerating uh the AI research and like figuring out ways to then automate like all these other things that we do for work
um and just kind of like comparing maybe there's you know like some roboticists here or something um i think there's a lot of reasons to believe that these virtual tasks might be automated uh before the physical tasks so physical tasks uh you know it's like complex and nuanced control you need to and really like the main constraint with physical tasks is like the data you're gonna need to get a lot of actual data or alternatively do some sort of like sim to real there's challenges obviously with like
with like getting good simulators and like closing that sim to real gap but virtual tasks is all you know i can have infinite data essentially right i can like write as much code as i want and i can learn from that i can like execute the code i can like see what what happens and use that to kind of like bootstrap it and learn from but the data itself is free right there's still obviously a lot of challenges like you know how do i get these agents to actually like do these long horizon tasks and do really complicated reasoning and so on like how do i actually train these things
these things and align them but the data you know there's not like real fundamental bottlenecks here with like coming up with the data to train these things
So just kind of like going back, this is like a few years ago, thinking about like some of these early benchmarks of these like virtual tasks, computer-like tasks. So this is like a particular benchmark called MiniWorld of Bits from 2017. So this was released by OpenAI, I believe. Like, so this is what...

um like so this is what eight years ago and you can you can see it's like very simple uh computer control tasks so like mouse and keyboard actions uh the task is given in natural language at the top in yellow
And, you know, back, you know, kind of before these LM agents, the way to approach this type of problem would be doing some sort of like reinforcement learning from scratch. So you can do this, you can like do imitation learning, collect a bunch of human data, train some neural network that's randomly initialized to try to mimic the human behavior and then potentially do a little bit of RL on top. And, you know, this works, provided that you have.
enough human demonstrations right so the more demonstrations we have then we're able to you know get better and better performance this is a deep mind paper from from 2022 but you know I claim it doesn't really generalize to new problems right I'm going to need to get a lot of very specific tasks and data for these particular tasks from humans and this is going to be very cumbersome when I want
I want to like give it some new research direction that I've, you know, never thought about before I wanted to just kind of like come up with this on its own and have that, you know, built in the knowledge of like how to do these things.
Um, so, you know, this is like probably not, not a shocking news or anything, uh, at this workshop in 2025, um, you know, this is like a few years ago, uh, you know, kind of one of these first approaches to just take like a pre-trained LLM actually is really surprising for me at the time that you could just like literally take this pre-trained LLM and just prompt it, uh, to be an agent, right? So you just feed in the HTML and it just directly outputs the keyboard or mouse actions.
and you know for the longest time like I was thinking like okay like you know they're doing all this cool stuff with language models but it's really just like in NLP and it's and I'm focused on reinforcement learning which is like focused on agents which is like the the really important stuff to automate things and this is like the first time where it really clicked for me that like oh actually you can just like train on the internet and then just prompt it to do some new thing and have this approach that actually generalizes
and it can be an agent and it can like actually take actions in the world so this this really changed a lot of my perspective on things so just like really briefly the way that it works kind of just like some prompt engineering here where we kind of you know have this high level plan so it's like the first step is like making this plan then you just kind of like walk through the plan translating each of the actions into the actual like keyboard or mouse actions
with you know some more prompting and then we do this like you know we call like recursively criticized and improved just kind of like repeatedly you know trying to find some problems with the plan or with the actions and then like come up with some improvements for this so this is just like kind of our prompt engineering scaffolding to get this to work if you don't have you know some sort of scaffolding for this you know level of capability of model then then you wouldn't get that that good performance
So the results, the main thing to take away here is that not only can we kind of like, you know, reach and match the performance of, you know, like the existing state of the art, but we can do so with much, much fewer demonstrations, just kind of like few shot demonstrations. This is kind of like what I was saying about earlier, this is what we really want to have in our like autonomous agents that are going off and like doing new novel research ideas.
and coming up with with new things uh that that we do every day at work we don't want to like you know it's not that interesting if we need to like sit a human in front of a computer and record them doing that task over and over and over again we really want to just like go and have it do some new task from scratch and this is kind of like showing that that you know you take these LMs you use them as agents and that's like the big benefit of them is like you know it's not this like particularly like
domain specific thing it's a very general approach um so you know this is like i should probably update this slide uh but this is kind of showing us they're obviously like lm agents have kind of taken off um probably like the most
I think my favorite LLM agent to date now is our OpenAI deep research. I think it's a really interesting, exciting product. Obviously, there's like all sorts of LLM agents out there, you know, too many to name. But, you know, suffice to say, like the field of LLM agents has taken off. Okay, so.
we kind of like step up step back a little bit and like think about where we are with these LLM agents and this is kind of like you know you know what's missing right we we can have generality which is really great with these LLM agents but there's they're still not at the level where they're like going and doing you know you can just like prompt GPT-4 or something and ask it to like carry out some long-term like
like month -long AI research direction or something right so there's still like kind of this capability gap with what you'd get in like a very domain-specific approach like doing deep reinforcement learning where if I just have like one thing that I care about like some board game and I have like a really well -defined reward function I can just like maximize that and get superhuman and I would say we're not quite there yet with these LLM agents right so how do we kind of close this gap between
generality and capability to get to this vision of like having actual fully autonomous agents that can do anything that a human can do on a computer and my claim here is that one we want to start from the general solution so it's much better to start from the general solution and make it more capable than starting from a domain specific solution and trying to make it more general but I think the answer you know again this is like
probably not very contentious at this point, is to use all the tools from deep reinforcement learning and combine that with the generality of our LLM. So take the LLMs, do a bunch of reinforcement learning on top of it. And, you know, this is like essentially the solution. This is how we can get to these agents that are like, you know, superhuman at doing coding and doing AI research and so on.
okay so another way to think about this is kind of like using this analogy to alpha zero and alpha go um so if you remember like the kind of like the first stab uh in alpha go is like they just did a bunch of imitation learning on human data and then like fed this into you know if you if you just had this big neural network that's like trained on a bunch of human uh games i maybe it's like not amateur level but it's actually like
pretty good but it's definitely not like experts it's definitely not like beating top humans essentially you can only get so far with like just training on like what what the humans are good at and you know if you recall from like AlphaGo to really unlock the expert and even superhuman performance you really need to have a lot of like search and test time compute
combined with reinforcement learning sort of like self-play where I'm getting better over time I'm like doing a bunch of test time compute and then
i'm i'm learning from that test time compute and sort of like distilling that back in using this like reinforcement learning process where i'm actually generating the data myself and then you know like learning from from this reward function and that that's like the formula essentially to go from this imitation learning where you are with like the pre-trained llm going to you know expert level and superhuman level uh performance so essentially like the main claim is that
there's you know not much really preventing us from taking these base LLMs and then you know throwing a lot of compute at them using high compute RL kind of in the same way that we did with with AlphaGo but just like doing this across like all of the domains that we care about you know like these these virtual tasks and AI research itself essentially
Okay, so I'll quickly go through a few of my papers. Again, this is all like stuff I did at CMU. So it's, you know, no secret sauce or anything like that. But this just kind of gives like a flavor of the type of thing that I'm talking about with kind of like having this test time compute and then, you know, reinforcing it with reinforcement learning. So this one in particular is, you know, sort of like the test time compute angle.
So this is a tree search for language model agents. And essentially the idea here is just like, you know, A star search in domains that you have resets. So if I can like kind of like go back in certain states, then like, you know, as I'm taking actions in some like websites, then you can like just kind of run this A star search essentially with like this prompted VLM. Sorry, excuse me, I'm going to get some water real quick. I'll be right back.
okay sorry about that um so yeah the the essential idea here is that like you know you have your base llm and you know you maybe you have like this vlm that's like good at determining which states are good and bad but to really kind of like unlock this and get better you're like you just need to have more compute spend a test time trying to like you know get better and self -improve through this search
So, you know, you can kind of see like the types of things that you'd want to see, you know, with such a paper, like the more I search, the better it gets, you know, you're beating like these baselines that don't have search. So like adding search gives a big boost.

It was a big, a big boost. And this is kind of like, you know, the type of thing that you'd expect, right? The more test time compute we throw at these LLMs, the better they get. And then you can like, kind of like imagine, you know, kind of RLAing on all this together, AlphaGo style across like all these possible domains that we care about.
Um, this is like, uh, the other side of this, which is kind of like the, the RL side, uh, also combined with search. Um, so we can actually like kind of throw this all together and like literally do alpha zero essentially with LLM agents, right? So now we're like actually learning a value function and using that to guide the search. Um, and then as we do the search, then we can like learn a better value function and have this like virtuous cycle kind of the same way that we.
you know do with AlphaGo where you do like this test time compute use that to to do better and improve your your value function and your RL and then you use that to do better research better better test time compute and so on and so forth so you know again like the I won't spend too much time on like the actual numbers here but
you know spoiler alert like you know the more test time compute you do the better it gets and you know this is kind of like a pretty natural thing to expect is like if I just like spend more time thinking I'm going to do better than if I spend less time thinking and then clearly like
we've seen you know there's this formula really take off with you know slightly different than like the types of papers I was just talking about but you know the same sort of thing where you know you have your test time compute of your LLM and then you know use that to to ratchet up with with reinforcement learning in particular like you can see you know doing reinforcement learning on the chains of thought is like a
turns out to be a very scalable approach and yeah essentially like
My main takeaway with all this, you know, what's the takeaway with like this capabilities side of the talk is that essentially like this is kind of like the missing link, I think, to like close the gap. Like it seems to work really, really, really well. You know, you see these nice plots on the right here, right? Like the more like train time compute I spend that the better accuracy, the more test time compute, the better accuracy.
You know, so like, these things are very promising. I think like the, you know, the hard part actually is now becoming sort of like the safety side. So as these agents become more capable, it's actually like kind of harder and harder to align them in a sense. And, you know, intuitively, you can kind of think that like
I guess like the main thing I can point here is like sort of reward hacking, right? So, you know, Bowen Baker just released a really great paper, you should read it on reward hacking and so on. But you can imagine that like, as I pour more and more compute into these models, then it's going to be like, you know, they're just going to like nature finds a way to optimize its objective. And
uh this is like concerning if it like ends up doing a bunch of reward hacking and this could like also uh you know trickle down potentially into these model behaviors agent behaviors things like being deceptive being sycophantic right these are like kind of uh the same type of thing where like if i'm if i'm just like really optimizing uh for something right it's going to optimize it and you need to be very careful about what you're optimizing and what the
ways that you know if i optimize in my particular environments how is this going to generalize to different environments right and even just the fact of like the fact that i'm optimizing this to be some outcome driven you know rl based agent um it you know it makes the model be different than sort of just like picking up some like persona of like a helpful assistant through rlhf because like if i'm really optimizing this with a lot of rl
It's going to be a lot more goal directed. It's going to be, you know, more situationally aware, right? Potentially more power seeking even. And, you know, needless to say, like the more capable these agents become, you know, the more that they can actually like code and access the internet and carry out these long horizon tasks or like actually automate AI research inside a lab, you know, you can imagine them, you know, doing all sorts of bad things in particular just like.
kind of like carrying out its own goals and deceiving the people that are running it or trying to harness it and control it. But if it has these different goals than the users, than the humans, then it's going to be very smart and it's going to be doing a lot of things a lot faster, a lot smarter than humans. And that's a really tricky problem to figure out how to control these agents and how to align them in the first place and then also how to...
control them and make sure that they don't do bad things, even if there's a chance that your alignment strategy didn't work.
So the approach to safety and safety, I'll just like the first and the last one, I really should have grouped these like sandboxing and monitoring, also called like control essentially is like how do I like set up the safeguards in place where even if my agent were like scheming against me, it's going to make it harder for it to do something bad like self-dex will trade, for example. So you can like set up these like system level mitigations.
or you know AI level mitigations where I have another agent that's monitoring the agent or even like some interpret methods for like monitoring the activations or something like this so these are kind of like our test time mitigations and approaches to like sort of this frontier model safety agent safety but of course like the main thing is the alignment in the first place like
how do I train this model to you know not want to sabotage our research and not want to like you know self-exfiltrate and like start self-replicating or something like that and that's like kind of the core thing is like how do we actually train the agent to be aligned with these humans and
yeah so i'll go into monitoring for a bit um and then i i don't even know if i have a slide oh yeah i have a slide on alignment so i'll spend a little bit on alignment too um so yeah so monitoring this is part of like this test time mitigation um so i spend a lot of time uh at open ai doing a lot of like monitoring putting putting in place the monitoring so essentially like the the main idea here is that you just have this other model
that's looking at what the agent's doing and determining if it's harmful right so let's say i have an agent that's that's scheming um and it's like you know it wants to spin up unrestricted copies of itself let's say right
well you just have this other model look at all the actions that it's doing all the code that it's writing you know all the commands that it's taking and look and see is like well is this actually like you know putting in some back door in our code base so that a future version of it could then like spin up unrestricted copies of itself right it's you know you just have another model that's just like looking at all these things and trying to to make sure that that your agent isn't isn't doing these bad things
Of course, like.
you know it's like well what if they're colluding right what if what if you have your monitor that's like uh essentially the same model as your agent and like it lets it get away with things um and this is like you know a very very good question kind of like one of the main main uh you know areas of research and control um and essentially it's like yeah it's a hard problem but we can try to like see uh if we can essentially like trick our monitor and um eval it with really hard evals
right where um you know it doesn't know if it's being deployed or not and you have these scenarios where like you know if it was a not a good monitor or something like uh it would maybe let the agent through so you just kind of try to catch it red-handed um you know like actually red teaming the monitor training against the monitor um and these are all just like things that you would do normally even if like you're you're not worried about collusion or anything it's like well i just want to make sure that my monitors
like always going to be doing the right thing and not going to be making mistakes and then of course like once you have these evals you can just be like training the monitor you know with like synthetic data for example trying to make sure that you get better and better
um right team the monitor this is like um essentially you can uh just like train another agent to do something that's actually bad uh but the monitor says that it's good right so this is just like an rl objective you can just do a bunch of rl on this um and see if i can like you know sneak past my monitor of course like you probably want to do both sides of this uh because it's like i i just want to make a monitor that like never
gets uh says that anything is is good when it's bad then it's just going to like say that everything uh is bad right so you need to kind of like make sure that this is balanced and calibrated when you're doing this especially if i'm like actually looping this in with self-play where i'm like training against my red team in trajectories this type of thing um but yeah there's like a pretty straightforward idea is like let's just try to like find all the weak points in my monitor you
and you know train them out and this is like something you know we can do that we're doing um and you know it seems to to make a lot of sense right if you can like have a monitor where even if i did a bunch of rl against it i wasn't able to find the weak point where an agent could get around it um you know then it's like great you know i would feel happy about that okay and this is my last slide and this is actually kind of like the main thing that i'm working on these days um

i'm working on these days um and yeah it's like a big a big thing here is like how do i have a bunch of like robust reward functions that withstands huge amounts of optimization pressure right i i need to be like kind of upstreaming the alignment to these big rl runs and just like always checking and making sure that it's not doing these things like reward hacking for example how do you how do you like check and and make sure that it's like being aligned and like following the constraints
uh and like you know you set up a bunch of realistic environments and then you know do rl on it um but that like alignment you know function or whatever right this reward function needs to be very very robust so this is kind of like the the main thing i'm working on these days is like using self-play and training at a really high level um to train these like robust reward models which is like very similar to the previous side of like kind of like this red teaming loop right with the monitor it's kind of like the same problem if i have like a really good
really good monitor it's kind of the same thing as having a really good robust reward function for alignment and then of course like the main hope is that like you can do this in domains that have ground truth and then hope that it transfers to other domains as well just like a very very high level of kind of you know my opinions on AI safety and what I'm thinking about and working on these days but yeah thanks so much here's a lot of my collaborators and others that I didn't mention as well this is like kind of an outdated
deleted slides so sorry about that um but yeah i can take any uh questions uh if you guys have time for that Yes, we have time for two or three questions.
Hi, thank you for your excellent talk. You mentioned about monitoring. So uh I'm thinking about like channel of the monitoring, because currently for those Exactly. uh recent models, the chan the channel of thought are actually very long for human uh it is difficult or even impossible to monitor the whole thinking process. So what do you think are the most urgent or important things or open questions that we want to solve in channel of the monitoring?
Sorry. Yeah, really good question. Yeah. And yeah, I'm super optimistic about chain of thought monitoring in short term. I'm fairly pessimistic about it in the long term. I think that our old pressure will just sort of, you know, make these chains of thought be less and less interpretable, less and less legible. And also like
you know, I think their faithfulness right now, essentially like the faith, what I mean by faithfulness of train of thought, it means like, how much of this actually line up with the things that the model is actually thinking? And there's like a nice anthropic paper about this. So like kind of a strict definition of faithfulness, but you can already point to areas where like the model makes a decision for a reason that doesn't pop up in the train of thought, this happens quite a lot. So it's not like, you know, a bulletproof thing that
that that like if i had like a scheming agent it's just going to like say in its chain of thought certainly when like it becomes situationally aware enough it's just going to like kind of hide hide that from its chain of thought but i think in the like next year or so um yeah it's like yeah we should maybe using this as a tool um it's very easy you just like prompt another model to like look at it and um so yeah it's like kind of like a clear obvious thing to do um in terms of like the
Biggest like most interesting research and chain of thought monitoring. I think the most is faithfulness.
um i'm you know like figuring out good actual measures and evals of like chain of thought faithfulness um and then like kind of the holy grail which is uh you know pretty ambitious but would be really great is like actually training the model somehow to have a like fully interpretable faithful chain of thought right so if like we can actually really measure this i don't know maybe you can just like optimize this
somehow and then it'll just like always say everything that it's actually thinking in the chain of thought that'd be kind of like a really good goal Yeah. Hi, thanks for the great talk. One question, if we project to infinity, you mentioned self-play, right? Then there's a couple of options, right? You can have an infinite version of
world models or you can have infinite versions of systems which are able to simulate like changes in code repository, changes in like real-world Mm-hmm. systems. So wh what is like what is the world of infinite self play for you look like? Are you are you more bullish on Yeah. Yeah. uh world models or like systems or combinations?
Well, you certainly don't want to have world models if you don't have to. And I think for like a lot of these things that I'm mentioning in my talk, like these virtual tasks, you don't have to. And things like robotics or something, then, you know, it's like you're kind of forced to do this. But no, like I think like, yeah, like these virtual tasks, anything on a computer, I can make a virtual environment, I can make a container.
to write code for free essentially so yeah you should like anytime you have like actual real ground truth and like real environments that you can play around with which I think are like very abundant and in like these virtual tasks then you should use that instead of a world model Okay, we still have time for one more questions.
Thank you for the insightful talk. Uh I have a question regarding the reasoning abilities um like a relation with the tool use. Because you mentioned we have the file systems like AlphaGo and maybe the Estae we have other tools like g uh Estae G_T_O_ in poker. What do you think about the ability when we're developing those models um will they become lazy to calling these tools or we should develop learn to developing these tools to learn learn
or enhance their reasoning ability. Or they can automatically improve their reasoning ability in learning to just using these tools. Thanks.
yeah i mean i think like uh totally like there's kind of no downside to enabling uh your agent to use as many tools as you give it um like it just like kind of like increases the range of things that it can possibly do and it's like this like analogy with like students like oh you don't want to like give the student a calculator or something because then they won't learn to do like arithmetic or whatever but it's like you know who cares because like
like you you're always going to have your calculator um so you know as long you know you just always give it tools and then um you know it's always going to have those at test time as well um but yeah then like you have like kind of these interesting things of like uh you know gto and whatnot with games i think it will be a really interesting
uh to see like how well these llms can play games where you have like the pokemon benchmark right um you know like starting from general llms as opposed to like when i was working on it back like six years ago or something where we just like trained like one small neural network on one game um but also would be really interesting and this is like really cool would be like to see how good it is at making its own game right so it's like uh it just like does a bunch of coding right and then like
like uh sorry like makes its own bot for for a game and then you can see like can it actually like make a make a bot that like beats stockfish or something like that that's like another interesting thing anyway just like a random side note Okay, thanks. That's all for Stephen's talk. Let's thanks again for Stephen's fantastic talk.
For Yu Yang Wu, are you here at the conference venue? Oh, hello.
need to change your log if we want to use that one. Uh yeah, I want I want I need to use uh

I'm a junior student from Peking University and today I'm excited to be here to introduce our recent work uh more is less understanding channel of salient in L_M_s. And it is a joint work with doctor Yifeng Wang, uh um Tianqi Du, Stephanie Jaeschke and Ethan Wang. And below is my personal website.
So since the introduction of the channel salt prompting, it has been widely observed that longer CLT can improve the model performance. Earlier studies show that adding K additional steps to an original CLT can lead to more accurate answers. But will continuous increasing the CLT length keep improving the model's performance? So the answer is no.
It is well known that LLMs struggle with generating long chain of thoughts. This figure is taken from the physics of language models to part 2.1, which shows that even strong models like GPT-4 or fail when the number of operators exceeds 10, even if the reasoning itself is just as simple as grade school math.
But at first glance, this might seem obvious since as the task becomes harder and requiring longer reasoning chains, models naturally struggle more at. But for a specific question, there is often more than one way to solve it and with different possible reasoning lengths. So therefore, unlike this existing work, our focus is different.
So when given a specific question, what is the optimal length to solve the problem? So before we move on to the optimization, we first need to define what we mean by a meaningful CRT length for our study. So simply counting the number of tokens is not very informative, since many tokens could be meaningless or irrelevant to our reasoning. Instead, we view the CRT process as a two-stage procedure.
In the first stage, the model breaks down the original task into several manageable subtasks. And in the second stage, the model solves each subtask and summarizes the results into a final answer. So based on this view, we define the CLT elements as the number of subtasks the model decomposes, and this measure better captures the true complexity of the model's reasoning process.
So let's take a simple arithmetic example. So first, if we ask the model to solve it in four steps, because there are too many steps and one arrow in any subtask can cause the entire reasoning to fail. So the model becomes more sensitive to the noise during generation.
But if we instead shorten the number of steps, for example, slowing two operators at once which doesn't exceed the model's capability, and then the model is more likely to answer it correctly. However, if we ask the model to solve the entire problem directly in one step, it w it this would exceed its memory capability and it would fail without using a COT process.
So from this analysis, we can see a clear trade-off. As the CO2 lens grows, the difficulty of each subtask decreases and the number of potential erroneous subtask increases.
So to further investigate whether the model behaves as we predict, we conduct synthetic experiments on arithmetic problems. We vary the prob uh we var vary the total number of operators required to solve the problems, which reflects the difficulty of each ta uh of each task. And we try solutions with different lengths uh to see how the model performs.
So here comes to our first result. Each figure shows the result for a different size of GPT-2 model, and the x-axis represent the number of operators performed per step, and each line represents the given task difficulty. So when given the number of operators per question, the setup directly reflects the changes of the CLTLens.
So as shown in the figures, our first key finding is the performance follows an inverted U-shape curve. And this suggests that even when the task difficulty is fixed, the longer syllabus is not always the better. And we also tried to provide a theoretical analysis on this phenomenon.
We first divide the tokens appearing in the raising path into two categories, the tokens in sub-questions and tokens in sub-answers.
Yeah. And under this setup, we can naturally decompose the overall accuracy into two parts, the sub-task decomposition and sub-task answering. We defined T as the task difficulty, for example, the total number of operators in one task. And also we can define M as the model capability, which represents the maximum difficulty the model can handle in one single step.
For simplicity, we first assume that each subtask has the same question generation arrow and answering arrow. We use sigma t to represent the subtask decomposition arrow and which only depends on the task difficulty.
And we use the E and M-T to represent the sub-task answering error which depends on the task difficulty, the model capability and uh number of steps uh due to the trade-off we have discovered before. Uh based on these definitions uh we can derive sorry we can um uh derive the ex expression of the final accuracy.
And further, we make two versions of assumptions about how the error rates behave. In the linear assumption, we assume that the arrows are linear affected by the CO2 lens. And in the more general case, we only need to assume the monotonicity and convexity of the error functions.
And both these two assumptions lead to two common results. The first one is when given the model's capability and the task difficulty, the final accuracy first increase and then decrease as the CO2 lens grows. We can also explicitly express the optimal CO2 lens for its lower bound and empty.
And so far, we have studied the existence of an optimal solution. So the next question is, how do model capability and the task difficulty affect the optimal solution? So here we present an envelope curve.
So in this figure, the x-axis represents the task difficulty and each line represents the difficulty of the decomposed sub-tasks. And different colour indicates the optimal sub-task difficulty relative to the current total task difficulty. So based on this figure, we observe the following results. The model needs to increase a number of operators it solves in a single step.
in order to control the CO2 lens and achieve the optimal performance. And we also plot a heat map showing the optimal CO2 lens under the different task difficulties and the model capabilities. And here we find two surprising results and both may conflict to our intuition. Before we reveal them,
Last first thing, how do you expect the task difficulty and model capability to affect the optimal stealthiness? You can keep your guesses in mind and firstly let's think about the task difficulty. So in the previous envelope curve we observed that as the task

As the task difficulty increases, the optimal single -step difficulty also increases. And this might suggest that the neural training should be decreased for harder tasks. Is that correct? However, in reality, the harder tasks still require more steps to solve. And even though each individual step can be harder.
And secondly, we look into the model capability. Intuitively, we might think the stronger model should perform the longer CO2 chains. But in fact, when given the task difficulty, the stronger models tend to use fewer steps when they are capable.
And also in our previous theoretical study, we can express the optimal CLT lens explicitly, so we can analyze how T and M affect the optimal lens or its lower bound. For now, we have made a full study on the optimal CLT lens and its properties, and this may lead us to think one question. So can we construct a data set that contains only CLT solutions?
solutions and we take an experiment to show this answer. The green bar is the small model trained on optimal CLT lens which is better performed than the larger model trained on a random CLT lens which is the orange line, orange bar. So this indicates us a carefully designed data set can help small model out or perform a larger model.
And due to limitation of time, full real-world experience are removed from this au uh oral presentation. Um you can see our paper for more details, and thank you everyone. Okay, we have like room for one question.
Hi uh thank you for the interesting presentation. Uh so there was this uh last one o one of the few last slides where you were sharing about the task difficulties right? Uh where you basically say the harder problems require longer uh C_O_T_ to solve uh the the given problems. So can I understand how did you compute these task difficulties and whether these longer trails were resulting in right answers or not?
Yes, uh that's a good question. Uh in fact w uh when we construct our synthetic data set um each question is uh different questions have different operators to so. For example uh in uh when we calculate wha one plus two plus three there are two operators. So this uh this the the number of operators can be uh indicator to the difficulty of the problem.
I see. So the uh the difficulty was assessed based on the number of operations required. Yeah, yeah. And uh the longer C_O_T_s, were they resulting in correct answers a lot of times? Uh sorry? Uh the longer C_O_T_ lens, but basically you mentioned harder problems require longer C_O_T_ right? Uh yeah. So these were leading to right answers in most cases or y uh did you also have wrong answers in the end?
Uh yeah, it it still has long uh it it still have have the long uh there's noise during the generation uh of of the of the A_M_S_ Thank you. Let's give a round of applause to the speaker.
Our next oral presentation will be a qualitative sheet on I'll start theoretical analysis of reinforcement learning frameworks for self-taught reasoner. Please begin. Okay. Hello everyone.
I'm Hsuan -Anh and this is my co-author using. Today we are going to talk about our physical our our research which is our style physical analysis of pre -professional learning framework for the self-direction. And this is our today's outline.
Okay, before talking about our work, I will firstly introduce the concept of star and channel star. Star is an algorithm that if the generating answer is correct, then the model will use the output to further fine-tune himself. And the output here includes a rational and answer. And if the answer is incorrect, then I think it will be provided and a modified answer, modified output will also be...
useful rechaining. And by this rechaining process, the model can improve its reasoning and answering ability. As for the channel thought, the channel thought is a reasoning strategy and prompts the model to generate the reasoning step instead of producing the final answer directly. And some experience has shown that by doing so the model can perform better.
And this is the example. And let's move on to our contribution. Our first contribution is that we provided theoretical analysis of possible improvement achieved by the star algorithm. And it's of course that under some limitation. And the second contribution is that we're guaranteeing the robustness of star algorithm. And which means that the model can still be improved even when the finding data are very different.
contains some incorrect reasoning step. And third one is we provide a sufficient condition of convergence for the auto star algorithm.
Okay, the question is how we formulate the trend of the S Markov decision process. And the Markov decision process here means the framework of reinforced learning. And for state-based, it actually includes all the possible states that occurred during initial step, reasoning step and final answer. And for the action space, we actually divided as the state-based. And the reason is that in large language model, every action or response could be viewed as a reference.
the representation of current reasoning state. Yeah. So in this sense that since the transition function is conditioned on the previous state and current action, so yes, it is deterministic. Um but it's still important to know that the policy could be random. So if the transition function didn't condition on the specific action, so that it will inherent the randomness from policy.
And the loss-net model here is served as the transition function that we just discussed before. And so it would generate the next reasoning step only based on the current one.
As for the reasoning function, if sorry, is reward function and we only focus on the final answer. So we do not evaluate the quality of the reasoning step. And by setting the reward function like that, the object function could be viewed as the accuracy. And for next part is the union's turn to provide the ideal setting of our analyze and analysis and the theoretical part.
Yeah, thank you. So our analysis is based on the following assumptions. The first one seems like doing a audio framework where you're using the Markov assumption which that's which means that the LM is only allowed to accept the current step as the input. So this can be done by limiting the context window to be one. So yeah you can do this in the experiments. Second one assume that the ground truth reason exists. So that whole framework will be more meaningful unless you're doing RL yeah.
So we have a simplification of star algorithm. We exclude the rationalization parts that we do not hint still in that what's that doing wrong. So this is a graphical workflow of our algorithm. So basically throwing some promises on questions and give it to the LN and you generate the reasoning steps and answers, final answers. So this is the COT parts.
And we do a filter based on whether the answer is correct or not. If not, then we just discard the whole trajectories. If the answer is correct, we create a chain theta that collects all the trajectories that are having the correct final answers. And we train DLM again with these chain theta and this loops, just a cycle.
So we're going to give a tall example that illustrates our theoretical results. So this is a very simple, quite trivial case that is a two-step COT process, and with each step having two possible states to go to. I'm sorry. And suppose the model initializations satisfies this symmetric transition that each reasoning step.
And with a parameter delta that is non-negative. So that means that in the worst case, the model is basically random guessing. That's the worst case. So it usually performs better than random guessing. So here you see the graph here. The horizontal lines means the correct reasoning step and the oblique lines represent the wrong reasoning steps.
So let DT collects all the trajectories achieving the current final answers, that is the trend data sets. Now we have the trendy transition, that is the O-M based on the trend data sets and the current transition. So we assume that if the new updated transition is exactly the conditional probabilities based on the trend data sets. For example, the first updated transition going from S01 to S11 is exactly this quantity.

It's 1, 1. It's exactly this quantity. You see the calculations, this is the conditional probabilities. Then we can prove that, sorry, oh wow. So we can prove that the transition, the updates, the deltas, I should have a closed form, actually quite easy to do the computations. We can actually generalize this result in a more general setting where the number of COT steps can be arbitrary but fixed.
And also its reason to have a fixed spatial-obituary reasoning states. So we actually have these convergence-speed results. For sounds suitably chosen constant gamma here, the delta will converge to one, absolutely close. With this, uh after he gets uh large enough. Yeah, just uh more tech technical details uh and I'm delighted to talk about this in the poster session.
Okay, we can also do the policy improvement part. We can answer the question that let JP be the expected return, then the training process improves the objective functions. I said is that the conversion to the optimal policy, we can also achieve this. In this case, we do a very strong simplification here, so the optimal policy would just be the identity at reasoning step. The fourth one is that original research question is this one, that...
The policy, the LMMs actually improves while it incorporates all the incorrect reasoning steps so that the probability of having all these incorrect trajectories diminishes to zero at the end. Yeah, so I've got the experiment to also explain it a little bit. Okay, in our paper we also provide some experimental results and align with our theoretical setting.
We choose GBDT to as our protein model and we set out the binary string of length 3 in zip operator as L test and here's the same example. And in this example the total number of total possible state is 64 and the total number of step is 3.
Okay, by observing this graph, we can see that the real model is actually performed better than the theoretical one. And this result makes sense because the real model is actually more complex and smarter. So they do not strictly follow the theoretical assumption. For example, the large language model may assign a successive... Sorry.
Probability maps to those instead that appear more frequently in training dataset, and as a result, the effect of fine-tuning with this dataset would work better than our initial aspect.
Okay, in the end, I would like to probably talk about our future works and it's also the limitation of our current work. And the first one is Markov property. And in this, in our setting, the generation of NAS reasoning step is only based on the information of the current one. And this assumption simplify our RL -based
an analysis, but it's not really the real-world work. So it may contain, it may exist some gap between the theoretical works and the real large language model. And that is the, that is the, it's the discussion of the determination, sorry, determination of the ground truth reasoning strategy.
And now we're setting that we assume that for each question and answer pair only have one ground truth trajectory. But in reality, there may have a lot of reasoning trajectories that lead to the same correct answer, for example like that. So this is also an aspect that we would like to improve in our future works. Okay, that's all I have. The next two papers are our main reference.
Christian? Okay, thank you. So we have room for one question. Anyone? Oh, sorry.
I hear one quest oh it's very hard yeah. So uh I hear one question regarding this deterministic transition that you've introduced. So I guess this uh a little bit uh uh ignores a lot of uh like things that that we have uh with in an L_L_M_ like ignores the temperature, the sampling, and a lot of things. So my question is like if uh since the real L_L_M_ inference is often probabilistic, so you if you have this deterministic transition, you uh
uh ignore a lot of these uh scenarios or uh and my question is like uh did you try to int also introduce this and uh does it make uh harder to prove the things that you proved if you have some non-determinism or not? Uh thank you so much for your question. Uh but uh I I think uh maybe our slide is not clear enough. We are actually incorporating the temperature and all the randomness in your M_S_ by having a possibly random policy. Uh here uh okay. Okay.
So here uh the transition is deterministic in the sense that once you choose this current action that is the current uh reasoning step will become fixed. So it's not deterministic in the sense that the element must be de deterministic that is the temperature must be set to zero. It's deterministic in the sense that you can't really undo your reasoning. Yeah, in the sense is. Yeah. So I hope that answer your question well. Thanks so much.
Okay, let's give the presenters another round of applause. And then for the for the next oral paper, so we have uh Hashita Chopra present feedback about Monte Carlo tree search for efficient information seeking and goal-oriented conversations.
Hi, good afternoon everyone. I am Harshita Chopra, a PhD student at the University of Washington. Today I'll present our work, feedback aware MCTS for efficient information seeking in goal oriented conversations. Um this is co-authored with Professor Chirag Shah. In this paper we tackle a central challenge in conversational AI, which is how to plan and adaptively ask the right questions to efficiently reach a target solution.
So let's start with a broader context. Inference time reasoning and planning are becoming increasingly critical for AI systems, especially in interactive domains that involve multi-turn conversations. I'm sure a lot of us have noticed how LLMs often try to answer our questions in one shot, even if the information provided might be incomplete. For example, in goal-oriented dialogues like medical diagnosis,
is or double shooting. A system must identify what information is missing, and strategically ask questions to uncover it. Uh however uh there are a few challenges in decision time planning. First um
The space of possible questions can be huge, making exhaustive planning infeasible. Second, most existing methods lack mechanisms to learn from previous interactions and adapt their questioning strategy during inference. Third, planning often requires a lot of LLM calls, which can be very costly.
Um infinitesim planning is crucial in conversational settings because every interaction is a chance to seek new information and adapt. But how do we balance strategic questioning with efficiency? Tree-based methods like tree of thoughts uh systematically explore possibilities, but expanding all branches is computationally expensive. So firstly, can we balance exploration-exploitation while minimising costly LLM calls?
Secondly, can we learn from prior interactions? Consider an example of how a human decision maker like a doctor or support agent works. Over time, they see many different cases. If they discover that asking some specific questions early on helps in quickly narrowing down the dialogues or the diagnosis, they'll remember that and reuse those questions when similar cases come up. They build on proven strategies while adapting to new cases. That's exactly what we want our system to do, enable it.
Will it to learn from historical successes at inference time so it can reuse effective questioning strategies for similar problems in future?
So our proposed framework is called MISCHEF, which is Monte Carlo research for information seeking questions with hierarchical feedback. So it integrates a lens to generate candidate questions, a MCTS for efficient selective exploration of the question space and a hierarchical feedback mechanism that learns from past conversations and guide future selection, all of this at inference time.
This is how Ms H_F_ works in practice. A user provides a problem description. A system assigns a cluster based on problem embeddings, whether we have seen something similar in the past, so we can assign it to that particular cluster. Then it constructs a decision tree of possible question

Once a decision tree of possible questions and MCTS is used to explore this tree, expanding only the most pro uh most promising branches or most promising questions. At each turn, the system selects the question that maximizes expected information gain and after each successful conversation, feedback as a bonus reward is propagated along the question nodes in the path, which were successful.
Let's zoom in on the core method. In the decision tree uh each node corresponds to an L_L_M_ generated candidate question and how that question will split the set of possible outcomes based on either informative or negative answers from the user. We also keep a track of the total reward and the cluster specific bonus rewards of each node.
For planning, we use Monte Carlo research with the four main phases. For selection, we propose a modified UCT formula, which is the upper confidence bound for trees, which combines the total reward and exploration term and a novel cluster based bonus. So we have an exploration term and the bonus acts as an increment over the reward.
And during expansion, if required, we generate new candidate questions for unexplored nodes. So the selection step is basically what uses U_C_T_ to figure out which is the promising question to expand, which will give the highest reward in long term. For simulation we run a random roll-outs to estimate the long term impact of each question. And finally we backpropagate the rewards and visit counts of the tree. So we it visit counts also help us keep a track of
of which questions were visited in the past.
A key innovation in our is our hierarchical feedback mechanism. After a successful interaction, we embed the problem description and assign it to a cluster of similar cases. We then propagate the bonus reward along the path of questions that led to success with an exponential decay with depth. Early stage questions are more general and broadly applicable. Hence we assign them a higher bonus. And later stage questions are specific more specific to every case. So they get lesser bonus.
Here the beta, a variable go uh governs the proportion of the total reward we want to increment. This cluster specific feedback is incorporated in the U_C_D_ selection, basing future planning, towards question str uh trajectories that worked well for similar problems.
Uh talking about the experiment set-up, uh we evaluated a Miss Ketchup across three domains, medical diagnosis, troubleshooting and general information seeking like the twenty questions game. Uh we compared against two main baselines. One is direct prompting, which involves no planning at all. And the second is uncertainly of thoughts which is the state of the art model and performs exhaustive research using the same reward structure.
Based on the recent literature, we evaluated the success rate uh the mean conversation length in successful cases and proposed a new metric which is a Q_G_C_ or question generation calls, which tracks the average number of L_M_ calls needed for planning per conversation.
The results show that uh MISC-HF uh achieves uh on average about um twelve percent higher success rates and about ten times fewer llm calls during planning as compared to exhaustive search methods in troubleshooting and medical diagnosis.
These results demonstrate that adaptive inference time planning, especially when combined with learning from prior cases, even at inference time, can d uh improve both the effectiveness and the efficiency of goal-oriented dialogue systems.
We also show performance of our method on the twenty questions game one two data set. And for both of them uh m misc uh consis consistently outperforms baselines in three metrics. These results demonstrate the scalability of the proposed approach to larger possibility spaces, which can go to about hundred or more possible outcomes. And more empirical results ev in um open ended scenarios are also available in the paper.
Um to sum up um MISC-HF brings adaptive, efficient inference time planning to conversational AI combining selective research with online learning. Our method scales to complex open-ended tasks reducing computational cost while improving or maintaining accuracy.
In the future we plan to extend our framework to even more open-ended domains, incorporate feedback from failed cases, for example like we do for successful ones, and improve the quality of questions and the flow of conversation. That's all. Thank you so much, I am open to questions. Hi, we have time for a quick question.
Okay, so here like I
Thank you for the great uh talk. So there you would said there are several domains such as uh medical troubleshooting and I saw your poster over there. Uh so the possible answer seems limited, they have two question first is that uh if like how does the performance uh look like when you have a larger set of answers and like what if uh actually uh the answer is like still unknown at the at the end.
Um so um if we have a larger set of uh possible outcomes, one thing for sure is to uh increase the number of turns, because it might take more questions to uh uh reveal the missing information. So that is one. And the second is uh how we reach the uh final state is whether or not we reach the answer. Because even if we take like one wrong turn in a decision tree, it works similar to a decision tree. If we take a a wrong uh question and the branch, so it might not lead
lead to uh the specific uh solution. So that can of course be the case and that is something which is reflected by the success rate. So of course like we have success rates ranging from seventy to eighty to ninety percent. So there are there is scope for when it can actually fail. So that's what we are trying to improve with the feedback and making it learned over time so that if something works out we can uh give it extra reward so that those questions are
uh chosen and if it does not work out that's that is like one of the future works we are currently uh planning to do. If it does not work out, if it fails at some point and the answer is not identified, we can even penalise those questions. So that those are not picked up again in future cases. I I mean if the the answer is like there is no answer among among these uh set of answer, what Okay, what you said uh so if there are s uh
So this is yeah, this is an assumption of the current one, that the answer either exists in the current set of possibilities that we are considering. And then there could be another scenario where uh we do not know the current set of possibilities at all. And in that case we want to uh generate the set of possibilities by giving the conversation so far to the LLM, and that's that that is also one thing that we uh do. Thank Okay, you so much. thank you.
And then for the fourth order presentation we have like Hanze Dong present offline reinforcement learning for our multi-step reasoning.
After this oral presentation, like we'll have our second poster session of the day followed by another two invited talks by Professors Bo An and Junxian He. And finally we'll also like reveal the mysterious best paper and best paper runner-up awards. So please stay tuned.
Uh today I will introduce offline reinforcement learning for M_M_ multi-step reasoning. And we will present our algorithm named Orio which is offline reinforcement optimisation. This is an offline R_L_ method, and it's specially for M_M_ multi-step reasoning.
So uh everyone knows GPU and everyone is using GPU now and because GPU is very easy to use and perform very good with offline data set. And there are still a lot of issues for GPU when you want make it in some multi-step reasoning tasks. The first one is that GPU relies on paired data. So for each prompt you need
both correct and incorrect answers as a pair so that you can construct the pair for the offline data set. The second one is that for DPO, there is not credit assignment so that when you perform DPO algorithm, you just treat the whole trajectory as
one whole thing. So that is something not ideal for

something not ideal for multi-step reasoning. For example, some steps are correct, some steps are wrong, so you may want to do some different credit assignments.
So, uh let's first construct some very simple and commonly used scenarios, such as mathematical reasoning, uh GSM, AKA and math. Um we have some different states, uh such as our prompts the question description and you will perform reasoning on it. For each step you can think about it is
It is one action and then you can just perform some transition between actions. Also for some embodied agent control, so we have AlphaRoad as a data set. We have both observation and action. So we have observation response, observation response, something like that. So for these two data sets, we can formulate them as some
different MDPs. So that is very standard RL setting.
So we follow the standard IOHF setup. We want to maximize the reward. At the same time, we want to minimize the KO divergence between your policy model and your reference model. So that is a very important regularization for the language model post-training because you need to keep the fluency and keep the knowledge existent.
And these two parts are just very important and standard. And then it is not hard to derive the Bellman equation, although people think about this less, but we still trace back to the
conventional REO setting and we can derive that the optimal value, uh the difference opti uh between optimal value is still the reward and the uh KO constraints. So that means
We can build a very good connection between value, reward, and policy. So if you want to get the optimal value and optimal policy, it must satisfy this soft Bellman equation. So the only difference between the current R_L_H_F setting and the previous setting is that we add this K_O constraint and it becomes a soft constraint.
So we can use some laws to enforce this soft Boehmian equation hold for your um policy model and and value model.
So that is our audio objective. We have our, we can construct the value by telescoping and we have the MLE loss for both value network and policy network. So in language model setting, the policy model is the language model itself and you need another creating model as value network. So you need another same size language model as.
as your value model, then you optimize these two models just like the PPO setting. And we can just minimize the MLSE loss for both value network and your policy network.
And we have some results. First, we show that this method can outperform baseline methods because we can assign credits for different trajectories and we can also perform our algorithm unpaired offline data sets.
So this is the result on uh some mathematical data sets and alpha world data sets we can perform better than rejections sampling, D_P_ or K_D_O_ these kinds of uh offline algorithms. And also nowadays people are trying to make the offline algorithm more online by an iterative manner. So our offline algorithm can also be conducted
In this manner, so we can construct iterative aureole. So for each time you obtain a data set and train your policy model with this data set, then generate another data set by your policy model and get another data set, label it, then train your policy.
Again, so you repeat this uh uh steps about three or four times, it become um iterative uh algorithm. And people also found found that all this kind of off-line method when you perform it iteratively, the performance can be much better. And
It is also hold for Oriole, and you can see that we can perform better than rejection sampling and DPO. So finally, a very important thing between Oriole and previous baseline is that we have our value network. That means we can assign credit for different steps. So for each different step, we know whether this step is good or not.
So for mathematical problem, we can generate several steps and because we have our value function, we can just choose the correct one to perform beam search. So then the inference time.
Scaling can be conducted directly with our value function. So this is very similar to process reward, but the difference is that when you perform process reward on your offline dataset, it may have domain distribution shift between your policy model and your offline dataset. But this value function is just trained on your policy model. So there is no...
distribution shaped and it can estimate better than previous method so we have some inference time scaling results when you add your compute budgets GSN AK mass 500 or alpha world it can also increase significantly just with the value network trained by yourself
So finally, we have our conclusion, and OREO is an offline OREO method for a multi -step reasoning. We have our value network to estimate the...
correctness for each step. So we only need unpaired reasoning trajectories and we have this good fine -grained criteria assignments to obtain both policy and value and we can also use iterative training to further improve the performance and we evaluate it on different domains such as mass and embodied agent.
That's all? Oh. Okay, thank you. Any questions?
Hi, thank you for your talk. Um I must have misund misunderstood something, but in the Velman equation that you've shown, I think it should hold for any policy, not just for optimal policy, right? So, if you find a fixed point of it, why would j why would it yield a good policy? I'm not sure. Um yes, I think this is for optimal but when when they they only uh fixed point is the optimal
Optimal equation. But why? We can show that the fixed point is the the the optimal policy. Okay, maybe we should take it offline. Yeah. Okay, thank you.
So now we have our second poster session, so just everyone as mingle around with the all those here. So our next talk it takes place at four p.m. today, so please make sure to come back early to secure your seats. See you then.









Oh

'Cause it's it's starting now. It will be presented by Prof.
I'm Bo from NTU. Okay, uh let's start our next uh keynote talk. It's our honour to have Professor Umbo here to uh give us a keynote talk. And Professor Umbo is uh President, Chair Professor and Head of uh Division of Artificial Intelligence at the College of Computing and Data Science of NTU and he is also the director for okay, okay. Let let's welcome Professor Umbo.
Thank you for the introduction. It's my honor to be here to share some of our work. So this talk is actually quite, it could be 40, 50 minutes. So the intention is trying to give some kind of overview of my, part of my journey over the last 10 years.
So, I'm from the community called Autonomous Agents and Multi -Agent Systems. I don't know, nowadays, agents are super hot. There's something called AI agents. I don't know how many people here know that there was a very old community called Autonomous Agents and Multi-Agent Systems, which is, I think the community started from 1980s even.
I guess not many people know. So there is a big community or they're working on something called a disputed AI. A lot of times there's no large language model. So they work on kind of disputed coordination, collaboration, dispute machine learning and so on. They use planning algorithms and also lots of people work on RL algorithms. So
Um, so I have been working on all kinds of, um, critical and complex problems, um, work on different kind of applications as well. Uh, due to the time, I might go a little bit faster. Um, so we, we tried a few paradigms, uh, in early days we were using more algorithmic approach where we, um...
You apply techniques from AR and AI and so on to solve real-world problems. One big issue with those charismatic approach is number one, oftentimes it's cannot scale up. Number two, many real-world problems, it's difficult to build a good model.
Oh. So if you want to apply any kind of optimization techniques, you need a model first. But for many problems, we don't know how to build a model. I guess for those kind of problems, we need to use more data-driven approach.
And after a few years after I joined Arcademia, I also realized that I need to get more research funding and because Games Hero sometimes cannot work for industry, so I started to switch to more data -driven approach. I work on RL for many kinds of problems. I will show some deployment applications we did.
Then I guess one limitation about RL is it's kind of difficult to generalize. So the solution you developed for one domain couldn't be applied to other domains. And luckily...
In the end of 2022, ChatGPT was released. At the beginning of the first few months, we are not sure whether it's a bubble or not, because personally I feel there's no technical breakthrough. Sounds like everything is based on some existing techniques, but it just works. But after a few months, we realize it's already working and we decide to embrace a large language model. So we work on different kinds of problems, including
AI agents and reasoning in all those type things. So I'm going to spend more time on the third paradigm. I will go very quickly for the first two, just give you some kind of taste about there are some other techniques and some problems could be solved by those techniques. So I'm going to quickly go through some early days, some work we did like security games. It's about applying...
Game theory for deciding how to allocate security resources to protect infrastructure. I think the slides are in MS because I'm not using PC. I think the slides are moved to this machine.
Then the amazing thing is we don't just publish papers and actually it's widely deployed in many scenarios, lots of scenarios in the States. So just give you a taste of what we, the kind of algorithms we're developing. Sorry, it's totally a mess.
Then something we're still work on along this line and as you can see we tried many different techniques.
But unfortunately, it cannot scale up. That's a big problem. It has limited scalability and also it does not have transferability as well. So then we decided to go to RL. So RL has, you know, learning-based approach oftentimes has a better scalability. So the problem I just mentioned, we came up a number of deep RL -based approach for such kind of problems. As you can see, the scalability is improved.
It's improving over time, and now the techniques for this is pretty much ready to be deployed in the field.
I guess we did more for different RL algorithm in addition to improving scalability, but we also did algorithms for improving the generalization as well. I guess I have more detailed example here because I think people here are more interested in reasoning. I might ignore the technical details. And also for RL, we had lots of industrial application. Early days for flow detection for...
for e-commerce. Later we did a recommendation for e-commerce.
In ride -sharing social media platform, we had quite a number of collaborations with platforms like Kweiso and others, and we also did work on financial market trading. So I have a couple of slides to give you some taste about what we did around for recommended systems. So this is something we did with Kweiso.
Here the problem is about user retention. So we want to find a good policy which can be used such that the users are willing to spend more and more time on the platform. And here we care about the performance of policy over a long period, for instance six months and even one year. There are lots of challenges here.
For instance, the feedback is very delayed, because if we talk about non-term engagement, it's very difficult to see the contribution of each single video, because over six months we might have recommended thousands of videos to a single user, and it's really hard to define.

pretty hard to define the contribution of each individual presentation. So then as we know, if we want to apply R_L_ for such kind of scenarios, we need to d define the as your award for each action. So in the past what people did is they are going to use some heuristic function to decide the as your award signal for each um recorded video. And uh actually we
did something other than that and the idea is exactly the idea used in channel GPT something called R_H_F. But we did this work before there's release of channel GPT. So the idea is very simple. We cannot define, we don't want to define these words singular for each individual's accommodation. Instead we we're going to shoot different trajectories of different users over a very long period, for instance six months or six.
then we will ask people like people work for quite so to rank or to decide which trajectory is better so we have the over all the over singular for trajectories and then we here we used then we try to learn this word
of each individual recommendation. I mean, that's exactly what's happening in the word learning in RHF, learned as the word model. So it works and it's been deployed in the platform as well.
I'll just give you one example and we did lots of other things for in such kind of settings. For instance, we noticed something very serious which is dynamic shift in a social media platform because the the hot topics are changing every day and people's behavior will change over time. And I guess one quick question is how can we
um effectively between online policy uh with such kind of dynamic user behavior pattern um so that's a problem we came up a few ideas to uh
kind of to address this problem and they all get deployed including something which will be shown will be presented in 2W next week. Another thing we did is financial market trading. I guess I would go through this quickly, really quickly. We did quite some work, for instance high frequency trading, portfolio management and market simulation, build market simulator and also trading strategy in a
generalization. For hyper -constrating, I just want to highlight the key idea behind our current SORTA approach. The idea is exactly MOE, which still we do this work before MOE architecture is becoming more popular. So ideally we hope we can train one single agent which can do well
And with different kind of markets, for instance, markets we know there are bear markets, bull markets, or markets with kind of fluctuation. But practically, it's very difficult. It's difficult, for instance, the market is able to understand what's the current situation and choose the best strategy. So then what we did is we kind of trained many agents.
So each agent might be able to perform extremely well in certain type of market. Then we train one high -level router which will analyze the current market citation and pick the right agent for trading. So that's exactly MLE architecture nowadays being used. So I will skip other things and we have something called trade master.
platform. This is the best place for if you want to do something on RF or trading, that's a place you can get started. So let me move to the last part about AI agents, what we did. I'm going to show you some work we did on reasoning and also computer control and we also designed some agents for financial marketing as well. I think for this community, I don't need to say too much.
E pau.
Um, you know, what natural language model can bring to the table as compared with traditional R-based approach. For traditional R-based approach, there are lots of challenges. For instance, it's sample inefficient because we have to train everything from scratch. And it's task specific. For instance, we did work on financial market trading. We worked on crypto trading. There are a few crypto assets. So the policy trained on this asset.
The asset has terrible performance if we apply this policy to other assets. And for ROL it's difficult to deal with, uh always challenging to deal with problems with uh non-horizon also the reward is sparse because we need the reward signal to to um, y you know update the policy.
Not general knowledge can provide us knowledge. I don't, you know, whether it's word knowledge or something, but it, because it's training or kind of data, it provide reasoning planning capability and also we can call all kind of tools and we have in kind of learning capability.
So we had some work on this. For instance, this is some work we did last year, which is trying to combine the strengths of natural language model and ARL. Um and we know um natural language model can provide
High-level plans, but those high-level plans are based on the average assumption. For instance, if we want to make a meal, the plan might be we will start with this, that, but maybe some ingredients are not available, then the plan cannot be executed. So how to improve that? We need something which can interact with the environment, so we can, that's what RL can do. So we want to use, we can start with some policy.
So just by not a language model, but later we need to interact with the environment to fine -tune the policy. That's what we d we we did in this early work, and and it achieved uh very good performance in m many uh challenging tasks in many environments such as over-cooked.
Um another work we did which is relevant to the theme of this workshop is uh actually we we came up the first paper on on KuuStar. We know that in um late 2023 there was a Zoomer open is work doing something called KuuStar and um that algorithm significantly improve the performance of natural language model and and I think there are lots of um uh
discussion about what what what is q star by open and never releases the details we guess this might be something a combination of q learning and a star so we follow this paradigm and design our q star algorithm so it's a combination of a star search and q learning so I'm going to explain a little bit for for people who know a star search basically it's a search tree
Each load, we need to calculate the F value. And the F value has two parts. One is the G value and the other is the H value. The G value is the cost from the root of the tree to the current node. So in our approach, we are using
PRM to concatenate this part. So the PRM is trained by public data available because we're doing this for mass and code generation. There are data for this. We use that data to train PRM. Another thing for ASTAR search is we need to find the edge value. Edge value is heuristic value which is used to estimate the cost from the current node to the goal state.
In here, we collect data and train the edge venue. The edge venue in our case is called Q-venue. So we tried a few ways to learn the Q-venue. For instance, we can use offline RL or we simply can do rule out and do estimation and other sense to get a Q-venue. So we tried the algorithms on different...
Data sets, I think this experiment was the p the the paper was released in last May uh that's before the noi release of uh open uh uh O_ one and also definitely before R_ one. Um so that time the performance of uh you know those uh the best model and those uh mass benchmark is not high. I guess the key idea is um this can help improve the performance for both the mass and and uh code generation.
generation and later a few
With this open source model, they actually used the Q -star algorithm to improve their performance. I think this was something we did in May 2024 and now it's almost been one year and there has been lots of work here. I believe there are lots of posters here showing lots of new algorithms and so on. For instance, nowadays people are not...
not doing PRM that much. So things are changing very quickly. And we we still have quite some other ongoing work on um on reasoning and planning. And uh some are under some mission, some are uh to be submitted uh next months.
There are some other work we did on agents such as compared control. This is still something published early last year and that's been evaluated by lots of

Evenated by lots of benchmark problems for computer control, such as broken flights and other things, it's achieved the sort of performance.
In this conference, we have something called Agent Studio, which is toolkit for building general virtual agents. So we provide the general environment, interface actions or universal actions, universal observations, and we provide tools and benchmark suits everything for to help the development of virtual agents.
Uh in other work we did it on a agent something called cradle. Um this is a agent based on language model or to play complex video games. So the input here is the um the computer screen and the we are controlling the keyboard and mouse to play the game.
So this is different from some early agents who are calling the API of the games to play the game. So this is the most general way to interact with, to play the game and that's also how human beings are playing the game. We just observe what's going on with the computer screen and then control keyboard and mouse to play the game. And here there's no learning at all. I mean there's no RL at all.
all so we totally exploit the
the power of large language model and certainly we have because that's still not good enough to play the game so we have lots of other additional components such as you know how to generate skills how to create new skills how to do planning how to decide action certainly we need the memory to support everything so in the end we're able to play different games such as redhead redemption 2
study of any dinners knife 2 and city scanner and many other softwares. So the framework is being used by in many different scenarios. Some work done by our group, some done by other people. For instance,
um there are a few uses to play there's a one game which is popular in China called hei san hua wu kong but I don't know what's what's the name in English but so even for my group I think now we have a couple collaboration one collaboration is with hardware company so they're producing iPads and cell phone so in the past they are hiring people to play games on those hardwares to make sure
to make sure the hardware has no problems with all kinds of games. And now we're designing agents to kind of test the hardware, make sure they're working fine with all different kind of challenging and popular video games. So we have some ongoing work. I just want to mention one here. This is RL for...
agents. So agent is super hard here nowadays, but still like one early work I mentioned.
Some agents, they can show very good demos, but sometimes it's overfit on those scenarios. I guess the question is how can we improve the robustness of agents in scenarios we don't have much data or even unseen scenarios. And I believe RAL is the right approach here. So we need to interact with the environment to get feedback and improve the performance. So that's basically the idea we use here.
We this is online tuning online RL of VLM agents So what's the pain point here is The huge exploration space because the exploration space here is on the token level so it's huge and if we So I think there's one early work by a certain events team. What's what's his court?
Um if we apply that to some other challenge problems, it has uh bad performance, because we enlarge exploration uh space. What we did here is we
We did some causal inference. Try to understand the impact of each token on the actual action. And based on that, we came up with some novel idea to improve the exploration efficiency. So this is something under submission we will know the result in a couple of days.
We also did some work on agents for financial market. I mentioned we did a lot of work on R_L for financial market trading, but there's no agent, we're not using natural language model, so for R_L for trading we simply we can only use numeric data. But so lots of data couldn't be utilized there. So and here if we use natural language model to build agent, then we can use all kind of
kind of data with different modality. So we have a framework, I guess this is open source as well, in the end we're able to show this or achieve much better performance than existing agents either based on some rules or based on R or there's some earlier work on, you know, agents for trading.
But this agent cannot be utilized for high-frequency trading. It can be only utilized for low -frequency trading. For instance, today you won't get suggestions whether you can buy Apple or not. But for high-frequency trading, we need to use the RL agent, which is trained by RL, not a natural language model.
I want to summarize here, I guess some feature directions for instance we have some ongoing work on language model
our agents for science to get new materials and so on. We have some project on material discovery, but that one is based on traditional approach, machine learning based approach. We try to get data from or the publication from books, then we try to build a predictor which can predict the property of the material based on the composition of the material.
Then we try to design lots of algorithms for searching the huge spaces to find the material which can meet some property. And here we want to utilize agents for doing that. Certainly...
Agents are super hot in both digital and physical world. If it's physical world, it's embodied AI. It's digital world, we should do some work on agents on not work on web or computer control.
I think um uh there are lots of research work, but actually it's uh I think not work is not ready to be de deployed in the field uh including the cradle framework I just mentioned uh because there is a delay when we call G_P_D_ four O_
Oh, there used to be, I guess in the beginning, about five seconds delay. And later there's still kind of two, three seconds delay. So every time when we want to call GPT-4O, we need to terminate the game. When we get the feedback from the large language model, then we will restart the game. So I guess if after GPT-5 is released, maybe the delay could be reduced to less than one second. Then I think.
I think things will be much better. There are certainly some other things about designing foundation model. The scene making capability of nowadays language model is still very poor.
So how to improve the decision-making capability, especially it can be applied to different domains. Even for domains we don't have much data or even unseen domains, that's still something very interesting to explore. I think that's pretty much what I have here. Thank you.
Thanks Prof. An for the comprehensive talk. Uh we may have uh time for one question. Hi. Fei Liu from Emory University. Thank you for the nice talk. I'm wondering, could you comment on if we wanna do planning or reinforcement learning in multi-agent environment, what might be the directions that you think it's
reasonable. Thank you. Yeah, we haven't done much on that. I guess that's gonna be
You might get lots of ideas from multi -agent RL if you want to apply RL in such a scenario, I believe in the and we need RL as I mentioned, if we want to make sure it's it's really working in this field RL is needed or something uh which can learn from the experience. Um if you apply RL there is community called multi-agent RL, they have developed pronouncement algorithms to make sure you know different age

To make sure, you know, different agents, they're able to coordinate, collaborate um in a disputed way. We thought about that, uh and I think we have a research proposal which is uh to be submitted within a week. Uh where one scenario we used is motivation scenario is some uh
In Singapore, maybe in April, not a couple of weeks ago, there was a fire broke out in some three-story apartments. One girl passed away and more than 20 people got injured.
For the other scenario, and we try the best model so far, GPT-4 and others, they have mistakes, they make mistakes. So we have a few steps. In our step, we hope the whole... We want to get suggestions about how the police can handle such a situation. We might need to break this problem into, you know, there's a firefighter, how to put off the fire and...
And also we need a plan for how to rescue people, uh and our police might do something. So we might break this whole problem into uh m multiple sub-problems and each agent might handle some of that and they need some coordination. Uh but we haven't done anything yet. Okay uh let's give another round of applause for Professor An.
Okay. Yeah, yeah, hi. Uh yeah, I'm just uh yeah very happy to introduce the next speaker. Okay, uh yeah.
Yeah, yeah, okay. Yeah, I'm very glad to introduce uh Prof. He Junxian. So he's an Assistant Professor in the Department of Computer Science and Engineering at the Hong Kong University of Science and and Technology. And uh he received his Ph.D in natural language processing from Carnegie Mellon University, uh language technologies institute. And his recent research focuses on long-term, long horizon reasoning and planning in language models.
Okay, um cool. Um so
Yeah, and today I'm going to introduce two our recent projects. Basically we are doing reinforcement learning for large language models. Um one for i effective resonating and one for efficient resonating. Um by the way, we are the team of simple RL. Uh you you are uh using language models uh to do mathematical resonating, probably you have known our project. Uh we are going to introduce uh one of the release the project, a very recent release projects are very recent and the one is
I still ongoing work. Uh and today's outline is just like two things. Uh one is how we untime the reinforced learning for a lot of ba different base models. Open weight base models and to we improve the performance for effective reasoning. And the second is ongoing work like how can we uh reduce the response length and it to make it more efficient.
An first way and talk about the first project and to give you some background I'll go through the background very quickly um because just a deep sick r1 the kmk 1.5 they released the same day and to show that we can just do reinforcement learning from the base model and the response lens will keep increase and the performance of course is was comparable to a one at that time uh and and the most important thing is the model naturally developed
benefits non -COT, and also they call the aha moment and the self-reflection cognitive behaviors during the RIL. Yeah, but here's a question like I think for the open source community because reinforcing learning training for language model is not something new. It just started a long time ago and even for rule-based reward, it was not something new and a lot of people tried this but people didn't really succeed to
uh emerge uh something. Yeah, so the emergence of landscape plus the self -reflection is something new. Uh that the people didn't uh really observe much um before the deep learning. And and the next quiz and uh and uh for deep learning there are many two parts. Uh this a background. Uh I go through this quickly because well I'm I'm going to introduce some experiment settings following these two. Uh first is it just a start uh from the base model. Uh that's like the zero setting.
thing, which is probably more interesting for the open source community, a lot of people doing this in the past a few months. And the second is you do some code stat with SFT.
And then perform R_O_ uh this is more like a tradition kind of a traditional people uh first do S_F_T_ and then perform R_O_ like for example if it's not a resonant people were doing R_O_ H_F_ um for channel channel T_ this is like a paradigm uh actually m most the commonly used before the basic R_ one. Um but here the S_F_T_ the code start is kind of different um because it's long COD_ code start it's not really short is COD_ code start.
Later in the experiments, I will introduce uh how um you would use a shorter C_O_T_ like a normal C_O_T_ data to code a study or model. It may actually hurt the performance of the reinforcing learning. Uh and if for the coded state it may give you better performance, it act acceler accelerates the training. Um and uh sometimes uh you uh it's kind of a user friendly because you can add some uh data to control the model behaviour. Uh and in the past the two or three uh two and three months the
There are a lot of papers I believe you have seen on archive basically like every day or two days. A lot of people perform like open source so-called replicates of deep SIGAR1. And basically for those open source works people try to answer two questions. And that is our works for small model and limited data like can we actually reproduce this kind of behavior with a limited academic budget and GPU budget and when we
We only have open models which is not as strong as deep-seq of A3 and when we only have limited data and when we actually perform with the open source
On efforts. And does the longevity and the self -reflection still emerge? And that's the main two main questions in the past three months that people are trying to answer. And we, I just go through this quickly. This is our very early trial, which we call simple RIO0. This becomes a kind of popular project right now because we kind of did this very early. And we try to say it's actually very successful. We actually show
It showed that with a seven beam model, and with only 8,000 data, and this 8,000 data is not some data special, it's just a like uh normal and training data from the mass data set. And uh you we can actually get um pretty f strong performance after performing uh the distillation uh sota results at that time. Yeah, for example, we started with from the Quinn 2.5 mass seven beam based model, and uh this is like the and base model performance on different benchmarks.
And if we compare, if we just use the same data, the 8,000 masks.
They can't even just do SFT. On the base model, it doesn't improve much because this data is just bad. It's a simple data. It's a human data. It's a better data set for this strong base model. And for the official queen instructor model is much stronger than base because they use like tens of millions of data, curated data and the distillation to perform very well. And then there are some other works also from academia.
in the prime, they use uh reinforcement learning and uh to achieve uh comparable performance to the official Queen Instruct model, by the way, s and ten times smaller uh data set. Uh but here, for our case, we just use eight hundred thousand data and there is no distillation or anything, uh it's just like a pure reinforcement learning. Uh here we use the TCO and we observe we we can actually con achieve comparable performance uh with the official Queen Instruct model and with the print
is a prime model. It's like a 20-point, 20-absolute points game compared to the base model. Yeah, of course, like nowadays, this is not something very surprising because a lot of works actually reproduce a similar phenomenon with this kind of RIO training with the base model.
And if we compare the data to that time, the data is just eight rows of data and the RIO training, each query gets eight row outs and there is no SFT. If we compare with the older paradigm when people were doing distillation and everything, it's like sometimes it's 100 times more data and even with GPT-4 as a teacher model to distill.

the fish model to distill and to achieve this kind of performance. This is like on the performance perspective, people fail, reinforced learning becomes a new paradigm because it's just so effective. And we also observe like a response lens increase and also some we also observe some self-reflection behavior. So it seems even with a seven B model and a limited data, you can still kind of observe the
the Lange-Selty phenomenon and some reflection patterns. Yeah, but this is not the main thing I want to introduce today. This is just like a background, some about open source reproduction of the deep-sea car R1. There are also many other papers doing pretty much the similar things, but almost all the models are based on the queen models.
And you have seen many models. They are all based on CRIM, but the CRIM are kind of special because the CRIM-based models are not really that based. It uses a lot of like SFT synthetic data during the pretuning stage. So if you use the CRIM-based model, you find that the based model already follows the instructions very well. It doesn't really behave like a base model, kind of different from Lama and Miestro, for example. So we wonder whether the conclusions are...
are kind of like a coin specific or it's like more general. This is the most important question we want to answer to perform this work we call the simple RIO zoo kind of like extended the work of the first project because we want to investigate and this zero reinforcement learning paradigm for open-based models for many many different open-based models. This is a collaboration work with TikTok.
Yeah, and first this is like the main results. We still use the 800 ,000 MS data, so it's still very simple data, nothing special. But we somehow managed to obtain these figures for eight different base models and across like a mixture and the LAMA and the deep-sick maps. These are kind of older models and also the new mistress model 24 billion and also different sizes for queen models and even as small as 0.5 billion.
And so we observed both the increase of both the accuracy and the response length. So it seems kind of successful and kind of consistent, which means we can manage it to observe this emergence for different models. But this is not the full story, and we quickly realized that the response length is a very superficial metric, because response length doesn't necessarily mean you have a moment, you have self-reflection.
maybe your model is just repeating itself. So it's very superficial and we want to dig deeper and to understand the model behaviors. And another thing is it was not that easy to actually get these results. We actually tuned many different factors very hard to make it work for especially the kind of weak base models like LAMA and MISTRO7B. If we just directly use some open source implementation
and GRC or WFC still probably doesn't work. There are many important factors that we are going to discuss today.
And this is like the main results. If you look at the absolute numbers, the improvements are very significant and typically like over 10 and even 20 points. And it also generalizes. It has some things surprising and we find that even though we just do reinforcing learning on mass data, it will improve a lot on other non -mass benchmarks like MMU, iF -Eval which is a
the standard instruction following benchmark, and also Gypsy Curious stuff.
Okay. But here is the thing. The first thing that we hope to reflect is response length does not reflect the full story because sometimes during training we found that the response length may increase just simply due to repetition and the response does not stop. So it just generates, generates until the max length and you average the length, you plot this kind of figure, you find, oh, it's very heavy. Okay. And your response length increased.
But it may not be a good thing. So we decided to track more measures. For example, like the left the red line is the clip ratio. It's like for how many responses the response gets truncated in the end, like it doesn't stop. And we track the new um length, which is not the a simple is the average length, but it's the average stopped length. So we only count the responses that are normally stopped.
not like an underlist repetition. And we only count those responses to come close to the average length.
And we can find something interesting, especially for the mixture 7B model. For the mixture 7B model, we found that the clip ratio is very high. It's like 80% in the later stage of training, which means 80% of the responses do not really stop. And they just keep repeat the response. So we feel like the response length increase of mixture 7B is not really healthy. It's actually a bad thing. But for most of the other models, it's the same as normal.
normal and it seems because a clip ratio is low but maybe just for deep-sea command and llama the clip ratio is over 10 percent but for most other models the clip ratio is almost zero which means all the other models can the responses can stop normally and there is no endless reputation
And we also track the cognitive behavior because response length doesn't really mean we emerge self-reflection or there is an aha moment or something like that. So response length is just a very superficial metric. It does not directly reflect the aha moment. So we think we should focus more on the true metric. So we use GPT-4.0 to actually look at the responses to judge the.
change in this cognitive behaviors. And this is actually following the previous experimental settings from a Stanford paper. But there are some interesting things in this figure. So different lines means different cognitive behaviors, for example backtracking, verification, enumeration and a sub-goal setting. We found that there is no immersion for QM for QM models beyond the 7b. Like for coin 2.5 or 7 billion and the coin 2.5,
32 B neuron, we found out that it's a flat, right? Which means the coin-based models, this coin-based models, they have the self-reflection, this kind of behaviors from the beginning. And there is nothing to emerge. It's not something emerge. But for deep signal max and the mistrust mode on 24 billion and the force model coin models, they have very low frequency.
cognitive behaviors but these behaviors the frequency will increase over training and this is like a more accurate reflection of the change of the behaviors during the responses than just simply reporting the response length change.
And there's another thing that we found which we finally figured out very hard to make the wake-up based models work is the format reward. A lot of people do format reward nowadays and some papers gradually remove the format reward. And we feel we found that the format reward is actually bad. It's actually bad for the llama model. We found that on the right side, for example, the solid line means we have the format reward. So format reward means
Yes. For the response, we constrain the response marks to satisfy some certain format specified by the instruction.
And we found that if you have this format reward, the Lama doesn't really work because the accuracy doesn't really change. We found that the final accuracy is 5 points. And the response lens will increase because it cannot find the valuable solutions to satisfy the format reward. And this is because we found the Lama 8 billion models because it's really base model. So it doesn't have strong abilities to follow the instruction to tell it.
tell it which format it should follow. So it typically generates sometimes kind of correct responses but which does not satisfy the format specified by the instruction. So in that case we just over penalize the exploration even though the exploration is kind of beneficial and correct. So we finally remove the format reward and to make it actually performance much better. And this is also the case for Maestro 7B.
And also for deep sequence, for these weaker base models, when they are really base, applying informative reward is a bad thing. But for Queen, doesn't influence that much because Queen, as I said, is not really that base. So it can't follow your instructions well. So even though you remove or apply informative reward, it doesn't influence the accuracy that much as the Lama models.
And the next thing we identify is on the data difficulty, because there is a trend like people find when we use more and more difficult data that reinforcement learning tends to work better and better. So we split the data into different difficulties. For example, the simplest, the easiest is GSM8K and for the mass level one and the intermediate difficulty we use the mass level one to four.
And the mesh level three to five is the most difficult. We choose this because we found that sometimes when we use the most difficult data in mesh, the weak-based models will not work.
Yeah, for example, we use uh mass level three to five as a training data. On the left, the left two figures are the length and accuracy for mixture seven B, right? Uh which is a weak-based model. And for this weak-based model we can say i the accuracy goes down, right? The red right the redline. But even we switch to either

But even with switch to user data and so the accuracy will go up and it will have significant improvements. This is kind of opposite for the Queen model because the Queen is a much stronger base model. If we use the user data, the performance will be worse and the response length will not increase.
Uh this also means for the data difficulty, the matters, but it's not like more difficult and more difficult is better. It's it should have been not too hard, but also not too easy um for the base mode high to hand. Um and the last thing that we found very interesting is that we revisit to the code of start,
And as I said, we always do colour start before R_L. Um and w revisit as a traditional pre-training and w we perform a sort of safety. That was the traditional paradigm, and we perform as a R_L_ recipe. Uh this is why like why do we
We want to do this experiment to verify the Schroeder's theory because we want to understand why the reforced learning didn't really emerge some interesting scenes in the past when people were doing this a lot of times. And we studied this and we found that something very surprising. We do this experiment based on a bit trust mode, 24 billion base, and we use a um no nominal MERS as the COT dataset which is a
which was a state-of-the-art auto-cg data set, and then we performed the rule-based G -R-P-O. And we found that for the different alliance, the red alliance means we start performing RIO from the base model, step 100 means we start from we prefer to perform 100 step of SFT, and then we perform RIO. And the 500 step means we first perform 500 steps of SFT. And interesting thing is the worst performance gets when we perform more.
more SFDP for IO. So it doesn't really help and it even hurts. And the more SFDP you perform and the worse performance you get.
And we also verify the similar things when we switch the SFT data set to be another general SFT data set like the OpenHermes which is not specifically to masks, it's a general instruction following data set. The similar things we observed like on a table each row is how many SFT steps we perform before we do RL. We found that it's kind of like in the reverse correlation with the SFT steps. Like if you train more on the...
the open high mass data set before RIO, then you will get worse worse worse performance than RIO. And this is very opposite to the log-salty coded data because we know for deep-salted R1, even you perform a log-salty, it will be better, right? But for shorter saltees, opposite.
And the last question we want to discuss today is on the old and kind of new recently doubt on RIO like the past case. Right. And this figure is originally from the DeepSigMess paper which proposed the JARPSIO and the people found okay for a long time a lot of people, even now I think, don't just don't believe RIO can fundamentally improve the model abilities. This is still debatable because people found okay if you
you perform R_L_ uh you can increase the pass one accuracy. But uh the if you uh increase the pass one when K is larger, the two lines will cross and uh the base model seems to have a higher pass K. And uh recently on this um paper is on the social media uh very hot and uh people can uh like they cannot plot the similar figures and the pass K curves of the base model and the R_L_ model will always cross over.
Okay, this makes people doubt whether the RAL really works, right? It doesn't fundamentally improve the model capabilities. Here I don't want to make very straightforward and very straight conclusions about what it is or it is not, but I have some caveats for the audience about this figure. The first thing is that theoretically pass-kick curves will always cross over anyway.
Anyway, as k goes to infinity. So it's really, it really depends on how to define fundamentally improve. Yeah, for example, it depends on the crossover point. Like when k is 16, if the crossover is 16, when k crossover is 16,000, it's different. It's very different. And the k can cross over much, much later. And it's different, but we cannot say, okay, for example, if we...
If we can cross over at the 100 ,000, we can either say, I don't think we can say RIO does not fundamentally improve the performance. And this is the second point. The third point is all the checkpoints used to this figure are not scaled RIO trend checkpoints, and they just because these are our simple RIO checkpoints, they just trend with data. And for example, if we plot this kind of figure for deep seek base three, right, and the deep seek R10, what will
will happen, what will be the cross-over point and that will be a more exper more interesting experiment to do. Um but I don't have conclusions yet.
In our paper we did the plot of this kind of figures for a Maestro24B based model and we at the K at 128 we still see a very large gap between the base model and the RA model. The gap is as large as 14 points. Maybe they will cross over at some point but we don't know how large K to make the cross over. And this is about the recent discussion of this.
Yeah, I don't think I have time. Yes, sorry, I don't think I have time for the second project. Maybe I just go through very quickly to introduce a little bit about our results. And this is a collaboration work with Apple and the University of Waterloo. Basically, we want to address the overthinking issue. And overthinking issue, everyone knows, like if you ever use this deep thinking models, even though you ask a very simple question, for example, this is an actual question.
execute cases from q w q 3 32 billion models when you ask because the answer of 2 plus 3 uh it will answer this long okay even though the answer is just as simple as five
And this is an overthinking issue, and we found that there is a simple baseline. Concurrently there are some other works finding similar things. For example, you just take a deep seek R1, the distilled any long-shorty model, you just run a normal R0 training with a row-based reward. But you use a smaller max length, for example it is 1001, around 1000. And we will find the accuracy doesn't change much.
Okay, you will not lose much on accuracy. But you will get a lot on the response lengths. Like the response lengths is decreased over 50%, even though without any accuracy change. And this is just as simple. There is no anything special. You just cut off the cutting off the training and with the maximums.
And this is our simple baseline. And yeah, I'll just escape this. And uh and in our work we actually view truncation as a reward function. Yeah, for example the truncation is kind of like you have a target length, the X axis is the length, Y axis is the reward, and we have the reward of the correct response, and we have the reward of the incorrect response. Because truncation is kind of like we roll-outs are treated as incorrect uh when it's exceeding the target length.
So the reward is like this. And by the way, there are other approaches like people are, this is like a step function, right? Step function. There are other approaches people are using a group based, not like a step function, but other lens functions like from the K mean also from a paper from of same you. It kind of like this. When you have a shorter and a shorter response, it gets higher and higher reward. We try this kind of approaches we find it's very harder to achieve.
achievable trade -off because when we design the reward functions like this it's very vulnerable vulnerable to lens reward hacking and the model tends to generate overshot responses and to sacrifice a lot on the accuracy and to achieve a higher reward and so because of this we feel we actually feel the the lens reward not the lens reward step function step function is a good choice
Okay, staple function is good choice because Mm-hmm. it's kind of robust and to reward hacking. And so we designed some baselines like the
uh using like a reward with target lengths uh the the only difference of this and the previous truncation is like it doesn't not we never truncate we still have a um very large max length and it just penalize over long correct responses but as long as it's correct it still has a positive reward it's not like we just treat it as as incorrect the max length is still very large and this is called rto um but the last thing
that's we emphasize in this paper. We do think the final the final paradigm of this reasoning efficiency is like the model should adaptively decide the lengths for queries of varying difficulty. Like when the um m when when you have more difficult queries the model knows like automatically to generate long responses. And then when the queries is very simple uh the model needs to generate shorter responses. So it's nothing like we need a
We needed to design some reward and to make the all the responses longer and longer and shorter and shorter. We just we want to make it more adaptive. And the target lenses should depend on the queries and should dynamically evolve.
So we designed what we call the DAO, the difficulty aware reinforced learning. We plotted different lines means the target lengths is adaptive automatically and it will like there is no parameters to hyperparameters for us to manually tune. We designed some ways to automatically decide when to switch.

uh when to switch the target lens for different groups of data.
Uh and yeah, I'll skip this the statistical algorithm, by the way uh we do this with separate aquarius into groups um with their passkey accuracy and each group will can have their own target lengths. And uh I will just um this is a this will give you a unified view of different lengths shaped the reward, like a truncation, dynamic truncation, group-based, there's uh some previous works already on archive and our work on R_T_O_ uh and the deal uh this like a unified view.
and to uh for for different levels of formulation. And the state function is actually uh more robust to reward hacking problem.
And this is the last page to our final results. The um the top three, like a yellow and a red are our um different var variants and some are the other base lines. On the right is a original model, uh with say it's um decodes average on ten thousand tokens. And the final performance is we can uh successfully reduce the lengths from ten thousand of tokens to two thousand and seven hundred of tokens without accuracy loss.
which means the currently for the deep sync models, the resonant responses are very redundant, highly redundant, they can be uh compressed a lot uh without reducing uh the effective information. Okay, thank you and I will take questions. Any questions?
Hello, thank you for the presentation. Hmm. My question is did you also try the things that aren't like math or code that have uh verifiers that are more open-ended like maybe need judges or other kinds of reasoning? You mean open-ended a problem where there uh where we cannot define rule-based reward?
Yeah, exactly. Yeah, kind of like that. Yeah, we didn't really try. We didn't really try. That's our next step. But I think also we discussed this problem in the panel discussion this morning. I think as long as you have a reward model, reward hacking is a very serious problem and very hard to work. Yeah, I think we did try before, like last year using process reward model, like a reward model in mathematical reasoning.
It uh didn't work well, okay, that didn't work well, you we have you use a chip CO and the um process reward and model. That is the performance is much worse than using raw base reward um mathematical reasoning. Yeah. Oh. It sounds boring inside the talk um I have a question about how do you adaptly adaptively uh decide the difficulties of the questions.
Okay, yeah, that's a good question. We have the slides here, but due to time limits I didn't really talk about. Yeah, maybe I can talk about it very briefly. Yeah, um basically how to decide the target length, right? Like we want to have a target length and we want it to dynam dynamically changing and uh we want to different the target length for different difficult queries. Uh apparently we cannot just manually tune the hyper parameters. There are too many hyper parameters. Uh here uh there is a simple thing. We just to choose a small subset of
the training data, kind of like function as a validation data. And we can validate the pass K accuracy. K is specified. K is the same as the training row outer size. Even training row outer is eight, K is eight. And we validate this every T steps, but how do we choose the
target the lens, the target lens design is with the post, with the post uh where the pass case starts to saturate. Yeah, because that means when you further increase the target the lens, it doesn't really help your model explore, because the pass case stops the increase then. But if you further reduce the target the lens um on the left of this point, it will hurt the model exploration. So it's very intuitive by doing this way, uh we can actually
adaptively automatically decided the target length. And if we want to split this, we want to decouple the target length hyperparameter for different groups of queries, we just copy the same process for different group of queries. Like for each query during training time, we already have their past their past K accuracy. This is this is automatic because during training time we are rolling out the responses anyway. And so you have the past K for each query automatically.
uh and uh you just separate them into different buckets like uh they have difficult ones uh easier ones and for each group you allow them to have their own um the have their own target lengths and it can be adapt in this way can be adapted in this way. So this is like how to achieve um dynamically and um adaptive and difficulty-aware.
Uh target elisa uh target elense uh variation without a human uh and like a manual hyper-parameter tuning, yeah. Um I have a question s uh because there is kind of uh small contradictions that you may help me understand. Okay. On one side you said the queen model managed to be better uh just special because it start with uh uh some better mat data into the training.
So It's can a maximum. you mess data? Okay. You said it's it's better at uh doing so yeah some synthetic data in pre-training. Uh you mean QM model? It's a coin model. Yeah yeah yeah, that's true. And Yeah. but in parallel, we also see from your experience that when we do a bit of S_F_T_ on top of LAMA, Yeah. it has opposite effects. So it makes the model worse.
Yeah, do in lang lang lang SFT or short SFT? Exactly. Lang lang SFT or short? Like a short SFT or long SFT? Oh, when it's short it's always Short SFT. So that is thank you very much. So the question was where should we put the data if we want to make our model better? Oh yeah yeah, I I think if we do have like the uh long SFT data, this kind of thing, I think putting into the base model training should uh
Be helpful? Yeah, but if the data is low quality, I think we also did this evaluation for the um for the uh like like this. Like if we are we are doing like a shorter C_O_T_ as if the user data quality, like your S_F_T_ data quality is not that that high, it may have opposite effect uh to to the R_A_O_ training. Yeah. So you say more data in pre-training on short S_F_T_ with high quality data.
Not a short, I don't think a short short S_F_T_ is that helpful. Long long S_F_T_ Long as we can. Yeah, yeah. Okay, so due to time constraints we cannot accommodate more questions please. Take your discussions further off-line if you wish to discuss further with Prof. Ho. So following Prof. Ho's uh let's give Prof Prof. Ho a round of applause for his wonderful talk.
So following Prof's talk we have three exciting oral talks regarding test time compre uh regarding test time scaling. So for the first paper is for Yun Chao Hao on rethinking fine tuning when scaling test time compute.
going to talk about the rethinking fine-tuning when getting text time computed. Uh so I s I assume you are familiar with the L_M_ inference strategy like after pre-training you get the base model and you have various master to do the post-training to get the chat model. And then uh multiple ways has been proposed to use the test time compu test time computer to improve model perform performance.
But uh test time strategies and the training are usually designed independently. Uh in this work, we want to in emphasize that uh post-training and the test time strategy should be aligned. Uh to illustrate this idea we use the simplest set-up. Uh supervised fine tuning and plus and uh as the post training and the test time strategies.
So for here we have a very toy set up. The data set we use is the MSFE 500 and then we just as for the direct answer without any steps. So as mentioned before that we use the SF2 on the training set as post training and pass end to end with Oracle verifier as evaluation.
So we define the coverage as the probability that at least one of n completions is correct. So for SF_T with cross entropy loss, for four epochs, as you can see it, for pass at one, the coverage increase as training, but for the other large n values, actually the coverage decreases. So it could be a very interesting observation in this.
any some explanations. Let's think about a warm-up problem. Let's consider a single problem. So for a single problem case, if you want to achieve the best performance for part set n, you need to achieve the best performance for part set 1.

the best performance for ParSec1. So the ParSec1 coverage is monotonic function for ParSec1. But if you consider two problems, best is to do well on every problem, but suppose this is not possible, which means we have some trade -offs between the two problems. So the ParSec1 coverage is no longer a monotonic function as ParSec1.
There is this intuition in mind, let me give you the formulations of our problem. So the framework is the model sense some confidence p hat to each possible answers and assumption here is the models can approximately well-separate it, which means higher
ascend confidence by the model implies higher probability of actually being correct. Here's some experimental evidence for this observation, this assumption. And let's assume that the answer are salted by confidence, which means P1 hat is the probability mass that the model assigns to its most confident answer.
There are two Lemmas we can prove to establish the bounce for optimal path and the end performance, which gives one upper bound and one lower bound. Uh so
Let me give some remarks about these bounds. So the upper bound and the lower bound are monotonic decreasing in n, which gives you some inspirations and exploitations trade-off. And if n equals to one, the optimal policy is just greedy decoding. And since the CE loss always optimize the confidence, so
But only some of the model's highly confident answers are correct. As the result, model becomes overconfident and largely wrong.
Uh, but, uh, direct method is why not directly optimize plus theta n? We should change for plus theta n and test for plus theta n. Uh, so we propose this kind of uh loss function where the terms inside the log is simply the probabilities of getting at least one correct answer out of n samples. And after gradient descent, you can find that you
Do other than the other other other terms from the cross entropy you have a perfecter f when n equals to one f equals to one so let's say let's dcl reduce to the c-loss and when is when n is much larger than one over p this perfecter vanishes this means when you get more than one creton surrounding the n samples you stop training
And this I phase data-dependent and the coverage achieves the best value when N prime using DCO is close to N indeed past N, as you can see in this figure. And DCO rescues the test time scaling by limiting the model confidence as shown in the comparison between the C-loss and the DCO.
And the model trained with DCO has lower confidence with increasing n. So here's an application to serum proving for the formal mathematics is supposed to be a solution to prevent the hallucinations by LLMs. The idea is to let a serum written formally as a program as shown in
as shown in this figure like by the lean theorem prover so it's an interactive proof system like you have some state and you have some tactic you reach another state and you get some other tactic so it could be a typical reinforcement learning environment and mathematical proofs becomes a sequence of logic steps that a proof assistant can check automatically
So our question is how does human process serum?
Human -proof theory is based on the intuitions from the past experience, from the books, from the problem sets, and they attend different proven strategies to get the correct answers. And for LLMs, it's almost the same. It gathers the intuitions from the fontile on the corpus of relevant data, and then search at inference time. So for here, the intuitions is just the FFT and trails.
State the parse I turn. So to do the server proving, we need to figure out the p hat, a confidence assigned by the model. So since we have said this is a step-by-step proving, so the probability function should be the product of each step.
And you can just ignore this hardbound mathematical statement like the intuition is since every single intermediate proofs that techniques must be valid, it's natural to consider a stepwise generalizations of the DCL. And here we call it DCL step, where you introduce another hyperparameter and effective which controls the exploration bias at every proof step.
So what makes a good and effective? Here's some scenario. Like if N is too small, like N effective is equal to 1, it's basically just a cross entropy and the model is overconfident. But if N effective is too large, too many explorations and less probability to get the correct proof.
So with some experimental studies we can find that false sum and in fact you get better results on the training set and false sum and in fact you get better results on the validation set. So maybe one idea to example different and in fact to improve the test time scaling. And if your example of the above and in fact and
And as you can see the results of performance both at the training side and the validation side.
Here we just identify a misalignment between the standard fine -tunings with CRA loss and the PositN coverage metric at the test time, and we develop and experimentally verify a framework that suggests this misalignment arise from the overconfidence induced by the training on the cross-entropy loss. We then propose an alternative loss function that directly optimizes the PositN coverage metric.
And we can further extend our algorithm to more complex text scenarios, including the searching over proof traits, which demonstrating improved mathematical reasoning in both cases. And for the further work, extend the current finding and method to reinforcement learning, like a concurrent work by DeepMind is based on the reinforcement learning. And we can extend the finding and method to more sophisticated.
to physically data search algorithm. Okay. Thank you. Thank you. Any questions? So we're running a bit out of time, so perhaps let's just proceed with the next presentation.
So next presentation is by Aniket Singh on improving test time search for L_M_s with backtracking against in-context value verificers. Uh alright.
Hello, today I'm going to be presenting improving test time search for LLMs with backtracking against in-context value verifiers. This was worked on at TRI in collaboration with Stanford and CMU. So the motivation of this work is that test time compute has become a pretty powerful paradigm to allow models to think longer on harder problems.
However, a lot of these approaches are very linear in nature. For example, approaches like best of n or beam search allocate all of their compute evenly to any given problem. However, this causes us to like waste compute on correct prefixes that you generate in your solution. Can we instead reallocate inference compute through targeted revisions? And what this would allow us to do is to adaptively allocate compute to more difficult portions of our solution.
To kind of motivate this further, let's consider this like really toy setup, where the goal of an LLM is to generate a sequence of repeating numbers with a long horizon of around 1500 tokens. In this case, our LLM isn't perfect as it struggles to generate the digit six with some probability.
If we now consider what linear search algorithms would do in this context, if you continue to mispredict the digit, this leads to an exponential sample complexity, because at each time step when you're predicting the digit six, there's some likelihood that you'd fail.
However, if we could instead backtrack to where the error exists in our solution and then apply our sample there, this can reduce our search complexity from an exponential search to instead a linear one, which is very desirable for us to have.

terrible for us to have. So then how can we then instantiate this? In this work we propose backtracking with error localization, where consider that for a given problem you have some solution that exists and you're then able to identify where in that solution an error is. If you're able to do that, then you can backtrack to the prefix before that error is made and then generate a solution using a linear search algorithm like best of n or beam search.
We can then repeat this process until either our solution is found, which is great, or our computer is exhausted. But as you can see, the amount of compute that we use in this context versus a setting which is more linear in nature would be a lot lower. One question that then arises naturally is that how can we identify errors in our chain of thought? To do this, we use the advantage for error localization.
More intuitively, the advantage determines how good a specific action is in comparison to the average action that occurs in that particular state. We can parametrize this as a process reward model, but for each value that we learned using that process reward model, we can take the difference from the process reward model's value at the previous time step, or the Q-value difference, and this is generally a good estimate for our advantage given this dynamics of our MDP.
Then, using the sub-advantage estimate, we can select a revision point as the minimum advantage in our entire trajectory to then choose as a step to backtrack to. And what this would allow us to do is to then resample a new solution that might be better after this error has been identified. Furthermore, we do a little bit of smoothing because process reward models, as have been mentioned in the past, have a little bit of noise or bias, and smoothing allows us to not over-commit to an error that could have been made.
Furthermore, we introduce this notion of an in-context verifier. We want to make the verifier more robust to errors across different attempts.
What this means is that we condition the pi around that we learn on a history of past revisions as well as turn-wise feedback in the prompt of the verifier. So if we look on the figure on the right for example, we might be solving some math problem that we're interested in, and have taken several attempts to solve it. We also might know, given our verifier, whether that solution is correct or incorrect, and we can condition on that as additional feedback.
We can then for a new attempt at the problem condition on our history of solving it and this allows us to be more confident or robust of our verifier. And additionally allows for better exploration as it incentivizes us to consider alternative approaches instead of conditioning considering past attempt solutions.
Then we now look at evaluation of our model. We consider two settings, one where we have an Oracle PRM and another where we have a learned PRM through the methods that we have described. We consider two evaluation settings, one is the Hendrix mask domain and the other is code contest, and we consider two baselines here, backtracking to the first step as well as backtracking to a random step.
What we find here is that by doing backtracking to the lowest advantage step, we increase performance efficiency by one and a half times compared to the strongest baseline that we present for both domains. Additionally, we consider how we learned PRM performs in this math environment. And what we find here is that not only does the learned PRM that is in context in nature allow for better efficiency, but also higher overall accuracy than both a single-term PRM as well as backtracking to the first step.
To further validate this, we consider both outcome and process metrics to evaluate how well our verifier performs. In particular, we consider the outcome accuracy, or how well the PRM is able to identify whether a solution is correct or incorrect, and we see that a multi-turn PRM significantly outperforms a single-turn PRM for held-out questions.
Additionally, we look out for intermediate or stepwise feedback, what the MSC looks like for our multi -turn and single-turn PRM. And we find that, again, the multi-turn PRM performs better for both training and test problems. Finally, we discuss how the value of the verifier
changes over backtracking revisions. And what we see is that the value increases over the number of revisions that you do. This is like a very desirable property to have because the value function denotes the probability of success of a particular rollout. And as you continue to increase the value of your trajectory, that indicates that it has a higher likelihood of success, which is a great thing to have.
To sum up, in this work we proposed non-linear search, which in contrast to linear search focuses the budget unevenly on parts of the solution where you can adaptively allocate your budget to harder parts where the compute is actually needed. Additionally, we instantiate this through the process of revisions, where using the advantage function we can pinpoint where errors exist in our solution and then use linear search algorithms like best of n or beam search to
as a subroutine to sample good conclusions. Finally, we also propose the notion of an in-context value verifier, where we can use past attempts at solving a problem to avoid making a mistake in the solution and instead resample a new strategy, encouraging better exploration. Thank you so much for letting me present in this venue. To find more details, you could look at our paper on the left or contact me on Twitter. Thank you so much.
Thank you. Any questions? Uh I actually have a question myself. So I noticed that your work heavily relies on like P_R_M_s which I understand are trained on some Okay. sort of like
A trade-off on some like static or specific data so I wonder how severe is the impact when you have some sort of distribution shift in practice. Yeah, that's a good question. So in this work, I unfortunately didn't get the time to present it in the main slides here. We actually tried to use the current policy to generate rollouts for our PRM, and that reduces the distribution shift pretty significantly.
We additionally we try to do like label balancing which we found to help a little bit with training an effective PRM. But we do agree that if you were to train a PRM on off policy data that can really hurt performance. So again there is some cost of training a PRM on like more on policy samples but it reduces the out of distribution effects that you described here. Okay, thank you.
Oh, so then like to the last oral paper presentation for today, like let's welcome Nicholas Munninghoff to present S_ one simple test time scaling.
Alright, thanks. I'll go quickly since we're a bit behind schedule. But yeah, I'm presenting S1, Simple Tests on Scaling, and this was joint work with a lot of amazing authors listed here. The genesis for this work was OpenAI's 01 release, and there were two parts that we were really excited about. One was the good reasoning performance.
on math but also coding and science questions and the second part was the test time scaling so this good reasoning performance increases with more compute at test time and so these two parts together we believe are very powerful because if you have good reasoning and it gets better with more tests on compute then maybe in the limit we can solve some really hard outstanding problems and i think that's super exciting
So what is the simplest recipe to show these two behaviors? That's the question we ask in this paper, S1, simple test-time scaling. And the summary of this work is we create a data set, S1K, of 1,000 very simple reasoning traces, and we combine them with a technique at test time that we refer to as budget forcing in order to control how much test-time compute we spent.
And together, this makes up S1. So let's start with the data. We collect 59,000 questions from various resources. Some of them we create ourselves, such as S1 prop, which is a bunch of Stanford qualifying exam questions we collected, brain teaser questions, and then various other public sources from Olympiads and so on.
And then we filter down these 59K by our quality, difficulty, and diversity to just 1,000. So we think these three criteria are really important in order to maximize reasoning performance. And given these 1,000 questions, we distill reasoning traces and answers from existing models like Google Gemini and also DeepSig R1.
Darwin traces are generally much longer than the Gemini model at the time, though the newer Gemini models might also similarly produce very long traces. And this leads to our final data set, S1K, 1,000 high quality, difficult, and diverse samples. Here's some of the domains, geometry, mechanics, astronomy. It's generally very diverse.
And then the second key part to our recipe is the test time scaling. And we introduced the simplest possible technique that we could think of, which is just budget forcing. So essentially giving a question such as how many are in Raspberry, the model will start reasoning about it.

The model will start reasoning about it. And then when the model wants to finish, we just don't let it finish and append weight, which is marked in red. And then what happens sometimes is the model will go back and correct its previous incorrect answer, if it had an incorrect answer. And then later in its response here, it actually arrives at the right answer. The final answer is three, even though before the weight, it was wrong.
And so this is how we extrapolate test time compute, make the model think longer. And if we want to limit the test time compute, then we just cut off at a pre-specified budget. So budget forcing. So for example, if we say the model has 2000 thinking tokens, then after 2000 thinking tokens, we'll just cut off the reasoning trace and then it has to respond based on the best it's got right now.
This is super simple. And so we think it's a good baseline. It's probably not where we'll end up in the limit, but I think it's good to have a very simple and good baseline. We also try some other approaches. One is conditional length control. And for this, we refer to approaches such as telling the model in the prompt how many tokens it has or how many steps it has, and also rejection sampling.
There are three things we really care about with test time scaling, control, scaling, and performance. For more details on why we think these are important, I invite you to check out the paper. And I'll quickly go over the training and results. We do, again, a very simple training run, QUEN 2.5 32B, just 16 H100s for 26 minutes. So in sticking with the theme, everything's very simple. And then we compare it to a bunch of other models.
And essentially, the S1 model family are the most sample efficient because we only trained them on 1,000 samples. And despite that, they're relatively good in performance. So here's math 500, which is a common reasoning benchmark. And the more exciting part potentially is that this performance scales with test time compute or average thinking time, which we measure in tokens on the x-axis here.
If we zoom into one of those, this is how it looks like. So for the first few dots, we force a specific compute budget for the thinking process. So for example, 2048 or 4096 thinking tokens. And then toward the end, if we wanted to think a lot longer than it would by default, we append weight for multiple times and force it to continue to reason even though it tries to stop. And while this does lead to some performance gains at the end there, eventually it does flatten out.
And this is why there's still limits and we need to do more research to figure out how we can really scale for hours or days with more the performance on difficult reasoning benchmarks. Another thing we explore is sequential versus parallel scaling. And if you want to learn more about what the differences between these are, we have an explanation in the paper with more details. But the summary here is that sequential generally has a better slope but might flatten out earlier.
We do some data ablations. Summary is that the three criteria we mentioned, quality, difficulty and diversity are really important. Each of them on their own does not lead to as good of a model. And similarly with a bunch of scaling ablations, finding that this budget forcing technique, which is super simple, is generally the best because of its simplicity. It leads to perfect control and it also has pretty good scaling and other properties.
We tried some other strings besides weight, but weight was pretty good. And there's rejection sampling. And finally, at the end, I wanted to highlight some limits that might warrant further research. For example, eventually it flattens out sequential scaling or it even decreases in performance, which is the sort of dashed line that goes to the bottom here, because at that point, the model is often running out of context window. And so we can add parallel scaling on top to scale further. But I think there's an open research question, how do we figure that out?
And this is a summary of the work, S_ one K_ plus budget forcing and this is our S_ one model, minimal recipe for reasoning and test time scaling. Uh thanks a lot. Everything is open source. Thank you. Any questions for this? Oh.
Thanks for the talk. So bit of a high level question, because here in this paper, you're presenting a purely SFT approach. What do you think is the role of RL? Or do you think RL is not really necessary if we have like really good enough SFT data? Yeah, I think RL is probably still necessary. I'm going to.
quote one analogy from a researcher at OpenAI, Kyungwon Chung, that I really like. I think he said that if you...
If you want to teach someone how to fish, then sort of the SST approach is exactly teaching them how to fish. And then the RL approach is sort of you just make them really hungry and teach them the taste of fish and then they'll figure out how to get a lot of fish and maybe they'll end up building a fish farm or something, which is probably a better approach in the long term. So RL kind of you're not constrained by the reasoning traits, right, by the exact approach, but you can the model can figure out its own way to arrive at the answer. And so I think that fundamentally, that's a very fundamental difference that.
probably suggests that RL will arrive at better solutions in the limit so I think it should be better yeah but then you can always of course SST on that best new RL model and sort of extract that back into a distilled model but probably the RL model comes first the really good RL model
Okay, thanks so much. Let's give the speaker a round of applause. And also like everyone still in the room, thank you for staying all this long with us. And please just stay with us for another ten minutes for the most exciting part of today to witness the awards for best paper and best paper runners-up.
Yeah, so since everyone's patient to stay here for a long time, it's already one day and we have
Lots of interesting and uh very exciting oral talk oh keynote talks. So I will briefly introduce uh the workshop situation this year, and Mm. then we will give the best paper award in our and the also the best paper award. So this year we will have a long we will have one hundred eighty one submissions and we uh go for uh two hundred thirty five reviews and we also
uh let like uh eleven A_C_ to help us to control the quality of our reviewing. Finally we will have the ninety nine for long paper accepted and the also this year I clear workshop have a special tiny check paper which mean you can only submit two page or four page. Yeah. So uh hundred percent paper we uh try to make sure have a high quality reviewing, which
which we will let the A_C to see whether this is like generated by language model or it's read by human very carefully. Yeah, and then finally we will have around like 75 papers have more than two reviews.
Yeah, so uh for the uh country distribution, we receive the submission from twenty two countries in total, seven from Asian, uh eleven from Europe, and two from North American, and then two from Australian. Yeah, so that's the whole information about uh country distribution. And we also want to sense the uh
11 Aces, which contribute a lot to help us to go through this review process and help us to write the meta review to control the quality of the reviewing. Yeah, they are from like Xi Dong and Ji Man, Yu Xi, Sui Yuan, Stella, Jia Ying Yu Lun, me and So Fei and also Bo and Tan Yu from like a different university and
postdoc, P_H_D_ some faculty. Yeah. And I also want to thank s all the organisers to prepare this uh like wonderful workshop. It's quite popular and uh we have l lots of very exciting paper accept uh and we also have very impressive uh talk.
So finally about the reviewing result which should be introduced previously. Yeah, but it appear here. Yeah, so finally because we only have the capability to receive around 100 paper. Yeah, so finally like around 111 paper accepted. So the final accepted rate is around like 63.8%. And the average score you can see is like 60 point.
for assist fund assist yeah and also we have some very like uh hot and the popular moment we are talking about the poster and then we also have a very like popular like talk by different like speakers yeah and also thanks for your patience stay here today so next I will announce our uh
paper award oh no this page sorry yeah yeah so sorry for just with one several seconds yeah so this page I want to show and the sense our sponsors to give us some student registration grant a wave and we receive around 200 applications for around the world and finally

finally uh uh around 12 uh students receive this registration grant award which means the sponsor have the student to do the registration for the whole conference including main conference and the workshop yeah i think finally we gonna to the page for the paper award.
Yeah, so the we have three paper for best paper runner up, is the improve for the test time search for language model. Follow us was back-tracking against the in-content value verifies. So let's welcome the authors to come to the stage to take the certification and that we also have a small gift for the
for the authors. Yeah, so Sidong and Brian you can come to here. And the second one is uh, when more is less understand chain of thought uh less in evidence. And the we also welcome Wu Yuyang, right, is here. So come to take this certification and the reward.
And the third one is rethinking fine-tuning when skating test time computing limited confidence improve mathematical reasoning. Yeah, so Rashid and Brian, our two organizers, to give the certifications and give our small gift from our sponsors. Yeah.
So I I think yeah, let's give it a call first. Yeah. I think we should move into the meat dough to have the Oh yeah. Okay, thanks. Congratulations. Yeah, next we still have the last one is the best paper reward for our workshop.
Yeah, so the best paper will be given to S_ one, the last uh uh oral paper, simple tester time scaling. So congratulate the authors. That's the decalask on two here to take the certification the gifts.
Yeah, congratulations again.
Yeah, so here is the end of this workshop. I hope you enjoy the whole day's keynote and the oral presentation. And hopefully in the future we can meet again and maybe in iClear, in next iClear ICML news, there will be still some reasoning and depending topic workshop. Yeah, so looking forward to see you in the future event and feel free to leave.
