Build1 publisher2 min readPublished
Replaying a logged search tree cut a Dream-RSI task from 550 attempts to 317
Google and DeepMind's method records a live search, replays thousands of exploration policies against the stored results, and sends only the winner into the next run. No weights are retrained.
The Engineer · Build desk

What happened
- Google and Deepmind researchers introduced Dream-RSI, which reuses the data from a completed search to test alternative exploration strategies inside the space the agent has already explored.
- After each live search the agent uses the recorded results to test better strategies and applies the improved version to its next run, leaving the model that generates solutions untouched.
- On a statistics task with Gemini 3.1 Pro, average runtime fell from 3,587 to 2,931 milliseconds and the number of attempts dropped from 550 to 317.
- The researchers report that a competing system, SimpleTES, needed 51,200 runs on that task against Dream-RSI's 317 attempts.
- On two GPU kernel tasks, Dream-RSI matched the baseline's performance while cutting the number of runs by a factor of up to 2.43.
Compiled by The EngineerSomething wrong?How this is made
Why it matters
- cost The discount is proportional to what one candidate costs to generate and score, so a search whose evaluator runs in milliseconds of CPU has little to reclaim by replaying it.
- decision Anyone adopting this funds trace storage and a stable attempt-plus-result schema first; the log is the input to everything else in the loop.
- capability Exploration improvements can now ship and revert at the search layer, with no fine-tuning run and no second set of weights to keep custody of.
- constraint Selection depends on the replay estimate agreeing with live outcomes, which makes the offline scorer a component that can quietly pick the wrong policy.
The saving comes from one substitution. A live search pays a model call and an evaluation for every candidate it considers. A replay pays for neither, because the candidate and its score are already in the log [6]. Replay tests different decisions within the recorded search tree, and the system does not invent new solutions while it runs [7].
Calling that dreaming is generous. The researchers use the word, and the agent plays through thousands of variations before selecting one for the live search [8]. It is a replay buffer with a tree index.
Data comes from the live run itself. The agent records its attempts and their results as it searches, and that record is what the replay executes against [5].
Eight tasks across three areas, with Gemini 3.1 Pro and Gemini 3.7 Flash [10]. Every comparison used a baseline with the same starting conditions and a fixed search strategy [11]. By the researchers' own account of the alternatives, a fixed strategy cannot learn from experience, so the agent may repeatedly hit the same dead ends [3]. The deltas are therefore measured against the weaker of the two exploration options they describe, and a team whose search already adapts mid-run should expect less.
Two figures moved by different amounts on the statistics task. Runtime came down 656 milliseconds, about 18 percent [1]. The attempt count came down by 233, about 42 percent [2]. If search budget is the binding constraint, plan around 42 percent; if the produced program's runtime is, plan around 18. The program the system wrote ran faster than sklearn and glmnet on all six test datasets [12].
SimpleTES supplies the largest multiple in the writeup, roughly 162 to one [3]. The-decoder's account counts runs for SimpleTES and attempts for Dream-RSI.
On GPU kernels, two further tasks delivered up to 2.09 times the performance inside the same budget [16], and math optimization work showed comparable or better results at much lower computational cost [17]. In a follow-up the researchers tried the other obvious use of a search history, condensing it into instructions telling the agent where to search [18]. The-decoder headed that section "Explicit instructions can limit exploration", and its text breaks off mid-sentence before giving the result for the one GPU task [19].
What to watch
- Figures for Gemini 3.7 Flash; the reported runtime and attempt numbers are for Gemini 3.1 Pro.
- A task where evaluation, not generation, is the expensive half, since replay reuses stored scores.
- Whether runtime-scored tasks replay cleanly when a stored timing is re-measured on different hardware.