Exploration is expensive
In long-horizon discovery, a poor search strategy can waste many agent calls before its weaknesses become visible.
Recursive self-improvement through evolving worlds.
A framework that lets an AI agent improve how it explores by replaying its own past discovery histories before spending more compute in the real search.
Dream-RSI turns old discovery runs into replayable worlds. A controller can try thousands of alternative ways to branch, refine, parallelise, and stop, using outcomes that have already been recorded.
In long-horizon discovery, a poor search strategy can waste many agent calls before its weaknesses become visible.
Recorded branches and their outcomes can be replayed without rerunning the coding agent or evaluator.
Use low-cost offline replay to choose a better exploration policy, then redeploy it online.
Plain-English analogy: it’s like learning a better route through a city by replaying a GPS log, rather than driving every possible route again.
Dream-RSI targets the layer that decides where discovery effort goes. It doesn’t change the underlying coding agent, evaluator, or execution interface.
Feedback about a strategy often arrives only after many proposal–evaluation cycles.
There are many choices: open new branches, deepen existing ones, batch workers, or stop.
Testing one new meta-policy online can require another expensive rollout.
Koinaku: decide which memory branches to consolidate or revisit.
FlavourMind: prioritise which hypotheses deserve another modelling cycle.
AI R&D: choose which experiment families to parallelise.
These are plausible adaptations, not tasks evaluated in the paper.
Problems with an executable evaluator, repeated search cycles, branching work, and enough historical traces to replay.
From static history to an evolving world the controller can explore.
Give the next agent a set of previous attempts, lessons, or directions to read before making its next move.
The history becomes a strong semantic nudge. In the paper’s ConvDiv analysis, adding explicit directional guidance underperformed unguided exploration.
An alternative policy can choose a different subset of branches, a different order, different parallel groupings, and an earlier or later stopping point.
The replay is grounded in realised outcomes, so it can compare controllers against the same frozen history.
The current policy guides a fixed discovery agent. New attempts and evaluator outcomes are recorded into a tree.
Historical trees become frozen worlds. Replay reveals recorded children without generating new candidates.
Candidate policy versions are evaluated on the replay worlds. The best version is redeployed online.
Important boundary: the paper changes the exploration-policy code. The discovery model, evaluator, and execution interface remain fixed.
Explore a direction that hasn’t been tried in the current tree.
Push further along an existing branch using its saved workspace.
Schedule up to W legal nodes in one decision round.
Stop when the evidence says more probing is unlikely to pay.
In the paper, quality is the best score reached in the replay trajectory. Cost penalises the number of revealed attempts. Parallelism rewards getting more useful work done per decision round.
The equation above is a readable rendering of Equation (1), not a replacement for its exact notation.
Why this matters: a controller that reaches a good result only by probing everything may be less useful than one that reaches a similar result with fewer, better-batched attempts.
A selected batch creates new candidates and new measured outcomes.
The policy follows recorded paths and reads stored outcomes.
What replay cannot do: it can’t reveal a branch that was never explored in the historical tree. Online exploration still supplies the coverage that future dreaming depends on.
What the paper tested, where it helped, and what remains unproven.
Lasso regularisation-path discovery, evaluated on 17 synthetic instances plus six held-out datasets.
correctnessruntimeSum–Difference, Autocorrelation Inequalities, and Circle Packing.
qualityconstraintsVGG16, LayerNorm, ConvDiv, and ConvMax from KernelBench.
correctnesshardwareRecursive Fixed Exploration uses the same discovery agent, evaluator, initialisation, and resource constraints, but keeps the exploration policy static.
The paper quantifies discovery cost using the cumulative number of discovery-agent calls.
SimpleTES is reported with a 51,200-generation budget. Dream-RSI reached lower average runtime with roughly two orders of magnitude fewer discovery-agent calls in this comparison.
These are benchmark results under the paper’s setup. They don’t establish that Dream-RSI will improve every agent workflow or every evaluator.
The paper reports a best or competitive result depending on task. SimpleTES remains stronger on Autocorrelation, but uses 51,200 generations.
For VGG16 and LayerNorm, final performance was comparable. For ConvDiv and ConvMax, performance was higher at similar budgets.
Explicit semantic guidance was injected into prompts for both fixed exploration and Dream-RSI. In the ConvDiv analysis, both guided variants underperformed their unguided counterparts under equivalent budgets.
On ConvDiv, the learned policy initially reduced evaluated attempts as performance improved, then increased exploration when progress plateaued and performance rose again.
attempts in an early shift described by the paper
trigger for renewed exploration effort
Interpretation: replay preserves diversity by letting a policy interact with the branching record, rather than collapsing the record into one prescriptive narrative.
Unexplored branches cannot be discovered offline. You still need online exploration to expand the simulator pool.
inference from replay designThe paper’s no-worse property applies to average replay score on the fixed historical set, not automatically to the next online rollout.
paper pp. 5–6If the evaluator is noisy, narrow, or misaligned with the real objective, the controller can become better at optimising the wrong signal.
general systems riskThe reported results cover eight discovery tasks. They don’t establish performance in production workflows, safety-critical domains, or changing environments.
evidence scopeA practical path from an ordinary discovery loop to replay-based policy improvement.
Start with the paper, then use the repository for the project README, paper assets, citation metadata, release status, and links to the project page. The README currently says the full codebase and reproduction scripts are still being prepared, so treat it as a companion reference until those artefacts are released.
Open github.com/zhengkid/Dream-RSI ↗
Open the project walkthrough ↗
Produces a candidate from a saved workspace and available context.
Returns a score plus diagnostics, validity, and failure information.
Persists parent, child, workspace snapshot, candidate, score, errors, and cost.
Reads only revealed observations and returns a legal batch of frontier nodes.
Reveals stored children deterministically and records the replay trajectory.
Scores policy versions across historical worlds and retains the best evaluated version.
Design rule: keep the discovery agent and evaluator stable while you iterate on the orchestration layer. That makes the effect of policy changes easier to measure.
def solve(question, budget=None): question.reset() result = SimResult() closed = set() while not_done(question, budget): observed = question.observed() update_closed(closed, observed) batch = select_batch(observed, question, closed) if not batch: break question.probe_batch(batch) return finalise(question, result)
At comparable quality, fewer discovery-agent calls. Or, at comparable cost, better downstream quality. Also check that batching is real and that failure recovery doesn’t hide wasted work.
Replay score rises while live score falls; the policy overfits one tree; branch diversity collapses; the evaluator’s signal changes; or the controller exploits bookkeeping artefacts.
History can be executable. A discovery trace becomes more valuable when a policy can traverse it and receive grounded feedback.
Meta-exploration is a first-class optimisation target. Better branching, batching, and stopping can improve what the underlying agent discovers.
Replay is a complement to online search. It lowers the cost of policy evaluation, but it can’t replace new exploration or protect you from a weak evaluator.
Keep the loop measurable. Trace decisions, outcomes, cost, and failure types so every policy revision has an evidence trail.
How much history is enough? How should replay worlds be refreshed when the environment changes? How should policy improvement handle distribution shift? What safeguards are needed when evaluator errors are costly?
Zheng, Tong, et al. “Dream-RSI: Recursive Self-Improvement through Evolving Worlds.” arXiv:2609.14858v1, 14 September 2026. Google, University of Maryland, Google DeepMind, and University of Virginia.