Hello, AI engineers. We're back with a quick reaction pod for Claude Four with the new reasoning research lead for prime intellect, Will Brown. Will Brown's talk at AIE NYC and open source work on verifiers have made him one of the most prominent voices able to publicly discuss the current state of the art in reasoning models and where current SOTA research directions lead. We discussed his latest paper on reinforcing multi-turn reasoning in LLM agents via turn-level credit assignment, and he has previewed his upcoming AI Engineer World's Fair talk on Agentic RL linked in the show notes. We're excited to share that Will will be back at the upcoming AI Engineer World's Fair in San Francisco, which now has expo tickets on sale. He will be headlining the new RL plus reasoning track with Misha Laskin, Nathan Lambert, Christian Segety, Greg Kamrat, Kyle Corbett, and more. Join us at ai.engineer. Watch out and take care.
Hey everyone, welcome to a lightning plus emergency news latest podcast episode. I'm Alessio, partner and CTO at Decibel, and joined by my co-host Wix, founder of Small AI. Hey, hey, and yeah, honestly, we knew that Cloud4 was coming and we just didn't, we just did too busy to like have a dedicated episode. So like this is our makeup dedicated episode with a special guest, Will Brown from Now I Can Say It, Prime Intellect. How's it going? Great to be on and so excited to meet each other for a little bit. And it is my first time on the podcast, I believe. Great to chat with you guys. Big news day, I guess. Lots of stuff out in the world. There's always a news day.
I think this week is particularly heavy for some weird reason. Like Monday was Microsoft Build, Tuesday, Wednesday, Google, and today is Claude. I wonder what tomorrow we'll bring. We had I.O., and then we had I.O., and then... Yeah, yeah. Different I.O.s, exactly. Yeah, so we actually were supposed to record this morning, and we all wanted to watch the Claude keynote, so we went and watched the Claude keynote. Obviously, a good model, big model, they're really emphasizing coding. They didn't really talk much about reasoning, to be super honest. They were just like, it runs for longer now. What are you guys' takes? Yeah, so I mean, one thing I've kind of been...
scene coming for a little bit that I think people are kind of also all aware of now is that, like, the thing that's going to make the next wave of stuff be powerful is just, like, everyone wants better agents. Everyone wants models that can, like, go off and do stuff. And, like, reasoning was kind of, like, a precursor to that a little bit. Like, I mean, I always think of, like, OpenAI as, like, a five-level framework where, like, chatbots was, like, the RLHF era. And then reasoners was like the one in R1. But like really what people were thinking of was reasoners are a step on the path towards agents. And so I can kind of see why Claude is not like, oh, we have the best reasoner. They're really like showing off their sweet agent and like tool use and like function calling benchmarks and multi-turn stuff. Because I think that's really like what people care about more for applications as opposed to like, did really good on this math competition. Like the math competition was like, that stuff was all like a signal that was supposed to think we were getting somewhere. But the thing we were getting towards, for a lot of people at least, is practical agents. I think they extended thinking mode. I think they removed the uppercase.
I think in the Cloud 3 release, it was like extended thinking, kind of like a capitalized and not just like extended thinking with tool use. So I think they're also, yeah, done playing whether or not it's reasoning or not. I think they're trying to merge everything together. And it's not, I mean, I didn't realize that, but extended thinking could not use tools before the way they worded it and now they can in Oppos 4. So that's great. But yeah, they haven't put it as far center as last time. Do we have any, this is like already veering off from Cloud directly into speculation, but do we have any idea if there are any material differences between how Cloud extended thinking works versus like the old series models?
Do we know? The biggest difference seems to be, and this is kind of a thing that's been, I mean, I don't know, this is all speculation, of course, but from the start, Anthropic had always kind of had this like little thinking thing where you could, sometimes even like Cloud 3.5 would do like a tiny bit of thinking. And it was really just like deciding which tool to use for the most part. Like if it was doing an artifact in the Cloud UI, it would have this little thing where it would think for like two sentences about which tool to use. And it seemed like Anthropic's kind of attitude has been that extended thinking is an instance of tool use and that it's the kind of thing you want to equip the model with the ability to do.
But it's not like, oh, it's a thinking model. It's just a sync for the model of brain vomit because that brain vomiting will help it find a nice thing to do next. In the same way that doing search or doing code execution are ways to get more information on the path towards finishing a problem. Yeah, inference time compute, as they say. I did meet somebody who claimed to have coined, to found the scratch pad paper. And this was obviously before the Jason Wei chain of thought paper, but it's all the same sort of general family of techniques. I think the question for me is also like, is there some model routing going on? Like, are they different models that they're thinking on thinking? Or are they the same models with like, just like you turn off the end of turn token generation? I mean, I think these models should be the same model. And Anthropica is what they're doing on it. Like, it's not that hard to, like, Quinn did it in a very kind of like simple way. And they kind of talked about how they did it a little bit.
but it's not like too difficult to um like have whether or not all things like be the sort of thing i mean like obviously all this stuff is like hard at like serious scale but like conceptually at least um it's not like a big problem to solve about how would you ever do it it's like no we have reinforcement learning we can kind of like or we just sft on like different things we can kind of teach models skills like that pretty yeah um you have some work that you've published recently on like your po and relationship and you're doing a lot of work on multi-turn rl i think i think i wanted to just kind of round out any other claude highlights you know yeah There is controversy that I'm leaving towards the end, but any other technical highlights that you guys want to focus on? I mean, I think it seems like a really cool model, but I think, like, Callum has tweeted this earlier today. It seems like it's linear progress, which is, like, great, but it doesn't feel... There's not anything that I've seen from it that feels like a paradigm shift in terms of, like, the sorts of stuff Daria talks about, which I think maybe we're still on the path to get there, and it feels like this is just, like, going up.
in terms of complexity of agents. I think the one thing that to me was really nice to see, I haven't like done too much testing myself yet, but in their reported benchmarks, the reward hacking issues, like Sonic 3.7 loves to like do stuff that to me feels reward hacky in the sense of like, it'll try to, you ask it a coding question and it would like do your question and then seven other things also, presumably because there was some RL environment where there wasn't really a penalty for doing that or there wasn't enough penalty and covering its bases like was more likely to pass test cases on some coding thing. Like you can imagine like a sweet bench kind of thing where... there's a minimal diff that is really what you want, but there's, like, you could do a ton of other stuff and put all these other things in place that as long as you don't, as long as it's not enough that you trip over your feet, it's just, like, extra stuff that's there if it helps pass the test cases. And what I really think you want to do with these models is, like, kind of min-max. Like, you want the models to, like, do the thing and no more. And they had some internal benchmark for this that went from, like, 45% down to 15% for both for Sonnet and for Opus as opposed to 3.7. And so I'm hopeful that these models are much more, like, friendly to code with and maybe more, like, trustworthy. And that's the thing that I kind of...
have buckets for models of, like, how much do I trust in a code base? Especially something beyond, like, a simple file. Like, old Gemini, to me, was very trustworthy. GPT 4.1 is very trustworthy. New Gemini is not. Three Sonnet is not. O3 is not. I haven't decided which bucket, new Sonnet, new Opus are going to put them to. Trustworthy in terms of reward hacking.
just like not going to make them like they're going to do the right thing in the code base and like worst case they'll do it like dumb but they're not going to like go break a bunch of stuff they're not going to leave a bunch of like extraneous comments and helper functions all over the place that aren't really needed or like make seven new files just to have them there like this is the sort of thing that seven does a lot yeah like i already have the function my code base i'll just make a new one just because it felt like it yeah uh one thing i often wonder about those things is like it's just for rl environments in general like why is it token costs more of a thing in the penalties you know like that's the one rule above all Like, you can actually skip a lot of reward hacking by just, hey, the more tokens you use, the worse it is. I mean, that's not what the model... They're selling you tokens. Oh, okay. But, like, so, like, there's that element of it. But I think also it's that there was this initial...
kind of reaction of everybody of like more tokens is better if you look at the line it goes up as you spend more tokens your attitude goes up and so i think the pressure to like really tamp down on token usage was not that serious for a lot of people especially because the companies are like you to sell you more tokens but it is the sort of thing that you can have some more controls over so like quen did this in kind of like a very kind of abrupt way where they can like you can in the ui you can like set a token budget and just like truncates the thought so it seems like artificially truncating thought is actually like fine like the model can even if like it got cut off mid-sentence with an injected like think token these are smart enough models that they can kind of finish up and say the best that they got from that point and so that's like one way to do it the other and like that's becoming a kind of standard api feature now is like your think budget cloud has that yeah we did a little bit of experimentation with that in our last i don't like to run which it was before i joined but thinking budgets are the kinds of things that you can insert into a reinforced learning objective and you can see the model like get better at targeting the right amount of thinking based on like let's say something goes in your system prompt and you can have the prompts just say use x not tokens um it doesn't need to be like but if you kind of train the model to like respect this um you would hope that if you like execute this correctly um the model learns to like roughly think the right amount
Okay, this actually changed my opinion of thinking budgets. Because previously I was thinking that reasoning effort was better than thinking budgets. Thinking budgets is kind of like a max cutoff. The same thing. It's a target, right? Effort is a target, probably. Right, right, right. Yeah, because I actually want to set effort. I don't super care about cutoff, apart from cost. And giving me 64 bits of cutoff or whatever doesn't matter.
I'm not sure that they're that different. I think we don't know how they do it under the hood, but my guess is that the whole reasoning effort thing is essentially a token budget that the model has been RL'd to... You would hope that you get different behavior. So the model, when it's told it has a short-thinking budget, you would hope it uses slightly different strategies that are better versus if it has a high budget. It's more willing to do lots of math calculations, for example. But I think conceptually, it's really just about the model has some amount of room that it can bank in tokens.
Yeah. Let's try to do that, hopefully. Do you think we're going to have these as hyperparameters for, like, much longer? Or do you think this is kind of like, you know, as we're early in this, like, reasoning models, more of the stuff is exposed and then it gets moved away from the user? I think in chat interfaces, it probably won't stick around. Like, I don't think we're always going to have the dropdown of, like, 0.4 mini and 0.4 mini high. That feels silly. I do think it's a thing that developers want, especially because once you kind of built around a certain model, like, while these providers are hoping you stick with the one model and are not switching all the time, you do need a knob to control costs and also latency. And so that is one kind of useful knob to expose developers for controlling this, like,
quality versus cost and latency. Awesome. Cool on all of that. I think the elephant in the room, let's talk about it, is this controversy around Opus, right? Snitching on you. Yeah, I mean, so... So for those out of the loop, let's recap, because I feel like you're closer to this than I am. Like, I learned about it earlier. Sure, yeah. So this was... I'm not going to name him, because I know he doesn't want to, like, have all this attention on me to lead it this week. Of course, he's essentially, like, going through different things that, like, people found during safety stress testing of Cloud. And so this is not, like...
what's cloud going to do for you i think people took this out of context like pretty badly and so there's a fair point there that it's like people are really reading into the one sentence before than they should but this is the thing anthropic does a lot is they really stress out their models they try to put their models in situations where they can really see like what could an adversary get the model to do? Or what does the model do if it's in a situation where there's no right answer? So like, I think a lot of the kind of headline anthropic like safety results, especially related to reward hacking and kind of deviation and alignment faking are all things to me that seem like a rock and a hard play situation where the model has two objectives it's given that are conflicting with each other. And it has to pick one. And no matter which one it picks, it's going to sound terrible. Like it's either following the user's instructions or it's following like common norms. And once you kind of accept either of those, it's going to do the thing that is aligned with that set of like guidelines. So in the case of like, if your model's goal is to be like,
maximum helpful to the user, then it would help a user, like, build a bomb. A model's goal is to be maximally helpful to society, and a user's asking me to build a bomb is going to be like, no, that's bad. I have to do something to stop this. Like, you kind of have to pick a goal. And like, maybe the right answer is the model just defers and it's like, no, I'm going to stop talking. People also get mad when you tell them like that the model will stop talking to you or like refuse to do anything. Like there's just no, it's, there's no, it's no way to kind of win and make everybody happy. But I do think like, like they report this because they think it's important to have people understand the safety implications of these models and to understand like, okay, how bad would it be if someone was trying to use this? Could this like meaningfully help someone commit crime or violence or whatever? And so like, that's what they have their safety framework for. And the things that happen in these like blog posts and threads and papers about like the model trying these things.
they're kind of putting these models in a scenario that elicits these things. It's the sort of thing that you would imagine a very smart human might also do in those situations. Let's say you are told, accomplish some vague, underspecified goal at any cost. and you really like want to solve that goal i think like game shows like survivor i think is a good example of like or lord of the flies any of these like kind of canonical situations of people who have put in a weird spot and have to go do stuff and figure it out how to do it they're kind of crafting these environments for the models and just looking at it and seeing what happens and so like i think it's a little silly to overanalyze behaviors in either direction of like oh the model is reporting you to the police or the model is going to go help you find uranium on the dark web like well these models can kind of do there's no like they're the base model in general of lm is not artificially constrained in any way like with the right prompt it'll do whatever up to its intelligence limit and so like The question is just how you constrain the space from all possibilities down to, like, a more reasonable set. And, like, that's hard. Okay, you actually gave a serious answer, which I totally respect. I was smart looking for shit posts. But, like, you're treating this as though, like, yep, this is how, this is what the problem actually is, which is, like, totally fine. And, yeah, I mean, that's what you are as a researcher, right? Yeah, I mean, I think tweeting is fun. Like, it's cathartic to, like, just kind of, like, get a post out. So, like, when I saw the one about the uranium thing, I was like, let me tweet. So the tweet was like, we found that Quad can go search the dark web to look for, like, uranium.
And I was like, here are the top 10 things that builders are using in their agentic rag applications with the new groundbreaking quad four. And it was just like silly, both making fun of like LinkedIn, like thread posters as well as just like the funniness of the scenario that they're talking about. Yeah, this is it. Does any of this make you think differently about what tools to give at LLM? You know, I know they deleted the tweet, but it's basically like, well, before, if you're putting all these MCPs, like, yeah, you have email access and all of this. And I was like, well, maybe I don't want to get email access all the time if you're going to snitch on me with the email access. I mean, I think coding with these models, especially like Quad3, I did a fair amount, like for a few weeks, I was doing a lot of Quad code with 3.7, mostly for kind of random side projects. I never really got to the point where I found it was helpful for a thing that was like a large existing code base. But if it's like, hey, I want to cook something up in a few hours for fun, pretty good at that. Bye.
these become messy and they become hard to maintain and you get to a point where it's like, nothing is working. I just got to like dig in and fix it on myself. And so I think part of that is that the models have access to like a terminal and you can do a lot of stuff in a terminal. MCP is kind of a way of constraining the action space. So like in like canonical RL, people talk about like states, actions, rewards, policies as like the things that are like the moving parts. Models generally are trained in like old school RL with like a very fixed action space of like, what are the keys on a video game I can hit? But with LLM, it's like text. Text is like kind of unbounded in what you can do with it in a terminal. There's not much you can't do in a terminal. And so if you're training models,
Oh, I got a lot of flack for this one. I'm just showing this. Wait, flack, why? People were, it was both people who were like, the notation is stupid and bad, but RL is really simple or like RL is complicated. And it's like, everyone has a different opinion on what RL means. And I was trying to just like, be like, hey, it's actually kind of complicated. And I wasn't picking this up like, oh, the definition of the NMDP is complicated. I was like, no, there's just like a lot of moving parts. And to think about it, to like do anything, especially if you want to change any like part of the system, like here's a question, hypothetical, like what happens if you have two LMs learning together?
How do you reason about that? How do you think about that? Is this going to be a stable system or not a stable system? What if they're kind of cooperative but kind of not cooperative? And then they're training to work together but also want to backstab each other. This is kind of the environment people are finding themselves in all the time in the real world. But if you want to make AIs do this, you have to translate this into code and math. And the more complex your goals are with this thing, the more complex the math gets. And RL is like one math language that kind of exposes these primitives. But I think a lot of people are like, oh, I can follow the equations. That means I understand it.
that's like well sure but like also there's it's like this uh i know n-body problem thing where you can freeze it and look at it's like oh how does one thing moving affect everything else in order to castigate ripple effects wow you just brought three-body problem into this amazing like as in like the physics version not the show no no no i mean actually actually very like impossible to model like i guess you can like simulate it but like it's sensitive to initial conditions so like you can't really see like this is one of those things that like Like, why does no one predict the weather a year out? I don't think anyone has anything that's, like, good at long-term weather forecasting. I'll be on, like, I don't know, climate trends. But no one can predict whether it's going to rain in Seattle on a given day in a year. Even if you think, like, the system's pretty determined. Like, it's all clouds bumping on each other and whatnot. We kind of know how these things work. So the butterflies are flapping their wings. I mean, like, you've got to let it play out. Exactly. Butterflies. If we had no butterflies, we could predict it. Right. And so it was very sensitive to butterflies.
interesting okay so i guess we can we can sort of round it out unless there's any more of the controversy i think there isn't like i think that the system card is actually very good they probably went too hard on it compared to like normal system cards but uh and it's a little bit confusing whether this is marketing or are they just like no we really super care about safety and part of this is like apollo just being apollo um you know pushing the frontier of red teaming right so they're going to report the things because it's extremely good apollo marketing yeah I think they're really, they seem to still be like trying to be creative with their kind of consumer marketing. Like it feels like people in the AI world, like a lot of quad or have grown tighter quad, but still had a phase where they were using it a ton, but it hasn't really broken out to general people in the way. And it feels like a lot of their marketing that I've seen is like a little confusing. Like it feels like they've done a really good job at crafting a brand image that appeals to a segment of the population who has certain considerations that they really like that a model has a deep personality or whatever. People, the sorts of people who I think also really like GPT 4.5. Many of them like really love like quad three opus.
the big models know. Like, a lot of people just don't care. And I just wanted to use it as a tool. Yeah. Trying to figure out how to, like, appeal to that audience. The LMSS, Stick of Fantasy, Bro, those, the people who love those models, different crowd. It's a larger crowd. And that's a tough problem to solve. What's your quick take on LM Arena getting $100 million? I'll see. Like, I imagine that they partner with company labs in different capacities to... Probably make a lot of money. Yeah. Like...
I'm not in the business of trying to point the finger at saying they definitely did this, but if I was a company that was able to raise that kind of valuation, and I had just had a long public partnership with Meta, eventually public partnership, for a thing, which we've kind of seen was Meta had the ability to do a lot more back and forth than a lot of other labs did, I would imagine that there was some compensation going on there, or access to data. And so I think being an ed-all company puts you in a really hard spot. Some people are talking about this on Twitter, just that to be an ed-all company, you kind of have to sell to the labs, but selling to the labs doesn't really wrecks or evals. Yeah. So in finance, we would, I mean, you know, this is the credit rating agencies. Like literally your customer is the one that you're supposed to govern, but they're also your customers. So then you have to be like nice to them or they'll just go to the next one. Yeah. I mean, I do think that like the best source of evals going forward is probably going to be academia. And so this is the thing that I tell people who are like starting a PhD, which is like find things that are like cheap to work on as a PhD student, because you cannot go pre-train a foundation model really on your own, but you can build a really good, really clever eval.
like we're churning through emails at the time, we saturate them, we always need more. It's not the kind of thing that is ever going to like end. And so that's the task of translating like vibes of what is good or bad about a model into kind of very precise scientific questions. I think is an important problem. It's a problem that you can get by a lot more with like brain power rather than dumping capital into it. You need to like pay for the API costs, but like that is generally the kind of thing that either you can get covered within academic grants or like industry sponsors or the kind of thing that just like there's versions of these things that are like small sample size that get you on the radar or you kind of pick and choose which models you can afford to get out. But it's like an accessible field of research and it's one that like the incentives of academia I think are quite good for, which is like write a splashy paper that says something interesting about the broader field rather than, oh, we want to make this one look like the winner.
I think a lot of grad students, though, don't have taste. I don't know how better to put it. That's fair, yeah. But you go to enough academic conferences, and I'm like, why did you work on this, man? You're so smart. You're capable of better. So how do you teach taste? I think, I mean, I can tell how I did it originally, which is like, I think you always want to be thinking pretty far ahead. And you want to be making kind of educated bets about what the world looks like in the theaters. You have to say, what are the questions that no one's even talking about? And this is not an easy thing to do. You have to really convince yourself that you're kind of right about the way things at least might go.
Like when I was like in, I finished up undergrad, like late, like they finished in 2019, then like right in grad school. But like towards the end of the 2010s, like we had like all of them doing all this multi-agent RL stuff that was like really cool. Then it was like, okay. this stuff kind of works like AI is like going somewhere multi-agent systems are kind of going somewhere still very early stages but what's going to happen once this gets there and it seemed like okay these things are all going to be like continually learning in parallel as this big multiplayer game basically and if you look at the math the math was kind of like undercooked and there's like some really hard open questions there are still open questions in multi-agent learning theory and so like that was my focus it was just like how do I like learn about this how do I learn to think about this stuff better um and at some point I kind of got tired of proving theorems and was like okay let's just go build a thing but I think like you want to think about like whether you're doing theory or experiments like you have to lay out a few different conditional statements to get to the point where you're really doing interesting research that's beyond, like, just loving brute that people are, like, obviously going to be working on parallel. You want to be jumping ahead of the curve a little bit. I think my last, I don't know, this isn't, like, I wasn't the first person to do this, but, like, it was pretty clear to me, like, after O1 and before R1 that, like, RL was going to work and that that was going to intersect with agents where the solution was going to be, like, RL was going to use. That seemed like the way the direction things were going to go. And so that was, like, I don't think that was a very risky research bet, but it was, like, a research bet that seemed to work out.
Yeah, speaking of which, you just published the paper. Now I have the full context is that you were an advisor on this, and one of your grad students was doing the work, something like that? Yeah, so it was me, Silion was my intern. This was kind of the last major thing I was working on at Morgan Stanley, and this kind of was in parallel with the verifiers of the repo that I've been building out. Major updates to that coming very soon, by the way. I'm very excited about some stuff.
It kind of was something I really started in earnest, like January, kind of in the follow-up to it. I'd had the GRPO demo thing go viral, and I was like, oh, wait, there's something to this format reward thing. It was literally like a GitHub gist, right? Or something. This is like a proper repo. No, no, no, the GRPO. Oh, the other one. Yeah, yeah, the other one was like just a gist. This one is like...
repo for multi-term tool use, RL, with GRP. And so, in some ways, the paper is like, it's the first paper that's really like, actually, there's been a couple other papers that people have used the repo for, but it's one where a lot of the stuff from the original GRP demo just gets kind of extended to the multi-term RL tool use setting. And so there's a lot of experiments here about like, okay, how do you actually get models to use tools? How do you incentivize tool use? Because something we'd see is that if you set these models up to use tools, They just won't. Like if you say, hey, here's a question. You have access to these tools. Do as many rounds of tool calling as you want and then submit your answer. They'll just submit their answer because they like are, especially for like small models, like they aren't already trained to use tools. They don't really want to because they don't necessarily have that instinct. And they're pretty bad at like function calling and instruction following. And so what you would see is like when they use a tool, they would like mess up the JSON. And then they'd be like, oh, that didn't work. And it threw me, it got me out of focus. And it would be more likely following that that the model would just like go off the rails.
because they would get like an error message from the parser. And so the safe option for the models is just to like stay in this basin of like, just do, think, then respond. Same with like normal formatting rewards too. Like if you want models to use thinking tokens, you kind of have to like incentivize that. You have to either do a little bit of like SFT warmup or you have to like reward them for doing it. Otherwise, they will not follow it 100% of the time on format alone versus like...
a model like r1 like a hundred percent of the time it is going to use its thinking you are not going to ever see r1 just like talk normally without the thinking section and so like you kind of do have to decide what you want the model to do like this is a little bit like a user-facing question of like what what behavior of the model should the default be and if you have if you want to do a certain thing if you want it to be a totally used agent model like it does help considerably to like actually have this incorporated into the reward the kind of key trick in the paper to get around this problem so okay one kind of reward these models would do is like they would do like a dummy tool call where they would like learn to ask this use the same google search every time and ignore it so like some questions would be like, okay, here's some like MLU style question, go figure out the answer, use web search. And if you start rewarding them for like tool use, they will use the tool, but they don't really want to like have to, they want to like be very safe with it. And a lot of these questions, like they do kind of know a lot of the answers already. I think calibrating the right difficulty of your questions for the RL is like an important problem that we're still kind of figuring out.
they would like do silly versions of tool use but they aren't actually using the tool to assist in their reasoning they're using it to get the reward and so we kind of have to do a credit assignment thing of like okay did the tool result in information and so for these experiments we were doing the trick was like okay does the like some string matching thing involving the ground truth answer and the return search results from Wikipedia so did the model actually start a thing that retrieved useful information for a question so this is like but the framework is more general than just that it's that once you have a way to do intermediate evaluation if you can evaluate like the quality of an intermediary state now you can kind of rewrite the grpo advantage calculation to take this into account because i think this is less a problem like ppo if you know ppo is like the old school rl and it also is what people use for rlhf but in the context of grpo grpo is like great for like leaning heavy on highly parallel inference compute it's more memory efficient for the actual training process it's much easier to do in a distributed fashion because you have less gradient syncing and less model weight copies it's kind of like dpo on steroids i think is one way to think about it but it's also
gets around a lot of the pitfalls of dbo both in that it's like online by default as well as that you have this large set rather than just a pair of completions so you do get like some intermediate credit assignment a little bit via this group comparison but for tool use it seems to be far enough out of distribution of small models especially doing incorporating this turn level so the way that i've been thinking about it is like in like canonical rl the state action are like things that you do many rounds of like take an action And for a while, people thought about LLM-RL as like, oh, each token is an action and the new sequence is a new state. And you can kind of do that. But you can also think of each turn as an action. Yeah, that's more likely. Where the state is the response you get back from the tool call. And now you have a different way of designing your RL algorithms to take into account credit assignment, which is that like, and it also is like a little more flexible from a reward perspective. So it feels like people are moving in the direction of model-based rewards where either LLM is a judge where the judge sees the correct answer or it has questions it's supposed to verify as properties of the response, just because that's much more flexible.
than trying to write these little parsers. Writing a math parser to check if a math question is right is not that easy, actually, because there's so many edge cases and you want to handle latex support and markdown and equivalent fractions. Just let a model do that. Don't have a 2000-line Python script that does that. Sorry, let me clarify. Math parser to verify that the math is right and you have a latex parser inside it?
Yeah, so a lot of models naturally will think in late tech because they've been trained on a lot of archive tech. I didn't know that. I guess. If you're doing an R1 and people are like, oh, math is easy to verify. Easy to verify still is usually this very long piece of code that has to handle lots of annoying edge cases. And even then, it's like 98%. Yeah.
Hmm. Okay. Because, like, it's a free-form response that is, like, there's not only one way to write an equation. Like, if you have two valid mathematical expressions that are equivalent, but they're also, like, symbolic. Like, you need to verify the two symbolic expressions are correct, one of which might be written as code, one of which might be written as LaTeX, one of which might be, like, written as words. Like, you can't do it if it's words with these, like, literal parts. They try to cover a lot of these cases. That's also why you'd see models put boxed around their final answer a lot, is that it's one hack, is that it's much easier to, kind of, verify the right piece of the information if you know exactly where it's going to live, rather than, like, the model saying, the answer to the question is four.
Then you have to parse away the answer to the question is. Determinist rewards are nice if you can get them to work, but they're also really painful, and they're pretty hard to generalize across domains. For map, the easiest is when the final answer is an integer and it lives in the same spot. There's a box where it's going to be an integer. This is one of the reasons everyone used DSMAK for so long is because it's mostly integers. AME is all integers. It's super easy to verify these things and to parse them. But as you go to... And multiple tries, too. Multiple tries is super easy to verify. But anything that's a little bit more flexible, deterministic rule-based rewards start to break down.
But the model-based direction seems to be pretty promising. And I think under-explored, what if you use an LLM as a judge in your RL loop? I think kind of going back to Anthropics has been talking about this for a long time via constitutional AI. In that case, it was less about the LLM judging and giving a direct reward to the model and more about training a reward model that was doing token-level advantage estimates, which is the PPO way of doing it. but it seems like you can kind of do that for grpo2 and other flavors of rl where you can incorporate the reward model the reward model can basically be an lm where like it's tuned to like be more calibrated maybe and to have the right kind of range of responses yeah but you can also have it be a reason or you could have it be something that is able to do tool calling there's no reason why the full power of lms can't be offloaded or can't be also given to the process of evaluating whether or not an answer is correct or satisfies a certain set criteria and so i think like that's the direction i'm like most excited about is like really pushing on kind of beyond deterministic rule-based rewards into, like, these more flexible things. And I think you want to do this both at, like, a... So, okay, that paradigm is not going to work super well with token-level rewards, but I think it does work with turn-level rewards. Like, can the LM verify, like, whether a certain search query was useful? Sure. Like, there's a lot of these questions that are pretty granular that LMs can, like, basically nail all the time if it's a good enough LM.
And you can incorporate that into RL with that server. Awesome. I think that was all the topics that we had prepped last year. I think you're also pretty good on that. Obviously, it'll take some time to figure out Cloud4. Anything you want to plug? We already talked about your talk, I guess, coming up. Sure, yeah. I'll be at AI Engineer on...
June 4th? In a couple weeks, yeah. Yeah. Your track is a particularly hype thing. Yeah, mine's going to be, that's going to be a lot of fun. I'm also collaborating with Kyle Corbett from OpenPive to do a course, which is both of us like have our open source projects that we like, our agentic RL focused and kind of we've been friends for a while and are trying to do something that's a little more structured as like a way of kind of getting information out of the world for people who, I think we're especially thinking about like kind of practical use cases for agents and helping people, giving people an outlet to learn more about like how this stuff works and more coming soon about that. Awesome.
Awesome. Thanks for coming on, Will. Yeah, thanks for coming on at very short notice. I'm glad we can make this happen. We'll do part two with Kalo and do a full Prime Intellect thing whenever you guys are ready. Awesome. Great. Awesome.