Reading Dream-RSI: finding better credit policies with the same budget
Start with eligibility rules and segmentation. Consider how replaying historical experiments can improve search under the same budget and risk constraints, then examine what transfers to credit limit optimization.
Paper:Dream-RSI: Recursive Self-Improvement through Evolving Worlds
Contents · 11 sections
Interactive explanation
Connect Dream-RSI's two loops
The inner loop searches candidates; the outer loop improves the search program. Select a stage to see what it can read and what it produces.
Fixed: base agent, evaluator and execution interface. Improved: the search scheduling program.
First pay for real attempts
The current program chooses branches, parallel batches and stopping times. The base agent actually proposes candidates and the evaluator actually evaluates them.
搜索程序 → 生成候选 → 实际评估 → 记录节点
- This stage receives
- The current program, initial task state and results observed so far in this search.
- This stage produces
- A discovery tree with parent–child relationships, attempts, results, scores and costs.
Keep in mind Record execution failures separately from ineffective policies; retain more than the final winner.
Keep the full record inside the environment
A completed discovery tree becomes a world. A new program starts at the root; the environment reveals a recorded successor only after the corresponding choice.
历史发现树 → 隐藏未访问结果 → 按选择揭示
- This stage receives
- Search records whose costs have already been paid.
- This stage produces
- A replay environment revealing results action by action.
Keep in mind The program cannot see all answers in advance, and the environment cannot answer proposals outside the record.
Use existing worlds to screen new schedules
An agent proposes program revisions that replay accumulated historical trees. Compare them under predefined quality and budget preferences, including the incumbent.
程序版本 × 历史环境 → 回放评分 → 选择版本
- This stage receives
- Old and new programs, equal history access and a fixed scoring method.
- This stage produces
- The program version selected in this set of replay environments.
Keep in mind Nondecreasing historical scores do not guarantee better future tasks; proposing programs still costs resources.
Let the selected program make new attempts
The selected version enters the next real exploration round, adding new replay records. Credit applications also need validation across isolated tasks or time windows.
获选程序 → 新的实际搜索 → 新世界 ↺
- This stage receives
- The selected program and the next real search's task and budget.
- This stage produces
- New candidates and a discovery tree for the next improvement round.
Keep in mind Better offline candidates do not establish incremental value in actual lending.
Based on paper v2 dated 6 October 2026. The note first explains Dream-RSI, then considers eligibility rules, segmentation and limit policies. Credit transfer and experimental designs are hypotheses awaiting validation; no credit-domain empirical results are reported.
What Dream-RSI is and the problem it addresses
Dream-RSI stands for Recursive Self-Improvement through Evolving Worlds, meaning recursive improvement of search through expanding replay environments. It targets agent tasks that repeatedly generate, execute and evaluate proposals, such as algorithm optimization or program rewriting. The base agent proposes solutions, an evaluator scores them, and a search program decides where to explore next.Paper §§1–2
The difficulty is that evaluating a search method often requires paying for a full search first. Comparing more exploration directions with further refinement of the current best usually requires many generations and evaluations for each method. Fixed handwritten rules are cheap but hard to adapt; repeatedly trying new rules in real searches is expensive.
Dream-RSI cheaply screens new search programs using historical searches whose costs have already been paid, then runs the selected program in the next real exploration. It changes scheduling code while holding the base model, evaluator and execution interface fixed.Official implementation notes
How it dreams using past searches
A search can be represented as a discovery tree. The root is the initial state; successors store attempts, parent states, results and evaluation scores. Branches are exploration directions. A completed tree becomes a replay environment, or world in the title.
The loop has four steps:Paper §3、Official code structure。
- Run real searches and record results. The current program chooses a new root branch or continues an observed leaf, sets parallel batches and stopping times. The base agent generates actual candidates and the evaluator performs actual evaluations.
- Turn records into replay environments. Historical results stay inside the environment. The new program starts with only the root visible; each choice reveals a corresponding recorded successor rather than the whole tree in advance.
- Revise and compare search programs. An agent proposes new versions, which replay accumulated trees and are scored by agreed quality and budget preferences. Reusing recorded results avoids regenerating and reevaluating those candidates, reducing comparison cost. Proposing programs still has a cost.
- Select a program, then run real search. The incumbent also competes. The selected version drives the next exploration, creating results that expand replay environments for further improvement.
There are two loops: the inner seeks better task solutions, and the outer improves how to search. RSI's self-improvement occurs in the outer search program.
A simple replay example: old records contain successive improvements along A and B. After seeing early results, a new program chooses whether to continue A or allocate the next attempt to B. Replay reveals the next recorded result and counts visited nodes, stopping time and score. It cannot reveal a later breakthrough in B in advance or answer an unrecorded proposal.
The dream has a boundary: replay traverses realized search trees rather than simulating unknown outcomes. Future suitability still needs subsequent real searches.
Interpreting the reported gains
Including the incumbent only prevents a lower selection score on that historical pool. It does not guarantee better future experiments. Fewer calls are not necessarily lower end-to-end cost: the widely cited 162-fold comparison counts discovery calls in a particular Lasso experiment against SimpleTES. Different base models were also used, so the gap cannot be attributed solely to scheduling.Paper experiments
Implementation should follow the google-research/dream-rsi . The official code separates trial histories, replay pools, exploration-program versions and promotion results. This is a useful engineering reference, but credit applications still need their own action contracts and evaluation protocols.
Before credit applications, distinguish two kinds of policy
Policy search creates information about useful candidates, redundant segments, overall gains that damage local risk, and attempts that fail because of data or execution. If these remain only in reports, later tasks may repeat the same mistakes.
Dream-RSI makes me ask whether these processes can become replayable records that improve future budget allocation. My first question is:Can we find better eligibility policies with the same budget and fixed risk constraints? Saving backtesting cost matters, but the first experiment's primary objective is candidate quality. Avoided ineffective trials should free budget for more promising directions. Stopping earlier with the same result alone does not meet that objective.
This note distinguishes credit policy from search policy. The former determines eligibility or limits; the latter chooses which candidate the research process evaluates next.
| Layer | Meaning in eligibility search | May the first learner modify it? |
|---|---|---|
| Data and evaluation contract | Sample eligibility, feature timestamps, label windows, return and risk definitions | Fixed |
| Business acceptance criteria | Non-negotiable rules and overall/segment constraints | Fixed |
| Candidate generator | Generate segments, rule combinations and thresholds within the agreed rule language | Version and input contract fixed for this experiment |
| Search scheduler | Choose observed branches, new directions, parallel resource allocation and stopping times | Learning target |
The scheduler then scores well by using trial budgets effectively. It cannot improve appearances by relaxing acceptance criteria, changing denominators or replacing labels.
Eligibility rules and segmentation search
Start from the existing generate → deterministic backtest → review → update winner loop. Retain computation and acceptance modules and add comparable scheduling programs around them.
Freeze a rule search space per task. Within approved features and rules, allow finer segments, threshold changes, redundant-rule removal or exploration of false rejections and concentrated risk. The scheduler chooses where to invest; the same generator still produces candidates.
Retain a complete node for every candidate, not just the winner:
- Task, data snapshot, labels and generator/evaluator versions.
- Parent candidate, configuration and behavioral signature showing how it was derived.
- Information visible before the decision, available actions and the action chosen.
- Hard-constraint results and return, risk, coverage and stability metrics.
- Generation, backtesting, retries and review costs, plus failure and stopping reasons.
Two unsuccessful branches may differ fundamentally: one repeatedly violates risk constraints in valid backtests; another has only execution failures and no credible policy evaluation. The scheduler must distinguish them. This is a proposed credit design, not a credit experiment reported by the paper.
Keep initial actions simple: continue a revealed branch, start a root attempt, form a bounded parallel batch or stop. Changing the rule language, model, evaluator and search program simultaneously makes attribution difficult.
If reward measures gain over the current winner, increments from different rounds are not directly comparable after that winner changes. Store absolute metrics, improvements over a frozen initial baseline and the then-current winner. Replay must use a predefined comparable basis; historical scores with unreconstructable comparisons should not be forced into one world.
Prevent replay from leaking answers
The replay engine needs full history, but the scheduler may see only revealed portions. Winner locations, successor scores and post-stop results must not leak through node names, paths or aggregates.
Winner-only logs without rejected candidates, parent links or contemporaneous information do not support reliable replay. Audit logs first and collect complete trajectories if needed. Mark missing nodes unsupported rather than inventing results.
Check state completeness too. Global history, random seeds and parallel completion order can affect candidate generation. Reordering search may change what gets generated. Reading old nodes evaluates a recorded path, not necessarily an unbiased counterfactual real execution.
Two layers of independent validation
The first independent-validation layer concerns credit candidates. Data used for comparison, winner selection and tuning are development or selection data even if named OOT. Reserve mature labels in a time-isolated window without feedback. Once final-test results inform tuning, a new independent test is required.
The second layer concerns the scheduler. Trees used to generate and select programs cannot prove generalization. Use other task- or time-isolated records and new real search tasks. Do not randomly split correlated branches from one task to create apparent independence.
I would divide initial evidence into three stages:
- Record audit: verify replayability and absence of premature result disclosure.
- Independent-record evaluation: compare quality–cost curves of fixed scheduling, simple greedy or uniform exploration, and learned scheduling on held-out records.
- New real searches: repeat comparisons with the same generator, evaluation contract and budget cap, then test final candidates in a window excluded from search.
Real search here means actual candidate generation and offline backtesting, not deploying exploratory lending policies to customers.
Primary target: better candidates under the same budget
Fix budget cap B and compare the best feasible candidate found within it. Freeze business quality definitions in advance; check hard risk constraints before ranking. An arbitrary weighted total cannot compensate for violations. Without a better feasible candidate, retain the accepted initial policy and do not count infeasible high scores as improvements.
This changes scheduler evaluation. Early stopping with equal candidate quality demonstrates efficiency. The objective here requires better candidates under the same cap, surviving independent tests. I would retain some exploration for initially weak directions with plausible improvement hypotheses. Set exploration shares and stopping rules during development, before final testing.
Define equal budget first. Ideally use consistent costs for model calls, SQL/Spark computation, retries, scheduler development and replay, with equal total-cost caps. Constrain and report wall time and concurrency separately. If money cannot be reliably estimated, fix and disclose resource quotas; equal call counts are not equal total cost. Disclose historical collection costs and separate cold starts from history reuse.
Compare the following with the same generator, initial policy, history access and evaluation contract:
| Baseline | Question addressed |
|---|---|
| Current fixed schedule | Does the method improve on the existing workflow? |
| Uniform exploration or simple greedy scheduling | Does it outperform simple allocation rules? |
| Program selected through historical replay | Does learned scheduling transfer to new search tasks? |
For each new task, each method selects a candidate using development and selection data only. Freeze them and compare as pairs in a shared independent time window. The primary result is candidate quality at equal budget, with feasibility, worst-segment performance and cross-task variation. Cost to reach a quality threshold is secondary. Do not select the highest-scoring candidate again on the final test set.
Give baselines the same history. Otherwise gains may reflect unequal information. Distinguish predicted return, historical performance and incremental business impact: a higher offline score does not establish better returns after actual disbursement.
Financial returns can be negative or vary in scale across months, making division by the historical best score unsuitable. After feasibility checks, compare gains over a fixed business baseline, predefined scales or quality–cost curves. Fix scoring before scheduler selection.
What changes for credit-limit policies?
For limits, retain the OR → metrics → judgment → recommendations → controlled changes workflow. A new scheduler chooses permitted trials, allocates budgets and stops ineffective directions. The existing decision ledger is a starting point; cross-task versioning and comparability still need work.
First distinguish two experiments:
- Fixed candidates and scores: study how to find feasible or better solutions faster. Once the objective bound within that set is reached, more scheduling cannot increase the same objective.
- Expand limit, term or segmentation options: test whether a richer candidate space adds value. Recheck model coverage, identifiability and business boundaries; the scheduler cannot assume reliable returns for unknown actions.
Historical trees do not remove selection in lending data. Unissued limits lack corresponding repayment outcomes; rejected applications lack outcomes for that loan. Evaluating policies under partial feedback is another problem requiring explicit support and identification assumptions. Useful references include doubly robust policy evaluation and selective labels, but no estimator automatically fills evidence gaps.
Where to start the first experiment
I would first freeze an evaluation contract for eligibility rules and segments and audit existing trajectories. If incomplete, add candidates, failure reasons, parent links and costs before scheduler comparison. Do not replace the base model, business objective and generator simultaneously.
Next, run the program selected on development replay and validated on independent records on new tasks, against fixed scheduling at equal budget. Only better final candidates in an independent time window, without risk violations, justify studying controlled online validation. If the result is equal quality at lower cost, report that narrower gain honestly.
For me, Dream-RSI's most interesting test is whether paid-for historical experiments help allocate the next budget to better directions. The comparisons above and subsequent evidence must determine whether that works in credit policy search.
Further reading:Dream-RSI paper v2、Official implementation、Zhihu explanation that started this discussion。