In the harness RSI loop, the agent uses Recursive Self-Improvement (RSI) to update its prompts, action menu, fight code and boss cards. Model weights stay fixed while a judge evaluates each proposed change in live play. The decision model’s own RSI loop uses fight records to train and test new model weights.
This walks through the harness-improvement loop, one step per figure. The strip under each step diagram’s title shows where it sits in the loop. ★ marks our contributions.
在harness 的递归自我改进(RSI)循环中,智能体根据实战记录修改提示词、可选动作、战斗代码和各个 Boss 的配置卡。在这个循环中,决策模型的权重保持不变。评判器通过实战检验每项改动。决策模型的 RSI 循环则使用战斗记录训练模型,再验证新权重带来的表现变化。
以下图解说明主报告中的harness 改进循环。每张流程图的顶部标有当前步骤,★ 标出本研究提出的设计。
The harness RSI loopharness 的 RSI 循环
② Observe: watch closely when it matters② 观察:遇到危险时,看得更仔细
③ Event scheduler ★: fix patterns, not accidents③ 事件调度器 ★:找出反复发生的问题
④ Improve: hard cases climb to the round reviewer④ 改进:难题交给复盘模型
- The fixer handles one case at a time. After 2 failed fixes, the case goes to the round reviewer, who sees the whole round.
- Landing slots cap new live changes at 4 per round: 1 quick fix, up to 2 strategy changes and 1 from the reviewer. With few changes at once, the judge can tell which one helped. If no slot is free, the fixer isn’t called at all.
⑤ Noise removal + locked judge ★: luck can’t decide⑤ 降低随机波动,锁定评判标准 ★
- Top half: with one fight each, a lucky win without the change and an unlucky loss with it make a good change look bad, so it gets undone.
- Bottom half: our judge plays several fights each way and compares the averages, so luck evens out.
- The judge and its thresholds are locked: the system can’t make its own exam easier.
What’s new in our RSI harness improvement这套 harness 改进流程做了哪些改变
Observation follows events. Case files retain each attempted fix across fights. The round reviewer takes over after two failed fixes, and the locked judge tests changes across several fights. The report’s prior-art comparison places these choices in context.
角色受击后,观察器会更频繁地检查战斗记录。同类失误在不同场次出现时,事件调度器把它们和历次修复记录存入同一份档案。连续两次修复失败后,复盘模型会结合整轮记录寻找原因。评判器再根据多场实战的结果,按固定标准决定是否保留改动。主报告的相关工作比较也列出了其他系统的做法。
What changed in the numbers改进前后,实际开销变了多少
We compared the boss sessions run before the design changes (Oct 24–29) with those after (Nov 4–9). The “fixer” is the most expensive model in the loop, so the fewer wasted fixer calls, the lower the cost.
- Tokens per 30 minutes: the fixer and reviewer used about 3.9M tokens per 30 minutes of play in the old design, and 0.9M in the new one. The busiest 30 minutes fell from 56M to 14M tokens, and the cost guard that had to pause RSI twice never fired again.
- Fixer time per kept change: the fixer worked about 0.45 hours (27 min) for every change the judge kept; now it is 0.25 hours (15 min), about 45% less.
- “Nothing to fix” answers: over half of the old fixer calls looked at a problem and found nothing to change. Now it is a third, because one-off accidents no longer reach the fixer.
| Problems reported → case files → sent to the fixer → kept | 7,313 → 131 → 37 → 26 |
|---|---|
| Escalated cases that later got a kept fix | 6 of 11 |
| Verdicts that would flip if judged on only 2 attempts | 9 of 24 |
| Observer reads per minute (cap 6) | 2.5 |
All numbers are from the run logs. The old-vs-new comparison uses different bosses and several design changes at once, so it shows a direction, not a controlled result. Cost in dollars per kept change did not fall, because the new runs used a stronger fixer setting.
我们比较了两批实战记录。10 月 24 日至 29 日使用旧版改进流程,11 月 4 日至 9 日使用新版流程。修复模型的调用成本最高,我们重点统计它花在修复上的时间,以及它在多少次调用后判断无需修改。
- 每半小时用量:按每 30 分钟实战统计,旧版的修复模型和复盘模型平均合计使用约 390 万个 token,新版约用 90 万个。两批记录中,用量最高的半小时分别用了 5600 万和 1400 万个 token。旧版曾两次因触及预算上限而暂停 RSI,新版在这批实验中没有触及上限。
- 每保留一项改动的平均用时:用修复模型的总工作时间除以最终保留的改动数量,旧版平均为 27 分钟,新版为 15 分钟,缩短约 45%。
- 修复模型判断无需修改的调用占比:旧版为 54%。新版先筛掉偶发失误,再把反复出现的问题交给修复模型,这一比例降至 34%。
| 观察报告数 → 合并后的问题数 → 提交修复的问题数 → 最终保留的改动数 | 7,313 → 131 → 37 → 26 |
|---|---|
| 交给复盘模型后,修复方案通过验证的问题 | 11 项中有 6 项 |
| 若只根据两场实战评判,结论会改变的次数 | 24 次中有 9 次 |
| 观察器平均每分钟读取战斗记录的次数(上限 6 次) | 2.5 次 |
数据均取自实战日志。新旧流程分别挑战了不同的 Boss,几处设计也同时改动,因此无法单凭这些数字判断哪一项改动节约了多少开销。新版修复模型的推理强度更高,虽然平均用时缩短,按美元计算,每保留一项改动的成本仍未下降。
Ongoing work: budget-aware RSI via event forest optimization后续研究:按根因归并事件,把预算用在关键修复上
We are optimizing steps ③ and ⑤ further. Instead of one fix per case, cases are grouped under a root cause, so one fix can close many cases at once, and several root fixes are tested in parallel with fair credit for each.
An early pilot on a capture quest is promising, but it is one run per design; repeat runs are pending.