In one line: Treat an agent's accumulated discovery history as a replay simulator: a revised exploration policy (where to branch, how wide to batch, when to stop) is scored by replaying it over recorded attempts at no new evaluations (in v2, by the area of its quality-against-calls trade-off over five budget settings), and replay can only re-order what was recorded, never beat its best node. In one run per setting it used fewer discovery-agent calls than a fixed-policy baseline in several settings (Lasso with Gemini-3.1-Pro 550 to 317 calls, faster on 1 of 6 datasets; VGG16 kernel 2.43× fewer generations by total budget, 1.89× at matched speed) and lost on one of three maths tasks; v2's harness gain (Terminal-Bench 2.1, 0.7247 to 0.8090) has no baseline and was selected on its own test suite; the policy-writing agent's calls are not counted.
Rescoped on 26 October 2026 for arXiv v2 and the released code (the 25 October text described v1's objective and three domains; before that, the database claimed "competitive or better solution quality at substantially lower discovery cost across algorithm engineering, mathematical optimisation and GPU kernel engineering"). The Notion property needs the same edit.
How far to trust it: Believe the idea, and that replay-ranked policies can save calls: the released code computes the score v2 describes (this page reran it), and the ratios reproduce from the paper's own figures. Treat the numbers as anecdotes: one run per setting with no error bars, a cost count that leaves out the policy-writing agent, ratios that shrink at matched performance (VGG16 2.43× becomes 1.89×, LayerNorm 1.79× becomes 1.19×), a Lasso Pro average carried by one dataset (v2 now says so itself), and a harness gain with no baseline, selected on its own test suite. The evidence, judged.
The idea in one sentence: a finished discovery run is an exact record of what every attempt produced, so a revised exploration policy (where to branch, how wide to batch, when to stop) can be scored by replaying it over that record at no cost in new calls; the replay can only re-order what was recorded, so it buys the same results for fewer attempts, and anything better has to come from the next online run.
Record a run, replay revised policies on the record, redeploy the best. Fig. 1 runs the loop of Figure 1 and §3 on this page's own replay simulator: each world is a recorded discovery tree drawn as a bar field, branches across and attempts into the depth, each bar one attempt at its recorded score (red: failed). Drag it to turn it.
The worlds, scores and rewrites are this page's illustrative simulator (the Dream over a recorded tree tab), not the paper's runs, which are not released. Rewrites a and b are two settings of the toy's policy family standing in for the development agent's code (4 open at once with patience 3; 2 open with patience 2, both refilling); c is the toy's dream winner over all 505 candidates. The paper's own numbers at this scale: Lasso with Gemini-3.1-Pro, 550 → 317 calls; the VGG16 kernel, 990 → 408 generations, 2.43× by total budget and 1.89× at matched speed (Figure 4, Figure 3). Redrawn for this page: the paper is under arXiv's non-exclusive licence.
You need: the model-based RL idea of improving a policy against a model instead of the world, Dyna and Dreamer (Model-based RL and planning); nothing else beyond agent loops. New terms: discovery loop (propose, evaluate, learn, repeat); exploration policy (the code that picks which attempts to continue and how many at once); discovery tree or world (one recorded run: every attempt, its parent and its score); dreaming (replaying a policy over recorded worlds); budget preference ρ (a knob the policy reads: high means wider and more patient); development agent (the LLM that rewrites the policy's code); Recursive Fixed Exploration (the baseline: same loop, policy never changes); discovery cost (discovery-agent calls, not counting the development agent).
Added to the knowledge base on 21 September 2026, a week after the preprint. The first summary was written from the abstract and results; this page was built on 3 October from the arXiv HTML (v1), its vector figures decoded point by point, the SimpleTES paper whose numbers it reuses, the project page and the GitHub repository, and corrects that summary where the details change the reading (listed under How much to believe). On 26 October it was rewritten to follow arXiv v2 (6 October 2026) and checked against the released code: its replay score is ported next to this page's simulator and compared with the released implementation run on the same recorded worlds. What v1 said differently is in the closed block What changed from v1. The first summary also called it the most-upvoted paper of its week on Hugging Face, which may have been true when written but was unconfirmed on 3 October (readings in the dated block at the end of What it takes to use this).
An agentic discovery loop proposes a candidate (a program, a construction, a kernel, an agent harness), evaluates it, learns from the result and proposes again. AlphaEvolve and its successors run such loops over algorithm design, open mathematical problems and systems code, and the hardest targets now take "thousands of proposal-evaluation cycles" (§1). Every cycle costs a model call plus an evaluation: compiling and benchmarking a GPU kernel, running an optimisation to convergence, or running a benchmark suite.
What decides whether those cycles are well spent is the exploration policy: which directions to pursue, which candidates to refine, how many branches to run in parallel, and when to stop. In most systems it is written by hand and stays fixed for the whole run, so it "may repeatedly spend computation on unproductive search directions" (§1). Improving it online is costly for two reasons the paper names:
EvoX (Liu et al. 2026a) optimises the search strategy online and pays exactly this cost. Dream-RSI asks whether the policy can be improved without paying it.
A finished discovery run is not just text to reread. It is a tree: every attempt, the attempt it continued from, and the outcome it actually produced when executed and scored. An exploration policy does one thing: given what it has seen, choose which attempts to continue next. So a different policy can be "run" on the recorded tree by walking it differently (other branches, another order, other parallel groupings, earlier stopping) and simply reading the outcomes already on disk. No agent call, no evaluation. In the authors' words, "accumulated discovery history can act as a replay simulator over the realized search space" (abstract).
The analogy is model-based reinforcement learning (§2): Sutton's Dyna (1990) and the Dreamer family learn a model of the environment and improve a policy on imagined experience (both in general: Model-based RL and planning). Here the "model" is not learned at all; it is the record itself, exact where the record goes and silent everywhere else. The paper calls evaluating policies in it dreaming and the recorded trees worlds (footnote 1, §1).
The cost argument is simple. One expensive online run supports many cheap offline evaluations of other policies (Figure 2), so the meta-level search that EvoX pays for in rollouts is paid for here in reads. The catch is equally simple: a policy can only be judged where history went. The replay in Method and the Dream over a recorded tree tab run this on illustrative worlds so you can see both sides.
The loop of Figure 1. Only the policy's code changes; the coding agent (Gemini CLI, or Claude Code for the harness task), the evaluator and the models stay fixed, and no weights are trained (§3).
A discovery tree has a root r (the starting workspace, score 0). Every other node has one parent, where its attempt began: the agent resumes the parent's saved workspace and its accumulated observations, makes a new attempt, and the node stores its generation history, its files and a score sv, larger is better (§3, Discovery trees). At each decision the policy may continue from the root (open a new branch) or from any current leaf: the eligible set is A(𝒯) = {r} ∪ {leaves}. With W parallel workers it picks a batch C ⊆ A(𝒯) of at most W nodes, so one choice fixes both where to continue and how many attempts run at once.
At outer iteration t, policy πt grows a fresh tree from the root for at most K1 rounds, with the earlier history available as context. Each selected node gets one new child per round; the step is stochastic because the agent may produce something different from the same workspace. The rollout ends on an empty batch or after K1 rounds, and the finished tree joins the history (§3, Online rollout). Table 3 gives the per-round ceilings: 10 branches × 11 attempts (110 calls) for most tasks (Table 3).
With the history fixed, each policy version is replayed on every recorded tree separately, and once for each of five budget preferences ρ ∈ {0, 0.25, 0.5, 0.75, 1} that the policy reads (§3, Offline evaluation). Replay starts from the bare root and reveals the tree only as the policy asks:
So replay can test how far to pursue each branch, how to group attempts into batches, and when to open another branch or stop. It cannot test a different attempt: every branch is traversed in its recorded order.
Watch the rule work on an illustrative recorded world: a generated 10 branches × 11 attempts grid (the Gemini-3.1-Pro round of Table 3), scores in invented units from 0 to 1, about one attempt in six failed. Only the replay rules, the score and the selection rule are the paper's; no traces were released. The replay plays the fixed policy, then (with the toggle) the dreamed winner, through the same world at the budget preference you choose; round 1 is a step of its own and later rounds come in stretches of up to three, each explained below as it plays.
Only the second. Replay reveals recorded nodes and nothing else, so the best a replayed policy can reach is the best node already in the tree, which the policy that recorded the whole tree found by definition. What dreaming can buy is the same (or nearly the same) best for fewer attempts and fewer rounds. Any better result has to come from the next online round. Watch it in this section's replay: the "share of recorded best" counter never passes 100%.
Start with the five replays of one policy on one world. Each gives a point: calls spent n, and attainment a, the best revealed score as a share of the best recorded. Plot them against calls and keep the points nothing cheaper beats; the score is the share of the box (all B calls of the recorded run × 100% of its best) that this staircase dominates. The figure shows it for the world selected in the replay.
A policy version's score is its average V over all t recorded trees (§3, Replay objective). A development agent (a fixed LLM) reads the replay trajectories and scores of the current version, rewrites the policy's code, and repeats: the current policy plus three rewrites, M = 4 versions per offline phase (Appendix B.2). The next online policy is the best-scoring of them; because the current policy is one of them, the chosen one "is never worse than πt on the average replay score" over the history (§3, Policy improvement). That guarantee is in-sample: it says nothing about the next online run, which is the point the toy in the second tab measures.
The hand-written starting policy has no budget knob, so all five of its replays reveal the whole tree: one point at (Bi, 100%), zero area, and with the released defaults a score of −0.05 × 11/110 = −0.005 (this page ran the released code on its worlds and got exactly that). Any rewrite that reaches anything with fewer calls outscores it, so the "never worse" guarantee is close to automatic in the first offline phase; selection only bites between rewrites. The score also says nothing about the absolute best: a policy that reaches 96% of the recorded best with a quarter of the calls beats one that reaches 100% with all of them.
In v1 the score was different: the best score reached, minus β1 per attempt, plus β2 per average batch size, with neither coefficient given, and the authors' own prompt already used the area form. The second tab scores the same candidates both ways; the rest of v1's method text is in What changed from v1.
The code (google-research/dream-rsi, Apache 2.0, commit 8ec35bd of 8 October 2026) computes this score in dream_rsi/learning/heuristic_search/eval.py. This page ported it next to its own simulator and ran the released code on the same recorded worlds: The code matches the text on the frontier, the area, the five budget preferences, M = 4 and Table 3's rounds. The differences are small: λ = 0.05 is only in the code, the penalty counts worker-capped rounds, replay has no round limit and may open several branches at once, and some worlds are left out of the average.
plan_grid: how many branches and refinements the next round gets, within hard caps), which §3 does not describe and the prompt does. A plan larger than a recorded tree makes that replay fail ("out of support"), and the whole budget preference is then dropped from the score.dream_rsi/env/trace_env.py: a cell is legal once its parent is revealed, failed attempts are scored 0 and still cost a call, and the best so far starts at 0, as §3 has it._pareto_summary; then the worlds were written as released trace files and ten policies (the released parallel-refine incumbent and nine toy policies written against the released policy API) were replayed by the released eval.py --beta-sweep. Calls, rounds and best per world and budget preference agree in all 150 replays, and every score to 2 × 10−16 (src/check_score.py).The exploration policy is a Python class with a solve() method that the development agent rewrites under hard rules (Appendix D.2): decisions may use only what has been revealed, batches are a portfolio of up to W cells (never a parent and its child together), one "beta" knob (the paper's ρ) trades width and patience, and plan_grid() sizes the next live run, where anything beyond the recorded grid "is out of support and cannot earn replay reward". The prompt ranks policies by "pareto.reward = pareto.auc − lambda × parallel_penalty", which is v2's Eq. 1; the prompts are unchanged from v1.
The exploration policy is a Python class with a solve() method that the development agent rewrites. Its prompt (Appendix D.2) describes the world as "a frozen, irregular branch×attempt grid" and sets hard rules:
plan_grid(): how many branches and refinements the next live run gets, chosen from earlier live manifests. A plan beyond the recorded tree's width or depth "is out of support and cannot earn replay reward".The coding agent itself gets a separate prompt (Appendix D.1): read every earlier proposal and its measured score in full ("trust the measured result over what the proposal claims"), find why failures failed, avoid "another small tweak" on a saturated direction, then write a proposal and the program. That prompt is the same for Dream-RSI and the fixed baseline.
Because each new attempt reads every sibling attempt and the history, what the agent produced at a node depended on what else had been tried by then. Replay assumes a node's recorded outcome would have been the same under a policy that visited the tree in another order or skipped some siblings. The paper does not discuss this; it is the usual gap between a log and a simulator.
Top: each round's budget as a bar, to scale (one bar per recursive round, width = generations or agent calls). Bottom: the round's result against cumulative cost. Values come from the figures' vector paths, calibrated on their own tick marks (kernel values to about 0.0002, Lasso runtimes to about 0.1 ms); the last Lasso points equal Figure 4(a)'s table. v2 draws the same runs as v1 (largest difference 0.0002 per ms and 0.2 ms). Each line is one run.
Nine tasks in four domains: four GPU kernels, three maths problems, a Lasso solver, and an agent harness. On the first eight the controlled comparison is Recursive Fixed Exploration: the same discovery agent, evaluator, initialisation, per-round budget limits and hand-designed starting policy, but the exploration policy never changes after round 1 (§4). The starting policy is parallel refine: independent workspaces side by side, each refining its own candidate from its own history. So round 1 is identical by construction, and every difference comes after. The harness task has no such baseline (below).
Every comparison below is one run of each method. Watch six of them unfold round by round, with the paper's own numbers decoded from its vector figures; choose the task on the card, and each round is explained here as it plays:
Four tasks from KernelBench (Ouyang et al. 2025): VGG16, LayerNorm, ConvDiv and ConvMax. A candidate kernel must match the PyTorch reference; its score is speed, 1 / runtime in ms, measured on an NVIDIA L40S (Appendix B.1). Gemini-3.1-Pro is the coding agent, and v2 adds the evolutionary system PACEvolve as a second baseline, capped at two days per task (§4.1). No speed-up over the PyTorch reference is reported; Figure 3 starts both curves at an unlabelled point at zero generations (0.1184 per ms on ConvDiv), probably the starting program.
The claims (Figure 3): on VGG16 and LayerNorm Dream-RSI "matches final performance with 2.43× and 1.79× fewer generations"; on ConvDiv and ConvMax it is 2.09× and 1.44× faster "under comparable budgets" (§4.1, Results). All four ratios reproduce from the decoded curves (the checks).
770. Fixed exploration passed Dream-RSI's final 0.5319 per ms at 770 generations, so the saving at matched performance is 770 / 408 = 1.89×, not 2.43×. The 2.43× is the ratio of the two total budgets, at which Dream-RSI ends 1.1% below fixed exploration (0.5319 against 0.5376). LayerNorm shrinks more: fixed reaches Dream-RSI's final 1.1223 at 660 generations, 1.19× rather than 1.79×, and again ends higher (1.1274).
The two speed claims are point comparisons too. ConvDiv's 2.09× is Dream-RSI's final 1.8976 against fixed exploration at 770 generations (0.9092); against fixed's own final (1.2820 at 990 generations) it is 1.48×, still a large gap. ConvMax's 1.44× comes from one jump in Dream-RSI's last round (0.2786 → 0.4310); until then it trailed fixed exploration. Dream-RSI's rounds are mostly smaller: VGG16's after the first were 16 to 80 generations against 110. v2 adds the discovered ConvDiv kernel (Appendix E.2): it max-pools adjacent convolution outputs at once and keeps the later reductions in registers, so the convolution and pooled maps are never written out.
PACEvolve ends at 0.2002, 0.8264, 0.6452 and 0.2654 per ms on the four tasks, far below both methods (Dream-RSI is 1.4 to 2.9 times faster; so is fixed exploration, 1.1 to 2.7 times), which is what "surpasses PACEvolve" means. Two things limit what that says: the cap is wall-clock time, in which PACEvolve made only 220 to 249 generations (Figure 8) against Dream-RSI's 408 to 786, and its model is not named. In Figure 3 its dashed line is drawn above the printed value on three of the four panels; read the labels.
Three problems with formal definitions in Appendix B.3: the sum-difference problem (find a finite integer set A maximising log(|A+A|/|A|) / log(|A−A|/|A|)), circle packing (n circles in the unit square, maximise the sum of radii) and an autocorrelation inequality (find a function on [−¼, ¼] with integral 1 whose autoconvolution has the smallest peak). Gemini-3.1-Pro runs 10 rounds of each method; Table 1 compares against nine published systems (§4.2).
The results (Table 1): sum-difference 1.145427, above SimpleTES (1.143975) and fixed exploration (1.144047); circle packing 2.635983, "matching the strongest reported result"; autocorrelation 1.456375, "remaining competitive" (§4.2, Results). v2's introduction now says it "matches or exceeds the best results among the compared baselines on two of three tasks".
The task, taken from SimpleTES (Ye et al.), is to write a program that computes the whole Lasso regularisation path (the solution for a decreasing sequence of penalties λ) as fast as possible. The search scores solvers on SimpleTES's 17 synthetic instances; the reported numbers are wall-clock times on six held-out real datasets (Gisette, RCV1 and four biological ones), timed on an 8-vCPU AMD EPYC virtual machine (Appendix B.1). Both methods run 5 rounds (§4.3).
A solver must match sklearn's objective within 10−6 at every λ on fresh instances, or its score is zero; the search score is the inverse geometric mean of the run times on the timing instances (Appendix B.3). The six held-out datasets are two non-biological (Gisette, RCV1) and four biological (DNA, Leukemia, Colon, Duke Breast).
The headline (Figure 4a): with Gemini-3.1-Pro the average runtime falls from 3,587.1 ms (fixed exploration, 550 calls) to 2,931.0 ms with 317 calls; with Gemini-3.7-Flash from 2,516.7 ms (3,200 calls) to 2,350.6 ms with 1,879 calls. Both discovered solvers beat sklearn and glmnet on all six datasets, and both averages beat SimpleTES's 3,804.8 ms, which used 51,200 generations: "approximately 162× and 27× fewer discovery-agent calls", which v2 qualifies with "although these comparisons use different model backbones" (§4.3, Main results). Its 51,200 is SimpleTES's default budget, 32 trajectories × 100 steps × 16 samples (SimpleTES §Methods).
One: RCV1. On Gisette and on all four biological datasets the Dream-RSI solver is slower than the one fixed exploration found (Gisette 2,841.0 against 1,861.8 ms). The average is an arithmetic mean of milliseconds, and RCV1's times (about 15,000 to 20,000 ms) are 91% of the sum, so the average is essentially RCV1. On the geometric mean, which is the kind of mean the search score itself uses, Pro's Dream-RSI solver is 13% slower (179.4 against 159.1 ms). With Flash the picture holds up: faster on five of six, 8% faster on the geometric mean. v2 now says this itself: the Pro improvement "is driven by RCV1, despite slower runtimes on the other five datasets" (v1 did not).
Two more things change the reading of that table. The unmarked SimpleTES row was timed on another, faster machine; against "SimpleTES†", SimpleTES re-run on this paper's machine, Dream-RSI looks better, not worse (8,318.4 against 2,931.0 or 2,350.6 ms). And a call is not a generation: a Dream-RSI "discovery-agent call" is one Gemini CLI agent session that reads the whole history and writes a proposal and a program (Appendix D.1); a SimpleTES generation is one sample from gpt-oss-120b, so 317 against 51,200 counts different units with different models.
The unmarked SimpleTES row's six numbers are identical to SimpleTES's own Supplementary Table 16, while this paper's sklearn and glmnet rows are about twice as slow as SimpleTES's (glmnet 2.12× on Gisette and RCV1), so they were timed on a slower machine. The dagger row "SimpleTES†", "results reproduced by us" (defined only in v2), is about 2× slower than the copied row too: SimpleTES re-run on this paper's machine. The per-dataset ratios are in the tables tab.
Round by round (Figure 4b, decoded): the Pro run spent 110, 9, 28, 87 and 83 calls in its five rounds, and its held-out runtime got worse for three rounds (5,267 → 5,349 → 5,369 → 5,706 ms) before the last round's solver dropped it to 2,931 ms. At 234 calls it was slower than fixed exploration's solver at 110. v2 claims only that "by the final round" Dream-RSI is ahead on both backbones (§4.3, Dynamics), which holds; the Flash run (640, 336, 254, 299, 350 calls) is ahead at every round, the Pro run only at the last.
The discovered solver (Appendix E.1) combines strong-rule screening with Cauchy-Schwarz bounds that certify which features can be skipped in the optimality (KKT) check, computes exact gradients only where needed, and falls back to a full refresh once pruning stops paying (§4.3, Dynamics). SimpleTES's solver, by contrast, switches between LARS and coordinate descent by problem dimension. The Flash program is faster than the Pro one on RCV1 (12,923.4 against 14,616.0 ms).
The ninth task improves an agent harness, the program around a fixed model that decides what it stores, retrieves and sees (§4.4). Following Meta-Harness, the search starts from the Terminus-Kira harness; every candidate runs the full Terminal-Bench 2.1 suite of 89 tasks twice; Claude Opus 4.8 with Claude Code is the discovery agent, the development agent and the model being evaluated. Over 64 generations the best-so-far score rises from 0.7247 to 0.8090, above Claude Code (0.75) and a reproduced Meta-Harness (0.79) "under the same evaluation setting" (Figure 5).
Replaying all history or only the last round (new in v2). On ConvDiv, Dream-RSI replaying every recorded world reached 1.90 per ms with 786 calls; replaying only the current round's world reached 1.59 with 430 (Table 2). The paper reads this as accumulated worlds giving "a more general exploration policy" and avoiding "overly conservative exploration associated with fitting to a single world" (§5, History accumulation). The two rows spent different amounts: at 437 calls the all-history run (the same run as Figure 3's ConvDiv curve) stood at 1.4881, below the other's 1.59 at 430. So the table shows that the current-history policy stopped earlier and lower, which fits "conservative", not that it was worse per call. One run each.
History as guidance instead of a simulator. A natural alternative is to summarise past trajectories into "high-level directional insights" and put them in the agent's prompt. On ConvDiv, both methods with such guidance end below their unguided runs (Figure 6): Dream-RSI 1.4881 against 1.8976, fixed exploration 0.6329 against 1.2820; the paper concludes "such guidance may constrain exploration" (§5, Guidance). The guided runs are ahead early (fixed with guidance leads at 220 to 550 generations, Dream-RSI with guidance at 190 to 349), and the guided Dream-RSI run used 11 rounds against 9. One run per arm, one task.
How the policy changes. On ConvDiv the learned policy spent 110, 110, 87, 80, 50, 92, 80, 91 and 86 attempts in rounds E0 to E8 while its round-best speed rose 0.427 → 0.625 → 0.855 → 1.403 → 1.488 → 1.499 → 1.770 → 1.880 → 1.898 (Figure 7; these are the same run as Figure 3's ConvDiv curve, and the attempts add up to its 786 generations). The paper's reading: it first conserves compute as performance improves ("from 110 to 50"), then spends more again when progress plateaus, "coinciding with further performance gains" (§5, Exploration behaviour). Nine points from one run, so a pattern to look for rather than a measured behaviour.
Verdict: believe the mechanism, and believe that it can cut calls; treat every number as one anecdote. The idea is sound and cheap, the released code computes the score v2 describes, the reported ratios reproduce from the paper's own figures, and some results are large (ConvDiv). But nothing is repeated, several headline ratios are chosen at their most favourable point, the cost metric omits the dreaming itself, and the new harness result has no baseline and was selected on the suite it reports.
A replay simulator is only valid inside the region the history covers. Dreaming therefore sharpens how a mapped space is exploited (fewer, better-placed probes), and cannot by itself push exploration into unmapped territory; whatever new territory Dream-RSI reaches comes from the online rounds. v2's score makes the bias explicit: it pays for reaching the recorded best cheaply and nothing for spending more. The toy in Dream over a recorded tree shows the shape of this: the dreamed policy wins by probing less, keeps most of the best result on fresh worlds of the same kind, and loses more when the next world rewards depth it never recorded. It is the opposite failure from the one Agora reported, where the agents concentrated on one lineage and the authors intervened to push diversity (whether that helped is untested there); both point at the same risk in self-improving loops: the cheap signal is always the one that describes where you have already been.
The released code (google-research/dream-rsi, Apache 2.0) has the orchestration layer that logs every attempt as a tree node, the replay environment and score, the policy interface, the prompts and launch scripts with the paper's settings; you supply a task with an evaluator and an agent CLI. The reported runs are small (hundreds to about 2,000 calls per task), and it pays only when evaluations are expensive and successive rounds explore similar ground.
dream_rsi/orchestrate.py runs the loop (explore, learn, promote); env/trace_env.py is the decision interface shared by online rollout and replay; learning/heuristic_search/eval.py is the replay score; policy/baseline.py the starting policy; prompts/ the two prompts of Appendix D, the most reusable part of the paper. The KernelBench tasks are included (they need a GPU evaluation server); the maths and Lasso tasks are fetched from SimpleTES (AGPL-3.0); the harness task is not included. The agents are the Gemini CLI (used in the paper), the Claude Agent SDK and the Codex CLI.v1 (arXiv HTML v1) reported eight tasks in three domains, with the same headline numbers (550, 317, 2.43×, 1.79×, 2.09×, 1.44×, 1.145427). What it said differently:
Automated discovery loops have become a standard tool: AlphaEvolve (Novikov et al. 2025), and SimpleTES, which reports results on 28 problems across quantum compilation, astrodynamics, scientific algorithms, kernels and mathematics with one open model and spends 51,200 generations per problem by default (Ye et al. 2026, Table 1). Once the loop works, the open question is how to spend its budget, and that is a policy that is usually hand-written.
Dream-RSI's contribution is to notice that every finished run is free training data for that policy, usable without touching model weights and without new evaluations. That is off-policy evaluation from logged data, an old idea in reinforcement learning, applied to the meta layer of a discovery loop; the classic risk of model-based methods, a policy that exploits the model where the model is wrong (Moerland et al. survey), takes a specific form here: the record is exact but incomplete, so the bias is toward doing less of what was recorded rather than toward hallucinated rewards.
It is one of three auto-research papers on this knowledge base that differ mainly in where the loop's memory lives (see Connections).
This tab runs the paper's replay simulator, as §3 defines it, on illustrative worlds. No traces have been released, so each world here is a generated branch × attempt grid of the shape the authors' own prompt describes (Appendix D.2): 10 branches × 11 attempts, the Gemini-3.1-Pro round of Table 3. Scores are in invented units from 0 to 1; about a third of directions are good, some improve only after several refinements, and about one attempt in six fails. Nothing quantitative here comes from the paper; what comes from the paper is the procedure: replay rules, the score and the selection rule. The score is the released code's, ported and checked against it ().
Try: dream over more history; switch the score to v1's and raise the batching bonus β2 until the fixed policy wins (under v2's score it never can); deploy the winner at a low budget preference, and on fresh worlds where gains arrive later. The step-through of one recorded world under both policies, and the area of one world, are in the Reading tab under Method: offline replay; they use the history set here.
The paper's development agent writes three rewrites of the policy's code per round. Here the candidates are 504 settings of a small policy family instead, plus the fixed starting policy: how many branches to keep open at once, how many attempts without gain before closing a branch, whether to drop branches well below the best seen, and whether to open a fresh branch when one closes. Each setting reads the budget preference the way the released template asks (lower ρ: fewer branches, shorter patience, harder pruning); the fixed policy, like the released one, ignores it. Each candidate is replayed on every recorded world at the five budget preferences and scored; the winner is the highest average, and the fixed policy is in the pool, so the winner can never score below it on the history.
Now the winner meets worlds it has never seen: 300 fresh grids from the same generator, or from one where useful gains arrive later in each branch, run at the budget preference you choose (the released template's default is 1). On each, it and the fixed policy run as they would online (in the toy an outcome does not depend on the order of visits; in the real system it does, since each attempt reads its siblings).
Every number below is transcribed from the arXiv HTML (tables, v2) or decoded from the vector paths of its figures, calibrated on each axis's own tick marks (largest calibration residual: 0.02 generations and 0.1 ms; Figure 7 uses its printed bar labels). The runs both versions draw come from the v1 decode, and v2 redraws them to within 0.0002 per ms and 0.2 ms; the harness, PACEvolve and the two new tables come from v2. Nothing is read by eye. Derived numbers are recomputed by recompute.py; the checks are at the bottom.
Round-best speed (1/ms, higher is better) against generations used, both methods, decoded, with PACEvolve's final value (dashed, at its printed value). Move the budget to compare the two at equal cost, or read the matched-performance saving.
Bold as printed (best per column). The autocorrelation column matches SimpleTES's third autocorrelation inequality; SimpleTES's own table also lists Together AI at 1.454555 (SimpleTES Table 1), added here in grey.
Wall-clock runtime in ms on six held-out datasets, lower is better. Choose the reference row; the bars show each row's runtime divided by it, per dataset, on a log scale (left of the line is faster).
Bold here marks the best value per column; the paper bolds only the 2,350.6 average. "bio": biological dataset.
Table 3 (Appendix B.2): T online rounds, W parallel workers, B the most discovery-agent calls per round (branches × attempts, the first attempt included), M policy versions per offline phase. The harness run's Figure 5 is drawn in the Reading tab (Harness); its bars: Claude Code 0.75, Terminus-Kira 0.72, Meta-Harness 0.79, Dream-RSI 0.81.
Table 2 on Figure 3's ConvDiv curve. The all-history run is that curve (1.8976 at 786). At 437 generations it stood at 1.4881, below the current-history-only run's final 1.59 at 430 (dashed). One run each.
Figure 6 rebuilt. The unguided runs are Figure 3's ConvDiv runs (identical to 0.0002). Both guided runs lead early; the guided Dream-RSI run has 11 rounds, the others 9 (fixed + guidance 8).
Figure 7 rebuilt from its printed labels. Attempts per round (bars, left axis) and round-best speed (line, right axis, 1/ms). The attempts add up to 786, Figure 3's ConvDiv budget.
Every link opens in a new tab. Reading time of the resources below: 6h 25m.
Preprint, arXiv cs.CL, 11 pages (v2), the paper itself; the HTML version has the anchors this page links to. abstract page, PDF.
(40 min)
Apache 2.0, released 6 October 2026 (this page read commit 8ec35bd of 8 October): the orchestration layer, the replay environment, the replay score (dream_rsi/learning/heuristic_search/eval.py), the starting policy, the prompts, the four KernelBench tasks and launch scripts with the paper's Table 3 settings. Not included: the harness-optimisation task, any recorded trees or discovered programs, and the maths and Lasso task files (fetched from SimpleTES, AGPL-3.0). The release tests run on a CPU in under a second. Read dream_rsi/learning/heuristic_search/eval.py (the replay score, _trace_auc and _pareto_summary), dream_rsi/env/trace_env.py (the replay rules) and dream_rsi/prompts/heuristic_proposer.txt (the policy prompt); this page ports the score and checks it against this code.
(30 min)
the authors: the method in prose, the result tables, and an animated one-lap demo whose numbers the page itself labels illustrative; before v2 it was the only place that said what the dagger in the Lasso table means ("our reproduction").
(10 min)
Ye et al., arXiv 2604.19341 (v2, 27 July 2026; Dream-RSI cites it under its earlier title, "Evaluation-driven scaling for scientific discovery"): the strongest baseline and the source of the Lasso task, its 17 search instances and the 51,200-generation budget (C = 32 trajectories × L = 100 steps × K = 16 samples); its Supplementary Table 16 is where Dream-RSI's SimpleTES row comes from.
(45 min)
Liu et al., arXiv 2602.23413: the online alternative Dream-RSI argues against: evolve the search strategy itself during discovery, paying a real rollout for each strategy tried.
(30 min)
Novikov et al., Google DeepMind, arXiv 2506.13131: the discovery loop (propose, evaluate, keep the best) with a hand-designed exploration strategy, and the source of the autocorrelation and circle-packing baselines in Table 1.
(40 min)
Ouyang et al., arXiv 2502.10517: the benchmark behind the four kernel tasks (VGG16, LayerNorm, ConvDiv, ConvMax): correctness against a PyTorch reference, then speed.
(30 min)
Ha and Schmidhuber, 2018 (interactive article): the analogy the paper borrows: train a policy inside a model of the environment instead of the environment. Dream-RSI's "model" is not learned; it is the recorded tree itself.
(30 min)
Hafner et al., arXiv 2301.04104: the Dreamer line the paper names: learn a dynamics model from experience and improve the policy on imagined trajectories.
(40 min)
Moerland et al., arXiv 2006.16712: for the general picture the paper's Section 2 sketches, including Sutton's Dyna (1990): plan with simulated experience between real steps, and the known risk that a policy exploits the model where the model is wrong.
(1h 30m)
One of the week's three auto-research papers. Its population converged prematurely and a human had to restore diversity, the opposite failure from a replay simulator that can only reward what the history already covers.
The third of that week's auto-research papers: its memory lives in harness-layer techniques discovered once and reused, where Agora's lives in a shared commit graph and Dream-RSI's in replayable trees.
Recursive self-improvement in the weights (interactions served through a routing harness become a post-training curriculum); Dream-RSI keeps every model fixed and changes only the exploration policy's code. Neither ablates its own loop.
Another way to change the layer around a fixed agent: write a new harness per task. JIT-Agent trains the writer; Dream-RSI scores rewrites of one policy against old traces.
Kernel and hardware work is where frontier models score worst there (Hardware and Edge 5.4% for the best model), which is one of Dream-RSI's four demonstration domains.
The score a harness creator could see moved the same way as the held-out score in only 34 of 64 version changes: the same question of whether a self-edit judged on old runs generalises.
Cited by Dream-RSI (Huang et al. 2026b) among self-evolving systems that build environments; there the world is generated, here it is the agent's own history.
Another recursive self-improvement loop over the layer around a fixed model, with a regulariser against drift.
off-policy evaluation and model-based planning, the ideas the paper borrows.
the orchestration layer around a coding agent, where this paper's change lives.
self-improvement loops that do not touch weights, against those that do.
the kernel-engineering domain (KernelBench tasks) of Figure 3.
This page is one row of the Papers database; its properties (Paper, Takeaway, Topics, Year) live there.