Transcript
0:00 JIANTAO JIAO: Good afternoon, everyone. Very excited to be here to be talking about the post-training verifiable agents. So the Agentic AI, of course, is a super exciting course. I believe that you'll be able to learn a lot from lots of people. First of all, that disclaimer that everything I talk about here in the lecture or the views expressed are solely those of the guests with me are not representative of the company, including NVIDIA or UC Berkeley.
0:31 So we'll be focusing on post-training verifiable agents which is a very important topic in building highly reliable agent systems from the basic requirements of building agentic models. So how do the agentic models differ from traditional large language models? From the very early days when LLMs was first produced, we use a technique called reinforcement learning from human feedback. At that time, the language model was really trained to align really well with human preference.
1:05 For example, they interact with you. They really understand what you are saying, make you feel better. But later, essentially all the frontier labs and all the mobile vendors started to add this agentic capabilities to their models. And precisely for agentic model, the model is really aligned with the environment feedbacks. By environment, it actually means something very specific. Later I will detail. They are designed to provide interactions to maximize verifiable rewards in addition to human preference.
1:38 So basically when you are actually talking to those agentic language models they are supposed to really understand your intentions very well, because it's designed to first maximize human preference, but also, at the same time, it's designed to help you accomplish tasks. That's extremely critical. And for evaluating the quality of task completion, we usually use something different from generic reward models, because for certain tasks, maybe there will be a few correct answers, and there will be really wrong answers.
2:11 You absolutely cannot do that. And usually for human preference, the situation is slightly different. So a brief recap of earlier models that were trained to be great chatbots. So what we trained usually is the following. Say you collect lots of human assistant chats. Human say something, assistant says something. Then later, you would like to rank the assistant responses based on human preference. Maybe you do crowdsourcing, ask lots of people, and then you collect this human preference.
2:44 Then you try to figure out reward modeling technique to come up with a reward model, basically based on the human assistant interactions trying to grade whether a certain response from the AI assistant is good or not. Once you get really high quality reward model, we like to start training the language model so that it can actually behave better in terms of maximizing human preference. There are many algorithms you can use here. So here I also include the SFT.
3:11 Sometimes people say SFT, which is the abbreviation for supervised fine tuning, is mostly used for strictly mimicking the expert behavior. I include here because SFT actually is also being used a lot even when you are given a reward model. So the intuition is that I can use the reward model to grade multiple different responses from the assistant. Then basically, I can only choose those assistant responses that rank very high by the reward model then conduct super fine tuning on those responses.
3:43 I can also use other reinforcement learning algorithms like PPO and TRPO, any algorithm you come up with or you have heard of finally to produce a model to maximize human preference. Hopefully by talking to that model, you feel that it's really engaging. Model really understands you. You feel very happy about this. Feel free to also stop me when you have questions. What more is necessary? So it turns out one of the key applications of LLMs is actually agency tasks.
4:12 Conversations is not verifiable. They are also usually no clear single correct answer. They use a really sophisticated reward model to model preference and records interaction with the user only. But in terms of enterprise applications of LLMs, many tasks they actually require the deep interaction between the human, sometimes multiple people, multiple assistants, and many other entities, including the environments, specific code repo, specific software system, and many different tools.
4:46 So basically, you need to make sure that LLM is able to understand the feedback given by many different entities, understand the full state of this environment, and also make sure that LLM is performing a certain task it's able to really produce the correct answer. And there is a very clear verifier demonstrating whether the answer is correct or not. And you should really not produce the wrong answers, because that's going to make the whole system totally crash.
5:14 So sometimes people say that you can use other deterministic system to help fix that. But one thing people have found is that if the LLM is not strong enough in producing essentially right answers, it's very, very hard to build a reliable system, even after you do lots of software engineering on top of this. So precisely for today's models, they are trained to be great agents. The user no longer asks the question saying, how are you? You start very engaging conversations.
5:42 Your user has a very clear target, sometimes even vague, but there's something user wants to accomplish. That's able to achieve this is having to book flights. I want to talk to my server assistant. Then LLM needs to be able to understand this and the precisely execute. So there are many different ways to evaluate the outputs of the LLM and the system. There are different rubrics defined by people. You can also write down different ground truth. You have a very clear recording of the environmental states.
6:13 And you also conduct lots of unit tests to check the output of LLMs. By doing this, you get a very good signals. You understand whether the output of LLM in this case is right or not. And then you start to use lots of other post-training algorithms. Again, super fine tuning, PPO, GRPO to actually improve the model. So eventually, the goal is that you want to construct a very strong agentic model to maximize correctness by interacting with the sandboxes with very complex tools, I will try to make everything very precise later when we go into the details of this.
6:51 OK, but what is needed to train the verifiable agent models in particular, it is a very important topic lots of people in the community are focusing on. I would say that there are three core steps and each one is actually very challenging. These days it really requires the collaboration of many people across industry, across academia to contribute to this, so that we'll be able to get a very, very strong agency language models in the future. So the first step I say to get good verifiable training data to train the agents without high quality training data, we simply cannot produce very high quality agent items.
7:29 I'll be talking about the challenges behind getting very high quality training data. The step two is actually evaluation. You collect the data. You figure out your training approach. You train the model, but then you need to really understand whether it's good or not. So generally, there is a very dangerous trend of really entering into this illusion that we feel we collect the data. The data is comprehensive enough. Then we only test the things that are really aligned with our data.
8:00 It really appears that everything is working really well. Then suddenly we test everything in the wild. Things start to break. So how do we define a verifiable agents? We are talking about some concrete examples. Maybe I'll try to make it even more concrete. For example, one thing could be that you're solving a math problem, Then the computer also has access to certain tools, for example, Python coding tool. Then after accessing the coding tool, writing lots of codes, understanding the problem, finally, the LLM is supposed to produce an answer.
8:35 For example, the final answer to the math problem is number 2. Now, I want to make sure it's precisely the right answer. So it's just one example. The other examples in software engineering you're able to produce a code a script. And then there are many different ways to check the validity of the code. For example, there are so many different unit tests I can write that you need to be able to pass all of these tests to make sure that finally it's correct.
9:04 It turns out it is really complicated question. So there are so many different verifiers you can build. And the current challenge everybody is facing in the community is that we haven't got enough strong verifiers to really make sure that we capture all the corner cases of the intelligence. So the third step is actually also about training. So this is also a very complex topics. Till today many people community are trying very hard to research on this, which is that I got very good training data.
9:37 I also figured out how to evaluate my agents. But what exactly is the best way of feeding the data to the model so that the model's intelligence, in fact, actually improves? And in some sense, when we think about building the verifiable agents, we really think about this essentially as the training of human being. So when you are training like an engineer in a company, what usually you do is that you first give some instructions. You say, well, maybe you are supposed to write code in this way, or you are supposed to operate the software system in a certain way.
10:12 Then the person started doing that, started writing code, started interacting with the software system, submitting tickets, things like that. Then sometimes they will make mistakes. They will receive some feedback. And the key challenge is that for human, you can just tell the human, well, here's the feedback I give to you. What about next time you do better? But for the machine, the hardest part is to transform this natural human interaction into something that's implementable by an algorithm.
10:41 So the algorithm needs to make sure once the LLM first attempt something but it made a mistake, I give LLM a very detailed feedback. How do I guarantee the next time that LLM also attempts the same question, the quality of this time actually improves? If I'm not able to achieve this, then basically I'm not able to replicate this natural feedback loop of human learning, then we're going to really hit a plateau of the final intelligence of the system.
11:10 So that's why the step three is also extremely critical, and we'll also be spending a lot of time talking about step three, including some approaches people have taken in the past. But I really want to emphasize that all the three steps they require very extensive research at this point. So it's actually a fascinating opportunity for everyone to get into the field at this point. OK, talking about the first thing, getting good training data. So agentic models maximize verifiable rewards.
11:39 What exactly would be the core components of training data that we specify to really make sure that they are actually of high quality? So I first want to emphasize three different things. They are kind of very related. In certain literature maybe they are combined together, but I think that things are slightly different. So I would emphasize three different aspects of the data sets. The first is called the environment. So how do I think about the environment for the agent?
12:10 So say you build a coding agent. So basically the agent takes in your instructions trying to generate a code in a way or formulates the code repo. Maybe the code repo has some issues. There are certain bugs. You're supposed to fix that. Then the environment basically encodes the whole state of this repo. For example, the prefix and suffix of the code scripts and lots of files we have loaded. Lots of downstream tasks we need to deal with.
12:42 They describe the states of the environment, and also it includes lots of system prompts people have already set up for different parts to work together. The second part I want to talk about is tools. So basically, the agentic LLMs they are trained to generate tokens that are consumed by software tools to provide additional relative information to the model. So precisely, you should think of this as additional-- in software engineering language, additional APIs provided to the system.
13:12 For example, you call the system while the user asks you a question, what's today's weather? LLM is not supposed to know that, but LLM really knows that it has access to certain APIs that's able to access to this weather. The LLM is supposed to be producing the exact API call to the external system. Then external system assistant should be able to feedback the concrete information regarding today's weather. The LLM should be able to internalize that, and then finally present the final answer to the user.
13:44 So the APIs could provide additional information, and the APIs could actually also help change the environment states. So basically, you're working in environments the state is really complex. Has lots of different moving parts. Then maybe you are given certain tools to help you modify the states, because maybe in order to actually accomplish certain task, there will be certain states that needs to be changed. Maybe even the user doesn't know that. But as a very strong agentic LLM the system is supposed to know that user gives a task, then the agent is supposed to be able to decompose the task, figure out what exactly are the right tools to call, change the environment states if necessary, and finally produce the answer.
14:25 And the point story is really about checking the answer. So basically model are trained to generate tokens. It produced the answer. But how do I even know if the answer is correct or not? We need to build the so-called verifiers. The verifiers will tell you whether you have really succeeded in accomplishing the task. In some sense, it's also quite challenging because there are lots of intricate issues related to evaluation. Maybe you really produce the right answer, but it took you so many steps and consumed so many tokens.
14:58 Maybe LLM is actually also supposed to penalize you due to this. So even for that, turns out it's really very good to think about verifiers not as a single number checking it is correct or not. Think of this really as a vector. Talking about evaluating the quality of the model from many different perspectives. It can be unit tests for code we just talked about. Math checker for proofs or for web tasks. You can also check whether you have really accomplished certain tasks on your browser.
15:28 So those are the three aspects. Then I want to talk about some of the challenges in preparing the data. So the first step is to get good training data in training this very strong agentic LLMs. And in order to really make sure it works in the wild, it appears that you need to really follow a principle to say I need to understand many different environments. I need to have a system that's able to use many different kinds of tools.
15:56 I also need to make sure that system does well under so many different verifiers. That actually is very interesting, and it's also the lessons learned by the whole community over the past two years, showing that one definitely shouldn't be tricked to believe that the whole system is working very well when you're actually only working with very few environments, very limited verification, because the system would indeed break once you go beyond the scope of your data.
16:28 And the key challenge here is to really make sure that you've got enough coverage. So here I want to give you some more examples talking about what we have been discussing on a high level. Say, you want to train a very strong agentic system. And then there are so many possible combinations of environments, tools, and verifiers. For example, in environments there can be math. For math environments you are given a problem, then you interact with the user, and LLM provides the answer.
17:04 Then you could have a math verifiers, proof checker. And then in the environments, you actually could also have access to different coding tools. That's why these days sometimes when you use ChatGPT, you see that you ask a math question, ChatGPT actually would call Python try to write some scripts to really verify that the answer is actually correct. Or you are working with enterprise software. For example, here I talk about the sales assistant. Then it could access different software API tools.
17:35 Maybe a salesperson wants to ask todays weather. I want to get news. Maybe I also want to access a database built in my system. Maybe I want to understand who actually are my customers? What exactly is the progress with customers? And maybe I want to really write really a precise query language to query the database and also to make sure that I'm able to internalize the outputs from the database. So many different types of environments, tools, and verifiers.
18:07 It's very important we achieve very good coverage. And it's always an interesting challenge to make sure that we indeed covered all the important aspects we care about. So that's why it's also super exciting time to do research because always we got something more to work on. One thing I want to really emphasize, which is a very rare quality. And these days when we look at open source community, it's actually one thing that's really lacking at this point.
18:42 So generally one thing one has observed is that it's very easy to think about one rule to verify a certain answer and just put it down as a single verifier. But the thesis that has appeared again and again in the community was that whenever we thought we have built a very high quality verifier in checking the answer of the LLMs, turns out we have missed some corner cases. So here I'm just showing you something very basic, which has already been covered by the community, but there are way more complex examples showing that it's actually quite difficult, where, for example, let's say the user has a question.
19:21 I want to ask how much change would I get back if I buy a drink for $0.50 and give a dollar. The LLM could give multiple different answers. So basically it can give 1/2, 2 over 4. Then in terms of the verifier quality, you are really supposed to say that all of these are correct because they actually indeed tell you what's the right amount of change. However, the question could actually also include something more stringent. For example, in addition to just asking you how much change would I get back, I have an additional request.
19:57 Please just give me the simplest form. So once I have that, the verifier also is supposed to be different because supposed to be 1/2. Then in these cases in particular, it's very easy to make mistakes when you are constructing the verifiers. And those cases are usually very costly because generally, these days LLMs are already quite strong. You'll give LLM a very simple question, it will be able to answer it. And only in those challenging cases would they sometimes make a mistake.
20:29 But if you verify it's also wrong, didn't capture the nuance in the question, you absolutely cannot further improve the quality of the LLM. So that's actually one thing we really want to emphasize which is false positive, false negative, which is better or worse-- more significant. And actually, in our experiences, I would say that it's very important to minimize both types of errors, because, of course, it's also because in different applications you assign different weights to different types of errors.
21:08 But in reality, you can always find the interesting applications where a particular type of error, either false positive or false negative, could produce catastrophic results. So you really want to make sure that doesn't really happen. You want to conduct minimal software engineering to finally fix the outputs of the LLMs. So I'm just showing this as an example trying to convince you it's actually quite challenging to write very good verifiers, because there are lots of nuances in evaluating the final output.
21:42 OK. So then we talk about the first part, which is how to get a very high quality training data in order to train a very, very good agentic LLMs. Now then I'll be talking about the second components, which is getting good evaluation data. So it's kind of connected to training data. But in reality we focus on this. We do try to view this from different perspective in some sense, even trying to tackle certain aspects that are not really being paid attention to in training, because the intuition is that we really want the training to be generalizable.
22:22 So basically, in collecting training data, there's absolutely no way we have collected all the data in the world. For example, just to think about the amount of data human being would produce when we are interacting with internet, when we are interacting with a browser, or when we are doing math proofs, or when engineers code, that's basically unlimited. There absolutely is no way we just cover all of them. So the whole point is that you want to build a very good pipeline to make sure that once you achieve solid coverage of training data, it's supposed to generalize to many environments you haven't really seen, because there's absolutely no way you see all of these different environments.
23:07 That's actually one task that this good evaluations is supposed to capture. For example, here I'm just listing very few targets of a good agency model. Later I'll be talking about some existing evaluation systems people have already built to capture those targets. For example, one thing, I want agents to work with many different tools. It's so natural. If the agent can only work with a few different tools. I give a new one. Maybe the user modifies the tool, then the system just breaks.
23:38 We really cannot tolerate that. It's also expected to work for many different use cases. It's also very natural because maybe the user today also comes up with a different use case. You also do not want the system to break. It operates with software system 1, but there's software system 2 with slightly modified API. You want this to also continue to work. And another core aspect, in particular, in the human interactions I think is also being surfaced again and again is that agents are expected to work under vaguely specified instructions.
24:10 So in the very early days of agentic systems when people are designing, evaluation it's always like the user will have a very clear target. The user will say, please conduct this. Then you see the LLM behave very intelligently. It's really to be able to decompose the problem, execute the task, calling the APIs in the right way. But later in reality, people really found in the wild when people started to interact with those agents, they have absolutely no idea what they want to do.
24:41 So basically, asking random questions, they are actually hoping the agent who tell them what they should do in order to accomplish this task. So in some sense, it really means that you need a very smart system. The system should be able to understand human intentions by proactively talking to people, but also, at the same time, produce very precisely formatted outputs so that they can actually interact with very rigidly formatted software systems. So number four agents are expected to work under many different software systems.
25:15 For example you use cursor in programming. I built a system for cursor. Works very well. Suddenly you change to another system. I use exact same LLM. Completely breaks. It's definitely not ideal. And if that really happens, that also brings people to question the quality and the intelligence of your large language model, because maybe the LLM is just simply isn't smart enough to understand those changes. This generally will be very problematic. The fifth one is very generic.
25:46 I call here expected to be robust. It's really because there are so many things could actually go wrong in interaction with humans and with software systems. Human beings may not really know what they want, and the software system could also sometimes produce issues. You want to make sure that the LLM really behaves as a really smart person just like high quality engineers who'll be able to debug all the different issues that emerge in our daily life.
26:17 So the slides will also be made available online. Here I just want to give you some more concrete examples of what people have already done in the past. So those benchmarks, they actually they do map to the specific requirements. We have been talking about here. For example, one tool is about the different tools and different use cases. So on the left, I'm showing the shelf benchmarks which actually cover many different use cases, many different tools.
26:48 And there's also number four on the different server systems. So here I'm talking about different agent harnesses which have been also described in detail. And number three, five here is focusing on unit test evaluations checking robustness of the outputs. OK, so maybe I'll start from the left. So in the past couple of years, the community has developed some really significant benchmarks trying to push the intelligence LLMs higher and higher, the benchmarks are getting harder and harder.
27:26 Generally, people have achieved a tremendous progress. And indeed, for our observations, certain tasks that in the past were believed to be very hard for LLMs, these days they can actually solve them. And it turns out they really produce a very significant productivity gain. Here I'm talking about a couple of them. For example, a SWEBench is really challenging the LLMs to really solve this very, very sophisticated GitHub issues. Many times it really needs to involve so many different tools to solve these issues.
27:59 And also through solving SWEBench also made people understand that you're actually supposed to be interacting with different harnesses. I want to really emphasize this because there is a very complex GitHub issue you need to solve, but to solve it, many people actually operating in different environments. For example, in one environments, maybe you have a function called openThisFile. You are supposed to just call this function to open the file. Maybe in another environment you do. You do not have this function.
28:29 You have some other command line tools you call to actually accomplish the same task. So the whole point is that in order to check your capability in solving SWEBench, you're actually not supposed to be only sticking to a particular harness. You're supposed to be trying so many different ones showing that for this particular task, maybe when I give you this set of different tools, another set of different tools, slightly different formulas or tools, are you able to solve it in all circumstances?
28:58 If you can, it really means that your intelligence has already achieved a certain threshold. That's actually an extremely important point. There also are different other benchmarks like TauBench, BFCL, also from Berkeley, ComplexFunctionBench covering a very wide variety of different tools, different application scenarios, just to make sure that you do not overfit to a particular application. And there are also different unit test evaluations. For example, those actually would be the focus of many community members for a long time ago saying that I want to check the structured output adherence, which means that maybe in many cases I want you to produce a JSON output.
29:43 I really want to make sure it is really exactly right JSON. So I want to make sure you do not really need me to later write a very complex software engineering code to correct the mistakes produced by LLMs. There has been lots of attempts in the past to produce such software engineering tools somehow to reduce the burden on LLMs. But later, essentially what everybody observed is that if the LLM itself is not intelligent enough, it's not able to produce very high quality JSON or structured outputs, it becomes essentially impossible for anyone to fix the issues later, because lots of issues really involve very nuanced understanding of the system.
30:23 And it really requires a system with very high level intelligence. So basically you cannot easily fix it using very simple rules. So one point to summarize what we talk about, which is a holistic environment. We want to make sure we check all kinds of capabilities of LLMs, humanity's last exam, general scientific knowledge, AIME in math, SWEBench in coding. It's supposed to be combined with different harnesses. And I want to make sure that we really create a super strong, super intelligent model that's able to solve all of these tasks under all kinds of combinations of evaluations to convince ourselves that indeed we have made progress in terms of enhancement of intelligence.
31:10 So keeping the definition of intelligence holistic is extremely important, because these days we are trying to utilize the systems to increase our productivity. And one thing has come up again and again is that the system we are dealing with in practice as a scientist, as an engineer, as a researcher, it's just so complicated. So in order to make sure the system can actually help us, we want to make sure it is smart enough.
31:42 So to continue what we talked about, good evaluations need to count for all of these things. Evaluate how many different tasks and verifiers, many different ways of letting the agent explore in a benchmark sandbox by seeing how the accuracy changes as you swap out the harnesses. You make sure that if you see sometimes a very significant performance drop maybe means that you did something wrong in training. Then you need to figure out new ways of training to fix this.
32:11 You also need to deal with many different tools. How to use different tools in different action spaces? Ideally, you really stick to the same model so that the model needs to itself figure out what to do. So in summary, evaluation is extremely important. Lots of people here are also working on very significant topics in evaluation. It is definitely something we need the help from the whole community on, because only by collectively working on this can we really understand the limitations of existing agentic system and make progress.
32:47 So it really needs to be holistic and good measure. One last thing I want to talk about before we go into the training aspects is actually also about maybe approaches to combine different tasks and harnesses to evaluate. So basically, say, you have already come up with lots of different evaluations. For example, checking the quality of math to quality of codes, swapping harnesses, making sure things are actually good.
33:17 Well, then you saw some good numbers. So are you still really sure that you didn't really overfit all these benchmarks? Because maybe in this process of iterating on your post-training, you have collected some data which is really similar to some of the data in your evaluation, or in the whole community maybe certain models have already been contaminated. Maybe certain evaluations should no longer really work. Are you really sure it's not happening? When you see a high number on a certain benchmark, say on SWEBench, are you really sure your LLM is actually very strong?
33:52 So I would like to emphasize that there's also a very important community effort to continuously trying to check the quality of evaluations, which is also important aspects of LLM research. So basically several aspects one could consider one thing is about harness. So basically, suppose at the very early days maybe LLMs are not intelligent enough. There will be certain benchmarks. Maybe all the LLMs would score very low on these benchmarks. But maybe these days for example like GSM8K everyone scores very high on this benchmark.
34:27 Then you say, well, I achieved a 5 point improvement on this benchmark. It's really unclear you have actually made some progress, because there's also maybe likely for the specific base model you work on, the model has already been exposed to certain data that's very similar to a GSM8K evaluation. You really do not know what's going on. You need to continuously monitor hardness. You also need to continuously monitor separability. By that I mean that when you ask LLM a question and you ask many different LLMs the same question, ideally, you are supposed to see that LLM that's supposed to be stronger, they answer the question better.
35:05 The LLM that's supposed to be weaker, they do not answer as well. In that case, we would like to say that the benchmark is able to separate the capabilities of LLMs, because if that doesn't really happen, or you observe that while the weak LLMs, the strong LLMs they produce very similar scores, maybe the reaction should be that you abandon this benchmark, because there must be something that has gone wrong in the past, either in training or in some other types of evaluation, that has maybe has hurt the credibility of this particular benchmark.
35:39 There is also, of course, issue of diversity, which is also the topic we have been talking about again and again which is that you need to have very good coverage. So if you do not have very good coverage, you produce high number-- maybe on the data sets you only have 50 different prompts. They are all very similar to each other. You produce a high score. It doesn't really mean that your system actually is behaving very well.
36:03 So all these are very important topics, and it's really a very significant community effort to make sure that we do not fall into the pitfalls. So many benchmarks that really is public. So all the data is available. There are attempts people have to create the private benchmarks to really track the progress. Clearly, there are so actually lots of individuals, community members, and companies, they would like to create the private benchmarks to really check that.
36:36 So in some sense, maybe the situation everyone wants to see would be that we need to see way more benchmarks being proposed, because private benchmark is good, but if you have a very static benchmark, then people will try to fit so many times and maybe still will lose credibility. And ideally, let's say for public benchmarks, if the community can continue to produce more and more benchmarks in all kinds of different environments, then it's actually very hard for everyone to overfit to all of them.
37:09 Then there was a saying that, well, suppose you have only five benchmarks in the world, you benchmark them. So basically, you claim your model is really the best out of the five, maybe it may not really work on all other benchmarks. But if the community has collectively produced 1 billion benchmarks covering essentially everything we do in reality, math, coding, computer use, whatever, then say that someone comes up and say that I have overfit all 1 billion benchmarks, then maybe you have already achieved AGI, because they really have already covered everything that you care about.
37:51 So in some sense benchmarking efforts is really a very strong community effort. So we really would only be able to succeed when more and more people are producing very high quality benchmarks covering their use cases. So that's actually also an aspect I personally feel that academia can really make a very strong contribution, because there are many people working on so many different topics so trying to really capture what is actually missing in the existing training of the agentic systems.
38:26 Great. Then we'll be talking about the third part, training well. What does the training agent mean? So training is a very complex topic. These days we still have new algorithms coming up every day, but generally, I want to talk about the principle of training. So in terms of training, you want the agent LLMs to attempt different actions in your specific environment and see what gets it to the final answer the best, whichever gets you the best results, you want a model to reinforce and repeat.
39:04 So here I'm talking about this paradigm. Say that on the left there is agentic, which is supposed to be smart. You are tuning the genetic LLMs. So you give the agentic LLM a certain task. You say, well, please accomplish a certain task. Try to do it. Then LLM would make lots of attempts. Attempts here I'm showing 1 to 5. Go to the environments. Maybe each attempts it tries to call different tools, try to retrieve different information, try to make a final decision.
39:32 Now, finally, there's a verifier saying, oh, for each attempt is it correct or not correct. How much cost has it incurred. Then ideally, even without the demonstrating how we train this, we already know the target. The target would be that I want to make sure at the very end, after training, the LLM is able to generate the correct trajectory so the attempt is successful, maybe ideally also with the minimal cost. And there could also be other aspects I care about in final evaluation.
40:06 So what are some aspects or some core characteristics you focus on in the whole training process? I'm talking about two here. There could be many others. One thing I want to emphasize is that you want each attempt to be very different from each other. Since you want the model to reinforce or discourage many different styles of attempts. It's just like a human being. Suppose I want to teach a kid to do something. Then ideally, if the person is able to come up with multiple different approaches, they are very different from each other, then ideally some of them is correct, some of them is incorrect.
40:42 After I gave very detailed feedback, I hope the person can learn very fast. But the issue is that if the person is only able to come up with a single answer and it's wrong. Then by telling the person it is wrong, it did give some information, and then it really appeared that it is slightly harder for actually for the training algorithm to work. Appears as you didn't provide enough amount of information, at least for many algorithms, to be able to improve the quality of agency systems.
41:12 And a second aspect I also want to emphasize is that every attempt would cause compute to sample and process. You ask LLM am as a person to say, oh, what about you try this? They tried it, and it's totally wrong. You ask them to try 100 times, all of them are totally wrong. That wouldn't be very satisfactory because each attempt costs lots of money and lots of resources. You do not want very silly attempts. So somehow we are really in a delicate situation.
41:43 So if we give LLM a question, it's super easy, all the attempts are exactly correct, it didn't learn anything. But ask LLM to attempt many times with all failures, caused lots of money, resources, and you also need to spend lots of time figuring out how to make the LLMs learn. So it's a really complicated process. Till today, I believe the whole community is still trying to figure out what's the right way to deal with this. But I think that by connecting this better with the human learning process, it did raise lots of really fascinating questions about that.
42:18 So we want to talk about some of the existing approaches taken by the community. And I really want to emphasize that the existing approaches may not really represent the best approaches one can take. So lots of research to be done. In general, also from a certain point of view, if we really go back to machine learning theory, certain approaches being proposed here are also not exactly right. So one big issue we are dealing with in training LLMs is that the theoretical foundation usually cannot connect very well with existing practices.
42:53 So it's really, I believe, the task of whole community to come together to figure out how we can propose better formulations. But to connect what I talked about before, there are generally will be two stages in training the agentic systems. The first stage we call super fine tuning or SFT. So it is basically imitation learning. I would like to imitate demonstration trajectories that achieve correctness. What that really means is that suppose at the very beginning the LLM doesn't know anything.
43:25 You give LLM a task, and it output some garbage. And that's exactly what the situation we talk about of the silly attempts. That cost lots of money and resources. We didn't make any progress. In that case, usually to jump start the whole system what you would do is that you would like to connect some demonstration trajectories. You say, well, here's a particular query. I would like to show you as a human being the right set of actions you need to take.
43:54 Maybe access this database. Also, access another API. Talk to another system. Finally, this whole trajectory. I just show you that. What about you try to replicate this? Next time I ask you exactly the same question, what about you try to produce exactly the same answer as a demonstration I've just shown to you. So the hope is that I want to minimize any silly or non-meaningful attempts. The second stage is that well, maybe you are already entered the stage where I give you a question.
44:23 Sometimes you make mistakes, but it's not totally wrong. Actually, sometimes you are reasonably correct. In this case, I would like to let you to explore, because the more you explore by yourself, the better you learn. In some sense, very similar to the philosophy of human learning. Say, in school, if a professor only gives us the precise answer to the question. So you just copy this. We are not allowed to produce any homework to be graded by the professor, and we don't get any feedback.
44:54 Then maybe different people will make mistakes in different ways. I have this particular type of mistake. I want to know it was wrong. Nobody gave me that because the professor only gave me the exact right answer. There's new question coming up. I have no idea that I actually tend to make certain type of mistakes. So the real way to learn is to let the model explore and reinforce trajectories to achieve correctness and discourage the ones that do not.
45:18 Going back to the previous point, you actually also want the model to produce very diverse trajectories so that if you go wrong, I want to see you go wrong. Then I tell you it goes wrong. Instead you say, well, essentially everything is correct, but they are always the same. Then you didn't really learn too much about this. You want to reinforce diverse, great attempts from the current model and discourage diverse and bad attempts. Both sides need to be diverse because diversity really accelerates the learning process.
45:50 So to really talk about the details SFT stage and RL stage, I personally feel it's very intuitive because the maps really well to human being learning. At SFT stage, it's basically maximize the likelihood of sampling the demonstration trajectories and minimize likelihood of sampling anything else. Give you the particular trajectory. Say, well, what about you sample this? Hopefully, it really works very well. It's just here so that we can sample meaningful trajectories. So one key aspect of SFT is that demonstration samples needs to be diverse.
46:24 So basically, if you give me very few SFT samples, very similar style, then maybe what has happened is that the model is not able to generate diverse attempts later in RL stage, which is bad. And similarly for the second requirements-- here I wrote a requirement that SFT should be light-- the intuition is also exactly the same, because if you have conducted very heavy SFT, which means that you have basically tried to teach the model for every question I collected in the training set, I tell you what is the right answer.
46:59 And I tell you, please remember this. It is exactly only right answer. Then later, the model will lose the ability to figure out answers by its own. And in reality, the real issue is that no matter how big the collection of your training data is, it can never cover every aspect of our interaction with LLMs and with humans. So if you really only teach LLM to exactly follow your demonstration answers, generally, it will really fail for tasks that are actually auto distribution.
47:33 So in RL stage. So here I'm talking about the technical details. You can find the details in essentially every paper in RL. And throughout the stage, I want to sample very meaningful but very different actions for the tasks, the environment and tools. You have limited compute. You want to make sure you get as diverse answers as possible, as meaningful as possible. Then you figure out how correct each action sequences, how rare and useful certain actions are.
48:01 Then you try to figure out how to update your LLM so that the next time when you try to generate the answers, you generate more of the correct answers. You generate less the incorrect answers. That appears to be the hardest part. So in some sense it's also similar to what we observe in human learning, which is that when the professor gives the students a task, then everyone submits the homework, and the hardest thing is really to make sure that the next time when there's a new task coming up, everyone is asked to submit the homework again, how to make sure that you really have produced a better answer.
48:41 So generally, for human beings, people actually differ in this way. So many people by giving the same feedback, actually, they produce many different answers once given a new set of tasks. That's exactly the same situation for RL algorithms. Use different RL algorithms. They give you same amount of data. Then later turns out the quality of the system actually is different. Summarize, SFT is just here to discourage meaningless and low-quality rollouts attempts, and RL is here to truly reinforce intelligence.
49:16 So I indeed have prepared some more slides talking about the details of RL because I do believe that it's a very critical research topic. The question that has been a certain work actually also work from coming from NVIDIA talking about maybe in certain cases one can remove the SFT stage. We conduct more RL-- by the way, it's also a trend demonstrated by many frontier labs-- consume more compute.
49:46 So that actually also go back goes back to one of the core things I talk about when we are talking about training algorithms is that these days it's really unclear what is actually the correct training algorithm. So because in some sense, for those of you who are very familiar with machine learning theory you know that the current algorithm formulation for some combination of SFT and RL, they actually do not align very well with machine learning theory.
50:19 If you started from a theoretical perspective working on simplified models, you wouldn't be doing this. You'd be doing something else. And unsimplified models something else would work so much better than these approaches we currently take LLMs. So that's a very big issue. So that's why we believe that more exploration in terms of different architecture, different algorithms, better ways of utilizing data, both pre-training and post-training data is very critical in our community, because currently it would be very nice if we can move closer to the theoretical principles while doing something that's implementable in practice.
51:01 These are actually currently a really important research topic, so I personally would encourage everyone to really dive very deep into this, because I believe we definitely have not converged in terms of what's the right algorithm to use. As you see, when I talk about later certain issues related to the algorithms, I by no means mean that those are maybe the really right approaches we follow, that they will continue to be right even 10 years from now.
51:36 But maybe my purpose is really to show you certain observations people have made in the past in running certain algorithms. Hopefully, it can motivate you to design new algorithms that actually work better. Maybe one perspective LLM could be considered is like pattern matching. Then you want to train the system to be able to conduct critical thinking and also be able to invent something new.
52:08 First of all, my feeling is that it's generally very difficult to understand what exactly LLM is doing, because when you really think about how do human beings learn? In many cases, suppose we are actually trying to solve exam questions while we are attending a class, we are also doing pattern matching. When we are in school, professor shows us one problem. Then there's an answer. Then here's the next problem. Very similar.
52:38 We are also doing very similar things. So me personally, I feel that it will be fascinating to combine everything related to human learning with LLM learning, which is exactly what we are trying to show here. So we have got some good intuition about human learning. We figure out how humans can learn better. But the issue is that many humans have no idea how they actually learned. They did something. They got some feedback.
53:08 The next time they did something else. But here we need to write down an algorithm. That's actually the hardest thing. We have no idea how to write an algorithm. And in terms of human learning, there are so many things we want to learn, and there are so many ways to evaluate a person. Just like these days, students take exams from all courses. Are we really sure all the exams are really fair? They evaluate a person, the students in a right way.
53:33 It's super interesting. So one point I'm trying to make here is that it's a so fascinating area to think about that we are actually absolutely at the infancy of the area. We really haven't figured out what's the right way to train those systems and also deploy them in certain other critical applications. But we have made interesting observations, which is what I'm trying to show here. Hopefully, the observations are insightful and can stimulate some of the research that people in this course can actually do in the future.
54:09 So now let's dive slightly deeper into reinforcement learning. I want to talk about three core aspects. I believe that we still need to do a lot more research around those aspects, potentially new aspects, but the community has made interesting observations. I want to share the observations here. One idea is to train for longer. So one intuition, situation you don't want to hit is that you got some data sets. You get LLM to attempt to solve the problems.
54:41 You attempt once or twice. Then later you found that it can no longer attempt. So every time it makes attempt, produces the exact same answers. Saturates. OK, not able to train longer. Not ideal because for human beings we really get constant feedback. We are given a task. We propose a solution. We get a feedback. Next time we propose a better solution. Ideally, later we come up with really amazing maybe answers maybe inventing something really new, conducting cutting-edge research, inventing general theory of relativity.
55:17 There's a very high bar here, but it would not be very good to say that it plateaus very, very quickly. The second aspect observation people have made is that somehow you need to train a more difficult prompt and tasks. So intuitively also makes sense, such as for a human suppose you are given a task to learn. You are only given really simple tasks. You already know how to solve it really, really well. You didn't really learn anything new.
55:45 That's for LLMs is also exactly the same, but we did talk about some of the intricacies related to this, because if the LLM is only given really difficult tasks like solving Riemann hypothesis, nobody can really solve, and nobody can make any progress. So that's actually also a very big challenge. Turns out it's important to convert the intuition we have in human learning to LLM learning, which is also very big ongoing research project. I've been talking about some observations people have made.
56:16 The third aspect I want to emphasize is to train a more diverse responses with high quality reward feedback. So which is very natural. So for human, if you only interact with very limited subjects, for example, you only study a single subject, only take one course, and then you certainly would not be able to answer the questions in the exams of other courses. You need to do that, and so you need to see many different meaningful answers per prompt, as many answers as possible.
56:50 So a good algorithm should rely on those pillars, and they actually are even more pillars in practice. So I will very briefly talk about those pillars. One pillar we talk about is being able to train longer. So there has been many observations in the community talking about studies of entropy mechanism or entropy class collapse mechanism. And actually, many different papers have also very many other correlated metrics capturing something similar.
57:21 But the idea is the following. So on the left, I'm showing you a plot. X-axis is the number of training steps. Basically, you train longer and longer. Y-axis is showing performance gain, so basically how much the item has actually improved. And yeah, I'm also showing this y-axis, I have two curves. One is showing performance gain. The other is showing entropy [? left. ?] By entropy, I actually means that when the LLM is trying to generate its next token as being specified-- in literature, it's a probabilistic inference because next token is sampled from a distribution.
58:02 So by entropy, I mean that I basically compute the entropy of the token generation probability. By large entropy, it means that there will be high uncertainty in sampling the next token. Then if we have a high entropy, then very likely if you sample the trajectory twice, you will be able to get two very, very different trajectories. If the entropy is very low, think of the situation that whenever you are given a prompt, then you ask the model to predict the next token.
58:31 Then the model is always super sure next particular token is certain token with 99% probability. Then even if you run this LLM, you sample it so many different times, you wouldn't be able to sample many different trajectories, because only a single trajectory has a very, very high probability. So what this plot has shown that if you do not intervene, if you follow many different algorithms, what's going to happen is that as the number of steps increases, the performance would gain.
59:05 Indeed, you see, in terms of rewards, the model started to produce very high quality answers. Entropy started to decrease. So basically, later on, we learned that I'm able to only produce one answer. So then we asked the question, is it really possible that we still produce really high quality answers, but at the same time do not achieve this entropy collapse? So later answers are correct. Still diverse, being able to explore, but ideally, for every question, I'm able to come up with five different correct answers.
59:42 That's so fascinating because even for humans, it's actually very hard for a very hard task come up with five different correct answers. So there has been some observations in literature. Here I talk about two approaches people have taken in the literature to alleviate this issue. On the left, I'm talking about this on-policy versus off-policy issue. So basically, I increase the number of training steps.
60:18 Then I observe that in terms of training rewards, which is the leftmost figure, I observed that for either on-policy or off-policy algorithms, the rewards actually increase in a similar manner, which means that I do get a better and better policy. Precisely by on-policy, I want to emphasize that it's really exactly emphasize refers to the setting that whenever I ask the reward model or a verifier to judge the quality of the attempts, I only judge attempts produced by the LLM itself.
60:59 So it is called on-policy which means that I do not try to give you rewards or feedback based on the answers produced by other LLMs or produced by different weights. I really want to give you feedback produced by you at this point so that you can really learn the best. So on-policy really means that I want you to learn from your current mistakes, not the answers produced by other people. Intuitively, from the perspective of human learning, if the answer is produced by the students, then the professor give the students very detailed feedback, the student can really learn the most.
61:40 But if the student didn't write down the answer themselves, copy it from somewhere else, you give feedback, maybe the student can still try to learn, but may not learn as well. So that's actually intuition we are trying to borrow here, showing that if you use on-policy, the [? KL ?] divergence between the policy you train to the original initial policy is small, and also, the entropy still stays high. Yeah, so basically, that is a very detailed description showing that on different benchmarks, that's like MATH-500, AIME 2024, 2025 on-policy generally produces much better answers.
62:21 The second approach, which we call balance the update strength, called adjusting the clipping thresholds or encouraging exploration. So we're getting a very technical here. Maybe I wouldn't be spending too much time here. It is from the paper [? "DAPO," ?] which is a specific variant of a GRPO, the precise formulation is given here. So intuitively, this [? RT ?] theta is basically the likelihood ratio we use in training.
62:57 Then generally, to make GRPO stable, we need to add clipping to this likelihood ratio. It's supposed to be fluctuating around 1. You clip at a below 1 minus epsilon low, clip at above 1 plus epsilon high. And one important observation made by the paper is that you need to decouple those two epsilons and make the epsilon high even bigger than epsilon low. So basically, the idea is that you would like to encourage the model to increase the probabilities assigned to low probability tokens so the model is able to explore very well.
63:31 As you probably can see here we are talking about lots of hacks in the whole system. So that's the reason why I want to really emphasize that different hacks may not really represent the final state of the art in particular many years later, but I hope the insights conveyed by the hacks actually they use. Let's say, if this is motivated by PPO. Indeed, PPO also has this clipping approach. Here's the core observations that you actually wanted to decouple these clipping thresholds.
64:02 So somehow indeed that strikes some people as a hack that does perform quite well, in particular based on the picture I showed here, with a clip higher you see on the purple line generally for the performance it get higher. And in terms of generalization, entropy is also high. Doesn't really collapse. Another aspect people have actually considered in the past in terms of train longer is actually to add a loss to encourage entropy directly, because we have been talking about this entropy collapse issue.
64:38 When you train longer, the model only learns to produce one answer is not ideal. Then naturally you could also add a loss function. You say that, what about I try to maintain the entropy at a certain level? And then there are also lots of different tricks in constructing the loss. Make sure that the entropy always stays high. For example, you have a certain entropy level. You want to make sure that the loss steers the generation entropy to the particular level of the entropy.
65:07 There are many things you can do. Still lots of explorations that's necessary, but I hope that the intuition is actually is clear. So precisely to encourage entropy directly following this paper sky work or open reasoner, what they have done is that they have a particular entropy loss. So the loss would actually encourage you to increase the entropy along training so that the entropy doesn't really collapse. And hopefully you also achieve a higher test accuracy, as been shown on the picture on the left.
65:43 So that's one aspect of train longer. There's also another aspect aspects of training on more difficult prompts and tasks. So in the same entropy mechanism paper, actually, along with many different papers in the community, people have been thinking about how to actually capture the aspects of separating the model's performance on hard prompts and on a simpler prompts. So they have a quite interesting plot here.
66:16 So basically on the left, we'll be talking about what exactly we are plotting in terms of its covariance. So the intuition is that I want to track something which is related to the correlation between the generation likelihoods of the sequence with the sequence quality or the advantage. So basically, I would like to use this covariance between log probability of the whole sequence to the advantage we use in reinforcement learning.
66:54 We're getting slightly technical here, but without looking at too much details, it's basically trying to figure out whether I'm able to align the confidence of generating certain high-quality answers with the final performance. Ideally, what's supposed to happen is that the model is supposed to be very confident in generating the right answers. It's supposed to be quite uncertain in generating wrong answers. That would be fantastic, because next time I prompt the model, the model is more likely to generate the right answer because it's more confident.
67:28 So on the right, I'm showing a picture basically listing the training curves of subsets of data sets corresponding to different levels of accuracy. So basically one can see that for the curves corresponding to very low accuracy, which is the purple curve, accuracy 0.125, you see this correlation stays very low. It really means that the model is not able to very confidently generate the right answers. So for the questions, that's actually very easy.
68:01 You'll be able to see generally the correlation is higher. So that's actually also an important metric we are trying to track. And on the left, I have another figure which is also a very interesting observation made by people in the past. It's really about how you actually construct the interesting training sets. So what this one has been shown is the following. So I would like to train on multiple different training sets. I'm showing a couple of data sets, DAPO-MATH, GSM8K, Eurus-RL-Data, Eurus-RL-Data-Difficult.
68:33 Difficult is more difficult data set. And on the right. I'm basically checking the validation accuracy on exactly the same validation sets. I'm trying to see by training on different data sets actually what's the pattern of evolution? And the paper did observe something very interesting. For example GSM8K actually refers to the curve at the very bottom. So what that process shows that well, when we are able to train this, and we found different data points corresponding to different entropy.
69:12 One trend was clearly when the entropy is higher, the final performance is better, which is a very good trend. But the second thing one wants to see is that if you only train on GSM8K, it really appears as to your final validation. Accuracy is low in some sense. It's really because GSM8K is too easy. You train this too easy data sets, you shouldn't really expect the model to behave very well on some very challenging tasks. But another really interesting observation you can make is that there's Eurus-RL-Data and Eurus-RL-Data-Difficult.
69:44 Then looking at the curve, actually the Eurus-RL-Data-Difficult difficult also is below the curve of Eurus-RL-Data. And Eurus-RL-Data contains the difficult data set. Also, contains something that is actually not that difficult. So somehow it also shows something about the current learning paradigm, which is that you basically blindly throw in super hard prompts. You say that, well, I really hope you're able to learn. I'll give you a very good feedback. Hopefully, you'll be able to solve it. Unfortunately, the LLM itself or the existing algorithms are not smart enough to really capture this.
70:20 It didn't really learn how to actually do very well. So somehow you need to somehow combine very well different types of data to really make sure it can learn very well. So many different approaches have been proposed in the past. Here I'm talking about one approach proposed in GRPO lead paper, which is very intuitive. Still strikes some people as hacks, but I think the intuition is interesting. It has many intuitions. One intuition was basically saying that well, maybe in order to provide the signal to the LLMs, suppose it is very hard prompt and you got it right, I'm supposed to reward you even more because it's supposed to be very hard.
71:03 If it is very simple prompts, you got it right, maybe I shouldn't be rewarding you that much because it's simple. You're supposed to have already captured this. And there are many aspects captured by the paper. For example, there is one answer you got this question correct, but unfortunately, you produce answer that's too long. I also would like to penalize you because you are supposed to give a very simple answer. The question is it isn't that hard.
71:30 Of course, also if you give something wrong, I also give you really a negative feedback. So many things we can do. So in the paper, it did show that it has many different approaches to actually adjust the corresponding rewards. One can see that if you really adjust the weights for different samples corresponding to an advantage or corresponding difficulty, then performance gets improved. You explicitly penalize the very long generations, many others, then the quality also becomes better, so could really give rise to lots of interesting ideas.
72:07 OK, so that's on the hardware prompt side. Very clearly you can see that this problem is quite open. It's really not clear in the community that people have figured out the right approach, ultimate approach in solving this. There's one last aspect I want to emphasize, which is called sample better. That also appears to be a very important aspect of our algorithm. The whole idea is that you should sample better so we can train a more diverse responses with high quality rewards.
72:35 Goes back to the original intuition. If you're not able to sample lots of diverse queries answers with high quality, then you'll be in trouble. So two things I want to talk about. On the left, I talk about so-called parallel reasoning. Ideas could be very simple. There are so many variants of this approach. I'm talking about this paper called "GenSelect." Idea is that well-- so I actually do have this slide here. So basically, when you finally ask LLM to produce answer, you say that what about you do not just directly give me an answer.
73:13 Always, I give you a very complex prompt on the right. Maybe I ask you to come up with 32 different answers. 32 different answers. Then give them a prompt. I say that what about you basically select one of the answers from the 32? Then ideally here, as you can see from the answers, generally, it's the final accuracy becomes so much better because the LLM really is given more time to figure out the right answer, and it's able to pick the better one.
73:44 Another one I want to talk about is another recent paper called-- the proposed algorithm called DeepConf. So that intuition is also about improving majority voting. So the point is that say without this quite sophisticated sampling method, say, you want to sample the LLM 32 times to produce an answer. You just gave the same prompt, try 32 times, get answer, conduct final majority voting.
74:15 But one potential issue is that among the 32 times of sampling, maybe certain trajectories of very low quality. Maybe you should just know at the very beginning or very early on that trajectory is just wrong. If you knew this, you're actually not supposed to include that in the final majority voting. You are supposed to only include those trajectories that's actually likely to become part of the right answer. So the idea of DeepConf is to say that I would like to track the generation confidence of these trajectories.
74:50 For those trajectories with very low generation confidence, I just believe that model isn't even sure what it's doing. And when the model isn't even sure what it's doing. I basically would not include the model or assign a very low weight in the final majority voting, so that it should be able to produce a better answer. So on the right, I'm showing some of the results. For example, on the same model, gpt-oss-120b if you use the DeepConf compared to the consensus, which is basically majority voting, it actually improves because indeed you are able to discard some of the bad outputs of the model.
75:29 So that's essentially what I wanted to talk about. Let me summarize the contents. Putting everything together in the SFT. Data, you need to have very good expert demonstrations. RL recipe, you need to focus on train longer, sample better, train harder. And ideally, what community is supposed to be doing is really to solve everything as a whole. You want to have a collection where we curate environments, verifiers, skill up intelligence.
76:03 You need to figure out the best definition of what intelligence is. You need to be able to release algorithms to train longer, harder problems with diverse responses. You want to crowdsource this community with all the community efforts. You also want to make sure analyze the strengths and weaknesses of benchmarks included in the collection. Everyone can use it and also release good algorithms for everybody to experiment on. It's going to be my final slide. Hopefully, after today's lecture, we have shared some interesting observations we have made, but my real hope is that we have stimulated your interest in this area, because one thing I really want to emphasize is that this area is still very immature.
76:49 Lots of things we really haven't figured out. And the general perspective we have is that we really want to bridge the gap between human learning and the system learning. Humans engage in many different environments focused on some lessons more than others. We can explore ourselves or learn from teachers. We often evaluate for our intelligence on different tasks. How do we exactly do that for our LLMs? In many cases, it's really unclear. So we really have to encourage the community efforts to join us in this whole effort to collectively produce the strongest agentic intelligence.
77:27 Thank you.
Summary
- Agentic models differ from traditional LLMs by aligning with environmental feedback to maximize both human preferences and task completion.
- Effective training of agentic models requires high-quality training data, robust evaluation methods, and effective reinforcement learning strategies.
- The evaluation of agentic models must account for diverse environments, tools, and verification methods to ensure comprehensive performance.
- Key challenges include developing strong verifiers to assess model outputs and ensuring that models can handle vague user instructions and adapt to different software systems.
- Training processes should encourage exploration and diversity in responses while minimizing the risk of entropy collapse, where models become overly confident in single answers.
- Community collaboration is essential for creating diverse benchmarks and improving the overall intelligence of agentic systems.
- The lecture emphasizes the need for ongoing research to bridge the gap between human learning processes and machine learning, aiming to enhance the capabilities of LLMs in real-world applications.