Dream-RSI lets AI agents learn from searches they’ve already run
Google and Deepmind’s Dream-RSI tests new search strategies by replaying recorded results, reducing the need for costly live attempts. Tests across eight tasks found it could reach comparable or better results with fewer attempts, though overly specific instructions sometimes restricted exploration.
AI agents that search for solutions can spend substantial effort deciding which ideas to pursue and which to drop. Dream-RSI, a method from researchers at Google and Deepmind, aims to improve those choices by letting an agent rehearse different strategies using the results of searches it has already completed.
“Dream-RSI improves how AI agents allocate search effort, with no clear shift toward greater harm or human dependency.”Why it scores Neutral
Learning from a search history
Many self-improving agents work through a cycle: propose a solution, evaluate it, learn from the outcome, and try again. That process can help with goals such as finding algorithms, solving math problems, or writing faster code. But as the number of possible approaches expands, choosing where to spend effort becomes a problem of its own.
A fixed search strategy may keep returning to unproductive paths. A strategy that changes during a search can adapt, but finding out whether a change helped may require many attempts. Repeating those experiments in a live run can be expensive because solutions need to be generated and evaluated again.
Dream-RSI addresses this by recording the agent’s attempts and results during a search. Later, it can use that record to see how different choices would have played out in the explored search tree. The method changes the way the agent searches; it does not change the model that generates solutions.
Replaying decisions before a live run
The researchers describe the process as “dreaming.” Rather than launch a fresh search for every candidate strategy, the agent reuses stored outcomes to test alternatives. It can examine what might have happened had it followed a different route earlier or abandoned a path sooner.
This is more like planning a new route with a map than revisiting every location. Since the relevant results have already been generated, replay can avoid repeating some of the costly computation required by a live search. Dream-RSI tries thousands of variations, selects a strategy, and uses it in the next live run.
The cycle continues after that run: the system records the new results, tests strategies against them, and carries an improved strategy forward. The aim is to make exploration more efficient while leaving the underlying solution-generating model untouched.
Results across coding, math, and GPU tasks
The researchers tested Dream-RSI with Gemini 3.1 Pro and Gemini 3.7 Flash on eight tasks across three areas. Each comparison used the same starting conditions for the baseline, but the baseline kept its search strategy fixed.
One task involved writing the fastest possible program for a statistical calculation used in genomics and finance. Dream-RSI’s program ran faster than sklearn and glmnet on all six test datasets. With Gemini 3.1 Pro, average runtime went from 3,587 to 2,931 milliseconds, while attempts fell from 550 to 317. A competing system, SimpleTES, needed 51,200 runs for comparison.
The researchers also reported results on math optimization and GPU kernel tasks. On two GPU tasks, Dream-RSI matched performance while using up to 2.43 times fewer runs. On two others, it achieved up to 2.09 times the performance within the same budget. The source describes the math and GPU results as comparable or better at much lower computational cost.
Why broader exploration still matters
A follow-up analysis tested a different way to use search histories: turn them into explicit instructions about where the agent should look. On one GPU task, that approach did worse than using Dream-RSI without those instructions. The researchers suggest specific directions may narrow the search space so much that the agent misses other promising approaches.
The analysis also found that the learned strategy changed its effort over time. As performance improved, it first reduced the number of attempts. When progress stalled, it increased search effort again, alongside further gains.
That trade-off is central to the method: past results can guide a search, but guidance that is too restrictive may limit discovery. Dream-RSI’s replay approach is intended to help an agent compare options while keeping room to explore.
The work sits among several efforts to help AI systems improve how they search. The article describes AlphaEvolve as using an evolutionary algorithm to select code proposals, while Dream-RSI optimizes the search strategy above that process. AutoTTS searches for algorithms that control reasoning paths, and WikiSkill turns recorded successes and failures into reusable instructions. The reported limitation of explicit instructions in Dream-RSI’s analysis points to a challenge shared by such approaches: useful experience must guide a search without closing off alternatives.
Read next