Skip to main content
Reinforcement learning

Reinforcement learning

Search complete. 321 mentions across 32 episodes found for "Reinforcement learning".

Nov 5, 2026

Ryan LucasHOST
4:25
But they get into a little bit more detail into how they're removing Internet access, which is pretty fascinating.
Ryan LucasHOST
4:32
Because at least for one aspect of their reinforcement learning process, which I guess is where these things were probably the most exploited, they are basically creating an offline version of the web, and they're calling it an offline world.
Ryan LucasHOST
4:49
And so they've recreated web indexes and...
Ryan LucasHOST
4:54
They're caching web content and basically, I hope, maybe it's a smaller version, but they're basically using a digital twin of the internet, which is crazy.
Vlad SivakGUEST
20:29
So it's hard to deal with them.
Vlad SivakGUEST
20:30
And that's why I think in the future, this kind of like closed loop optimization techniques, kind of like RL, will become very important because modeling all of this will, I think, really become difficult, like trying to capture all of this variety of different physical error sources that try to kill your qubit.
Yudong CaoHOST
20:49
Yeah.
Yudong CaoHOST
20:50
My theorist's cope is that if nature indeed is capable of conspiring against error correction, maybe we should just use that as a source of quantum computation.
Vlad SivakGUEST
22:49
You have a problem that's high-dimensional, stochastic, and non-stationary, meaning that it drifts over time.
Vlad SivakGUEST
22:56
So your algorithm, whatever you're using, has to be compatible with all of these different things.
Vlad SivakGUEST
23:01
And machine learning algorithms like RL, they're based on gradient descent, which makes like kind of very small steps in the parameter space.
Vlad SivakGUEST
23:11
they can deal with these situations.
Antoine BosselutGUEST
49:58
But this sort of brings up a natural question.
Antoine BosselutGUEST
50:00
You know, what can we actually use as a reward to encourage the behaviors we want in this text generation system? That's really up to you as you design this, your generation pipeline, a common practice in the early days of using RL for text generation was to set the reward to be the final evaluation metric that you were going to evaluate on.
Antoine BosselutGUEST
50:20
And so here, instead of having a unique reward for each generated token at every time step, you would just take the final sequence score that you get and reward every token in the generated sequence with that value.
Antoine BosselutGUEST
50:32
And this was absolutely magical.
Antoine BosselutGUEST
50:36
you would set your evaluation metric as the reward, and you'd end up learning to get more reward, because that's what RL algorithms do, which in turn means that you were learning to generate sequences that do better on your evaluation metric.
Antoine BosselutGUEST
50:48
So NLG benchmark scores were shooting through the roof.
Antoine BosselutGUEST
50:51
We were making real progress.
Antoine BosselutGUEST
51:03
And it's not always clear that optimizing to those approximations is going to lead to more and better coherent text generation.
Tengyu MaHOST
19:00
So, and there's another type of algorithm which is called model-free RL.
Tengyu MaHOST
19:07
You know, I don't think there is really a precise definition of any of this, but in some sense, the model-free RRO, I would just say, is a negation of this, right? So, you don't explicitly learn a transition probability.
Tengyu MaHOST
19:20
So, it doesn't learn the transition.
Tengyu MaHOST
19:34
So, it sounds a little bit kind of like, um, you know, if you don't have any context, you know, this sounds might be a little bit tricky because how come you don't learn the dynamics but still learn the policy? So, it's possible for, for example, sometimes you can just directly optimize, um, optimize this without learning the dynamics, right? So, you can probably, um, just, uh, um, you use some kind of like a stock.
Percy LiangHOST
4:14
It's gonna be before the competition from ChatGPT started to heat up.
Percy LiangHOST
4:18
So for example, the RLHF paper, learning to summarize from human feedback, that's actually incredibly detailed.
Percy LiangHOST
4:24
I'll point to that today in lecture.
Percy LiangHOST
4:26
If you're interested, I suggest you go read some of the appendices.
Percy LiangHOST
6:20
It's not where a lot of the leverage is.
Percy LiangHOST
6:21
It's going to be the data.
Percy LiangHOST
6:23
So if we look at the sort of RLHF papers, we see a very straightforward recipe, two-part recipe.
Percy LiangHOST
6:31
The first part is you go and collect some demonstration data.
Percy LiangHOST
0:53
This is the second of the post-training lectures.
Percy LiangHOST
0:57
We're going to talk about the exciting developments in RLVR, or reinforcement learning from verifiable rewards.
Percy LiangHOST
1:05
And I think this is, in some ways, very timely.
Percy LiangHOST
1:07
I didn't get to update the slide, but there was just an announcement by OpenAI folks that they had solved one of the major problems.
Percy LiangHOST
1:18
So that's an open math problem using one of their thinking models.
Percy LiangHOST
1:22
How does that thing work? That's exactly this thinking model stuff, or RLVR stuff.
Percy LiangHOST
1:28
And so thus far, where we're at is we are kind of at the left side here.
Percy LiangHOST
1:34
After we finished last lecture, we've got instruction tuning.
Matthew GombolayGUEST
29:12
So the full D-Rex algorithm is on the far right using behavior cloning with the Lou Shepard rule for learning.
Matthew GombolayGUEST
29:18
And then we use noisy AIRL with self-supervised reward regression.
Matthew GombolayGUEST
29:22
And across a number of simulated domains, we were able to find a high correlation between the ground truth reward function, which the environment has built in, and then what we were able to infer.
Matthew GombolayGUEST
29:31
And that both is an ablation.
Matthew GombolayGUEST
29:34
The noisy AIRL component does better than AIRL, which does better than behavior cloning.
Matthew GombolayGUEST
29:38
and this is the reward function that we learned.
Matthew GombolayGUEST
29:42
And that you can see in blue here, those are the synthetic trajectories that we're able to learn from that we create.
Negar MehrGUEST
24:08
So with Mac, we thought about this problem for quite a while.
Negar MehrGUEST
24:12
It's a very hard problem, but we were thinking about, if I have demonstrations of multiple agents interacting with one another, how can I infer what is it that each agent is optimizing for? And the first question that we had to deal with was that, okay, we know from the literature in IRL that humans are always noisy.
Negar MehrGUEST
24:34
How can we even account for that noise in the data that you get from multiple humans interacting with one another? So
speaker_0ADVERTISER
24:43
we ended
Negar MehrGUEST
28:50
So for making sense of certain decisions made by humans, you really need to factor in that they could be irrational to some extent.
speaker_4ADVERTISER
28:58
So we use this kind of modeling principle
Negar MehrGUEST
29:01
and use that in the context of IRL.
Negar MehrGUEST
29:04
We were like through the usual approach of let's do a feature matching.
speaker_5SOUNDBITE_SPEAKER
4:29
When we think about training a model for reasoning, one thing that immediately jumps to mind is you could have humans write out their thought process and train on that.
speaker_5SOUNDBITE_SPEAKER
4:37
One aha moment for me was when we saw that if you train the model using RL to generate and hone its own chain of thought, it can do even better than having humans write chains of thought for it.
speaker_5SOUNDBITE_SPEAKER
4:46
And that was an aha moment that you could really scale this and explore models' reasoning that way.
PhilipHOST
4:51
Wait, so it's better to train on model-generated chains of thought? But how come they're so often wrong? And what does he mean by reinforcement learning in this context? Well, how about this? And here, clearly, I'm going to get slightly metaphorical.

21 MINS LATER

speaker_2ADVERTISER
26:25
Order on the Sweetgreen app.
PhilipHOST
26:28
the model coming up with solutions with reinforcement learning.
PhilipHOST
26:31
We do not discuss any supervision the generator would receive from the reward model if trained with RL.
PhilipHOST
26:38
And here's the key sentence, although fine tuning the generator with reinforcement learning is a natural next step It is intentionally not the focus of this work.
Andre KarpathySOUNDBITE_SPEAKER
12:16
And so human kind of fills out some kind of a... trace that like comes to the solution but like some parts of that are trivial to the model and some parts of that are a massive leap that the model doesn't understand you're kind of just like losing it and then everything else is polluted by that later and so like fundamentally what you need is the model my the model needs to practice itself uh how to solve these problems it needs to figure out what works for it or does not work for it but it needs to learn that for itself based on its own capability and its own knowledge so that's number one is like that's totally broken i think it's a good initializer though for something agent-like it And then the other thing is we're doing reinforcement learning from human feedback, but that's a super weak form of reinforcement learning.
Andre KarpathySOUNDBITE_SPEAKER
12:52
It doesn't even count as reinforcement learning, I think.
Andre KarpathySOUNDBITE_SPEAKER
12:55
So RLHF is nowhere near, I would say, RL.
Andre KarpathySOUNDBITE_SPEAKER
12:58
It's silly.
Andre KarpathySOUNDBITE_SPEAKER
12:59
And the other thing is imitation learning is super silly.
Andre KarpathySOUNDBITE_SPEAKER
13:01
RLHF is a nice improvement, but it's still silly.
Andre KarpathySOUNDBITE_SPEAKER
13:04
And I think people need to look for better ways of training these models so that it's in the loop with itself and in some psychology.
Andre KarpathySOUNDBITE_SPEAKER
13:10
And I think there will probably be unlocks in that direction.

22 more episodes mention Reinforcement learning.

Create an account to see the whole feed, search across every transcript, and follow the entities you care about.

We value your privacy

We use cookies to understand how you use our platform and to improve your experience. Click “Accept All” to consent, or “Decline non-essential” to opt out of non-essential cookies. Read our Privacy Policy.