Google and DeepMind researchers have introduced Dream-RSI, a technique that allows AI agents to refine their problem-solving strategies by “dreaming” about past attempts. Instead of blindly repeating expensive computational runs, the system replays recorded search histories to test alternative decision paths. This approach separates the search strategy from the underlying model, enabling the agent to learn which approaches to pursue or abandon without generating new solutions from scratch. It is akin to navigating a familiar city: once you have a mental map, you can plan better routes without visiting every dead end again.
The efficiency gains are stark. In tests involving Gemini 3.1 Pro on a statistical calculation task, Dream-RSI reduced the average runtime from 3,587 to 2,931 milliseconds. More impressively, it slashed the number of required attempts from 550 down to just 317. When compared to SimpleTES, a competing system that needed 51,200 runs to achieve similar results, Dream-RSI’s advantage becomes undeniable. The method also delivered up to 2.09 times better performance on GPU kernel tasks within the same computational budget, proving that smarter exploration beats brute force.
Crucially, the research highlights a counterintuitive finding about guidance. When researchers tried condensing search histories into explicit instructions for the agent, performance actually dropped on certain GPU tasks. Overly specific directions narrowed the search space too much, stifling the agent’s ability to explore broader possibilities. Dream-RSI avoids this trap by testing variations within the existing search tree rather than constraining the agent with rigid rules. The strategy dynamically adjusts effort, reducing attempts when progress is steady and increasing them when stalled.
This development signals a shift toward more resource-efficient AI training. By decoupling strategy optimization from model inference, Dream-RSI offers a way to squeeze more capability out of existing hardware. As AI tasks grow more complex, the ability to learn from past failures without re-computing every step will become essential. The code has been shared, inviting the wider community to test whether this “dreaming” process can scale to even harder problems.