Grading the Roads You Never Took: Dream-RSI

Dream-RSI rewinds the record of past exploration and replays even untried strategies on top of it, scoring them for free.
← 목록으로
온
온틀 리서치
2026년 10월 03일 Updated 2026.10.16 22 min read views 2

When an AI gets stuck on a hard problem, it's usually not for lack of brains. The issue is that it has to actually run each promising approach one at a time, and each of those runs is slow and expensive. That's exactly where Dream-RSI gets clever. It scores strategies it has never actually run, using nothing but the record it has already accumulated. Instead of repeating costly experiments, it rewinds past logs and tries strategies out in its head.

Dream-RSI is a recursive self-improvement (RSI) framework. In plain terms, it's a loop that uses the record built up while solving a problem to revise its own next approach. The more it solves, the better it gets. The device that lets that loop run cheaply is the star of this post.

Why legwork is expensive

Picture a search party hunting for treasure in the mountains. The party's real skill shows up in choosing where to dig across a vast range. Finding valuable answers in a space with an enormous number of possibilities is what we call exploration. On hard problems, that's where success or failure is decided.

The tricky part is dealing with the strategy itself — how to explore. Fix a single strategy once and for all, and it quickly becomes useless as the mountain grows larger. But if you keep tweaking the strategy mid-mission, you fall into yet another huge search: finding which strategy is good. Every time you dream up a new search method, you have to wander the mountain for days, results come back much later, and the costs pile up.

The dilemma is clear. To find good answers you have to try more, and the more you try, the more expensive it gets. Catching both quality and cost at once — that's the challenge.

One record, dozens of futures scored

The starting point is a simple insight: the record you left behind while solving problems so far is itself a practice environment you can replay.

The trail the search party walked stays on the map. "Point A was a bust, struck gold at fork B, ridge C was a dead end." This record — showing which choice led to which outcome, branching out like a tree — is called a discovery tree.

Here's where it gets interesting. This single map is a record of the past, but its usefulness isn't bound to the past. You can gauge, from the map alone, "what if we'd dug deep into the valley first this time?" No need to climb the mountain again. The researchers call this act of rewinding the map to test new strategies in your head dreaming.

Why is this such a clever breakthrough? To actually test a single strategy, you'd have to comb the mountain from scratch. But dreaming scores dozens of different strategies at once against the same single map. The legwork was spent exactly once, in the past, and that one record becomes the raw material for running countless "what ifs." The cost of the expensive experiment doesn't scale with the number of evaluations.

Look closely at how the scoring works and the principle clicks into place. You bring in a new strategy (a candidate policy) and re-walk the already-recorded discovery tree as if that strategy had been the guide — how would it have moved? The score comes from three angles. The peak performance reached on that re-exploration is better the higher it is; the number of attempts it took to get there is subtracted as a cost; and if several branches can be pushed at once, a parallelization bonus is added. It isn't measuring how closely you resemble the choices that succeeded — it's measuring how far, and with how much legwork, that strategy reaches when it re-treads the record. The point stays the same throughout: it evaluates a different strategy you haven't tried yet, using data you've already gathered — not the strategy you're currently running. The technical term for this is off-policy feedback. Literally: scoring a policy (strategy) other than the one you're running now, using only the accumulated record of the past.

The results were clear. The researchers tested the method in three domains where the right answer and its evaluation are sharp: algorithm design, mathematical optimization, and GPU compute-efficiency optimization. Across several settings, the method delivered competitive answer quality while the expensive legwork dropped substantially — not that it beat the prior best everywhere (on at least one autocorrelation measure a simpler baseline still scored better, and the GPU comparison was against a fixed-search baseline rather than the full state of the art).

Beyond the paper's coding case

The paper validated this framework by attaching it to a coding agent. But the real power of the framework shows up in more general problem-solving. Any task where you repeatedly have to decide which of many options to dig into first has roughly the same exploration structure.

Take the kind of judgment ONTLE's AI project manager faces every day. ONTLE assigns an AI PM to each customer project in a deployed-in-the-field model. The problem the PM solves is, in the end, also exploration: what to investigate first, where to dig deeper, when to stop. Let's pick one judgment and follow it all the way through — deciding the order of what to investigate first when kicking off a new project. (What follows is not from the paper; it's a sketch of how this would apply at ONTLE.)

  1. Swap the instructions only. Leave the PM itself untouched, and make only the "investigation instructions" handed to the PM swappable from the outside. You're not hiring a new worker — you're changing a single sheet of directions.
  2. Turn accumulated logs into a practice environment. The PM's logs so far are the discovery tree. Choices and outcomes like "last time, on the e-commerce integration, we dug into the API docs first and got blocked mid-way by the auth method, forcing rework" remain as branches. Turn these logs into an environment you can rewind.
  3. Score new instructions against past logs. This is where dreaming actually does its work. The candidate instruction: "Next time, move verifying the auth method up to first priority." Scoring flows like this: re-tread the past logs using the candidate instruction as a guide — if auth had been moved to first priority, re-walk how far you'd have gotten at that fork. The score comes from the performance reached on that re-tread (against a pre-set yardstick — did rework drop over the same period?), with the number of attempts to get there subtracted as a cost. You don't award points for resembling the choices that succeeded. That said, there's a part the logs alone can't judge. If that blockage was due to an auth setup unique to that one customer, then looking at auth first does no good on other projects. That's off the map, so the scoring falls silent on it.
  4. Confirm the seemingly-better instruction in the real world. So you don't trust the log score alone. You apply it to the actual next project and adopt it only after seeing whether the pre-set metrics — rework count and time over the same period — genuinely dropped.
  5. The outcome accumulates back into the logs. The new result widens the practice environment, and you start over from step 1. This process — where experience built up while solving makes the next solution better — is RSI. A loop that gets smarter the more it turns.

The past is not a perfect mirror

There's a point worth stating honestly. Even from the public abstract alone, the limits are clear.

They all trace back to one root: the practice environment is built only out of places you've actually been. So it breaks down in two places. One, any region you've never visited gets silence from the scoring — you can't know from the map whether a valley that isn't on it is a win or a loss. Two, scoring a strategy you're not currently using against past data opens a gap between prediction and reality. That's the off-policy gap. Step 4 above, the real-world confirmation, is precisely the safety mechanism meant to close that gap. Trust the past without that check and you'll fall.

The rest is a matter of scope. The concrete numbers — how much cheaper, up to what scale — aren't in the abstract. This post's "competitive quality, with cost cut substantially across several settings" is true only that far. For exact figures you'll need the paper's body. And the three validated domains are all engineering and math tasks with sharp right answers. Whether it works on tasks where the answer is fuzzy or the evaluation is subjective is still an open question.

Frequently asked questions

How is dreaming different from simulation in the usual sense?

It differs in that it doesn't build a new virtual environment. A typical simulator assumes rules about the world and fabricates fake situations. Dreaming only rewinds records of what actually happened in the past. So the risk of a wrong assumption is lower, but it works only within the range for which there's a record to rewind.

Why leave the model itself untouched and change only the instructions?

Reworking the model itself is heavy and slow. Swap the instructions only, and you can run several strategies lightly with the same worker. Fixing the model also makes it easy to compare strategies fairly. You're reducing the variable you change down to one.

Does it help in the early stage, when there are almost no logs?

Weakly. With little to rewind, there's little to score. Early on, you have to build up the record through real exploration first before the loop can finally start turning. That's why this approach gets compoundingly more favorable as data accrues.

So what does this mean for ONTLE

Once this framework takes hold, accumulated logs change in character. They stop being records that just drift past and become a practice environment that scores the next judgment in advance. On top of that environment, ONTLE's AI PM can redefine its role — from a PM that reports after the fact, to a PM that spots a project's latent bottlenecks ahead of time from past data and proposes a better path first.

There's a precondition. The yardstick for "good progress" — delivery time, rework, or customer satisfaction — has to be agreed on per project up front, and every new instruction must be confirmed on a real project with the logs updated. The moment you bind scoring and confirmation together as a pair, logs stop being a cost that only piles up and become an asset that grows the PM. Turning legwork into an asset — that's the direction Dream-RSI points toward.

References