0:00.000–0:01.710
When sharing this paper,
0:01.710–0:07.573
Google's Subham Sahu wrote that for an agent to achieve recursive self-improvement,
0:07.573–0:09.120
it must learn to dream.
0:09.640–0:11.707
History is the event of its dreaming.
0:12.220–0:15.007
Well, this sounds like science fiction, but
0:15.007–0:20.280
what this paper actually does is more practical than the term dreaming might imply.
0:20.800–0:22.180
Why do humans dream?
0:22.800–0:25.800
Because what happened during the day is already over,
0:26.220–0:30.320
but at night, the brain replays and recombines those experiences.
0:30.940–0:33.740
We don't need to actually relive the same day,
0:34.140–0:37.273
but we might discover new connections in these replays,
0:37.273–0:40.007
or even change how we make decisions the next day.
0:40.007–0:42.022
Now, a research team from Google and
0:42.022–0:45.880
Google DeepMind has brought a very similar idea into AI.
0:46.240–0:48.056
The paper is called Dream RSI,
0:48.056–0:51.760
Recursive Self-Improvement Based on Evolutionary Worlds.
0:51.760–0:55.826
The system it proposes explores a real environment during the day,
0:55.826–0:59.020
writing actual code, compiling, and running tests.
0:59.460–1:00.660
But in the next round,
1:00.660–1:03.460
it doesn't repeat all those expensive processes.
1:03.460–1:08.100
Instead, it turns past explorations into a dream world that can be revisited.
1:08.300–1:12.690
In this world, it can ask, what if I hadn't kept digging down this path,
1:12.690–1:14.960
but had changed direction earlier?
1:15.160–1:19.160
What if, instead of running four processes at once, I ran eight?
1:19.160–1:22.760
If there has been no improvement for several consecutive steps,
1:22.760–1:24.427
should I have stopped sooner?
1:24.427–1:27.840
It doesn't regenerate the code or rerun all the experiments.
1:28.560–1:30.760
Many results have already happened and
1:30.760–1:33.227
are embedded in the history of exploration.
1:33.320–1:37.152
What the AI does is try different exploration methods over and
1:37.152–1:38.920
over within that past world.
1:39.620–1:43.960
Then it brings the better strategies found in the dream back to reality.
1:44.280–1:47.080
New strategies produce new exploration history.
1:47.080–1:49.080
New history becomes new dreams, and
1:49.080–1:52.480
new dreams modify the exploration method for the next round.
1:52.480–1:54.940
This is why the authors call it RSI.
1:57.203–2:02.028
But the really interesting question here isn't the dreaming metaphor itself,
2:02.028–2:04.733
but what actually changes after it wakes up?
2:07.026–2:12.179
And this is exactly where Dream RSI sets itself apart from AlphaCode,
2:12.179–2:14.756
Godel Machines, and AI Scientist.
2:15.196–2:16.407
In the last episode,
2:16.407–2:19.896
we asked what counts as true recursive self-improvement,
2:20.196–2:21.416
and in this episode,
2:21.416–2:24.716
a real system has emerged that we can actually examine.
2:24.956–2:27.889
All right, let's put the dreams aside for a moment and
2:27.889–2:30.023
look at what it's doing during the day.
2:30.023–2:34.356
Many automated discovery systems already look like they are self-evolving,
2:34.416–2:37.949
Like a coding agent that keeps generating candidate programs,
2:38.276–2:40.056
an evaluator that scores them,
2:40.336–2:44.269
and then the system keeping the better results to continue iterating.
2:44.269–2:48.069
But there are actually two completely different jobs mixed up here.
2:48.416–2:50.936
Imagine a research team with two people.
2:51.436–2:54.525
One performs the experiments, writes the code,
2:54.525–2:56.456
runs tests, and gets results,
2:56.456–2:59.789
while the other doesn't necessarily get their hands dirty.
3:00.316–3:03.116
They are responsible for deciding what to do next,
3:03.116–3:05.316
such as which path is worth continuing,
3:05.316–3:08.376
which should be stopped, and where resources should
3:08.376–3:13.976
be invested. Systems like AlphaEvo make it very easy to get the feeling that as the program gets
3:13.976–3:16.247
stronger generation by generation,
3:16.247–3:20.056
it seems like the AI is already improving itself. But if we zoom
3:20.056–3:22.246
out a little, we see a problem. While
3:22.246–3:25.896
the underlying code can change and which results to keep can
3:25.896–3:29.939
change, the second type of work, how to explore the next steps,
3:29.939–3:32.116
is often still pre-designed. For
3:32.116–3:34.758
For example, from which node to continue,
3:34.758–3:37.476
how many branches to open simultaneously,
3:37.476–3:40.676
and after how many attempts to abandon a direction.
3:40.676–3:43.809
These rules usually don't evolve along with the system.
3:43.809–3:45.496
What about Dream RSI?
3:45.496–3:50.736
It specifically targets the person responsible for deciding what to do next.
3:50.736–3:53.306
Dream RSI separates this layer, and
3:53.306–3:57.676
its real-world exploration continuously grows a discovery
3:57.676–3:58.676
tree.
3:58.676–4:03.516
Every node on the tree corresponds to a real attempt that has taken place, such as what
4:03.516–4:06.116
solution the model generated in what context,
4:06.116–4:08.583
whether the code could run, and what results
4:08.583–4:10.276
the evaluator gave.
4:10.276–4:11.943
All of this has been recorded.
4:11.943–4:16.896
The outer exploration strategy only needs to answer a few very simple questions, like
4:16.896–4:19.096
from which node should we continue now?
4:19.096–4:21.116
Should we start a new path?
4:21.116–4:24.116
How many directions should we pursue in parallel?
4:24.116–4:25.249
When should we stop?
4:25.249–4:26.516
Let's look at figure 2,
4:26.516–4:30.516
which is the most important figure for understanding the entire paper.
4:30.516–4:35.249
You can think of this tree in the middle as the maze that the AI actually walked through
4:35.249–4:35.916
yesterday.
4:35.916–4:38.983
Every node that is lit up is a place it actually visited,
4:38.983–4:40.916
and the results are already known.
4:40.916–4:42.164
So the question is,
4:42.164–4:46.976
if I want to compare two new exploration strategies today, must I make
4:46.976–4:50.116
the AI walk through the maze twice from the beginning?
4:50.116–4:53.416
In the past, that was basically the only way.
4:53.416–4:58.136
Because you could only know if a new strategy was good by actually running it again.
4:58.136–5:01.736
But Dream RSI's answer is, not necessarily.
5:01.736–5:04.536
Since it has already walked through it yesterday,
5:04.536–5:07.069
and what happened at each node has been saved,
5:07.069–5:11.196
a new strategy can completely walk through this historical tree first.
5:11.196–5:14.422
It might go left first, it might turn right sooner,
5:14.422–5:16.496
or it might just take three steps
5:16.496–5:17.696
and stop.
5:17.696–5:20.730
As long as he visits nodes that have truly occurred,
5:20.730–5:22.776
the simulator can directly reveal
5:22.776–5:25.916
the actual results from that time.
5:25.916–5:29.271
The key shift here isn't just remembering history,
5:29.271–5:31.456
but rather turning history from a
5:31.456–5:34.496
log into a re-enterable event.
5:34.496–5:37.836
Now, there is a common misunderstanding here.
5:37.836–5:41.385
Dream RSI does not train a new world model first and
5:41.385–5:43.836
then have it approximate reality.
5:43.836–5:49.176
For Dream RSI, the history that has already played out serves as the playback simulator
5:49.176–5:50.176
itself.
5:50.176–5:52.509
Thus, its dreams are quite conservative.
5:52.509–5:55.376
It isn't predicting events that haven't happened,
5:55.376–5:57.976
but re-entering events that truly took place.
5:57.976–6:01.356
Strictly speaking, this world has a clear boundary.
6:01.356–6:04.736
It can only dream of places it has actually experienced.
6:04.736–6:08.936
It cannot know the results of unexplored branches out of thin air.
6:08.936–6:12.496
This is precisely both its advantage and its limitation.
6:12.496–6:17.363
The advantage is that real executions that have already occurred don't require paying
6:17.363–6:19.696
for expensive online exploration again,
6:19.696–6:23.429
supporting a large volume of rapid offline strategy comparisons.
6:23.429–6:27.296
The limitation is that if the first round of real exploration is poor,
6:27.296–6:28.896
with almost no high-quality
6:28.896–6:30.363
paths in the history tree,
6:30.363–6:34.096
the subsequent dreams won't conjure up a good event out of nothing.
6:34.096–6:35.943
So the way it truly loops is this.
6:35.943–6:40.316
Reality provides a portion of the world. Dreams in this
6:40.316–6:43.362
world find better exploration strategies, and
6:43.362–6:46.256
new strategies return to reality to traverse
6:46.256–6:50.196
new nodes, which then expand the next round of dreams.
6:50.196–6:53.936
This is the evolving world mentioned in the paper's title.
6:53.936–6:57.136
The world isn't built once and left unchanged.
6:57.136–7:00.345
It expands continuously alongside real exploration,
7:00.345–7:02.856
and the exploration strategy evolves with
7:02.856–7:03.856
the world.
7:03.856–7:10.076
This is much more interesting than simply summarizing historical experience into a few sentences.
7:10.076–7:14.476
The authors actually tested another, seemingly simpler method.
7:14.476–7:17.876
Since we already know which directions succeeded or failed,
7:17.876–7:19.676
why not let a model summarize the
7:19.676–7:23.543
lessons and inject these suggestions into the next round of prompts?
7:24.611–7:26.841
However, the results weren't good.
7:27.461–7:28.781
Let's look at Figure 5.
7:29.281–7:32.745
After adding the guidance, performance actually worsened,
7:32.745–7:35.461
regardless of whether RSI was originally used.
7:35.701–7:39.364
This is worth pondering, because remembering the past and
7:39.364–7:41.981
utilizing the past are not the same thing.
7:42.141–7:50.301
Compressing history into a single best thing to do is equivalent to imposing a predetermined shared direction on all subsequent exploration.
7:50.301–7:52.438
It could be helpful, but it might also
7:52.438–7:54.644
constrain the search space too early,
7:54.644–7:58.781
excluding many unconventional paths that should have been preserved.
7:59.061–8:00.394
Dream RSI is different.
8:00.394–8:04.128
It doesn't tell the AI up front which experience is most important.
8:04.201–8:06.001
It simply preserves that world,
8:06.001–8:09.468
allowing different strategies to explore it for themselves.
8:09.468–8:14.534
I think the most interesting takeaway from this paper isn't that AI can learn from history,
8:14.921–8:21.361
but rather that perhaps truly valuable experience isn't about summarizing the past into a single instruction,
8:21.841–8:25.041
but about preserving a past that can be re-experienced.
8:25.201–8:28.131
If Dream RSI only ends up saving a few API calls,
8:28.131–8:30.761
then it's not actually that interesting.
8:31.301–8:36.768
What's truly worth looking at is whether it changes the actual exploration process that follows.
8:36.768–8:40.434
The authors conducted experiments in algorithmic engineering,
8:40.434–8:42.568
mathematical optimization, and GPU.
8:42.568–8:43.768
Kernel engineering.
8:43.768–8:45.434
There are a lot of numbers, but
8:45.434–8:47.701
I think only a few are worth remembering.
8:47.701–8:48.901
The first set is cost.
8:48.901–8:51.168
In the Lowell algorithm discovery task,
8:51.168–8:55.921
one of the most striking figures in the paper is a maximum call gap of about 162 times.
8:56.181–8:59.048
However, this figure cannot be taken in isolation.
8:59.141–9:04.121
Dream RSI uses Gemini 1.5 Flash, while Simpletext uses GPT-40.
9:04.121–9:08.388
A much cleaner comparison is the head-to-head control between Dream RSI and
9:08.388–9:11.521
recursive fixed exploration using the same base model.
9:11.561–9:14.494
However, I am more concerned with another question.
9:14.561–9:17.881
If we search so much less, will the results get worse?
9:18.041–9:21.161
The paper does not show this kind of simple trade-off.
9:21.541–9:25.808
On some tasks, it achieves comparable performance with fewer generations,
9:25.861–9:26.794
while on others,
9:26.794–9:30.261
it achieves even higher performance within a similar budget.
9:30.261–9:34.941
Curil BCH is a great example to illustrate these two different types of gains.
9:34.941–9:40.381
VGG16 and LayerNorm show a better sense of when enough is enough,
9:40.381–9:44.314
essentially achieving similar performance with fewer generations.
9:45.360–9:48.480
Meanwhile, Conv and CX show a better sense of when
9:48.480–9:53.350
not to stop, meaning they push performance further within a similar budget.
9:54.130–9:58.810
This leads to what I consider the most elegant behavioral chart in the entire paper.
9:59.050–10:00.983
Let's look at this chart together.
10:01.270–10:09.330
The strategy learned by Dream RSI isn't a simple rule like always do less or always branch out more.
10:09.330–10:12.295
When performance improvements are steady early on,
10:12.295–10:14.250
it reduces the number of attempts.
10:14.250–10:19.510
But when performance hits a plateau, it expands its exploration again.
10:19.510–10:23.810
In other words, it has learned a dynamic exploration rhythm.
10:23.810–10:26.410
Don't waste your budget casting a wide net when
10:26.410–10:28.410
things are going well, but don't get
10:28.410–10:30.677
stuck on the same path when you hit a wall.
10:30.677–10:34.222
This is more important than the 162 token count because
10:34.222–10:36.710
it shows that RSI ultimately changes
10:36.710–10:39.741
not just how much compute a single task uses, but
10:39.741–10:42.090
how compute is allocated for the next
10:42.090–10:43.490
exploration.
10:43.490–10:48.157
This is why the authors place it within the context of recursive self-improvement.
10:48.157–10:51.490
However, we must clearly define the boundaries.
10:51.490–10:54.223
The underlying coding agent remains unchanged,
10:54.223–10:56.557
the model remains the same, the evaluator
10:56.557–10:59.610
is untouched, and the task objectives are fixed.
10:59.610–11:04.870
This RSI only modifies the outer strategy for how to continue seeking better results.
11:04.870–11:10.450
Therefore, if we interpret this as Google's AI starting to rewrite its own brain, that
11:10.450–11:12.530
would be a complete exaggeration.
11:12.530–11:15.954
Conversely, if we just view it as a cost-saving scheduler,
11:15.954–11:19.098
that underestimates what this paper truly achieves,
11:19.098–11:23.710
as the scheduling rules themselves have now become subjects for improvement.
11:24.010–11:28.170
In fact, someone on X has already asked the most critical question.
11:28.770–11:30.650
Would you call this true RSI?
11:30.930–11:34.910
This is also the question I wanted to ask most after reading this paper.
11:34.910–11:42.238
Since we spent our entire last episode trying to answer what counts as true recursive self-improvement,
11:42.238–11:45.819
we can bring back the L1 to L5 chart from last time and
11:45.819–11:48.650
use it as a yardstick to measure this RSI.
11:49.150–11:54.217
One of the most important viewpoints from that paper was that performance improvement and
11:54.217–11:57.150
recursive self-improvement are not the same thing.
11:57.150–12:00.151
A system can perform tasks increasingly well, but
12:00.151–12:04.392
if the method of self-improvement is hard-coded from the outside,
12:04.392–12:07.270
it is still one step away from true recursion.
12:07.450–12:09.357
Taking AlphaDev as an example,
12:09.357–12:14.930
its most intuitive ability is to continuously search for better programs and algorithms.
12:15.330–12:18.310
The main object of improvement is the result itself.
12:18.830–12:21.497
You get better at finding better answers, while
12:21.497–12:24.030
Darwin-inspired agents take a step further.
12:24.030–12:25.630
It doesn't just change code.
12:25.630–12:29.630
It allows the implementation of the coding agent itself to be modified.
12:29.630–12:32.830
So the object of improvement is no longer just the answer,
12:32.830–12:35.097
but the agent that generates the answer.
12:35.097–12:37.430
However, in that RSI paper from last time,
12:37.430–12:40.563
rules regarding which candidate solutions are kept and
12:40.563–12:47.310
which candidate solutions the next generation evolves from were still not part of the self-modification loop.
12:48.030–12:50.290
In other words, the agent can change,
12:50.610–12:55.010
but the rules determining where the next generation of agents should come from
12:55.010–12:57.010
have not yet entered the recursion.
12:57.010–12:59.950
Dream RSI happens to tread exactly on this boundary.
13:00.230–13:03.497
What Dream RSI leaves outside the self-modification loop
13:03.497–13:07.897
is precisely the mechanism of candidate solution maintenance and selection,
13:07.897–13:11.030
essentially where the next generation continues from.
13:11.030–13:13.763
What Dream RSI does is precisely turn this layer,
13:13.763–13:17.163
which nodes continue to branch, how many branches to create,
13:17.163–13:18.097
and when to stop,
13:18.097–13:20.830
into an object that can be replaced and improved.
13:20.830–13:23.697
It didn't modify the underlying agent, but instead
13:23.697–13:25.097
changed the outer layer,
13:25.097–13:28.430
that is, how the next round of improvement should be sought,
13:28.430–13:31.897
how many branches to continue opening from historical nodes,
13:31.897–13:32.830
and when to stop.
13:32.830–13:36.630
These elements, which originally belonged to the system designer,
13:36.630–13:39.563
have been transformed into an exploration strategy
13:39.563–13:41.897
that can be evaluated, modified, and then
13:41.897–13:43.630
carried over to the next round.
13:43.630–13:47.030
The key is that this new strategy doesn't just stay in a dream.
13:47.030–13:50.363
It directly governs the real exploration of the next round.
13:50.363–13:54.097
With a fixed strategy, each round can still continue to explore and
13:54.097–13:54.963
grow new nodes.
13:54.963–13:59.897
The real difference is that Dream RSI lets the new strategy learned in the previous round
13:59.897–14:03.790
decide where the tree grows next and how resources are allocated.
14:04.010–14:08.070
And the new exploration history feeds back into the replay simulator,
14:08.490–14:11.623
which in turn modifies the next version of the strategy.
14:11.623–14:16.366
So, if we look at it through the L1-L5 framework from that paper last time,
14:16.366–14:17.590
Dream RSI already
14:17.590–14:20.670
exhibits a very clear L5 characteristic.
14:20.670–14:25.337
The object being modified now includes the method used to generate the next round of
14:25.337–14:26.603
improvements itself.
14:26.603–14:28.950
But I must add a very important caveat.
14:28.950–14:31.330
It is an extremely narrow L5.
14:31.330–14:34.526
It does not autonomously modify the underlying model,
14:34.526–14:36.610
change the evaluator, redefine the
14:36.610–14:40.250
task, or decide which capability I should improve next.
14:40.250–14:46.050
It performs recursive improvement on the exploration mechanism within the boundaries of fixed goals,
14:46.050–14:49.117
fixed evaluation rules, and a fixed underlying agent.
14:49.117–14:50.250
In the last episode,
14:50.250–14:53.583
we actually distinguished between two types of recursion.
14:53.583–14:54.983
The first is very simple.
14:54.983–14:58.783
Is the mechanism you modified actually used again in the next round?
14:58.783–15:00.917
This is called structural recursion.
15:00.917–15:02.983
Dream RSI is very clear on this point.
15:02.983–15:07.717
The new exploration strategy enters the next round of online exploration directly.
15:07.717–15:09.783
But the harder one is the second type.
15:09.783–15:13.717
does using it actually make the successor system better at improving?
15:13.717–15:15.383
This is effective recursion.
15:15.383–15:18.117
Dream RSI provides a fairly clean contrast here.
15:18.117–15:21.183
It uses the same underlying model, the same evaluator,
15:21.183–15:24.850
and the same initial strategy as the fixed exploration baseline.
15:25.581–15:31.801
by whether the subsequent exploration strategy has been improved through dreaming. So Dream RSI's
15:31.801–15:34.698
L5 has two dimensions. It is very narrow in scope,
15:34.698–15:37.241
but in terms of the clarity of its recursive
15:37.241–15:39.533
evidence, it is not weak. Therefore,
15:39.533–15:42.861
a more accurate statement is not that true general RSI
15:42.861–15:46.808
has arrived, but rather that we have finally seen a very clean,
15:46.808–15:49.161
local example where the improvement
15:49.161–15:54.801
This also makes its relationship with AV training particularly interesting.
15:54.801–15:57.091
particularly interesting. Last time,
15:57.091–16:00.421
we discussed how AV training precipitates the results of
16:00.421–16:04.754
post-training experiments into a set of persistent research strategies and
16:04.754–16:05.821
exploration logs,
16:05.821–16:10.561
which are then modified by the meta-agent to guide the subsequent executive agents.
16:10.941–16:14.181
Doesn't that sound already very close to Dream RSI?
16:14.541–16:18.874
Neither is satisfied with just modifying the final model or the final answer.
16:18.874–16:23.741
They have begun to make the research process itself something that can be accumulated,
16:23.741–16:25.208
modified, and inherited.
16:25.208–16:28.361
However, the way both utilize history is not the same.
16:28.581–16:34.221
AVIL training is more like letting a meta-agent read past evidence to directly diagnose problems
16:34.221–16:37.673
and then modify the policy. But it adds an extra step.
16:37.673–16:40.341
Instead of just inferring a new strategy
16:40.341–16:44.773
based on history, it generates multiple candidate exploration strategies,
16:44.773–16:46.341
puts them into a historical
16:46.341–16:48.505
replay world to actually run them, and
16:48.505–16:51.481
uses the results to choose which one enters reality.
16:51.701–16:55.483
See, this is more like modifying a plan after a post-mortem review,
16:55.483–16:56.901
whereas the other is more
16:56.901–17:00.701
like putting multiple new plans back into a sandbox for simulation.
17:00.701–17:01.834
This brings us right
17:01.834–17:02.901
back to the figure.
17:02.901–17:06.501
The authors actually specifically tried the more direct path of
17:06.501–17:09.301
summarizing history into semantic guidance, but
17:09.301–17:12.234
the results were worse. Therefore, the most special
17:12.234–17:15.301
thing about JRSI is not just that it preserves history,
17:15.301–17:17.434
but that it lets candidate strategies
17:17.434–17:19.234
re-experience history and then
17:19.234–17:22.768
uses the outcomes of that experience to make a choice. Perhaps a
17:22.768–17:28.101
truly powerful self-improving system in the future will not choose just one of these, but might
17:28.101–17:32.101
simultaneously distill experience into high-level strategies while
17:32.101–17:33.834
retaining a sufficiently rich
17:33.834–17:35.368
set of historical events so
17:35.368–17:38.701
these strategies can be retested at any time. At that point,
17:38.701–17:42.634
memory will no longer just be the model knowing what it has done before,
17:42.634–17:45.301
but will start to become a past that can be rerun.
17:45.301–17:48.761
Speaking of which, there is one final question.
17:49.461–17:52.530
Why did the authors choose to call this dream?
17:52.530–17:55.841
As we mentioned earlier, Dream RSI does not train
17:55.841–17:58.443
a world model in the traditional sense, but
17:58.443–18:01.841
it borrows the same intuition. Real-world interaction
18:01.841–18:03.037
is too expensive, so
18:03.037–18:07.961
can we turn past experiences into an internal environment for continued learning?
18:09.001–18:11.476
Dream RSI borrows this line of thinking, but
18:11.476–18:14.821
the object it simulates is different. It does not attempt to
18:14.821–18:17.354
learn a complete external world, but instead
18:17.354–18:20.021
preserves how it explored this world in the past
18:20.021–18:22.621
and what happened during each exploration. So
18:22.621–18:25.288
I think the truly interesting part of this paper
18:25.288–18:28.321
is that the world here has quietly changed its target.
18:28.561–18:30.494
In the past, we were more concerned
18:30.494–18:32.294
with how the world would change.
18:32.294–18:34.181
But Dream RSI starts to care about
18:34.181–18:36.781
how I personally sought out changes in the past
18:36.781–18:40.114
and what would happen if I used a different way of searching.
18:40.114–18:42.941
Of course, today's Dream RSI is still very far
18:42.941–18:44.741
from being a superintelligence
18:44.741–18:46.941
that can improve itself indefinitely.
18:46.941–18:49.941
Its model hasn't changed, its goals haven't changed,
18:49.941–18:52.874
and the rules evaluating it haven't changed either.
18:52.874–18:57.074
Even the dreams it can have are limited to the past it has truly experienced.
18:57.761–19:02.361
But something that used to be set in stone has started to shift.
19:03.021–19:05.554
It's not about what the next answer should be,
19:05.741–19:09.261
but rather how I should find a way to improve myself next time.
19:09.261–19:11.375
When the answer to this question also
19:11.375–19:14.581
starts to be modified and verified by the machine itself
19:14.581–19:16.114
to be used in the next round,
19:16.341–19:20.721
the most noteworthy part of recursive self-improvement may have just begun.
19:20.721–19:24.002
Alright, that's all for today's content. Please like,
19:24.002–19:26.141
share, and subscribe to my channel.
19:26.301–19:28.301
If you'd like to support me further,
19:28.301–19:31.501
feel free to join my membership. The cost of a cup of coffee
19:31.501–19:33.768
each month not only supports me, but also
19:33.768–19:36.768
helps me continue creating more content related to AI
19:36.768–19:39.000
and technology. Alright, thanks for watching, and
0:00.000–0:01.710
When sharing this paper,
0:01.710–0:07.573
Google's Subham Sahu wrote that for an agent to achieve recursive self-improvement,
0:07.573–0:09.120
it must learn to dream.
0:09.640–0:11.707
History is the event of its dreaming.
0:12.220–0:15.007
Well, this sounds like science fiction, but
0:15.007–0:20.280
what this paper actually does is more practical than the term dreaming might imply.
0:20.800–0:22.180
Why do humans dream?
0:22.800–0:25.800
Because what happened during the day is already over,
0:26.220–0:30.320
but at night, the brain replays and recombines those experiences.
0:30.940–0:33.740
We don't need to actually relive the same day,
0:34.140–0:37.273
but we might discover new connections in these replays,
0:37.273–0:40.007
or even change how we make decisions the next day.
0:40.007–0:42.022
Now, a research team from Google and
0:42.022–0:45.880
Google DeepMind has brought a very similar idea into AI.
0:46.240–0:48.056
The paper is called Dream RSI,
0:48.056–0:51.760
Recursive Self-Improvement Based on Evolutionary Worlds.
0:51.760–0:55.826
The system it proposes explores a real environment during the day,
0:55.826–0:59.020
writing actual code, compiling, and running tests.
0:59.460–1:00.660
But in the next round,
1:00.660–1:03.460
it doesn't repeat all those expensive processes.
1:03.460–1:08.100
Instead, it turns past explorations into a dream world that can be revisited.
1:08.300–1:12.690
In this world, it can ask, what if I hadn't kept digging down this path,
1:12.690–1:14.960
but had changed direction earlier?
1:15.160–1:19.160
What if, instead of running four processes at once, I ran eight?
1:19.160–1:22.760
If there has been no improvement for several consecutive steps,
1:22.760–1:24.427
should I have stopped sooner?
1:24.427–1:27.840
It doesn't regenerate the code or rerun all the experiments.
1:28.560–1:30.760
Many results have already happened and
1:30.760–1:33.227
are embedded in the history of exploration.
1:33.320–1:37.152
What the AI does is try different exploration methods over and
1:37.152–1:38.920
over within that past world.
1:39.620–1:43.960
Then it brings the better strategies found in the dream back to reality.
1:44.280–1:47.080
New strategies produce new exploration history.
1:47.080–1:49.080
New history becomes new dreams, and
1:49.080–1:52.480
new dreams modify the exploration method for the next round.
1:52.480–1:54.940
This is why the authors call it RSI.
1:57.203–2:02.028
But the really interesting question here isn't the dreaming metaphor itself,
2:02.028–2:04.733
but what actually changes after it wakes up?
2:07.026–2:12.179
And this is exactly where Dream RSI sets itself apart from AlphaCode,
2:12.179–2:14.756
Godel Machines, and AI Scientist.
2:15.196–2:16.407
In the last episode,
2:16.407–2:19.896
we asked what counts as true recursive self-improvement,
2:20.196–2:21.416
and in this episode,
2:21.416–2:24.716
a real system has emerged that we can actually examine.
2:24.956–2:27.889
All right, let's put the dreams aside for a moment and
2:27.889–2:30.023
look at what it's doing during the day.
2:30.023–2:34.356
Many automated discovery systems already look like they are self-evolving,
2:34.416–2:37.949
Like a coding agent that keeps generating candidate programs,
2:38.276–2:40.056
an evaluator that scores them,
2:40.336–2:44.269
and then the system keeping the better results to continue iterating.
2:44.269–2:48.069
But there are actually two completely different jobs mixed up here.
2:48.416–2:50.936
Imagine a research team with two people.
2:51.436–2:54.525
One performs the experiments, writes the code,
2:54.525–2:56.456
runs tests, and gets results,
2:56.456–2:59.789
while the other doesn't necessarily get their hands dirty.
3:00.316–3:03.116
They are responsible for deciding what to do next,
3:03.116–3:05.316
such as which path is worth continuing,
3:05.316–3:08.376
which should be stopped, and where resources should
3:08.376–3:13.976
be invested. Systems like AlphaEvo make it very easy to get the feeling that as the program gets
3:13.976–3:16.247
stronger generation by generation,
3:16.247–3:20.056
it seems like the AI is already improving itself. But if we zoom
3:20.056–3:22.246
out a little, we see a problem. While
3:22.246–3:25.896
the underlying code can change and which results to keep can
3:25.896–3:29.939
change, the second type of work, how to explore the next steps,
3:29.939–3:32.116
is often still pre-designed. For
3:32.116–3:34.758
For example, from which node to continue,
3:34.758–3:37.476
how many branches to open simultaneously,
3:37.476–3:40.676
and after how many attempts to abandon a direction.
3:40.676–3:43.809
These rules usually don't evolve along with the system.
3:43.809–3:45.496
What about Dream RSI?
3:45.496–3:50.736
It specifically targets the person responsible for deciding what to do next.
3:50.736–3:53.306
Dream RSI separates this layer, and
3:53.306–3:57.676
its real-world exploration continuously grows a discovery
3:57.676–3:58.676
tree.
3:58.676–4:03.516
Every node on the tree corresponds to a real attempt that has taken place, such as what
4:03.516–4:06.116
solution the model generated in what context,
4:06.116–4:08.583
whether the code could run, and what results
4:08.583–4:10.276
the evaluator gave.
4:10.276–4:11.943
All of this has been recorded.
4:11.943–4:16.896
The outer exploration strategy only needs to answer a few very simple questions, like
4:16.896–4:19.096
from which node should we continue now?
4:19.096–4:21.116
Should we start a new path?
4:21.116–4:24.116
How many directions should we pursue in parallel?
4:24.116–4:25.249
When should we stop?
4:25.249–4:26.516
Let's look at figure 2,
4:26.516–4:30.516
which is the most important figure for understanding the entire paper.
4:30.516–4:35.249
You can think of this tree in the middle as the maze that the AI actually walked through
4:35.249–4:35.916
yesterday.
4:35.916–4:38.983
Every node that is lit up is a place it actually visited,
4:38.983–4:40.916
and the results are already known.
4:40.916–4:42.164
So the question is,
4:42.164–4:46.976
if I want to compare two new exploration strategies today, must I make
4:46.976–4:50.116
the AI walk through the maze twice from the beginning?
4:50.116–4:53.416
In the past, that was basically the only way.
4:53.416–4:58.136
Because you could only know if a new strategy was good by actually running it again.
4:58.136–5:01.736
But Dream RSI's answer is, not necessarily.
5:01.736–5:04.536
Since it has already walked through it yesterday,
5:04.536–5:07.069
and what happened at each node has been saved,
5:07.069–5:11.196
a new strategy can completely walk through this historical tree first.
5:11.196–5:14.422
It might go left first, it might turn right sooner,
5:14.422–5:16.496
or it might just take three steps
5:16.496–5:17.696
and stop.
5:17.696–5:20.730
As long as he visits nodes that have truly occurred,
5:20.730–5:22.776
the simulator can directly reveal
5:22.776–5:25.916
the actual results from that time.
5:25.916–5:29.271
The key shift here isn't just remembering history,
5:29.271–5:31.456
but rather turning history from a
5:31.456–5:34.496
log into a re-enterable event.
5:34.496–5:37.836
Now, there is a common misunderstanding here.
5:37.836–5:41.385
Dream RSI does not train a new world model first and
5:41.385–5:43.836
then have it approximate reality.
5:43.836–5:49.176
For Dream RSI, the history that has already played out serves as the playback simulator
5:49.176–5:50.176
itself.
5:50.176–5:52.509
Thus, its dreams are quite conservative.
5:52.509–5:55.376
It isn't predicting events that haven't happened,
5:55.376–5:57.976
but re-entering events that truly took place.
5:57.976–6:01.356
Strictly speaking, this world has a clear boundary.
6:01.356–6:04.736
It can only dream of places it has actually experienced.
6:04.736–6:08.936
It cannot know the results of unexplored branches out of thin air.
6:08.936–6:12.496
This is precisely both its advantage and its limitation.
6:12.496–6:17.363
The advantage is that real executions that have already occurred don't require paying
6:17.363–6:19.696
for expensive online exploration again,
6:19.696–6:23.429
supporting a large volume of rapid offline strategy comparisons.
6:23.429–6:27.296
The limitation is that if the first round of real exploration is poor,
6:27.296–6:28.896
with almost no high-quality
6:28.896–6:30.363
paths in the history tree,
6:30.363–6:34.096
the subsequent dreams won't conjure up a good event out of nothing.
6:34.096–6:35.943
So the way it truly loops is this.
6:35.943–6:40.316
Reality provides a portion of the world. Dreams in this
6:40.316–6:43.362
world find better exploration strategies, and
6:43.362–6:46.256
new strategies return to reality to traverse
6:46.256–6:50.196
new nodes, which then expand the next round of dreams.
6:50.196–6:53.936
This is the evolving world mentioned in the paper's title.
6:53.936–6:57.136
The world isn't built once and left unchanged.
6:57.136–7:00.345
It expands continuously alongside real exploration,
7:00.345–7:02.856
and the exploration strategy evolves with
7:02.856–7:03.856
the world.
7:03.856–7:10.076
This is much more interesting than simply summarizing historical experience into a few sentences.
7:10.076–7:14.476
The authors actually tested another, seemingly simpler method.
7:14.476–7:17.876
Since we already know which directions succeeded or failed,
7:17.876–7:19.676
why not let a model summarize the
7:19.676–7:23.543
lessons and inject these suggestions into the next round of prompts?
7:24.611–7:26.841
However, the results weren't good.
7:27.461–7:28.781
Let's look at Figure 5.
7:29.281–7:32.745
After adding the guidance, performance actually worsened,
7:32.745–7:35.461
regardless of whether RSI was originally used.
7:35.701–7:39.364
This is worth pondering, because remembering the past and
7:39.364–7:41.981
utilizing the past are not the same thing.
7:42.141–7:50.301
Compressing history into a single best thing to do is equivalent to imposing a predetermined shared direction on all subsequent exploration.
7:50.301–7:52.438
It could be helpful, but it might also
7:52.438–7:54.644
constrain the search space too early,
7:54.644–7:58.781
excluding many unconventional paths that should have been preserved.
7:59.061–8:00.394
Dream RSI is different.
8:00.394–8:04.128
It doesn't tell the AI up front which experience is most important.
8:04.201–8:06.001
It simply preserves that world,
8:06.001–8:09.468
allowing different strategies to explore it for themselves.
8:09.468–8:14.534
I think the most interesting takeaway from this paper isn't that AI can learn from history,
8:14.921–8:21.361
but rather that perhaps truly valuable experience isn't about summarizing the past into a single instruction,
8:21.841–8:25.041
but about preserving a past that can be re-experienced.
8:25.201–8:28.131
If Dream RSI only ends up saving a few API calls,
8:28.131–8:30.761
then it's not actually that interesting.
8:31.301–8:36.768
What's truly worth looking at is whether it changes the actual exploration process that follows.
8:36.768–8:40.434
The authors conducted experiments in algorithmic engineering,
8:40.434–8:42.568
mathematical optimization, and GPU.
8:42.568–8:43.768
Kernel engineering.
8:43.768–8:45.434
There are a lot of numbers, but
8:45.434–8:47.701
I think only a few are worth remembering.
8:47.701–8:48.901
The first set is cost.
8:48.901–8:51.168
In the Lowell algorithm discovery task,
8:51.168–8:55.921
one of the most striking figures in the paper is a maximum call gap of about 162 times.
8:56.181–8:59.048
However, this figure cannot be taken in isolation.
8:59.141–9:04.121
Dream RSI uses Gemini 1.5 Flash, while Simpletext uses GPT-40.
9:04.121–9:08.388
A much cleaner comparison is the head-to-head control between Dream RSI and
9:08.388–9:11.521
recursive fixed exploration using the same base model.
9:11.561–9:14.494
However, I am more concerned with another question.
9:14.561–9:17.881
If we search so much less, will the results get worse?
9:18.041–9:21.161
The paper does not show this kind of simple trade-off.
9:21.541–9:25.808
On some tasks, it achieves comparable performance with fewer generations,
9:25.861–9:26.794
while on others,
9:26.794–9:30.261
it achieves even higher performance within a similar budget.
9:30.261–9:34.941
Curil BCH is a great example to illustrate these two different types of gains.
9:34.941–9:40.381
VGG16 and LayerNorm show a better sense of when enough is enough,
9:40.381–9:44.314
essentially achieving similar performance with fewer generations.
9:45.360–9:48.480
Meanwhile, Conv and CX show a better sense of when
9:48.480–9:53.350
not to stop, meaning they push performance further within a similar budget.
9:54.130–9:58.810
This leads to what I consider the most elegant behavioral chart in the entire paper.
9:59.050–10:00.983
Let's look at this chart together.
10:01.270–10:09.330
The strategy learned by Dream RSI isn't a simple rule like always do less or always branch out more.
10:09.330–10:12.295
When performance improvements are steady early on,
10:12.295–10:14.250
it reduces the number of attempts.
10:14.250–10:19.510
But when performance hits a plateau, it expands its exploration again.
10:19.510–10:23.810
In other words, it has learned a dynamic exploration rhythm.
10:23.810–10:26.410
Don't waste your budget casting a wide net when
10:26.410–10:28.410
things are going well, but don't get
10:28.410–10:30.677
stuck on the same path when you hit a wall.
10:30.677–10:34.222
This is more important than the 162 token count because
10:34.222–10:36.710
it shows that RSI ultimately changes
10:36.710–10:39.741
not just how much compute a single task uses, but
10:39.741–10:42.090
how compute is allocated for the next
10:42.090–10:43.490
exploration.
10:43.490–10:48.157
This is why the authors place it within the context of recursive self-improvement.
10:48.157–10:51.490
However, we must clearly define the boundaries.
10:51.490–10:54.223
The underlying coding agent remains unchanged,
10:54.223–10:56.557
the model remains the same, the evaluator
10:56.557–10:59.610
is untouched, and the task objectives are fixed.
10:59.610–11:04.870
This RSI only modifies the outer strategy for how to continue seeking better results.
11:04.870–11:10.450
Therefore, if we interpret this as Google's AI starting to rewrite its own brain, that
11:10.450–11:12.530
would be a complete exaggeration.
11:12.530–11:15.954
Conversely, if we just view it as a cost-saving scheduler,
11:15.954–11:19.098
that underestimates what this paper truly achieves,
11:19.098–11:23.710
as the scheduling rules themselves have now become subjects for improvement.
11:24.010–11:28.170
In fact, someone on X has already asked the most critical question.
11:28.770–11:30.650
Would you call this true RSI?
11:30.930–11:34.910
This is also the question I wanted to ask most after reading this paper.
11:34.910–11:42.238
Since we spent our entire last episode trying to answer what counts as true recursive self-improvement,
11:42.238–11:45.819
we can bring back the L1 to L5 chart from last time and
11:45.819–11:48.650
use it as a yardstick to measure this RSI.
11:49.150–11:54.217
One of the most important viewpoints from that paper was that performance improvement and
11:54.217–11:57.150
recursive self-improvement are not the same thing.
11:57.150–12:00.151
A system can perform tasks increasingly well, but
12:00.151–12:04.392
if the method of self-improvement is hard-coded from the outside,
12:04.392–12:07.270
it is still one step away from true recursion.
12:07.450–12:09.357
Taking AlphaDev as an example,
12:09.357–12:14.930
its most intuitive ability is to continuously search for better programs and algorithms.
12:15.330–12:18.310
The main object of improvement is the result itself.
12:18.830–12:21.497
You get better at finding better answers, while
12:21.497–12:24.030
Darwin-inspired agents take a step further.
12:24.030–12:25.630
It doesn't just change code.
12:25.630–12:29.630
It allows the implementation of the coding agent itself to be modified.
12:29.630–12:32.830
So the object of improvement is no longer just the answer,
12:32.830–12:35.097
but the agent that generates the answer.
12:35.097–12:37.430
However, in that RSI paper from last time,
12:37.430–12:40.563
rules regarding which candidate solutions are kept and
12:40.563–12:47.310
which candidate solutions the next generation evolves from were still not part of the self-modification loop.
12:48.030–12:50.290
In other words, the agent can change,
12:50.610–12:55.010
but the rules determining where the next generation of agents should come from
12:55.010–12:57.010
have not yet entered the recursion.
12:57.010–12:59.950
Dream RSI happens to tread exactly on this boundary.
13:00.230–13:03.497
What Dream RSI leaves outside the self-modification loop
13:03.497–13:07.897
is precisely the mechanism of candidate solution maintenance and selection,
13:07.897–13:11.030
essentially where the next generation continues from.
13:11.030–13:13.763
What Dream RSI does is precisely turn this layer,
13:13.763–13:17.163
which nodes continue to branch, how many branches to create,
13:17.163–13:18.097
and when to stop,
13:18.097–13:20.830
into an object that can be replaced and improved.
13:20.830–13:23.697
It didn't modify the underlying agent, but instead
13:23.697–13:25.097
changed the outer layer,
13:25.097–13:28.430
that is, how the next round of improvement should be sought,
13:28.430–13:31.897
how many branches to continue opening from historical nodes,
13:31.897–13:32.830
and when to stop.
13:32.830–13:36.630
These elements, which originally belonged to the system designer,
13:36.630–13:39.563
have been transformed into an exploration strategy
13:39.563–13:41.897
that can be evaluated, modified, and then
13:41.897–13:43.630
carried over to the next round.
13:43.630–13:47.030
The key is that this new strategy doesn't just stay in a dream.
13:47.030–13:50.363
It directly governs the real exploration of the next round.
13:50.363–13:54.097
With a fixed strategy, each round can still continue to explore and
13:54.097–13:54.963
grow new nodes.
13:54.963–13:59.897
The real difference is that Dream RSI lets the new strategy learned in the previous round
13:59.897–14:03.790
decide where the tree grows next and how resources are allocated.
14:04.010–14:08.070
And the new exploration history feeds back into the replay simulator,
14:08.490–14:11.623
which in turn modifies the next version of the strategy.
14:11.623–14:16.366
So, if we look at it through the L1-L5 framework from that paper last time,
14:16.366–14:17.590
Dream RSI already
14:17.590–14:20.670
exhibits a very clear L5 characteristic.
14:20.670–14:25.337
The object being modified now includes the method used to generate the next round of
14:25.337–14:26.603
improvements itself.
14:26.603–14:28.950
But I must add a very important caveat.
14:28.950–14:31.330
It is an extremely narrow L5.
14:31.330–14:34.526
It does not autonomously modify the underlying model,
14:34.526–14:36.610
change the evaluator, redefine the
14:36.610–14:40.250
task, or decide which capability I should improve next.
14:40.250–14:46.050
It performs recursive improvement on the exploration mechanism within the boundaries of fixed goals,
14:46.050–14:49.117
fixed evaluation rules, and a fixed underlying agent.
14:49.117–14:50.250
In the last episode,
14:50.250–14:53.583
we actually distinguished between two types of recursion.
14:53.583–14:54.983
The first is very simple.
14:54.983–14:58.783
Is the mechanism you modified actually used again in the next round?
14:58.783–15:00.917
This is called structural recursion.
15:00.917–15:02.983
Dream RSI is very clear on this point.
15:02.983–15:07.717
The new exploration strategy enters the next round of online exploration directly.
15:07.717–15:09.783
But the harder one is the second type.
15:09.783–15:13.717
does using it actually make the successor system better at improving?
15:13.717–15:15.383
This is effective recursion.
15:15.383–15:18.117
Dream RSI provides a fairly clean contrast here.
15:18.117–15:21.183
It uses the same underlying model, the same evaluator,
15:21.183–15:24.850
and the same initial strategy as the fixed exploration baseline.
15:25.581–15:31.801
by whether the subsequent exploration strategy has been improved through dreaming. So Dream RSI's
15:31.801–15:34.698
L5 has two dimensions. It is very narrow in scope,
15:34.698–15:37.241
but in terms of the clarity of its recursive
15:37.241–15:39.533
evidence, it is not weak. Therefore,
15:39.533–15:42.861
a more accurate statement is not that true general RSI
15:42.861–15:46.808
has arrived, but rather that we have finally seen a very clean,
15:46.808–15:49.161
local example where the improvement
15:49.161–15:54.801
This also makes its relationship with AV training particularly interesting.
15:54.801–15:57.091
particularly interesting. Last time,
15:57.091–16:00.421
we discussed how AV training precipitates the results of
16:00.421–16:04.754
post-training experiments into a set of persistent research strategies and
16:04.754–16:05.821
exploration logs,
16:05.821–16:10.561
which are then modified by the meta-agent to guide the subsequent executive agents.
16:10.941–16:14.181
Doesn't that sound already very close to Dream RSI?
16:14.541–16:18.874
Neither is satisfied with just modifying the final model or the final answer.
16:18.874–16:23.741
They have begun to make the research process itself something that can be accumulated,
16:23.741–16:25.208
modified, and inherited.
16:25.208–16:28.361
However, the way both utilize history is not the same.
16:28.581–16:34.221
AVIL training is more like letting a meta-agent read past evidence to directly diagnose problems
16:34.221–16:37.673
and then modify the policy. But it adds an extra step.
16:37.673–16:40.341
Instead of just inferring a new strategy
16:40.341–16:44.773
based on history, it generates multiple candidate exploration strategies,
16:44.773–16:46.341
puts them into a historical
16:46.341–16:48.505
replay world to actually run them, and
16:48.505–16:51.481
uses the results to choose which one enters reality.
16:51.701–16:55.483
See, this is more like modifying a plan after a post-mortem review,
16:55.483–16:56.901
whereas the other is more
16:56.901–17:00.701
like putting multiple new plans back into a sandbox for simulation.
17:00.701–17:01.834
This brings us right
17:01.834–17:02.901
back to the figure.
17:02.901–17:06.501
The authors actually specifically tried the more direct path of
17:06.501–17:09.301
summarizing history into semantic guidance, but
17:09.301–17:12.234
the results were worse. Therefore, the most special
17:12.234–17:15.301
thing about JRSI is not just that it preserves history,
17:15.301–17:17.434
but that it lets candidate strategies
17:17.434–17:19.234
re-experience history and then
17:19.234–17:22.768
uses the outcomes of that experience to make a choice. Perhaps a
17:22.768–17:28.101
truly powerful self-improving system in the future will not choose just one of these, but might
17:28.101–17:32.101
simultaneously distill experience into high-level strategies while
17:32.101–17:33.834
retaining a sufficiently rich
17:33.834–17:35.368
set of historical events so
17:35.368–17:38.701
these strategies can be retested at any time. At that point,
17:38.701–17:42.634
memory will no longer just be the model knowing what it has done before,
17:42.634–17:45.301
but will start to become a past that can be rerun.
17:45.301–17:48.761
Speaking of which, there is one final question.
17:49.461–17:52.530
Why did the authors choose to call this dream?
17:52.530–17:55.841
As we mentioned earlier, Dream RSI does not train
17:55.841–17:58.443
a world model in the traditional sense, but
17:58.443–18:01.841
it borrows the same intuition. Real-world interaction
18:01.841–18:03.037
is too expensive, so
18:03.037–18:07.961
can we turn past experiences into an internal environment for continued learning?
18:09.001–18:11.476
Dream RSI borrows this line of thinking, but
18:11.476–18:14.821
the object it simulates is different. It does not attempt to
18:14.821–18:17.354
learn a complete external world, but instead
18:17.354–18:20.021
preserves how it explored this world in the past
18:20.021–18:22.621
and what happened during each exploration. So
18:22.621–18:25.288
I think the truly interesting part of this paper
18:25.288–18:28.321
is that the world here has quietly changed its target.
18:28.561–18:30.494
In the past, we were more concerned
18:30.494–18:32.294
with how the world would change.
18:32.294–18:34.181
But Dream RSI starts to care about
18:34.181–18:36.781
how I personally sought out changes in the past
18:36.781–18:40.114
and what would happen if I used a different way of searching.
18:40.114–18:42.941
Of course, today's Dream RSI is still very far
18:42.941–18:44.741
from being a superintelligence
18:44.741–18:46.941
that can improve itself indefinitely.
18:46.941–18:49.941
Its model hasn't changed, its goals haven't changed,
18:49.941–18:52.874
and the rules evaluating it haven't changed either.
18:52.874–18:57.074
Even the dreams it can have are limited to the past it has truly experienced.
18:57.761–19:02.361
But something that used to be set in stone has started to shift.
19:03.021–19:05.554
It's not about what the next answer should be,
19:05.741–19:09.261
but rather how I should find a way to improve myself next time.
19:09.261–19:11.375
When the answer to this question also
19:11.375–19:14.581
starts to be modified and verified by the machine itself
19:14.581–19:16.114
to be used in the next round,
19:16.341–19:20.721
the most noteworthy part of recursive self-improvement may have just begun.
19:20.721–19:24.002
Alright, that's all for today's content. Please like,
19:24.002–19:26.141
share, and subscribe to my channel.
19:26.301–19:28.301
If you'd like to support me further,
19:28.301–19:31.501
feel free to join my membership. The cost of a cup of coffee
19:31.501–19:33.768
each month not only supports me, but also
19:33.768–19:36.768
helps me continue creating more content related to AI
19:36.768–19:39.000
and technology. Alright, thanks for watching, and
0:00.000–0:01.710
When sharing this paper,
When sharing this paper,
0:01.710–0:07.573
Google's Subham Sahu wrote that for an agent to achieve recursive self-improvement,
Google's Subham Sahu wrote that for an agent to achieve recursive self-improvement,
0:07.573–0:09.120
it must learn to dream.
it must learn to dream.
0:09.640–0:11.707
History is the event of its dreaming.
History is the event of its dreaming.
0:12.220–0:15.007
Well, this sounds like science fiction, but
Well, this sounds like science fiction, but
0:15.007–0:20.280
what this paper actually does is more practical than the term dreaming might imply.
what this paper actually does is more practical than the term dreaming might imply.
0:20.800–0:22.180
Why do humans dream?
Why do humans dream?
0:22.800–0:25.800
Because what happened during the day is already over,
Because what happened during the day is already over,
0:26.220–0:30.320
but at night, the brain replays and recombines those experiences.
but at night, the brain replays and recombines those experiences.
0:30.940–0:33.740
We don't need to actually relive the same day,
We don't need to actually relive the same day,
0:34.140–0:37.273
but we might discover new connections in these replays,
but we might discover new connections in these replays,
0:37.273–0:40.007
or even change how we make decisions the next day.
or even change how we make decisions the next day.
0:40.007–0:42.022
Now, a research team from Google and
Now, a research team from Google and
0:42.022–0:45.880
Google DeepMind has brought a very similar idea into AI.
Google DeepMind has brought a very similar idea into AI.
0:46.240–0:48.056
The paper is called Dream RSI,
The paper is called Dream RSI,
0:48.056–0:51.760
Recursive Self-Improvement Based on Evolutionary Worlds.
Recursive Self-Improvement Based on Evolutionary Worlds.
0:51.760–0:55.826
The system it proposes explores a real environment during the day,
The system it proposes explores a real environment during the day,
0:55.826–0:59.020
writing actual code, compiling, and running tests.
writing actual code, compiling, and running tests.
0:59.460–1:00.660
But in the next round,
But in the next round,
1:00.660–1:03.460
it doesn't repeat all those expensive processes.
it doesn't repeat all those expensive processes.
1:03.460–1:08.100
Instead, it turns past explorations into a dream world that can be revisited.
Instead, it turns past explorations into a dream world that can be revisited.
1:08.300–1:12.690
In this world, it can ask, what if I hadn't kept digging down this path,
In this world, it can ask, what if I hadn't kept digging down this path,
1:12.690–1:14.960
but had changed direction earlier?
but had changed direction earlier?
1:15.160–1:19.160
What if, instead of running four processes at once, I ran eight?
What if, instead of running four processes at once, I ran eight?
1:19.160–1:22.760
If there has been no improvement for several consecutive steps,
If there has been no improvement for several consecutive steps,
1:22.760–1:24.427
should I have stopped sooner?
should I have stopped sooner?
1:24.427–1:27.840
It doesn't regenerate the code or rerun all the experiments.
It doesn't regenerate the code or rerun all the experiments.
1:28.560–1:30.760
Many results have already happened and
Many results have already happened and
1:30.760–1:33.227
are embedded in the history of exploration.
are embedded in the history of exploration.
1:33.320–1:37.152
What the AI does is try different exploration methods over and
What the AI does is try different exploration methods over and
1:37.152–1:38.920
over within that past world.
over within that past world.
1:39.620–1:43.960
Then it brings the better strategies found in the dream back to reality.
Then it brings the better strategies found in the dream back to reality.
1:44.280–1:47.080
New strategies produce new exploration history.
New strategies produce new exploration history.
1:47.080–1:49.080
New history becomes new dreams, and
New history becomes new dreams, and
1:49.080–1:52.480
new dreams modify the exploration method for the next round.
new dreams modify the exploration method for the next round.
1:52.480–1:54.940
This is why the authors call it RSI.
This is why the authors call it RSI.
1:57.203–2:02.028
But the really interesting question here isn't the dreaming metaphor itself,
But the really interesting question here isn't the dreaming metaphor itself,
2:02.028–2:04.733
but what actually changes after it wakes up?
but what actually changes after it wakes up?
2:07.026–2:12.179
And this is exactly where Dream RSI sets itself apart from AlphaCode,
And this is exactly where Dream RSI sets itself apart from AlphaCode,
2:12.179–2:14.756
Godel Machines, and AI Scientist.
Godel Machines, and AI Scientist.
2:15.196–2:16.407
In the last episode,
In the last episode,
2:16.407–2:19.896
we asked what counts as true recursive self-improvement,
we asked what counts as true recursive self-improvement,
2:20.196–2:21.416
and in this episode,
and in this episode,
2:21.416–2:24.716
a real system has emerged that we can actually examine.
a real system has emerged that we can actually examine.
2:24.956–2:27.889
All right, let's put the dreams aside for a moment and
All right, let's put the dreams aside for a moment and
2:27.889–2:30.023
look at what it's doing during the day.
look at what it's doing during the day.
2:30.023–2:34.356
Many automated discovery systems already look like they are self-evolving,
Many automated discovery systems already look like they are self-evolving,
2:34.416–2:37.949
Like a coding agent that keeps generating candidate programs,
Like a coding agent that keeps generating candidate programs,
2:38.276–2:40.056
an evaluator that scores them,
an evaluator that scores them,
2:40.336–2:44.269
and then the system keeping the better results to continue iterating.
and then the system keeping the better results to continue iterating.
2:44.269–2:48.069
But there are actually two completely different jobs mixed up here.
But there are actually two completely different jobs mixed up here.
2:48.416–2:50.936
Imagine a research team with two people.
Imagine a research team with two people.
2:51.436–2:54.525
One performs the experiments, writes the code,
One performs the experiments, writes the code,
2:54.525–2:56.456
runs tests, and gets results,
runs tests, and gets results,
2:56.456–2:59.789
while the other doesn't necessarily get their hands dirty.
while the other doesn't necessarily get their hands dirty.
3:00.316–3:03.116
They are responsible for deciding what to do next,
They are responsible for deciding what to do next,
3:03.116–3:05.316
such as which path is worth continuing,
such as which path is worth continuing,
3:05.316–3:08.376
which should be stopped, and where resources should
which should be stopped, and where resources should
3:08.376–3:13.976
be invested. Systems like AlphaEvo make it very easy to get the feeling that as the program gets
be invested. Systems like AlphaEvo make it very easy to get the feeling that as the program gets
3:13.976–3:16.247
stronger generation by generation,
stronger generation by generation,
3:16.247–3:20.056
it seems like the AI is already improving itself. But if we zoom
it seems like the AI is already improving itself. But if we zoom
3:20.056–3:22.246
out a little, we see a problem. While
out a little, we see a problem. While
3:22.246–3:25.896
the underlying code can change and which results to keep can
the underlying code can change and which results to keep can
3:25.896–3:29.939
change, the second type of work, how to explore the next steps,
change, the second type of work, how to explore the next steps,
3:29.939–3:32.116
is often still pre-designed. For
is often still pre-designed. For
3:32.116–3:34.758
For example, from which node to continue,
For example, from which node to continue,
3:34.758–3:37.476
how many branches to open simultaneously,
how many branches to open simultaneously,
3:37.476–3:40.676
and after how many attempts to abandon a direction.
and after how many attempts to abandon a direction.
3:40.676–3:43.809
These rules usually don't evolve along with the system.
These rules usually don't evolve along with the system.
3:43.809–3:45.496
What about Dream RSI?
What about Dream RSI?
3:45.496–3:50.736
It specifically targets the person responsible for deciding what to do next.
It specifically targets the person responsible for deciding what to do next.
3:50.736–3:53.306
Dream RSI separates this layer, and
Dream RSI separates this layer, and
3:53.306–3:57.676
its real-world exploration continuously grows a discovery
its real-world exploration continuously grows a discovery
3:57.676–3:58.676
tree.
tree.
3:58.676–4:03.516
Every node on the tree corresponds to a real attempt that has taken place, such as what
Every node on the tree corresponds to a real attempt that has taken place, such as what
4:03.516–4:06.116
solution the model generated in what context,
solution the model generated in what context,
4:06.116–4:08.583
whether the code could run, and what results
whether the code could run, and what results
4:08.583–4:10.276
the evaluator gave.
the evaluator gave.
4:10.276–4:11.943
All of this has been recorded.
All of this has been recorded.
4:11.943–4:16.896
The outer exploration strategy only needs to answer a few very simple questions, like
The outer exploration strategy only needs to answer a few very simple questions, like
4:16.896–4:19.096
from which node should we continue now?
from which node should we continue now?
4:19.096–4:21.116
Should we start a new path?
Should we start a new path?
4:21.116–4:24.116
How many directions should we pursue in parallel?
How many directions should we pursue in parallel?
4:24.116–4:25.249
When should we stop?
When should we stop?
4:25.249–4:26.516
Let's look at figure 2,
Let's look at figure 2,
4:26.516–4:30.516
which is the most important figure for understanding the entire paper.
which is the most important figure for understanding the entire paper.
4:30.516–4:35.249
You can think of this tree in the middle as the maze that the AI actually walked through
You can think of this tree in the middle as the maze that the AI actually walked through
4:35.249–4:35.916
yesterday.
yesterday.
4:35.916–4:38.983
Every node that is lit up is a place it actually visited,
Every node that is lit up is a place it actually visited,
4:38.983–4:40.916
and the results are already known.
and the results are already known.
4:40.916–4:42.164
So the question is,
So the question is,
4:42.164–4:46.976
if I want to compare two new exploration strategies today, must I make
if I want to compare two new exploration strategies today, must I make
4:46.976–4:50.116
the AI walk through the maze twice from the beginning?
the AI walk through the maze twice from the beginning?
4:50.116–4:53.416
In the past, that was basically the only way.
In the past, that was basically the only way.
4:53.416–4:58.136
Because you could only know if a new strategy was good by actually running it again.
Because you could only know if a new strategy was good by actually running it again.
4:58.136–5:01.736
But Dream RSI's answer is, not necessarily.
But Dream RSI's answer is, not necessarily.
5:01.736–5:04.536
Since it has already walked through it yesterday,
Since it has already walked through it yesterday,
5:04.536–5:07.069
and what happened at each node has been saved,
and what happened at each node has been saved,
5:07.069–5:11.196
a new strategy can completely walk through this historical tree first.
a new strategy can completely walk through this historical tree first.
5:11.196–5:14.422
It might go left first, it might turn right sooner,
It might go left first, it might turn right sooner,
5:14.422–5:16.496
or it might just take three steps
or it might just take three steps
5:16.496–5:17.696
and stop.
and stop.
5:17.696–5:20.730
As long as he visits nodes that have truly occurred,
As long as he visits nodes that have truly occurred,
5:20.730–5:22.776
the simulator can directly reveal
the simulator can directly reveal
5:22.776–5:25.916
the actual results from that time.
the actual results from that time.
5:25.916–5:29.271
The key shift here isn't just remembering history,
The key shift here isn't just remembering history,
5:29.271–5:31.456
but rather turning history from a
but rather turning history from a
5:31.456–5:34.496
log into a re-enterable event.
log into a re-enterable event.
5:34.496–5:37.836
Now, there is a common misunderstanding here.
Now, there is a common misunderstanding here.
5:37.836–5:41.385
Dream RSI does not train a new world model first and
Dream RSI does not train a new world model first and
5:41.385–5:43.836
then have it approximate reality.
then have it approximate reality.
5:43.836–5:49.176
For Dream RSI, the history that has already played out serves as the playback simulator
For Dream RSI, the history that has already played out serves as the playback simulator
5:49.176–5:50.176
itself.
itself.
5:50.176–5:52.509
Thus, its dreams are quite conservative.
Thus, its dreams are quite conservative.
5:52.509–5:55.376
It isn't predicting events that haven't happened,
It isn't predicting events that haven't happened,
5:55.376–5:57.976
but re-entering events that truly took place.
but re-entering events that truly took place.
5:57.976–6:01.356
Strictly speaking, this world has a clear boundary.
Strictly speaking, this world has a clear boundary.
6:01.356–6:04.736
It can only dream of places it has actually experienced.
It can only dream of places it has actually experienced.
6:04.736–6:08.936
It cannot know the results of unexplored branches out of thin air.
It cannot know the results of unexplored branches out of thin air.
6:08.936–6:12.496
This is precisely both its advantage and its limitation.
This is precisely both its advantage and its limitation.
6:12.496–6:17.363
The advantage is that real executions that have already occurred don't require paying
The advantage is that real executions that have already occurred don't require paying
6:17.363–6:19.696
for expensive online exploration again,
for expensive online exploration again,
6:19.696–6:23.429
supporting a large volume of rapid offline strategy comparisons.
supporting a large volume of rapid offline strategy comparisons.
6:23.429–6:27.296
The limitation is that if the first round of real exploration is poor,
The limitation is that if the first round of real exploration is poor,
6:27.296–6:28.896
with almost no high-quality
with almost no high-quality
6:28.896–6:30.363
paths in the history tree,
paths in the history tree,
6:30.363–6:34.096
the subsequent dreams won't conjure up a good event out of nothing.
the subsequent dreams won't conjure up a good event out of nothing.
6:34.096–6:35.943
So the way it truly loops is this.
So the way it truly loops is this.
6:35.943–6:40.316
Reality provides a portion of the world. Dreams in this
Reality provides a portion of the world. Dreams in this
6:40.316–6:43.362
world find better exploration strategies, and
world find better exploration strategies, and
6:43.362–6:46.256
new strategies return to reality to traverse
new strategies return to reality to traverse
6:46.256–6:50.196
new nodes, which then expand the next round of dreams.
new nodes, which then expand the next round of dreams.
6:50.196–6:53.936
This is the evolving world mentioned in the paper's title.
This is the evolving world mentioned in the paper's title.
6:53.936–6:57.136
The world isn't built once and left unchanged.
The world isn't built once and left unchanged.
6:57.136–7:00.345
It expands continuously alongside real exploration,
It expands continuously alongside real exploration,
7:00.345–7:02.856
and the exploration strategy evolves with
and the exploration strategy evolves with
7:02.856–7:03.856
the world.
the world.
7:03.856–7:10.076
This is much more interesting than simply summarizing historical experience into a few sentences.
This is much more interesting than simply summarizing historical experience into a few sentences.
7:10.076–7:14.476
The authors actually tested another, seemingly simpler method.
The authors actually tested another, seemingly simpler method.
7:14.476–7:17.876
Since we already know which directions succeeded or failed,
Since we already know which directions succeeded or failed,
7:17.876–7:19.676
why not let a model summarize the
why not let a model summarize the
7:19.676–7:23.543
lessons and inject these suggestions into the next round of prompts?
lessons and inject these suggestions into the next round of prompts?
7:24.611–7:26.841
However, the results weren't good.
However, the results weren't good.
7:27.461–7:28.781
Let's look at Figure 5.
Let's look at Figure 5.
7:29.281–7:32.745
After adding the guidance, performance actually worsened,
After adding the guidance, performance actually worsened,
7:32.745–7:35.461
regardless of whether RSI was originally used.
regardless of whether RSI was originally used.
7:35.701–7:39.364
This is worth pondering, because remembering the past and
This is worth pondering, because remembering the past and
7:39.364–7:41.981
utilizing the past are not the same thing.
utilizing the past are not the same thing.
7:42.141–7:50.301
Compressing history into a single best thing to do is equivalent to imposing a predetermined shared direction on all subsequent exploration.
Compressing history into a single best thing to do is equivalent to imposing a predetermined shared direction on all subsequent exploration.
7:50.301–7:52.438
It could be helpful, but it might also
It could be helpful, but it might also
7:52.438–7:54.644
constrain the search space too early,
constrain the search space too early,
7:54.644–7:58.781
excluding many unconventional paths that should have been preserved.
excluding many unconventional paths that should have been preserved.
7:59.061–8:00.394
Dream RSI is different.
Dream RSI is different.
8:00.394–8:04.128
It doesn't tell the AI up front which experience is most important.
It doesn't tell the AI up front which experience is most important.
8:04.201–8:06.001
It simply preserves that world,
It simply preserves that world,
8:06.001–8:09.468
allowing different strategies to explore it for themselves.
allowing different strategies to explore it for themselves.
8:09.468–8:14.534
I think the most interesting takeaway from this paper isn't that AI can learn from history,
I think the most interesting takeaway from this paper isn't that AI can learn from history,
8:14.921–8:21.361
but rather that perhaps truly valuable experience isn't about summarizing the past into a single instruction,
but rather that perhaps truly valuable experience isn't about summarizing the past into a single instruction,
8:21.841–8:25.041
but about preserving a past that can be re-experienced.
but about preserving a past that can be re-experienced.
8:25.201–8:28.131
If Dream RSI only ends up saving a few API calls,
If Dream RSI only ends up saving a few API calls,
8:28.131–8:30.761
then it's not actually that interesting.
then it's not actually that interesting.
8:31.301–8:36.768
What's truly worth looking at is whether it changes the actual exploration process that follows.
What's truly worth looking at is whether it changes the actual exploration process that follows.
8:36.768–8:40.434
The authors conducted experiments in algorithmic engineering,
The authors conducted experiments in algorithmic engineering,
8:40.434–8:42.568
mathematical optimization, and GPU.
mathematical optimization, and GPU.
8:42.568–8:43.768
Kernel engineering.
Kernel engineering.
8:43.768–8:45.434
There are a lot of numbers, but
There are a lot of numbers, but
8:45.434–8:47.701
I think only a few are worth remembering.
I think only a few are worth remembering.
8:47.701–8:48.901
The first set is cost.
The first set is cost.
8:48.901–8:51.168
In the Lowell algorithm discovery task,
In the Lowell algorithm discovery task,
8:51.168–8:55.921
one of the most striking figures in the paper is a maximum call gap of about 162 times.
one of the most striking figures in the paper is a maximum call gap of about 162 times.
8:56.181–8:59.048
However, this figure cannot be taken in isolation.
However, this figure cannot be taken in isolation.
8:59.141–9:04.121
Dream RSI uses Gemini 1.5 Flash, while Simpletext uses GPT-40.
Dream RSI uses Gemini 1.5 Flash, while Simpletext uses GPT-40.
9:04.121–9:08.388
A much cleaner comparison is the head-to-head control between Dream RSI and
A much cleaner comparison is the head-to-head control between Dream RSI and
9:08.388–9:11.521
recursive fixed exploration using the same base model.
recursive fixed exploration using the same base model.
9:11.561–9:14.494
However, I am more concerned with another question.
However, I am more concerned with another question.
9:14.561–9:17.881
If we search so much less, will the results get worse?
If we search so much less, will the results get worse?
9:18.041–9:21.161
The paper does not show this kind of simple trade-off.
The paper does not show this kind of simple trade-off.
9:21.541–9:25.808
On some tasks, it achieves comparable performance with fewer generations,
On some tasks, it achieves comparable performance with fewer generations,
9:25.861–9:26.794
while on others,
while on others,
9:26.794–9:30.261
it achieves even higher performance within a similar budget.
it achieves even higher performance within a similar budget.
9:30.261–9:34.941
Curil BCH is a great example to illustrate these two different types of gains.
Curil BCH is a great example to illustrate these two different types of gains.
9:34.941–9:40.381
VGG16 and LayerNorm show a better sense of when enough is enough,
VGG16 and LayerNorm show a better sense of when enough is enough,
9:40.381–9:44.314
essentially achieving similar performance with fewer generations.
essentially achieving similar performance with fewer generations.
9:45.360–9:48.480
Meanwhile, Conv and CX show a better sense of when
Meanwhile, Conv and CX show a better sense of when
9:48.480–9:53.350
not to stop, meaning they push performance further within a similar budget.
not to stop, meaning they push performance further within a similar budget.
9:54.130–9:58.810
This leads to what I consider the most elegant behavioral chart in the entire paper.
This leads to what I consider the most elegant behavioral chart in the entire paper.
9:59.050–10:00.983
Let's look at this chart together.
Let's look at this chart together.
10:01.270–10:09.330
The strategy learned by Dream RSI isn't a simple rule like always do less or always branch out more.
The strategy learned by Dream RSI isn't a simple rule like always do less or always branch out more.
10:09.330–10:12.295
When performance improvements are steady early on,
When performance improvements are steady early on,
10:12.295–10:14.250
it reduces the number of attempts.
it reduces the number of attempts.
10:14.250–10:19.510
But when performance hits a plateau, it expands its exploration again.
But when performance hits a plateau, it expands its exploration again.
10:19.510–10:23.810
In other words, it has learned a dynamic exploration rhythm.
In other words, it has learned a dynamic exploration rhythm.
10:23.810–10:26.410
Don't waste your budget casting a wide net when
Don't waste your budget casting a wide net when
10:26.410–10:28.410
things are going well, but don't get
things are going well, but don't get
10:28.410–10:30.677
stuck on the same path when you hit a wall.
stuck on the same path when you hit a wall.
10:30.677–10:34.222
This is more important than the 162 token count because
This is more important than the 162 token count because
10:34.222–10:36.710
it shows that RSI ultimately changes
it shows that RSI ultimately changes
10:36.710–10:39.741
not just how much compute a single task uses, but
not just how much compute a single task uses, but
10:39.741–10:42.090
how compute is allocated for the next
how compute is allocated for the next
10:42.090–10:43.490
exploration.
exploration.
10:43.490–10:48.157
This is why the authors place it within the context of recursive self-improvement.
This is why the authors place it within the context of recursive self-improvement.
10:48.157–10:51.490
However, we must clearly define the boundaries.
However, we must clearly define the boundaries.
10:51.490–10:54.223
The underlying coding agent remains unchanged,
The underlying coding agent remains unchanged,
10:54.223–10:56.557
the model remains the same, the evaluator
the model remains the same, the evaluator
10:56.557–10:59.610
is untouched, and the task objectives are fixed.
is untouched, and the task objectives are fixed.
10:59.610–11:04.870
This RSI only modifies the outer strategy for how to continue seeking better results.
This RSI only modifies the outer strategy for how to continue seeking better results.
11:04.870–11:10.450
Therefore, if we interpret this as Google's AI starting to rewrite its own brain, that
Therefore, if we interpret this as Google's AI starting to rewrite its own brain, that
11:10.450–11:12.530
would be a complete exaggeration.
would be a complete exaggeration.
11:12.530–11:15.954
Conversely, if we just view it as a cost-saving scheduler,
Conversely, if we just view it as a cost-saving scheduler,
11:15.954–11:19.098
that underestimates what this paper truly achieves,
that underestimates what this paper truly achieves,
11:19.098–11:23.710
as the scheduling rules themselves have now become subjects for improvement.
as the scheduling rules themselves have now become subjects for improvement.
11:24.010–11:28.170
In fact, someone on X has already asked the most critical question.
In fact, someone on X has already asked the most critical question.
11:28.770–11:30.650
Would you call this true RSI?
Would you call this true RSI?
11:30.930–11:34.910
This is also the question I wanted to ask most after reading this paper.
This is also the question I wanted to ask most after reading this paper.
11:34.910–11:42.238
Since we spent our entire last episode trying to answer what counts as true recursive self-improvement,
Since we spent our entire last episode trying to answer what counts as true recursive self-improvement,
11:42.238–11:45.819
we can bring back the L1 to L5 chart from last time and
we can bring back the L1 to L5 chart from last time and
11:45.819–11:48.650
use it as a yardstick to measure this RSI.
use it as a yardstick to measure this RSI.
11:49.150–11:54.217
One of the most important viewpoints from that paper was that performance improvement and
One of the most important viewpoints from that paper was that performance improvement and
11:54.217–11:57.150
recursive self-improvement are not the same thing.
recursive self-improvement are not the same thing.
11:57.150–12:00.151
A system can perform tasks increasingly well, but
A system can perform tasks increasingly well, but
12:00.151–12:04.392
if the method of self-improvement is hard-coded from the outside,
if the method of self-improvement is hard-coded from the outside,
12:04.392–12:07.270
it is still one step away from true recursion.
it is still one step away from true recursion.
12:07.450–12:09.357
Taking AlphaDev as an example,
Taking AlphaDev as an example,
12:09.357–12:14.930
its most intuitive ability is to continuously search for better programs and algorithms.
its most intuitive ability is to continuously search for better programs and algorithms.
12:15.330–12:18.310
The main object of improvement is the result itself.
The main object of improvement is the result itself.
12:18.830–12:21.497
You get better at finding better answers, while
You get better at finding better answers, while
12:21.497–12:24.030
Darwin-inspired agents take a step further.
Darwin-inspired agents take a step further.
12:24.030–12:25.630
It doesn't just change code.
It doesn't just change code.
12:25.630–12:29.630
It allows the implementation of the coding agent itself to be modified.
It allows the implementation of the coding agent itself to be modified.
12:29.630–12:32.830
So the object of improvement is no longer just the answer,
So the object of improvement is no longer just the answer,
12:32.830–12:35.097
but the agent that generates the answer.
but the agent that generates the answer.
12:35.097–12:37.430
However, in that RSI paper from last time,
However, in that RSI paper from last time,
12:37.430–12:40.563
rules regarding which candidate solutions are kept and
rules regarding which candidate solutions are kept and
12:40.563–12:47.310
which candidate solutions the next generation evolves from were still not part of the self-modification loop.
which candidate solutions the next generation evolves from were still not part of the self-modification loop.
12:48.030–12:50.290
In other words, the agent can change,
In other words, the agent can change,
12:50.610–12:55.010
but the rules determining where the next generation of agents should come from
but the rules determining where the next generation of agents should come from
12:55.010–12:57.010
have not yet entered the recursion.
have not yet entered the recursion.
12:57.010–12:59.950
Dream RSI happens to tread exactly on this boundary.
Dream RSI happens to tread exactly on this boundary.
13:00.230–13:03.497
What Dream RSI leaves outside the self-modification loop
What Dream RSI leaves outside the self-modification loop
13:03.497–13:07.897
is precisely the mechanism of candidate solution maintenance and selection,
is precisely the mechanism of candidate solution maintenance and selection,
13:07.897–13:11.030
essentially where the next generation continues from.
essentially where the next generation continues from.
13:11.030–13:13.763
What Dream RSI does is precisely turn this layer,
What Dream RSI does is precisely turn this layer,
13:13.763–13:17.163
which nodes continue to branch, how many branches to create,
which nodes continue to branch, how many branches to create,
13:17.163–13:18.097
and when to stop,
and when to stop,
13:18.097–13:20.830
into an object that can be replaced and improved.
into an object that can be replaced and improved.
13:20.830–13:23.697
It didn't modify the underlying agent, but instead
It didn't modify the underlying agent, but instead
13:23.697–13:25.097
changed the outer layer,
changed the outer layer,
13:25.097–13:28.430
that is, how the next round of improvement should be sought,
that is, how the next round of improvement should be sought,
13:28.430–13:31.897
how many branches to continue opening from historical nodes,
how many branches to continue opening from historical nodes,
13:31.897–13:32.830
and when to stop.
and when to stop.
13:32.830–13:36.630
These elements, which originally belonged to the system designer,
These elements, which originally belonged to the system designer,
13:36.630–13:39.563
have been transformed into an exploration strategy
have been transformed into an exploration strategy
13:39.563–13:41.897
that can be evaluated, modified, and then
that can be evaluated, modified, and then
13:41.897–13:43.630
carried over to the next round.
carried over to the next round.
13:43.630–13:47.030
The key is that this new strategy doesn't just stay in a dream.
The key is that this new strategy doesn't just stay in a dream.
13:47.030–13:50.363
It directly governs the real exploration of the next round.
It directly governs the real exploration of the next round.
13:50.363–13:54.097
With a fixed strategy, each round can still continue to explore and
With a fixed strategy, each round can still continue to explore and
13:54.097–13:54.963
grow new nodes.
grow new nodes.
13:54.963–13:59.897
The real difference is that Dream RSI lets the new strategy learned in the previous round
The real difference is that Dream RSI lets the new strategy learned in the previous round
13:59.897–14:03.790
decide where the tree grows next and how resources are allocated.
decide where the tree grows next and how resources are allocated.
14:04.010–14:08.070
And the new exploration history feeds back into the replay simulator,
And the new exploration history feeds back into the replay simulator,
14:08.490–14:11.623
which in turn modifies the next version of the strategy.
which in turn modifies the next version of the strategy.
14:11.623–14:16.366
So, if we look at it through the L1-L5 framework from that paper last time,
So, if we look at it through the L1-L5 framework from that paper last time,
14:16.366–14:17.590
Dream RSI already
Dream RSI already
14:17.590–14:20.670
exhibits a very clear L5 characteristic.
exhibits a very clear L5 characteristic.
14:20.670–14:25.337
The object being modified now includes the method used to generate the next round of
The object being modified now includes the method used to generate the next round of
14:25.337–14:26.603
improvements itself.
improvements itself.
14:26.603–14:28.950
But I must add a very important caveat.
But I must add a very important caveat.
14:28.950–14:31.330
It is an extremely narrow L5.
It is an extremely narrow L5.
14:31.330–14:34.526
It does not autonomously modify the underlying model,
It does not autonomously modify the underlying model,
14:34.526–14:36.610
change the evaluator, redefine the
change the evaluator, redefine the
14:36.610–14:40.250
task, or decide which capability I should improve next.
task, or decide which capability I should improve next.
14:40.250–14:46.050
It performs recursive improvement on the exploration mechanism within the boundaries of fixed goals,
It performs recursive improvement on the exploration mechanism within the boundaries of fixed goals,
14:46.050–14:49.117
fixed evaluation rules, and a fixed underlying agent.
fixed evaluation rules, and a fixed underlying agent.
14:49.117–14:50.250
In the last episode,
In the last episode,
14:50.250–14:53.583
we actually distinguished between two types of recursion.
we actually distinguished between two types of recursion.
14:53.583–14:54.983
The first is very simple.
The first is very simple.
14:54.983–14:58.783
Is the mechanism you modified actually used again in the next round?
Is the mechanism you modified actually used again in the next round?
14:58.783–15:00.917
This is called structural recursion.
This is called structural recursion.
15:00.917–15:02.983
Dream RSI is very clear on this point.
Dream RSI is very clear on this point.
15:02.983–15:07.717
The new exploration strategy enters the next round of online exploration directly.
The new exploration strategy enters the next round of online exploration directly.
15:07.717–15:09.783
But the harder one is the second type.
But the harder one is the second type.
15:09.783–15:13.717
does using it actually make the successor system better at improving?
does using it actually make the successor system better at improving?
15:13.717–15:15.383
This is effective recursion.
This is effective recursion.
15:15.383–15:18.117
Dream RSI provides a fairly clean contrast here.
Dream RSI provides a fairly clean contrast here.
15:18.117–15:21.183
It uses the same underlying model, the same evaluator,
It uses the same underlying model, the same evaluator,
15:21.183–15:24.850
and the same initial strategy as the fixed exploration baseline.
and the same initial strategy as the fixed exploration baseline.
15:25.581–15:31.801
by whether the subsequent exploration strategy has been improved through dreaming. So Dream RSI's
by whether the subsequent exploration strategy has been improved through dreaming. So Dream RSI's
15:31.801–15:34.698
L5 has two dimensions. It is very narrow in scope,
L5 has two dimensions. It is very narrow in scope,
15:34.698–15:37.241
but in terms of the clarity of its recursive
but in terms of the clarity of its recursive
15:37.241–15:39.533
evidence, it is not weak. Therefore,
evidence, it is not weak. Therefore,
15:39.533–15:42.861
a more accurate statement is not that true general RSI
a more accurate statement is not that true general RSI
15:42.861–15:46.808
has arrived, but rather that we have finally seen a very clean,
has arrived, but rather that we have finally seen a very clean,
15:46.808–15:49.161
local example where the improvement
local example where the improvement
15:49.161–15:54.801
This also makes its relationship with AV training particularly interesting.
This also makes its relationship with AV training particularly interesting.
15:54.801–15:57.091
particularly interesting. Last time,
particularly interesting. Last time,
15:57.091–16:00.421
we discussed how AV training precipitates the results of
we discussed how AV training precipitates the results of
16:00.421–16:04.754
post-training experiments into a set of persistent research strategies and
post-training experiments into a set of persistent research strategies and
16:04.754–16:05.821
exploration logs,
exploration logs,
16:05.821–16:10.561
which are then modified by the meta-agent to guide the subsequent executive agents.
which are then modified by the meta-agent to guide the subsequent executive agents.
16:10.941–16:14.181
Doesn't that sound already very close to Dream RSI?
Doesn't that sound already very close to Dream RSI?
16:14.541–16:18.874
Neither is satisfied with just modifying the final model or the final answer.
Neither is satisfied with just modifying the final model or the final answer.
16:18.874–16:23.741
They have begun to make the research process itself something that can be accumulated,
They have begun to make the research process itself something that can be accumulated,
16:23.741–16:25.208
modified, and inherited.
modified, and inherited.
16:25.208–16:28.361
However, the way both utilize history is not the same.
However, the way both utilize history is not the same.
16:28.581–16:34.221
AVIL training is more like letting a meta-agent read past evidence to directly diagnose problems
AVIL training is more like letting a meta-agent read past evidence to directly diagnose problems
16:34.221–16:37.673
and then modify the policy. But it adds an extra step.
and then modify the policy. But it adds an extra step.
16:37.673–16:40.341
Instead of just inferring a new strategy
Instead of just inferring a new strategy
16:40.341–16:44.773
based on history, it generates multiple candidate exploration strategies,
based on history, it generates multiple candidate exploration strategies,
16:44.773–16:46.341
puts them into a historical
puts them into a historical
16:46.341–16:48.505
replay world to actually run them, and
replay world to actually run them, and
16:48.505–16:51.481
uses the results to choose which one enters reality.
uses the results to choose which one enters reality.
16:51.701–16:55.483
See, this is more like modifying a plan after a post-mortem review,
See, this is more like modifying a plan after a post-mortem review,
16:55.483–16:56.901
whereas the other is more
whereas the other is more
16:56.901–17:00.701
like putting multiple new plans back into a sandbox for simulation.
like putting multiple new plans back into a sandbox for simulation.
17:00.701–17:01.834
This brings us right
This brings us right
17:01.834–17:02.901
back to the figure.
back to the figure.
17:02.901–17:06.501
The authors actually specifically tried the more direct path of
The authors actually specifically tried the more direct path of
17:06.501–17:09.301
summarizing history into semantic guidance, but
summarizing history into semantic guidance, but
17:09.301–17:12.234
the results were worse. Therefore, the most special
the results were worse. Therefore, the most special
17:12.234–17:15.301
thing about JRSI is not just that it preserves history,
thing about JRSI is not just that it preserves history,
17:15.301–17:17.434
but that it lets candidate strategies
but that it lets candidate strategies
17:17.434–17:19.234
re-experience history and then
re-experience history and then
17:19.234–17:22.768
uses the outcomes of that experience to make a choice. Perhaps a
uses the outcomes of that experience to make a choice. Perhaps a
17:22.768–17:28.101
truly powerful self-improving system in the future will not choose just one of these, but might
truly powerful self-improving system in the future will not choose just one of these, but might
17:28.101–17:32.101
simultaneously distill experience into high-level strategies while
simultaneously distill experience into high-level strategies while
17:32.101–17:33.834
retaining a sufficiently rich
retaining a sufficiently rich
17:33.834–17:35.368
set of historical events so
set of historical events so
17:35.368–17:38.701
these strategies can be retested at any time. At that point,
these strategies can be retested at any time. At that point,
17:38.701–17:42.634
memory will no longer just be the model knowing what it has done before,
memory will no longer just be the model knowing what it has done before,
17:42.634–17:45.301
but will start to become a past that can be rerun.
but will start to become a past that can be rerun.
17:45.301–17:48.761
Speaking of which, there is one final question.
Speaking of which, there is one final question.
17:49.461–17:52.530
Why did the authors choose to call this dream?
Why did the authors choose to call this dream?
17:52.530–17:55.841
As we mentioned earlier, Dream RSI does not train
As we mentioned earlier, Dream RSI does not train
17:55.841–17:58.443
a world model in the traditional sense, but
a world model in the traditional sense, but
17:58.443–18:01.841
it borrows the same intuition. Real-world interaction
it borrows the same intuition. Real-world interaction
18:01.841–18:03.037
is too expensive, so
is too expensive, so
18:03.037–18:07.961
can we turn past experiences into an internal environment for continued learning?
can we turn past experiences into an internal environment for continued learning?
18:09.001–18:11.476
Dream RSI borrows this line of thinking, but
Dream RSI borrows this line of thinking, but
18:11.476–18:14.821
the object it simulates is different. It does not attempt to
the object it simulates is different. It does not attempt to
18:14.821–18:17.354
learn a complete external world, but instead
learn a complete external world, but instead
18:17.354–18:20.021
preserves how it explored this world in the past
preserves how it explored this world in the past
18:20.021–18:22.621
and what happened during each exploration. So
and what happened during each exploration. So
18:22.621–18:25.288
I think the truly interesting part of this paper
I think the truly interesting part of this paper
18:25.288–18:28.321
is that the world here has quietly changed its target.
is that the world here has quietly changed its target.
18:28.561–18:30.494
In the past, we were more concerned
In the past, we were more concerned
18:30.494–18:32.294
with how the world would change.
with how the world would change.
18:32.294–18:34.181
But Dream RSI starts to care about
But Dream RSI starts to care about
18:34.181–18:36.781
how I personally sought out changes in the past
how I personally sought out changes in the past
18:36.781–18:40.114
and what would happen if I used a different way of searching.
and what would happen if I used a different way of searching.
18:40.114–18:42.941
Of course, today's Dream RSI is still very far
Of course, today's Dream RSI is still very far
18:42.941–18:44.741
from being a superintelligence
from being a superintelligence
18:44.741–18:46.941
that can improve itself indefinitely.
that can improve itself indefinitely.
18:46.941–18:49.941
Its model hasn't changed, its goals haven't changed,
Its model hasn't changed, its goals haven't changed,
18:49.941–18:52.874
and the rules evaluating it haven't changed either.
and the rules evaluating it haven't changed either.
18:52.874–18:57.074
Even the dreams it can have are limited to the past it has truly experienced.
Even the dreams it can have are limited to the past it has truly experienced.
18:57.761–19:02.361
But something that used to be set in stone has started to shift.
But something that used to be set in stone has started to shift.
19:03.021–19:05.554
It's not about what the next answer should be,
It's not about what the next answer should be,
19:05.741–19:09.261
but rather how I should find a way to improve myself next time.
but rather how I should find a way to improve myself next time.
19:09.261–19:11.375
When the answer to this question also
When the answer to this question also
19:11.375–19:14.581
starts to be modified and verified by the machine itself
starts to be modified and verified by the machine itself
19:14.581–19:16.114
to be used in the next round,
to be used in the next round,
19:16.341–19:20.721
the most noteworthy part of recursive self-improvement may have just begun.
the most noteworthy part of recursive self-improvement may have just begun.
19:20.721–19:24.002
Alright, that's all for today's content. Please like,
Alright, that's all for today's content. Please like,
19:24.002–19:26.141
share, and subscribe to my channel.
share, and subscribe to my channel.
19:26.301–19:28.301
If you'd like to support me further,
If you'd like to support me further,
19:28.301–19:31.501
feel free to join my membership. The cost of a cup of coffee
feel free to join my membership. The cost of a cup of coffee
19:31.501–19:33.768
each month not only supports me, but also
each month not only supports me, but also
19:33.768–19:36.768
helps me continue creating more content related to AI
helps me continue creating more content related to AI
19:36.768–19:39.000
and technology. Alright, thanks for watching, and
and technology. Alright, thanks for watching, and