# World Models: The Key to AI Sample Efficiency

**Podcast:** Y Combinator Startup Podcast
**Published:** 2026-07-17

## Transcript

One of the biggest open problems in AI right now is how to solve sample efficiency.
That is, how do you get models to quickly learn new tasks or skills from relatively small amounts of training data?
Humans do this incredibly well.
We can learn new games, concepts, and skills, often after just a handful of tries.
Our best models, on the other hand, often need tens of thousands of data points just to learn.
So today we're going to discuss what many top researchers believe is the most promising path to closing that gap, world models.
We're going to discuss the motivation and math behind world models.
current applications, and why this approach might be the key to unlocking AGI.
You and I have talked a lot about the various ways people are training models and the sample efficiency of them.
Why don't we start by just defining sample efficiency and how we intuitively think about it as humans?
Yeah.
So I think from my perspective, the two major problems that we have left to solve is intelligence per watt and intelligence per sample.
Intelligence per watt is like how many valve perplexity points we get per watt of spend.
And then intelligence...
per sample is basically if I have one additional sample in my data set, how much more intelligent am I getting?
And so if I imagine I have a new tasks like RKGI, for example, I think like really Francois Chalet has been on the forefront of this thinking and talking about intelligence as a rate of skill acquisition versus skill acquisition.
And that's very different.
And so how fast do we get smarter with more and more samples?
And these things are incredibly poor at getting smarter with.
with fewer and fewer samples.
And for context, you know, the RKGI test sets are a really good example of cases where humans are intuitively very good at them.
Most humans can intuitively solve those puzzles with some amount of thinking and effort.
But our current state-of-the-art AI systems, what people consider frontier intelligence, basically can't do them.
Right.
I mean, we come into new problems with such inductive bias from K through 12, like all these math and school.
that we've had that these models are kind of getting from compressing the entire internet.
And so when we come in, we're not coming in tabula rasa just like bare bones, but even so that they have, I don't know what percent of the internet you've read.
I've read very little percent of the internet.
But despite that, and having read the entire internet, it still can't really do well in generalizing to these new tasks.
So now let's think about this in the extreme cases.
In the extreme case where let's say we were perfectly sample efficient.
You know, we were as sample efficient as possible.
What would that mean in terms of a model that is taking a set of actions in the world?
Well, I guess the perfect sample efficiency would be zero samples.
And like there are examples of this.
And that sounds absurd to say, but it and the example, the hypothetical I'll give on this is imagine I had a perfect world model.
then I should never go to the environment to go and collect samples to train on.
And, well, that can't possibly happen.
No, it actually can happen.
We do it all the time.
It's called Newton's second law of motion.
It's like Newton mechanics, like we basically know how to like get an object from point A to point B with a rocket quite easily just by following like Newton's laws of motion.
Yeah, like when NASA plans to intercept an asteroid and is planning it, you know, years in advance.
set it off in a trajectory where it just glides to the right thing and intersects to the right point.
That is an example of a perfect world model we've built where we're then just letting that world model act.
And that system does not need to intelligently collect new samples from the environment to decide which direction to go next.
It's already been pre-programmed and it can perfectly do it.
Yeah.
Can you imagine if we needed to collect 1 million training examples of us shooting spaceships to the moon to know how to do it?
It's like this complete, it would be, we definitely wouldn't have the Apollo missions.
Right.
But we do have that, that ability because the real world is differentiable and we can do something called model predictive control that we're going to talk about in a little bit.
But even in our own brain, I was just, you know, thinking about this on the drive up, but like, there's so many ways that like I can basically think about.
the things that you are going to say or what a VC is going to say when I was pitching them or what a customer might say.
And even product, having taste.
What is taste?
It's like predicting that other people are going to like this thing.
And so we've built this world model over years of entrepreneurship, 10 years of getting it wrong, right?
That maybe Bill Gates, Steve Jobs, and Jensen have 50 years of world modeling experience to know what people want.
And basically, this is actually proven in the 1967 COG-Sci study by Richardson that basically showed that if you take a cohort of three groups of people and you have one go practice layups in basketball and they go and they shoot, they improve it for one hour.
They improve by like, I think it was like 24% or something like that.
And then if you take the other one and they just blindfold them and they imagine laying up a basketball, they improve it 23%.
Interesting.
Against the control.
I mean, that's insane.
It means that we have this crazy good world model.
And there's this neuroscientist at Stanford named Shaw Druckmann, who basically is of the view that the entire point of the growing neocortex during the great cortical expansion 10 million years ago was to get better and better and better and better world modeling.
And having just like my little VLA, which we'll define, of predicting the next action is not as good as having a world model to lean on.
either for training purposes or for test time adaptation.
Yeah.
What it fundamentally comes down to is, you know, we as humans, we think about our intuitive ability to think as coming from some implicit world model we have in our heads encoded by genetics and our ability to learn and whatever else.
It seems like models can do surprisingly intelligent things despite not having an explicit world model when it comes to...
natural language.
When they're just talking, it seems like, you know, maybe under the hood, deep inside the weight somewhere, there's some kind of implicit understanding of the world, but there isn't an explicit representation of that.
But it seems like in certain domains, especially in robotics and self-driving, as we'll talk about, that sort of breaks down.
And, you know, maybe it would be helpful now to just think a little bit about and just sort of define some of the...
pieces of what makes it challenging in these different domains.
And then we can use that to kind of build up to why it's particularly hard in things like self-driving and robotics to get these types of predictive models to work.
Yeah, let's do it.
So let's actually like take a step back and just talk about like control reinforcement learning and define some common terms.
So typically in, we teach a course about decision-making under uncertainty, which is like the main reinforcement learning course at Stanford.
I like to show like a specific example.
of let's say I have some drone and this is my poor little drone here and it has some mass M and we know that that gravity G is pulling down on it.
And it's currently at position T with velocity T, which we will collectively call the state.
And to be really clear, this is going to be P X P Y P Z T T T and VX, VY, Z, VZ.
It's like the six dimensional state vector.
And we have some thrust vector U that we control.
And we're trying to get to some point P star and V star, which is V star is typically zero.
And so you have some platform that I want this thing, this drone to land on.
This is this control problem, right?
And so let's say this is like, and we'll go through optical.
or optimal optimal optimal control so how would i actually solve this so the first thing i need to know is my transition function and so this is my state transition function which is st plus one given the previous given st and my action which which i control is ut and so this is my state transition or dynamics function or a world model this is a world model this is like a very fundamental for For context, you know, this equivalent to a transition function you would think about in RL in general.
Exactly.
And so, and then what I'm trying to learn is something called a policy, which is like, what UT should I emit given some ST?
And so this is the ultimate question.
What should I do?
What action should I take given some state ST?
And so the way that we'll solve this.
And luckily we have a world model that is perfect.
It's called Newtonian physics, Newtonian physics.
This is like Newton's second law of motion, which is F equals ma.
And so we know that the position PT plus one is going to equal PT plus, uh, Delta T V T plus one half Delta T squared.
So everyone's taking a high school, uh, high school physics and the same thing for the velocity.
And then my acceleration is the sum of the forces, which is going to be my UT.
I think I divide by the mass and G.
And so that's it.
And now I have my transition function.
Now, how do I get to a policy?
And I'm going to apply something called model predictive control or real-time model predictive control, which is like the way that SpaceX lands the rocket on some platform in the ocean.
And what you're going to do is you're going to set up your loss function.
You're going to minimize sum over all T.
You have UT to infinity.
And I'm going to minimize my P star minus PT plus V star minus VT.
And usually you add this little lambda UT, which is like how much energy you're exerting.
And you can't have infinite.
So you typically will have to say UT, you max thrust that can be achieved.
And so this is easily solvable with comics optimization.
And so this is convex.
This is convex.
This is convex.
The sum of convex functions is convex.
This is a convex constraint.
And so I DCP discipline, convex programming means that I can put this into CVX pie and it will just give me out my policy, which will be the solution will be.
the optimal ut plus one all the way to infinity.
So we can solve this in closed form basically.
We can, because we have this world model of Newtonian physics, we can say at every step exactly how this drone should fly so that it lands on the appropriate thing.
Exactly.
Under a set of constraints like max thrust.
Exactly.
You'll run your log barrier, interior point, whatever, to some solver on this and it will give me my optimal, and this will be literally the optimal path.
that this thing can take to get to this state.
And that will minimize, and I can increase this if I want it to do the least energy path, and I make that zero if I want it to be the fastest.
And so that's typically the way that you would do what I would call deterministic differentiable control.
And why differentiable?
Because I can form the Lagrangian by taking this.
minus this constraint and uh and take the gradient of it and i can do monorobins you use the fact that it's differentiable to do the optimization exactly if this is non-differentiable you cannot do convex optimization and you cannot do sgd uh even if it's non-convex you could still solve and get and get a pretty good solution uh as we do in deep learning but i i you if it's non-differentiable you kind of can't there's nothing you can do So yeah, let's have an example then of how you could make this non-differentiable.
Like, well, what's a scenario?
I guess even like this drone scenario where it now becomes non-differentiable.
Yeah.
So I'll put this adversary named Ankit.
Okay.
And your job is to, you have another drone, let's say.
Ankit's drone is to try to hit me and stop me from getting there.
Now from the position of your drone, you don't know what actions I'm going to take.
Right.
And so now let's just call this the...
This would be now we're definitely not deterministic or stochastic and stochastic and non differentiable.
Yeah.
And in this case, my state transition, what is ST plus one?
It's going to be my say, I mean, now my thrust and what on gets going to do.
Right.
And these, it was all differentiable until this new variable.
Yeah.
And I can't like back prop through your brain to say what you're going to do with your little drone controller.
Right.
It's completely non-differentiable now.
And I am resorting and I have to resort to this awful area called reinforcement learning, which is just super brutal and it's sprawling and there's so many different things.
And you'll hear things like when you study initial.
Reinforcement learning called value iteration or policy iteration.
And there's DQN or deep Q learning or just Q learning.
There's actor critic.
There's all this bag of stuff.
All of this stuff ultimately comes down to ways to estimate, to model this non-differentiable stochastic process.
Exactly.
Yeah.
And so like, that's basically the main thing is, is you're going to start talking about.
this as a model where I'm going to introduce this psi to say that this is going to be some model that's going to take in these things and then output this and that we're going to train it over many instantiations of this and that's to get a better and better world model.
And then I need to train some policy, A, T, S, T.
And then typically you also need a value function.
And that is the value of some state.
and to discern between the value of different states.
And like in this case, I don't know what a valid state is, but like, let's just say I was doing like the SpaceX with launching rockets and landing rockets in Florida.
Let's just say that like there's different, if I have my launch pad here and I have a whole bunch of houses here, let's just say the path going from here to here, I may think that doing this And then coming across here and burning all these houses alive, maybe not highly valued.
So I might say, as an example, they typically call this like some type of cone here.
And I might say like it's low value to be here and it's very high value to be in this cone or something.
In a sense, the value gives you some expectation of future rewards, like the sum of future rewards you're getting.
And so if you're in a...
bad space you would set the value to zero or negative negative infinity or something yeah so so we can we can we should introduce our rt as well and so typically like if you're playing go or chess like winning the game Uh, you can say winning the game is plus one minus one for losing draw zero.
That's what's done enough ago in chess.
We have these heuristics like a, a pawn is worth one point.
A rook is worth five, et cetera, et cetera.
So you can like already have reward is the difference in, in, in board, board state.
Um, and then this, yes, will be the sum of my discount.
Um, should just do T of RT.
Yeah.
Uh, given and it's important also to use this nomenclature vPi.
And the reason why that's important is because what's actually happening here is this is the discounted reward following policy pi.
Correct.
And that means that when I'm in this state, I will take this action and then I'll end up in this to SC plus one and then I'll take this action and it's taking it greedy.
And so that's the value with respect to pi.
And so ultimately what it comes down to is we are trying to still find a new policy pie.
And along the way, we will use gene learning models in various capacities.
This is standard RL to estimate the value function given the rewards we're receiving.
And then where world models come in is a way of incorporating all of those into some sort of joint modeling of the state and action distribution so that we can make more intelligent policies off of it.
Right.
And so your standard kind of setup for this is what I'm always trying to get to at the end of the day is some joint distribution, which would be ST plus one given where I'm at now, where I'm at now.
And then this factorizes with chain rule simply to my pi, my policy, AT given ST and my world model.
I'll give this, this is usually represented with theta.
And this is my, world model, which would be ST plus one given ST and AT.
Yeah.
And so, and these are typically learned separately.
And like, and like you can imagine, in fact, actually, you can actually learn this.
This is a video generation model and I have the frame ST and I predict the next frame ST plus one.
Right.
And then and we'll get into this.
For those of us who kind of saw our diffusion model series, often people these days use video diffusion for exactly this.
Yeah.
And then what you can do, and this is like the in vogue thing to do since Danijar and the Dreamer paper series from V1 to V4 is do action conditioning later, like similar to clip.
where we will inject this like input head, input tail to come into the model to influence and enable the world model to have embodiment.
What does that mean?
It means that not only can I predict like as a plant or tree growing on the side of the building, I can like see the world passing by, but I can actually influence it and I can change the world and I can learn that with AT.
And that's far fewer samples to do this post-action conditioning if I already have a really good ST to ST plus one world model.
And so here you're saying, you know, what's also in vogue now is jointly training these versus separately training them.
Exactly.
So this is called the world action model, where some of the issues here is, one, there's all these training dynamics.
If these things are just disparate, training on different sets and things like that.
The other issue is...
plainly obvious what I have to do to actually do test time planning is I'll have to sample my with model one invoke theta and then pass that sampled action into here and then roll it out to ST plus one and it's very expensive and it's a very not real time two major issues and why like why can't we just scale up alpha go to like solve all the problems um is because it's because of this property if I have one invocation to the model And it gives me both.
Here's the action I should take.
And here's the ST plus one that'll end up much, much cheaper and much, much faster.
Okay.
So I think that's a really good segue.
I think why don't we now motivate everything we just described through a series of increasingly complex environments.
So I'll contend that I think the right set of environments for us to consider is chess followed by Go, followed by self-driving, followed by robotics.
All right.
So let's go through a couple examples of problems that we want to apply.
uh reinforcement learning too so chess is a pretty easy one there's an eight by eight grid um and so typically when you when you uh approach any uh rl problem you're going to look at uh star and so this this the size of the state uh uh the number of states i can be in so if i have these eight here and these eight so this is 8 16 32 so it'd be 32 to the 64.
yes quite large quite much then uh my transition function is stochastic and non-differentiable because you can you know what the other player's gonna do so if i'm like in uh playing chess.com at my house i move and then something happens and it comes back and then now you moved and the board has changed so i can't really differentiate through what the other player uh is doing the car line my action space is actually quite small um even though there's 32 uh uh pieces and all that stuff there's only eight possible moves in expectation that you can actually that are legit moves so like in any given a state there's only yeah moves you could do let's just say in the beginning i can move all my pawns i can move my horses so that's 10th yeah that's like not that much so this is extremely small and then my reward we can use the heuristic based approach or we can just say you know plus one zero or minus one if i lose plus one if i win And so this is very tractable.
You say it's tractable even though there's a really big state space here.
Yeah.
Why don't we talk about that for just a second?
I think this is a really important point.
And when you say it's tractable, you're specifically referring to the action space being small because it affects the kind of like combinatorial expansion here.
Should we talk about that for just a second?
Yeah.
Or maybe we can add go and then kind of contrast the two.
Yeah.
So why don't we do that?
Because I want to get to the alpha go.
uh, uh, the way that they solve this and you're right.
So if I were to do this naively and I just took, um, I'm at SD plus one and I want to do look ahead.
Uh, what I would do is I would take all of the actions I can take.
So there's eight.
So I would do action one, action two, action eight, bop, bop, bop.
And then each one of these, I need to expand it for all possible states.
And so now I need to do cardinality S, which we just said is this huge frigging number.
And so I have to do that.
eight times and i have to do it again i have to do it again so just doing looking forward one move is like quite intractable although at the same time you know the you everyone starts at the same starting position and while it is a really large space you know it there isn't an infinity number of potential There's actually a really small number of game boards, even four moves into the game.
Right.
As opposed to a game where you could start in any permutation, for example, of initial game state and what a few states down.
Yeah.
So this is like definitely over done because there's it's much, much less than this in practice.
Yes.
But just naively like looking at, you know, what possible game states could be.
as a rough math here, but this is roughly the idea.
And then each one of these leaves, I need to invoke my value function, which is the value of that state T plus one.
And so I have to do that all many times and we'll get this while if we go.
But like this ends up being estimating the leaf node because at the end of the day, my policy A T S T, I want to pick on the arg max of like the value of the, the following.
The argomax action, I guess it'd be an A here.
Yeah, A, exactly, yeah.
The argomax over A of the value of the state, of the end state, ST plus N, let's say.
It's like, that's the main goal here.
And so for me to do that, I need to roll all this out, estimate the value, and then pick the best one.
And so this quickly grows.
However, and we'll see this without a go, which actually has an even bigger state space.
um so i think it's 19 by 19.
um i think it's about right now so you have this 19 by 19 grid you can in each one it can be black white or or nothing there so i have three uh so let's do our star again so the cardinality of the state i think is going to be s uh two or three my turn area thing here to the 19 squared i think it's 361.
My transition, same issue.
I don't know.
My action space is going to be 361, let's say.
So it's a good amount bigger than chess.
Much bigger.
But it's still not enormous.
Yeah.
As we'll see in a second.
Yeah.
And so basically what they do, they call this Z, which is kind of annoying, but let's not R.
And it's the terminal.
It's the terminal when they won the game.
And they basically, you know, you have your trajectory, which is.
um s zero a zero r zero um then all the way to the end of the game yep s n a n r n and if you won then all of these uh all the moves that black if black won all the moves that black did get plus all the moves that white did were minus one and they just that's how they create their um their rollouts rollout refers to a taking n steps of play of all players one after another yeah of moves under a specific policy at the particular instantiation of it right so let's just let's probably under this policy p theta t and we're going to overload t but like this is that instantiation we froze that model we froze that model and we play i think it's like 70 games and we like treat all of those and we're going to sub sample a bunch of um of these state action results, state action results to train our, to update our policy in our, in our world model, our transition model.
And what it's actually doing is we take in an ST, we give it to some theta and it wants to output the probability of ST plus one being played, which is our transition function and the value of the current state.
And how do we get the value?
And so the value of the current state, well, both of them are coming out of the model, but basically the loss function L data is going to equal, and it's going to be really close to this control problem.
One is we have some V theta minus this Z, which we'll just call it R here, squared.
And then plus actually, sorry, it's minus this pie.
which I'll explain in a second, log p theta.
And I think they, everyone includes this, but they include it in the paper.
So I included there as well, which is the weight decay.
And so, so this is basically what our loss function is.
Then we'll play a bunch of these games and let's try to be a little bit organized here.
And, and so this is our setup.
This is our architecture.
And now the most, once we train this thing, we do an insane, insanely expensive task of test time planning.
And so this trend in RL is just called test time planning.
And a specific algorithm they use here for this is Monte Carlo Tree Search.
And it's called MCTS.
And so this is one of the possible things that you could do.
It ends up working extremely well if you have small.
Yeah, so let's let's like very intuitively talk about what MCTS does.
A lot of people have heard about Monte Carlo research because AlphaGo was such a big moment.
Yeah.
How exactly does that map into our star and value function and policy?
Yep.
So I'll take this ST.
This will give me 361 numbers that sum to one.
And so I'll have some probability of of where these things are going to go for where my my opponent will play.
here.
So these are like the sets of actions.
Yeah.
So I'm here so that I have all my ST plus ones that have 361 of these things.
Um, and then to be clear, this is like action one action two, all the way to action.
Yeah.
61 exactly.
Yeah.
And the, um, we have to estimate the value of each one of these.
And so then we have to invoke the model all 361 times to give me values for each one of these things.
And then I will select I'll select it based on the UCB, the upper confidence bound, which is this equation that is roughly something like balancing my value function of ST plus one, which they're going to, in the literature, it would be called the Q value because it's actually, the difference between a value function and a Q value is just that I have the action as well.
So it's the ST and AT.
Um, so we'll just call it a Q value, which is my, um, exploitation term.
And then my exploration term will be something like, uh, this funky square root of N.
Uh, so it's the arg max of a, of my Q.
And then I have this, which is the probability of this, this move being played, which we have from here of, of S.
Let's just call it ST plus one.
And then I have this term, which is this sum over NSB divided by NSA.
And what's the intuition behind this term?
So these ends is the visit count during my MCTS process.
So this whole tree, I'm going to.
So this tree could get really big, right?
It's 361 per thing.
And it's a depth of 30.
So you can't visit every single leaf node.
Exactly.
And so you want to keep track of which state did you end up in and what action did you take when you were in that state?
And you want to make sure that you have good exploration, right?
And so the way you keep track, the way you ensure that you have good exploration is...
You want to not just be greedy and always pick the highest value one because that could be very myopic.
And so what you'll do is during this MCT process, you'll start this dictionary, which will be all zeros of the visit count of being in this state and taking this action.
And then once you go through your first rollout, you'll go here.
you'll all these things will be added to zero you'll have some probability what we're going to bias it towards the higher probability of places to go and then we'll go we'll expand those trees and then we will update the counts that we visited this and that will basically reduce the amount of probability that we're going to select it again because this this will reduce my my exploration term and if it's highly valued then we're going to increase the cue on this because this is the expected value of going down this this this path the gist of it is fundamentally like you want to take the optimal ish path but have enough exploration in this really expensive uh step you're doing here so that you are making sure you're getting a decent chunk of the other potential leaf nodes you could traverse to in these 30 step rollouts.
And so I'm going to do this MCTS simulation 800 times here.
And then for all 800, I have to go through this whole process and I have to invoke the model at least 30 times to get through all here.
And so that's 27,000.
800 times 30.
Yeah.
So 24,000 invocations of the model to develop this tree.
And then once I have it.
That's per step.
per step, just to do one action into the game.
A lot of people don't understand that this is like, you don't like store this MCTS tree.
You like, you throw it away after you make the move.
But once it's very expensive to develop this MCTS tree.
And once you have it, the probabilities of traversal are actually extremely useful for training.
And then you end up.
biasing it and you train it with the MCTS tree, which is like a little bit seems like circular motion or something like that.
Like, but you end up treating that as, as the pie that you'll train in your loss function.
So you, we have the R of did we win or lose?
We have the pie of, of what was the end result of this whole expensive process.
And then at test time, we are going to do these 24,000 steps, every single.
uh every single move to pick the arg max uh that gives that that satisfies both exploration and exploration and exploitation in this case you know this still feels somewhat tractable though because the action space is small enough where this like kind of works exactly now like let's say hypothetically maybe we can draw like an imaginary go a game of go where it's like You know, let's say this game ago was like a thousand by a thousand.
And so now you have a equals, you know, more or less a million.
And now this, this tree we're drawing here that has to take here.
This has cardinal or like, you know, with, I guess 1 million.
Right.
And there's like S zero through S 1 million.
And the number of.
you know, steps you would have to take here, presumably you have to be way more than 800 in order to get any reasonable kind of sampling of this.
And so you're probably multiplying the test time cost of doing a rollout or of doing a next step prediction astronomically.
If the game was even, let's say, you know, this is only 100 X bigger than the current game running 50 X bigger than the current game.
Everyone was very excited about.
AlphaGo and at the time in, what was this, 2017, 2016, everyone's very excited about this.
And the important thing to pick up is that we did 800 MCTS simulations and to cover 361 possible actions on average.
So that gives us about two samples roughly on an expectation for every single action.
So here you need like 2 million of them for a similar depth.
For a similar depth.
And then that's still to do a depth of 30.
I would still have to do this times 30.
This would be 60 million invocations of the model.
So that better be a small model.
Right.
That's a lot.
So, yeah.
So that's to do a single action, to be clear.
Yeah.
So exactly.
To do one action.
So just imagine.
So why AlphaGo doesn't scale?
Yeah.
To me, there's one.
The cardinality of the action space must be extremely small.
If it's big.
sad.
Yeah.
Uh, two, the, um, I need a perfect, uh, deterministic environment, right?
Like this, this, this doesn't change.
The rules of this game don't change, but like the rules of the stock market change all the time.
The rules to like venture change all the time.
Like the real world changes quite often.
So, uh, like, uh, homeless could ask this stick, uh, and real time.
If you saw the movie, the documentary is such an amazing documentary.
I'd highly recommend it to anyone that watches it.
The guy is sitting there for like 60 seconds, maybe five minutes waiting for the computer to like decide.
And it's kind of like, imagine that we were driving a car and like, you took like 60 seconds to like turn the steering wheel.
Everyone's dead.
Like the whole car is dead.
And so like, you know, now let's talk about robotics and self-driving car.
and why that approach kind of can't scale.
Yeah, I think the really good contrast here, because intuitively, I think in thinking through this exact star layout, it actually really changed how I think about the kind of problem space of both of these two.
So like, let's take self-driving car as an example.
This is one, you know, many people have started to experience for the first time, because we have some self-driving cars that actually work.
You have Waymo and Tesla FSD and whatnot that seem like they kind of work.
So like, let's maybe apply your same star framing here.
um i would contend that the state space of self-driving car is enormous and it's actually not intuitive to me whether it's more or less large than this one right i mean in a sense the chess and alpha ghost state space is already like more than the number of atoms in the universe or something to that effect right but like just to emphasize that here you know you are considering you know surroundings vehicle state yep uh like you know camera like Weather.
I guess the point is like road conditions.
It's like massive.
This is massive.
For all intents and purposes it's infinite.
For all intents and purposes it is infinite.
Correct.
um and and so is the uh space of pixels like you know like what can i put in an image i can take an image of anything yes true um and so we're able to handle it and the same thing here where we compress from the board state we don't represent the board state we compress it with a com net so they have some deep some some deep com net that actually takes this state and converts it into a latent And that latent compression is sufficient to kind of like do pattern matching, do some type of like symmetric, symmetric, uh, equivariance kind of things.
And same thing with this and even better with JPA, which we can talk about at the end there, which is like basically taking some type of state space.
and doing all of our optimization in the latent space which stable diffusion did uh that worked extremely well which reduces our state space dramatically because i'm in some latent high dimensional space so like the key thing there is that yeah despite this state space being effectively infinite we've actually gotten really good at compressing this yeah and we'll talk more about some of the tricks for how we actually do this in practice here but the tldr is you know where there's like 10 years of deep learning work that basically makes us extremely good at compressing that very fast.
Exactly right.
Exactly right.
T seems to have a similar problem as before.
Right.
In fact, maybe even more extreme.
There's like infinity other variables around you.
Right.
In some ways, you'd think that this is physics.
Newton's laws of motion should apply.
If I turn the steering wheel like this and I hit the gas, I should be able to really easily model this.
But what is non-differentiable is that I have, if I'm going into a circle, right, it's like the biggest issue that...
we faced in when I was doing self-driving car is like you were imposing your will onto maybe driving in India.
You're imposing your will onto the environment and like people just kind of adapt naturally.
Like if you were doing it in slow motion, you were going to collide.
And so that the optimal policy, if you were doing strict Newtonians here would be like, don't move because anything you do, you're going to crash.
But it's not true like that.
Then we wouldn't function like cars wouldn't go down the road.
And so you have to model the environment.
You have to include other people in the environment and understand the embodiment of how your action will change other people's actions.
YC's next batch is now taking applications.
Got a startup in you?
Apply at ycombinator.com slash apply.
It's never too early and filling out the app will level up your idea.
OK, back to the video.
Now let's talk about the action space.
You know, like one way to look at the action space is that.
It seems relatively small.
Seems like, well, you know, you turn the steering wheel left to right, you hit the brake, you hit the gas.
Doesn't seem that big.
But like, how big is it actually?
Like, how do we actually represent these action spaces when it comes to a realistic self-driving car scenario?
Yeah, I don't know how they do this nowadays.
They're doing a whole bunch of like bird's eye view, different things like that.
That's considered even just like a very simplified case.
But what do you have?
You have a steering wheel that you can turn left, right.
You have a brake pad and you have the gas.
Yeah.
and so this thing is like 365 degrees yeah so it's like a one to 365 let's say yeah zero to 365.
yep and you let's just say you break this up into 10 different uh severities you're already at even with just this oversimplified model your action space cardinality right is 365 000 so that's like a hundred x bigger than alpha it's in fact it's about the size of the example, or in fact, a decent amount smaller than the size we said, which is brake and CTS.
And so, yeah, so 36,000 action space is very large.
And then even worse, unless you're Tesla, we have a bunch of video of people driving cars.
We don't have video of like dash cams and like that.
Like you actually don't have, again, only Tesla has this, of the action as well.
And so the things that you have access to, your trajectories are just like ST, ST plus one, ST plus two.
So there's a decent number of these that's from like dash cam footage on YouTube or something, but not really that many either.
Yeah.
Relative.
And so if you wanted to do a self-driving car and you didn't want to go spend a million dollars, trillion dollars on going collecting all this data, then you want to leverage this data somehow.
And this is going to be really applicable for robotics because we have a lot of videos of people doing things.
Yeah.
Right.
Especially with egocentric.
Like we have those videos, but what we don't have is.
the actions they take.
Yeah.
So this is like, this is, this is a sequence of what you're showing here.
Unless you're Tesla.
Unless you're Tesla.
Tesla has this.
So this is a huge competitive mode of like, what do people do in that state?
And then so you can behavior clone to go from here to here, from here to here, go here to here, et cetera.
But even then it's still very, very difficult.
You have to, it's not sufficient.
People think that like, okay, I have this, we have a self-driving car, right?
I mean.
The amount of work that they're doing at FSD is like incredible.
And it's not generally available.
Like you can't, you know, it's not Waymo level yet.
Would this be a good moment to briefly talk about model free versus model based RL?
Yeah.
I think that's an important distinction that's going to be relevant when we talk about more world models.
Yeah.
So this is a perfect point.
So model free just means that my policy pie of A, T, given S, T, I have no world model involved.
It's literally doing what I said.
I grab a bunch of these and I go from S to A.
Just predict the next day.
That's it.
And this is largely called DLA.
This is giving us pretty good results.
It's behavior cloning.
It's all the stuff that is not getting us to Rosie the Robot just yet.
In many ways, it's the closest thing that just looks like the next token prediction from LLMs that seems to scale pretty well with natural language.
I mean, it's not exactly the same thing because there's no...
action exactly, picking a token is not exactly the same thing, but it's very analogous to that.
I basically take away the tokenizer head and I give it an action space and I collect a bunch of tele-ops data, you know, like this as the self-driving car does in Tesla.
And I just take in the state, which is some image and or maybe sequence of images, and then I'll output some action and that's it.
And this is, let's say, model three.
They don't have a model for the environment.
And then now if I do model based RL, I have not just some pie, but I have also my, uh, size as well here.
And so, uh, by, uh, by including this, I can have a much stronger policy, but it would take a lot more time to perform inference because I have to do this full test time planning.
Just to remind us that size referring to this specific transition function, right?
It's referring to this.
you're saying this is specifically referring to a function of st plus one given st and action t.
Yes.
So it's like your ability to predict the next state you'll be in is the crux of it.
Yep.
As opposed to just directly predicting the actions.
Yeah.
And the main thing that I believe is that this is required for AGI.
This is what the human brain is.
At least in the way the human brain does it.
Yeah.
And let me go further in saying that, like, if you look at the billions of years of evolution, basically there's this thing called 10 million years ago called the great cortical expansion, which you see the size of a brain just explode, get bigger, bigger, bigger exponentially up until us.
And it basically stops.
And if the entire point of the neocortex is world modeling, what happened is we started from VLAs.
This would be like.
Ants and fish.
Yeah.
Right.
Just like very like, you know, lizard brain, whatever I call it.
And then we develop this neocortex to like, you know, go from our motor cortex to actually simulate what's going to happen.
And that makes us just so much smarter.
And then we, once we get those samples, we can compress it when we sleep or otherwise with this.
hippocampal, shortwave ripple, whatever you want to call it.
And then that helps us develop a better policy.
And that marriage between the two is not only helps us train on hallucinated examples, but it also allows us to test time plan.
I guess the kind of extreme case then of self-driving car is kind of general robotics.
Yes.
Right.
So if you're like a humanoid company, like figure or pie or whatever.
Again, same S T A R setup.
Yep.
I guess the gist of it is that a is now even bigger.
Yeah.
Right.
It is like, I guess a very simple robot would be, how would you, how would you prioritize the action space?
Like, let's take a very basic one.
If I take like my six axis, uh, arm as your standard here that we're actually working on right now in Stanford robotics center, um, you have two degrees of freedom, two degrees of freedom, two degrees of freedom.
And then you have another two for the end effector.
Right.
And so that's a simple end effector, not even like a fancy hand.
It's literally a one axis, like, you know, you can rotate, but you have the one axis, you, me style thing.
So this is eight.
So you have 16 degrees of freedom.
And let's just say that you do the 365 to go to 10 or whatever, you know, kind of thing.
I mean, it's like 10 to the 16.
It's like insane.
It's like, yeah, it's an insane number.
And so much bigger than self-driving car.
And even worse, like getting.
tele-ops data is extremely painful and expensive.
It's not just like, oh, we'll just get some people in the Philippines.
We'll give them like some, you know, things or whatever.
It's like totally, totally doesn't work.
And nor is there yet something like Tesla's fleet where there are cars deployed that people are just using and they're not even necessarily realizing that every time they turn the steering wheel, they're providing this data set for Tesla to train on.
And then even worse, you have this like.
what's called cross embodiment gap.
And so if I were to like train this policy on Tesla model X and I were to like put it on a Tesla model three, it wouldn't work.
Like it totally wouldn't work.
Like all the, so much, so much of this, uh, the, the way that if I were to break on a model three versus a model X, the model X weighs more, it has different dynamics, aerodynamics and things like that.
And so what's actually going to happen is very different.
like the degradation you have across cross across embodiments is very very very strong and clearly tesla's figured various ways to get around that i mean they have these that roll up but actually even with tesla's new fsd today they don't roll out in all the cars at the same time probably for more or less that reason and in this case it's even harder now i mean you have bigger differences between embodiments than a model three versus y yeah and you have way bigger action spaces you have to sell them out yeah uh lane mcintosh i played hockey with at stanford who now runs Tesla FSD, I can ask him, but I would bet money that they shard the data per model, per car type.
Yeah, wouldn't be surprised.
I just, because that's what I would do.
There's no way that like, you know, I would trust, you know, data that was collected on a Model X on a Model 3.
I just, there's no way I would trust it.
Okay, so now that we understand the basic setup here.
and why the action space problem is so big.
Why don't we talk a little bit about how world models actually fit into this?
You know, maybe first, you know, I guess what didn't work about the naive world models and how do we fix those?
And then let's kind of talk about some of the newest world modeling techniques.
Cool.
So like in robotics in particular, it's very hard to get these, this kind of trajectories that you want, that you kind of need to train for your VLA's and people spend up, you know, with a whole bunch of tele-ops data.
It's very expensive, very expensive.
Ideally, what we would do is take like data like this from someone who is just like, puts a camera on them and just like making sushi.
Okay.
Like I want to make a sushi robot.
How do I do it?
Give it to all the sushi chefs.
don't put anything in their hands and just have them start cutting up sushi and making sushi.
And ideally we would train it in that way you were describing of like, somehow we would train a model just on these two and then later add this afterwards.
And so the first real person that, um, you know, went after this was Juergen Smidhuber, please.
Uh, so he doesn't yell at us.
We have to, we have to make sure we cite him.
Uh, but he has this really cool paper called world models, uh, very aptly named.
And it's basically he took these like open AI gym classic games, car racing and I think Doom as well.
And then just like trained a model at that time was like an RNN.
He had some funky zero order stuff in there, whatever.
But basically the key premise was I can take an environment.
I can extract a whole bunch of.
this type of data off of it.
I think he actually does actually this data, but we'll get into dreamer where he does it in this paper in this way.
And then, uh, trains a policy on only the, uh, the, the synthetic data, the imaginated, uh, rollouts, and it actually performs well in the environment.
This is the first time in my understanding that that actually happened and it actually works really well.
And then, so the key thing there, you can basically use this.
If you have some predictive model of this in that case, and eventually of this, you can use that as basically a synthetic training set to train your policy model and then basically fine tune it on real data later.
Exactly.
And which is just like a really powerful idea, especially since in robotics, the limiting step is access to large amounts of state action data.
And so now the Dreamer series, so basically this publishes in May of 2018, Danijar Hafner.
publishes dreamer one, I think in November of 2018.
And then now he's been on this rampage for the last seven years, publishing these papers and dreamer before, I think is the capstone of it.
Um, where he basically does the same thing and he focuses on Minecraft.
Um, and he trains these, the world, a world model on this type of data and then injects action conditioning on a very small amount of data to get to this type of world model.
that has the action conditioning as well, and then samples a lot from it and then trains a policy on those synthetic, imaginated rollouts.
And the policy is so good that it's the first paper to mine diamonds in Minecraft.
I'm not a good Minecraft player, but apparently that's extremely difficult.
That's like next level difficulty.
And it did it all on synthetic data, which is kind of crazy.
And the key on lock there, yeah, use synthetic data.
specifically on a model trained on just this sort of state transition type of thing.
Yes.
And this ends up being very convenient because it turns out we as a society have a lot of this.
Exactly.
Yeah.
All of YouTube, right?
He does do a very small amount of data to enable the action conditioning.
And that allows you to do this full simulated rollout.
But yeah, it's true.
So we have YouTube.
We have like...
Flickr, we have all these data sets online of like, you know, people doing things.
We'd like to use it.
And no one has really gotten that to work.
And then now that with this, these like video generated generation models, we can take that data, create a world model out of it, add action conditioning, post train it with action conditioning for some new task that is we want it to do chopping down wood or, you know.
making sushi or folding my bed or whatever it is, only a few amount of examples.
And then we can train a policy on this, in this neural simulation.
Yeah.
And, you know, we put out a video about diffusion models very recently in flow matching.
I imagine that now ties very closely to this, right?
Ultimately the kind of...
current state-of-the-art best way to do this on basically infinity data that we have available and can keep generating is using state-of-the-art video diffusion slash flow matching.
Exactly.
Yeah.
So like if you have your, your C dance or your Sora or one, exactly all those models, like basically the idea is now we have them and they're already trained and they're great.
Let's do a small amount of action conditioning on them to get to this, uh, this world model.
And then we can sample from it a bunch and then train.
And this is exactly what Wave did with Gaia.
And Gaia, I think they raised $1.5 billion to basically run with this idea for self-driving car.
I think a bunch of companies, NVIDIA, this paper here is basically talking about doing exactly the same, this Dream Zero for robotics.
What I thought was really cool about this paper is that they do exactly this process where they have this joint model of state transitions and actions.
They train it by first instantiating it with the open source one video diffusion model.
And then it only takes them about 500 hours of teleop data, which is basically exactly this, to get it to be pretty good.
And they have a lot of clever tricks that allow it to be cross embodiment and work on unseen tasks with relatively small amounts of data.
And it really is taking basically the exact concept, I believe, from the Dreamer paper and applying it specifically to these robot embodiments.
And it turns out it actually works better than I would have.
anticipated it working.
Yeah.
So I think that this is basically the, the, the path to, it was the path, I believe it was the path to get humans to be as good as we are genetically over the last 10, 20 million years of evolution, a bigger world model helps for training and for test time planning.
And I think it'll be the same thing as true as for robotics.
What's also cool is there's a bunch of applications of this to things outside of robotics too.
I mean, there was a weather planning paper, for example, we were reading this Gencast paper, which I think applies a relatively similar concept in terms of...
how they model, you know, literally the world, the world's weather with something like this.
Yeah, we have to talk about the world model for the world.
Yeah, so basically they do this exact same thing where, you know, the key unlocks for this whole thing was getting diffusion to work in very high dimensional state spaces like we talked about in the last lecture and then learning to use that to.
action condition in the way that he's done.
But they did this for the entire world with this exact same diffusion steps, which go from some, and they go back to, uh, two time steps, lag of, of order two AR two for the set of stations there.
And I basically predict the next, uh, state of the world based on those things with this language of an diffusion rollouts.
My, my big assertion is that, um, it was necessary for the human brain.
to develop world modeling.
I actually just saw this paper that I wanted to make sure to call out because I thought it was so great out of University of Washington where they say explicitly in the abstract, each cortical area estimates both latent sensory states and actions and the cortex as a whole predicts the consequences.
of those actions that sounds like a world model to me yeah right um it's actually describing exactly these two equations here exactly where we're estimating both the sensory latent states and actions i mean i guess it's really the joint model that we showed earlier right is what he's describing here it's exactly this this equation yeah he's showing you exactly right and so uh if it works in us it should work in robotics um and i think that that takes us the rest of the distance Why don't we talk briefly about latent world models, especially the JEPA concept?
Because I think there's been a number of papers that use JEPA as an element of their, I guess, architecture.
Why don't we just briefly introduce JEPA and how it fits into the current landscape of world modeling?
Yeah.
In classic RL, you'll have, like, you know, if you do study Q learning, for example, you basically keep this matrix called the Q matrix.
And it's going to be S by A.
And so I have this S.
That's states and actions.
And each one, I need some amount of counts of being in this state, action.
And I take the average value of taking that action in this state.
And that's my Q value there.
And it's a little bit more complicated than that.
There's Bellman equation, all this backup, all this stuff like that.
So this scales horribly because as the cardinality of my space.
gets bigger and the kind of action space gets bigger stuff.
I don't have enough time.
I become less and less sample efficient.
Right.
In case of like robots or whatever state is like, yeah, it's this whole thing we described earlier.
Right.
It's absolutely massive because it has all of these elements and couldn't really enumerate a huge grid.
And so the classic trick, I mean, since I took, you know, uh, C2 29 with Andrew wrong in 2012.
is you do this.
Stick a neural network on it.
Exactly.
And you basically are just going to compress that state into some lower dimensional state space.
This actually predates deep learning.
We were doing stuff like this.
I think my first paper was basically doing something like this.
Basically turning a grid into a bunch of pyramids.
And the state was how much I'm in pyramid one or pyramid two or whatever.
But anyway, the neural network, you can just do this.
And so basically what the key idea in JPA, if I have an image one and I have image two and I have image three, I can do my world modeling, my world modeling of ST plus one given ST and AT in pixel space and have this is, let's say at time T, T plus one, T plus two, et cetera, et cetera.
And I have to actually predict now the full image.
That's extremely expensive from a computation standpoint and also from like a sample efficiency standpoint.
What I can do instead is put this through some com net, some encoder, some encoder, and then I'll get a latent for T and I'll have a latent for T plus one of a latent for Z T plus two.
And then I'll have from this, from ZT I want to predict Z T plus one hat.
And then my goal is to make this and this, uh, make my loss function will be something very simple.
Like want to minimize this.
That's it.
Now this doesn't work.
This collapses hard.
And so what happens is basically just, if you, if you just predict zero, done.
Just output zeros, which the model will learn to do.
And I'm actually incorporating this into my current research right now.
And so what you need to do is something called SIGREG, or this is one technique, VICREG is another, where basically I add this another term that basically says, I want the, over a large enough batch size, I want the distribution of Z T plus one to follow a Gaussian.
You know, it's kind of like a normalize it, like a, like a batch norm type of, yeah.
And if, if it's zero, it can't be this, right?
Cause then this is non-zero.
And so maybe I think that there's probably this or something like that, but basically this prevents it from modal collapse and it makes it do something good.
And this is the most recent paper for the audience is LEWM, LE world model, which is super, super great.
Um, however, to be completely frank, the, this, this is self-supervised learning, super great.
It doesn't work that well.
If you were to not do these techniques, and there's a bunch of other techniques that you can do, it will actually outperform much better.
Let's say, for example, if I'm going to do an LLM, and you have like, you know, Francois likes sushi, which is definitely true.
And I tokenized this into a bunch of different tokens here.
And this is token ID 619.
28, whatever.
And I look up the encoding into this and that's going to be, uh, E one E two E three, et cetera.
Um, what you can actually do is have the LLM output, uh, what the LLM will take in, take in these things and we'll output, um, the next token.
And so it would be like, Let's call it H.
This would be the logits coming out of it.
T plus one.
And what you can do is actually have this be close to E T plus one.
And a lot of people are playing with this idea and getting rid of the cross that should be lost entirely.
And so if you were to do this, it actually as a proxy.
for the cross-entropy loss, and there is no cross-entropy loss.
And the cross-entropy head is actually very expensive.
And so this is very cheap.
And this is literally just grabbing it.
So people are playing around with this idea and basically as a cheaper proxy for the cross-entropy loss.
So there's lots of different ideas on basically taking this JPY idea to not just pixels, but to LNs as well.
Yeah, interesting, yeah.
So just to define what JPY is, it's joint embedding predictive architecture.
I think one of the things I find cool about this JFI idea is it feels like an idea we see over and over in deep learning.
There's a version of this idea that's basically the stable diffusion idea.
There's a version of this idea that in my company training graph convolutional neural networks to design drugs we use to do latent variable generation, for example.
And it's an idea that comes back over and over and then has this various tricks that it actually takes to get it to work and practice.
Okay, now we have a pretty good sense for how world models work.
We have a pretty good sense for what the state of the art looks like.
If we trust this paper, and it seems like these kind of work on robots too, this paper is only from the end of last year, this year, and it seems like they have various methods that allow you to train on relatively small amounts of data that's tractable and pre-trained on data diffusion models.
So are we good?
We're done.
Does it all work?
Yeah, this is 2016, 26 will be the year of the robot.
We're going to have Rose of the robot.
in your house, you know?
Yeah, no, I don't think so.
What are one or two, because there's lots of open problems remaining, what are like a few open problems maybe we can emphasize here that the community can go emphasize working on?
Yeah, so I think the first one is that PINS doesn't really work.
What is PINS?
Physics-informed neural networks.
So PINS doesn't really work.
There's physics-informed neural networks.
And so basically, if like almost all of the Self-driving car data looks like this.
The car is driving down the road.
And let's just say, for example, I have a house here and I want to train the model on not driving into the house.
And so let's say I put it into a state right here to drive into the house.
What's going to happen is because almost all the data looks like this driving down the road, This will just turn magically into like a highway.
And I'm just like, oh, just don't worry.
It basically needs like a ton of data not to do that either from simulation for that to not happen.
In fact, I actually don't even know if because of the data distribution, there's no data here.
There's almost all the data here.
And like when you're training a neural network, it has a tendency to collapse if you don't keep the mini batch composition like very even over the, you know.
over the class space or whatever you want to call it.
But like you'd have to train on, you have to be very careful about your data mixing to make sure you get this right to solve this problem that no one really has.
But even then, if you take just a simple thing like this, this is like the economic example.
And I have some sine wave and I want, and I have these as my X and I have these as my Y.
So this is complete interpolation.
No.
That may mess this up.
But why?
Like this?
No.
We can't get to like machine precision.
We can't.
What is it?
I don't know.
What is it?
180 minus 16 or whatever it is.
We can't.
The SGD will not get to effectively zero.
So we'll always have some residual.
And for us to be like a really good world model to simulate body interactions, like to simulate this, what's going to happen when I do this?
And like, let's say that I'm trying to be LeBron James.
I saw this one video of Steph Curry dribbling about a basketball on a court and he just felt that there was a dead spot in the court because he's so good and he knows exactly the physics of what's going to happen if I hit the ball with this force.
The ball is going to come back exactly to this spot and it just didn't.
And he knew it wasn't him.
It was the court and he found a dead spot in the court.
That's how good the human brain is at world modeling.
In my opinion, I think it's an SGD issue.
I think it's probably an architecture issue.
I think Sam Altman just kind of came and just said that he thinks that there's definitely an architecture that's going to be more performant than the transformer.
I think he's right.
I think the transformer doesn't do compression in the time domain at all.
It just keeps around everything.
So anyway, so I think that the getting higher fidelity in the world model is extremely important.
One, I think two.
Seems like test time probably is going to be a big thing, like adaptation.
Exactly.
Test time planning.
how quickly the human brain can, you know, in times of in sports and things like that, when you're playing tennis, I think you're a tennis player, like how quickly we can adapt to what a player is doing and things like that.
We're not going to sleep and like retraining where we're very quick to adapt to a new environment.
Like the out of distribution prediction.
Exactly.
And like one little data point, we can like quickly adapt to that new thing and change.
Um, I think there's been a lot of papers, uh, uh, on like basically estimating the friction coefficients.
And so like those can change over time if you go to a human environment or not, for example, like this, this friction might change and that's important in control.
Um, and so you need to estimate that very quickly and adapt and that these models just kind of don't have a mechanism to do it.
Yeah.
And then I guess there's like the practical.
speed elements of these, right?
A lot of these are doing some sort of expensive planning step.
And we're doing some sort of like, we're kind of hacking around it with this retraining process and synthetic data.
But even so, like to really get maximum performance right now, you'd want to do something that's closer to like the AlphaGo style rollout.
And that's extremely slow.
Right.
the mcts process which can't happen um the other thing that that is pretty crazy about the way that the brain works is that like everything is kind of running autonomously and so like you'll you might be like in the middle of saying sentence one and be like oh actually no something else and so like what just happened there it's like type one and type two thinking are happening at the same time in some way and so like there's definitely uh you know some um really cool mix of these like heterogeneous models and like some are overriding others and like taking control of the motor cortex and like commanding the body to do a thing you know okay but on the flip side now we um talked in the past video about the squint test and how we felt that autoregressive llms maybe don't pass the squint test why don't we reintroduce what the squint test was for a second and then maybe let's think about whether this passes the squint test despite all those limitations Yeah.
And this one test for me, I think is like, this comes from the Yann LeCun.
We didn't need flapping wings to achieve flight.
And to that I say, well, we did need two wings.
And like, if I squint and I look at a bird and I squint, I look at a plane, I'm like, yeah.
It's kind of similar.
It looks right.
Similarly, if I squint and I look at the human brain and I squint and I look at all these world models, we have like this VLA, this action policy, and that they're doing test time planning together and things like that.
It's getting really close.
It's much, much closer.
It seems closer than an autoregressive LLM.
And that's like this concept of a world model of, you know, implicitly predicting future states and actions feels intuitively like what our brain is doing.
And it seems like there's some, you know, neuroscience evidence to support that.
I mean, I'm getting to the conclusion that I think that the brain is the optimizer, not the model.
And that the brain emits, like has models that it invokes, but the brain is somehow also the optimizer itself.
And so in that way, it doesn't pass the squint because like, you know, something magical is happening when you're sleeping.
There's no intelligent species that we're aware of that have any amount of intelligence that don't sleep.
And so like octopuses, dolphins, all those elephants, they all sleep.
There's some reason for that.
And that seems like a really thing about like the evolutionary re like recourse of sleeping.
Like you.
get eaten when you sleep.
So like for the benefit of sleeping should be so much better to outperform that.
So I think we don't have this idea of awake sleep in our current architecture, but I can imagine I'm like simulating, you know, compress from the hippocampus some like experience in the day.
I'm like training on more of those examples, right?
You're like collecting a whole bunch of these experience rollouts and then you're updating your your policy function there's got to be something like like there's this thing called shortwave ripple where like the hippocampus when you're sleeping like emits these uh spike trains that are actually reversed from when they actually happen back in through the both both the hemispheres and for like seven times and then it like stops so like there's something happening there that's very uh uh training something yeah and if you don't sleep then you don't up you don't have long-term memory.
And so there's definitely a reason why we're training things that happened into our brain.
So where does that put us now?
We have all this work happening with world models.
How should we think about what's coming ahead in these next few years in the research community?
Yeah, I think that we're going to see a lot more of these world models in...
robotic policies.
I think that's going to unlock probably full solve driving would be like a, one of those examples that they can get the real time.
They can probably solve it with more compute to like have parallel things.
And you probably don't need it for like most standard things, maybe like, you know, getting out of weird parking jams and like things like that would take us some time similar to the Rosie, the robot, which we've always wanted to have a Rosie, the robot to like, you know, clean up my room for me.
I think that like, this feels like we're getting.
good enough that we can pay up for data and compute to get to Rosie the robot.
It does feel like that.
It'll be expensive to collect the data and do the dreamer sequence of going from state to state and then getting the action conditioning to work.
But like, I feel like it should work.
Yeah.
I mean, what's pretty cool is what we see a lot of companies at YIC working at every step of this from the collecting egocentric data, collecting, uh, the tele-op data, training their own world models and action models.
Um, building new embodiments and then making ways of adapting those embodiments.
And it feels like this is the first year where you see demos where you're like, okay, this actually kind of is starting to look like it's going somewhere.
And it seems like a very exciting year.
Yeah.
So anyway, I think that there are real AI problems to solve still.
We talked about pins.
We talked about the real time issues.
And then on the robotic side, there's real issues.
It's amazing how effective our epidermis is in terms of we can detect.
detect tactile oh epidermis yeah epidermis our tactile we're going to detect sheer force we can detect temperature and it's everywhere yeah and so like versus you know like the we get like one little sensor that only does tactile we don't have the the friction component we don't have temperature we don't have all these the feeling we can't estimate coefficient of friction very quickly i can touch something and say oh this is smooth this is rough We don't have any of that.
And if I numb your hands, I actually had this experience just recently.
If I numb your hands, like you actually can't tie your shoes.
So you can't perform control.
And so like, yeah, if you like, you know, if you train enough on enough human data tying your laces, do I think you can do it with no feedback?
Maybe, maybe.
But like, how much would you need if you did actually have the human like touch?
Like, I think it'd be so much easier.
Well, there's a lot more research to do then.
Yeah, yeah.
Francois, thanks so much for joining us.
Thanks so much for watching, everyone.
We'll be back for the next episode of Decoded.
