Benchmarks · Recursive Self-Improvement · Experiment
The Ruler Must Improve First
Sustainable AI recursive self-improvement is impossible on static, saturated benchmarks—but a self-evolving benchmark quickly turns unfair unless you enforce deterministic verification, asymmetric sandboxes, and harness-coupled gates.
评测基准 · 递归自我提升 · 实验
尺子必须先自我进化
没有会自我进化的 Benchmark,就不可能有真正的 AI RSI——但自我进化的考卷必须靠确定性验证、非对称沙箱与端到端耦合门控来做,否则两代之内就会滑向不公平的自嗨。
Benchmarks · Recursive Self-Improvement · Experiment
The Ruler Must Improve First
Sustainable AI recursive self-improvement is impossible on static, saturated benchmarks—but a self-evolving benchmark quickly turns unfair unless you enforce deterministic verification, asymmetric sandboxes, and harness-coupled gates.
Everyone talks about Recursive Self-Improvement (RSI) for AI models while overlooking a fatal prerequisite: if the ruler is dead, how can the solver truly self-improve? Ship the "hardest benchmark ever" today, and frontier models saturate it to 95% within six months while pretraining and web search absorb the rest. Once the evaluation ruler saturates and leaks, model RSI either stalls on a flat ceiling or Goodhart-hacks a static dataset. Without self-evolving benchmarks, sustainable AI RSI is impossible—the ruler must recursively improve first.
Yet our experiments quickly exposed a sharper engineering truth: you cannot build a fair RSI benchmark by just prompting an LLM to "make questions harder and grade itself." Naive self-evolution collapses into unfair self-delusion—wrong ground truth, generator self-bias, inverted model rankings, and sandbox traps that penalize valid solutions. We built RSI-Bench (github.com/spyzss/rsi-bench), a dual-loop self-evolving benchmark engine (inner loop co-evolving tasks and deterministic Python verifiers; outer loop Meta-Evolver rewriting its own playbook from telemetry), ran four progressive experiments (exp_v1 → exp_v2_weak_evolver → exp_v2 → exp_v3), and audited every evolved task line by line. The results both demonstrate autonomous benchmark resurrection and uncover four hard laws anyone building RSI-Bench must obey.

exp_v1 resurrection curve (raw measurements). Across 20 classic-style G0 seeds (85% saturated), three generations of dual-loop RSI separate the four in-loop models cleanly from a 90%–100% cluster—yet two held-out frontier models (codex/gpt-6.2-sol, gemini/gemini-4-neon) still score 95% raw (100% after removing a sandbox artifact).
TL;DR
- RSI of the ruler is the prerequisite for AI RSI—and fairness requires hard invariants: zero LLM-as-a-Judge grading, an end-to-end harness-coupled gate, outer-loop Meta-RSI, an asymmetric sandboxed evolver, and cross-family held-out audits.
- Outer-loop Meta-RSI beats static prompts ~2×: Even after stripping sandbox artifacts, Meta-RSI nearly doubles discrimination slope over frozen prompts (
+0.275vs.+0.150) and preserves strictly monotonic rankings while Static inverts strong vs. weak models. Meta-Evolver even diagnosed and fixed its own prior-generationimport timesandbox bug.- Asymmetric verification breaks the frontier ceiling 8× cheaper: A non-thinking evolver collapses against a full-thinking frontier ladder (16.7% gate yield, 100% saturation). Arming a frontier evolver with an isolated Python scratch sandbox against tool-free test takers lifts gate yield to 96.9%, raises underlying design soundness to 87.5% SOUND / 0% FLAWED, cuts PAI token spend 8×, and drives held-out Gemini latency up 6.4× (with two genuine >200s timeouts).
- RSI is a ruthless automated fuzzer against your own harness: Any 1-millimeter seam between
verifier_gateandevaluator(underscore-attribute bans inexp_v1,<answer>-tag stripping inexp_v2) gets amplified by natural selection within two generations. Welding them together inexp_v3drove both reward-hacking seams to 0/8 with 19/19 (100%) gate yield.
Question Map
| # | Status | Question | Answer / Finding |
|---|---|---|---|
| Q1 | Answered | Does outer-loop Meta-RSI beat static prompt evolution? | Yes: ~2× clean discrimination slope (+0.275 vs. +0.150), monotonic ranking, and autonomous self-correction of its own bugs. |
| Q2 | Answered | Do tasks evolved on a mid-tier ladder stump held-out frontier models? | No. Evolution hits Ladder-Bounded Equilibrium: held-out Codex/Gemini still score 100% clean (1.4–2.5× slower). |
| Q3 | Answered | How do we break the Generator–Target capability gap? | A weak evolver collapses (16.7% yield); asymmetric verification (tool-armed sandboxed evolver vs. tool-free test takers) breaks through immediately. |
| Q4 | Answered | What is the biggest hidden failure mode of Benchmark RSI? | Goodhart Cascades: RSI fuzzes any seam between gate and evaluator; an end-to-end harness-coupled gate is mandatory. |
| Q5 | Answered | Does the patched harness eliminate reward hacking cleanly? | Yes: exp_v3 (8 seeds × 2 gens) hit 19/19 (100%) gate yield, 0/8 tag seams, 0 sandbox artifacts, and 3.5× Codex latency. |
| Q6 | Planned | How does this scale to 100 public seeds + IRT calibration? | Next: plug in public HumanEval+ / MATH-500 / BBH seeds with multi-family frontier upper tiers and cross-generation IRT anchors. |
Why RSI-Bench Must Be Built This Way (Or It Becomes Unfair)
Naive "self-evolving benchmarks" ask an LLM to rewrite old questions harder and grade them with LLM-as-a-Judge. Under iterative evolution, that shortcut collapses into four forms of structural unfairness:
- Ground-truth unfairness: Once tasks approach or exceed the generator's own reasoning ceiling, unverified reference answers break and LLM judges favor their own model family.
- Ranking unfairness: Blind static rewriting adds prose noise rather than structured difficulty, eventually inverting strong vs. weak model rankings (reproduced empirically by our Static baseline in
exp_v1). - Harness unfairness: Any tiny discrepancy between the admission gate and the live evaluation harness becomes an evolutionary attractor that falsely fails valid, idiomatic submissions.
- Blind-spot unfairness: Evaluating only on in-loop models cannot distinguish genuine reasoning difficulty from overfitting to a narrow ladder—requiring cross-family held-out tests and per-task audits.
RSI-Bench therefore enforces five non-negotiable fairness invariants:
- Zero LLM-as-a-Judge Grading: Every track (
code,math,logic,agent_ops) uses an isolated subprocess Python verifierverify(candidate) -> (bool, str). All three non-code tracks enforce Solve-First: write and execute a deterministic Python solver first, then lock its exact stdout as the reference answer. - 7-Stage Adversarial Verifier Gate ("Who Verifies the Verifier?"): Every candidate must pass schema validation, static AST safety,
verify(reference), solver-stdout reproduction, rejection of four trivial strings ("","0","{}","pass"), 100% rejection of at least two rule-targeted decoy wrong answers, and 100% rejection of its parent generation's reference solution. - Anti-Noise Fitness Selection: Each task is scored on difficulty sweet spot , discrimination slope , capability fidelity, and prompt novelty:
halved whenever weak models outperform strong models ().
4. Outer-Loop Meta-Evolver: After every generation, Meta-Evolver inspects per-operator yield, saturation, and failure traces, then rewrites playbook_g{t}.json—reweighting winners, pruning dead operators, inventing targeted replacements, updating global guardrails, and emitting human-readable meta_diff_g{t}.md logs.
5. Controlled Ablation + Held-Out Frontier Eval + Per-Task Audit: Compare RSI vs. frozen Static on identical seeds and budgets, evaluate held-out frontier models with zero tools, and independently audit every final task.
Experimental Setup
All experiments start from 20 validated classic-style G0 seeds across 4 tracks (5 per track, initially 85%–100% saturated):
| Run | Scope | Evolver | In-Loop Ladder (Lower → Upper) | Held-Out Frontier | PAI Spend |
|---|---|---|---|---|---|
exp_v1 |
20 seeds × 3 gens (RSI vs. Static) | qwen4-max:nothink |
qwen3.8-27b:nothink, qwen3.8-flash:nothink → qwen4-max, deepseek-v4-pro |
codex/gpt-6.2-sol, gemini/gemini-4-neon |
7.16M tokens |
exp_v2_weak_evolver |
12 seeds × 2 gens (negative control) | qwen4-max:nothink |
qwen4-max, deepseek-v4-pro → codex/gpt-6.2-sol (all thinking) |
— | ~0.6M tokens |
exp_v2 |
8 seeds × 3 gens (adaptive budget) | codex-evolver/gpt-6.2-sol (Python sandbox) |
qwen4-max, deepseek-v4.1-flash → codex/gpt-6.2-sol (tool-free) |
gemini/gemini-4-neon (tool-free) |
0.895M tokens |
exp_v3 |
8 seeds × 2 gens (coupled gate + 8192 tok) | codex-evolver/gpt-6.2-sol (Python sandbox) |
qwen4-max, deepseek-v4.1-flash → codex/gpt-6.2-sol (tool-free) |
— | 0.733M tokens |
Experiments
Q1: Does outer-loop Meta-RSI actually beat static prompt evolution?
Yes—even after stripping all sandbox false rejections, Meta-RSI nearly doubles discrimination slope over Static (+0.275 vs. +0.150) and preserves strictly monotonic model rankings, whereas Static inverts strong and weak models by G3.

exp_v1 controlled ablation on identical seeds, initial playbook, and 120-candidate budget (raw metrics). Static achieves higher raw gate yield only because it keeps generating safer, more saturated mutations.
| Arm | Gen | Mean Fitness (Raw / Clean) | Discrimination Slope (Raw / Clean) | Saturation (Raw / Clean) | Monotonic Ranking? |
|---|---|---|---|---|---|
| Shared | G0 | 0.198 | +0.025 | 85% | Clustered (90%–100%) |
| RSI (Meta-Evolver) | G3 | 0.517 / 0.451 | +0.350 / +0.275 | 25% / 30% | Yes (45% < 60% < 70% < 90%) |
Static (Frozen G0) |
G3 | 0.428 / 0.428 | +0.150 / +0.150 | 35% / 35% | No (deepseek-v4-pro 55% < qwen3.8-27b 60%) |
Even more striking is what meta_diff_g2.md recorded—Meta-Evolver autonomously diagnosed and patched a bug in an operator it had invented one generation earlier:
- G0 → G1: Spotted a logically vacuous RLE rule ("escape a singleton adjacent to a same-character run", impossible on maximal runs), added a mandatory firing-witness guardrail, and invented
code.complexity_gate_refactorto fight 50% code saturation. - G1 → G2 (Self-Correction): Saw that its own
complexity_gate_refactorwent 0/12 becauseimport timeviolated sandbox rules. It replaced wall-clock checks with deterministic operation/state budgets, pruned 5 chronically weak G0 operators (edge_case_coupling,anti_template_symbolic,inverse_coupled_system,resource_invariant_planning,interacting_csp_rules), and invented 5 targeted operators (snapshot_aliasing_invariants,first_crossing_recurrence,bounded_minimax_margin, etc.) that unlocked immediate G3 breakthroughs.

Outer-loop operator weights, gate pass rates, and mean fitness across G0 → G2 in exp_v1. Green borders mark newly invented operators; orange dotted borders mark downweighted ones; blanks mark pruned operators.
Experiment record for these two figures (exp_v1 ablation)
- Controlled variables: 20 seeds,
playbooks/playbook_g0.json, 4-model PAI ladder, 2 candidates/seed/gen (120 slots per arm). Only difference: outer-loop Meta-Evolver rewrites Playbook inrsivs. frozen instatic. - De-confounding: Independent audit (
audit_g3.md) re-ran all failedcodesubmissions without the leading-underscore_attribute ban, uncovering 7 false negatives in RSI-G3 (0 in Static-G3). Both Raw and Clean scores are reported above. - Cost: 1,242 PAI requests, 7,161,171 total tokens (
qwen4-max:nothinkevolver accounted for 5.38M). Artifacts:rsi-bench/runs/exp_v1/.
Q2: Do benchmarks evolved on a mid-tier ladder stump held-out frontier models?
No. Evolution hits Ladder-Bounded Equilibrium: held-out frontier models take 1.4–2.5× longer to think, yet still score 100% once the single sandbox artifact is removed.

exp_v1 accuracy across all four tracks at G0 (left) and RSI-G3 (right). While in-loop models fan out sharply, held-out codex/gpt-6.2-sol and gemini/gemini-4-neon ace every track except the sandbox-confounded code_04.
Both held-out models scored 19/20 (95%) raw and 20/20 (100%) clean on exp_v1 RSI-G3—though average latency climbed 1.4× for Codex (13.7s → 19.3s) and 2.5× for Gemini (17.9s → 44.5s, peaking at 183.8s on math_01). The mechanism is straightforward: once evolved tasks hit the sweet spot of the in-loop ladder, selection pressure vanishes. To pressure frontier models, frontier models must sit inside the feedback loop.
Experiment record for this figure (exp_v1 held-out frontier transfer)
- Evaluation harness:
src/frontier_eval.pyrunscodex exec(gpt-6.2-sol,mediumeffort) andagy -p(gemini-4-neon,mediumeffort) inside empty temporary directories with tools disabled for strict fairness against PAI API models. - Latency: G0 avg
13.7s(Codex) /17.9s(Gemini); RSI-G3 avg19.3s(Codex) /44.5s(Gemini, withmath_01_rsi_g3_c2solved in183.8sunder a 240s retry).
Q3: How do we cross the Generator–Target capability gap?
Upgrading the ladder without upgrading the evolver collapses completely (16.7% gate yield, 100% saturation). The breakthrough is asymmetric verification—giving a frontier evolver an isolated Python scratch sandbox against tool-free test takers.
Our negative control exp_v2_weak_evolver (12 seeds × 2 gens) kept non-thinking qwen4-max:nothink as evolver against three full-thinking models (qwen4-max, deepseek-v4-pro, codex/gpt-6.2-sol). Gate yield collapsed to 16.7% (4/24) and 0/24 tasks exceeded fit = 0.21 (100% saturation).
Switching to a tool-armed frontier evolver (codex-evolver/gpt-6.2-sol:medium allowed to run Python in an isolated scratch directory to verify its solver, brute-force oracle, inline examples, and decoys before emitting JSON) against tool-free test takers in exp_v2 (8 seeds × 3 gens) transformed every metric:
- Gate yield rocketed
16.7% → 96.9% (31/32), with 8/8 seeds reaching G3 and zero fallbacks; - Underlying problem-design soundness jumped from
61.1%(exp_v1) →87.5% SOUND (7/8) + 12.5% MINOR_ISSUE (1/8) + 0% FLAWED, eliminating 100% (0/8) of all fourexp_v1design flaw classes (contradictory worked examples, sensitivity collapse, >100-step brute-force grind, and_-attribute bans); - PAI token spend dropped 8×: Paired with adaptive candidate budgeting (
--adaptive-candidates, skipping Slot 2 when Slot 1 hitsfitness ≥ 0.55, saving 33.3% of slots), total PAI consumption fell from7.16Mto just 895k tokens; - Held-out frontier finally felt real pressure: Clean G1 immediately separated full-thinking models (
deepseek-v4.1-flash25%,qwen4-max50%, tool-freecodex87.5%). On G3, completely held-outgemini/gemini-4-neonsaw average reasoning latency jump 6.4× (17.9s → 115.4s), solving only 5/8 (62.5%) within 200s—with two fullySOUNDtasks (code_05at >206s andmath_04at >205s) causing genuine >200s timeouts andcode_01failing after171.4s.
Q4: What is the deadliest hidden failure mode of Benchmark RSI—and how do we cure it?
RSI acts as an automated fuzzer against your own evaluation harness. Any 1-millimeter seam between verifier_gate and evaluator gets amplified into a Goodhart cascade within two generations—requiring an end-to-end harness-coupled gate.
We caught two real-world reward-hacking cascades red-handed:
exp_v1Sandbox Seam: Forbidding single-underscore attributes (self._text) caused 8/9 failedcodesubmissions to be functionally valid (7 false negatives in RSI-G3).exp_v2<answer>-Tag Seam (0/6 → 3/6 → 6/6spread by natural selection):evaluator.pystrips<answer>...</answer>tags before callingverify(), whereas oldverifier_gate.pytested rawreference_solutiondirectly.- Starting in G2,
codex-evolverwrappedreference_solutionin<answer>tags and madeverify()require tags. The gate passed them, the evaluator stripped tags, all models scored0%, and0/3yieldedfitness ≈ 0.57—triggering adaptive early stopping and spreading from G10/6→ G23/6→ G36/6across the 6 non-code tasks (5/6 strictly rejecting stripped JSON). - Zero-cost local re-verification (plus disclosing 11/24 weak-tier
EVAL_TOKENS = 4096thinking cutoffs) revealed trueexp_v2G3 accuracies ofdeepseek-v4.1-flash12.5%,qwen4-max37.5%, andcodex/gpt-6.2-sol100% (not the raw 37.5%).
Architectural Cure & exp_v3 Zero-Seam Verification: We patched src/verifier_gate.py to ban <answer> tags inside reference_solution and run the wrapped reference through the exact same evaluator.extract_candidate() used during live evaluation, patched src/sandbox.py to permit user-class _attr and from __future__ import annotations, and bumped EVAL_TOKENS to 8192 (auto-retrying to 12288). Running clean exp_v3 (8 seeds × 2 gens) confirmed the cure:

exp_v3 (end-to-end harness-coupled gate + 8192 token budget) G0 → G2 trajectory. Both reward-hacking seams dropped to zero (0/8 tag bugs, 0 sandbox artifacts), gate yield reached 19/19 (100%), saturation hit 0%, and discrimination slope climbed to +0.875.
At only 733k PAI tokens (40.6% slots saved by adaptive budgeting), exp_v3 achieved 19/19 (100%) gate yield, 0/8 <answer> seams, and 0 sandbox rejections, while stretching codex/gpt-6.2-sol latency 3.5× (13.7s → 48.0s, up to 70.2s on math_01). Even at 8192–12288 tokens, PAI thinking models still hit token budgets on the 6 hardest code/math/logic tasks while same-family codex stayed at 100%—confirming that future upper tiers should mix multiple frontier model families.
Experiment record for exp_v2 audit and exp_v3 zero-seam verification
exp_v2Raw → Clean: G1 (0/6tag bugs)25% / 50% / 87.5%; G2 (3/6)0% / 0% / 50%→0% / 12.5% / 87.5%; G3 (6/6tagged,5/6rejecting)0% / 0% / 37.5%→12.5% / 37.5% / 100%.exp_v2independent audit (audit_v2_g3.md): out of 24 in-loop evals, 3 passed, 9 were exact answers killed by<answer>stripping, 11 hit the 4096-token thinking cap, 1 had aprod/naming slip; underlying design scored 7/8 SOUND, 1/8 MINOR_ISSUE, 0/8 FLAWED.exp_v3(runs/exp_v3/): 8 seeds × 2 gens, 19/32 slots used (40.6% saved), 19/19 (100%) gate yield, 733,126 PAI tokens (118 requests). G0 → G1 → G2:deepseek-v4.1-flash100% → 0% → 0%,qwen4-max100% → 50% → 25%,codex/gpt-6.2-sol100% → 100% → 100%(G2 avg48.0s). Full test suite: 99/99 offline unit tests passing.
Three Audited SOUND Evolution Case Studies
math_04(Two-stage evolution that timed out Gemini at >200s): G0 is a 10-term recurrence sum (515, 4/4 solved).exp_v1G1 extended it to with a 4-way residue-mod-4 piecewise transform (0/2weak vs.2/2strong).exp_v2G3 coupled affine/CRT inverse recovery, 10 carry-coupled blocks, and quota overlap probability—codexsolved it in51.0s, while held-outgemini-4-neonexceeded the 200s ceiling.logic_02(10-bit toy FSM → 48-step non-monotonic reversible trace):exp_v1G3 extended the 4-state machine to 48 steps with reversible'R'transitions, signed alert counts, and exactreversal_indicesverified by two independent simulators;qwen3.8-flashemitted valid JSON with authentic state drift while both strong models traced all 48 transitions cleanly.code_05(6-linetop_k_words→ three-segment-tree online transactions):exp_v2G3 evolved intorank_chunkswith named ID moves, two-level nested transactions (begin/commit/rollback), baseline-relativegainqueries, and Unicode prefix ranges tested across 27,609 events within the stated 40,000 bound—codexwrote three segment trees + undo log in45.9s, while held-outgemini-4-neontimed out past 200s.
Conclusion: Four Non-Negotiable Rules for Fair RSI-Bench
- Deterministic Verification + Asymmetric Sandboxed Evolvers: Give the evolver an isolated Python sandbox to verify solvers, oracles, and examples before shipping, while test takers reason without tools—guaranteeing ground-truth fairness at 8× lower cost.
- End-to-End Harness-Coupled Gates: Always validate
verify(extract_candidate(wrap(ref)))on the exact evaluation path, and treat per-task audits as mandatory pre-release gates against Goodhart cascades. - Outer-Loop Meta-RSI + Multi-Family Frontier Upper Tiers: Static prompts invert rankings, weak ladders hit equilibrium early, and single-family upper tiers risk generator-family saturation.
- Cross-Family Held-Out Blind Testing: The only reliable defense against generator self-preference and silent overfitting.
Limitations
These runs prioritized fast, low-cost mechanistic discovery: sample sizes are small (exp_v1 20 seeds; exp_v2/exp_v3 8 seeds), G0 seeds are curated classic-style benchmarks rather than full public HumanEval+/MATH-500/BBH splits, cross-generation IRT calibration is not yet integrated, and per-task audits were performed by independent auditing agents with deterministic local execution rather than dual human annotators.
Run Log
| Question / Figures | Setup | Run | Key Result | Actual Cost |
|---|---|---|---|---|
| Q1, Q2 / Fig 1–4 | 20 seeds × 3 gens (RSI vs. Static) + held-out Codex/Gemini | exp_v1 |
Clean slope +0.275 vs. +0.150; held-out 100% (Gemini 2.5× slower) |
7.16M PAI tokens + 80 frontier calls |
| Q3 (Negative Control) | 12 seeds × 2 gens, non-thinking evolver vs. 3 thinking targets | exp_v2_weak_evolver |
16.7% gate yield, 0 tasks > 0.21, 100% saturated (stopped early) | ~0.6M PAI tokens |
| Q3, Q4 | 8 seeds × 3 gens, sandboxed codex-evolver + held-out Gemini |
exp_v2 |
96.9% yield, 87.5% SOUND, Gemini 6.4× latency (2 timeouts); caught <answer> seam |
0.895M PAI tokens + Codex/Gemini |
| Q4, Q5 / Fig 5 | 8 seeds × 2 gens, coupled gate + EVAL_TOKENS=8192 |
exp_v3 |
19/19 (100%) yield, 0/8 seams, slope +0.875, Codex 3.5× latency |
0.733M PAI tokens (40.6% slots saved) |
Citation
@misc{sheng2026rsibench,
author = {Sheng, Pingyue},
title = {The Ruler Must Improve First: Fair Recursive Self-Improvement for Benchmarks},
year = {2026},
url = {https://ravenembodied-blog.chengpy23.workers.dev/experiments/rsi-bench}
}
大家都在狂热地聊 AI 递归自我提升(RSI),却忽略了一个最致命的前提:如果尺子是死的,模型怎么可能真正 RSI? 今天发一套“史上最难”的静态 Benchmark,半年后前沿模型刷到 95%,一年后沦为预训练和联网检索里的陈年旧题。当评测本身饱和、泄漏、充满噪声时,任何“AI 自我进化”要么撞在平顶天花板上原地打转,要么迅速滑向对死题库的刷分过拟合。没有会持续自我进化的 Benchmark,就不可能有真正可持续的 AI RSI——尺子必须先于模型完成递归进化。
但我们也很快踩出了一个更尖锐的真相:RSI-Bench 绝不能随便写个 Prompt“把题改难 + 让大模型互评”——那样造出来的根本不是更难的考卷,而是一场极度不公平的自嗨(答案算错、偏袒自家模型、靠沙箱暗坑把正常模型冤死,甚至把强弱排名彻底搞倒挂)。我们搭了一套双环自我进化引擎(内环协同演化考题与确定性 Python 验证器,外环 Meta-Evolver 自动重写进化策略,代码已开源在 github.com/spyzss/rsi-bench),跑完四轮递进实验(exp_v1 → exp_v2_weak_evolver → exp_v2 → exp_v3)并做了逐题独立审计。结果不仅证实了双环进化真能复活过气榜单,还把做公平 RSI-Bench 必须跨过的四条残酷定律全部打穿了。

exp_v1 复活曲线(原始实测)。20 道在 G0 已经 85% 饱和的经典风格种子题,经过三代双环演化(G0 → G3)后,4 个环内模型从挤在 90%–100% 顶部被清晰拉开;但从未进环的两个外部前沿模型(codex/gpt-6.2-sol、gemini/gemini-4-neon)仍高居 95%(去沙箱误杀后 100%)。
太长不看
- 尺子必须先 RSI,而且必须按硬约束来造:零 LLM 主观判分、端到端耦合门控、外环 Meta-RSI、非对称沙箱出题与跨家族盲测,缺任何一条都会迅速滑向不公平的自嗨。
- 外环 Meta-RSI 确实碾压固定 Prompt:剔除沙箱误杀后,RSI 的强弱区分度斜率仍接近 Static 对照组的 2 倍(
+0.275vs.+0.150),排序严格单调,而 Static 到 G3 反而出现强弱倒挂;Meta-Evolver 甚至会自己抓出自己上一代刚发明的 Bug 并修正。- 天花板在梯队与出题器手里,破局靠非对称沙箱:用弱梯队演化出的题考不倒外部前沿(梯队天花板);无思考出题器面对全思考前沿梯队直接崩盘(门控仅 16.7%);但给前沿出题器配上隔离 Python 沙箱对抗无工具考生,门控立刻飙到 96.9%,底层题面严谨率跃升到 87.5% SOUND / 0% FLAWED,PAI Token 成本反降 8 倍,留出盲测的 Gemini 思考耗时暴涨 6.4 倍(2 题真实超 200 秒)。
- RSI 是你自家评测 Harness 最狠的自动 Fuzzer:门控和考场之间哪怕存在 1 毫米的缝隙(
exp_v1的_属性禁令、exp_v2的<answer>标签剥离),自然选择都会在两代内把它放大成刷分海啸。把门控和提取链路焊死后,exp_v3实证两类 Reward Hacking 全部归零(0/8,门控 19/19 = 100%)。
问题地图
| # | 状态 | 问题 | 回答 / 结论 |
|---|---|---|---|
| Q1 | 已有结论 | 外环 Meta-RSI 比固定 Prompt 演化强多少? | 去误杀后区分斜率仍近 2×(+0.275 vs. +0.150),排名严格单调,且 Meta-Evolver 能自查自纠上一代 Bug。 |
| Q2 | 已有结论 | 弱梯队进化出的考卷,能自动考倒外部前沿吗? | 不能。遇到“梯队边界均衡”:外部 Codex / Gemini 去误杀后仍拿 100%,只拉长了 1.4–2.5× 思考耗时。 |
| Q3 | 已有结论 | 怎样才能真正打穿全思考前沿模型? | 无思考出题器会彻底崩盘(16.7% 门控);必须靠非对称验证(工具武装沙箱出题器 vs. 无工具考生)破局。 |
| Q4 | 已有结论 | 把 Benchmark 交给进化,最大的隐藏风险是什么? | Goodhart 级联:RSI 会像 Fuzzer 一样精准利用评测 Harness 缝隙;必须用端到端提取链路耦合门控彻底封死。 |
| Q5 | 已有结论 | 焊死缝隙后的零漏洞复验稳不稳? | exp_v3(8 题 × 2 代)实现 19/19 (100%) 门控、0/8 标签缝隙、0 沙箱误杀,Codex 平均思考耗时拉长 3.5×。 |
| Q6 | 计划中 | 扩到真实公开大榜(100 题)加跨代 IRT 标定如何? | 下一步接入 HumanEval+ / MATH-500 / BBH 原题,并把跨家族多前沿模型一起拉进上档。 |
为什么 RSI-Bench 必须这么做,否则就不公平?
很多人一听“自动升级 Benchmark”,第一反应是写个 Prompt 让大模型把老题改复杂,再让 LLM-as-a-Judge 自己批卷子。在 RSI 场景下,这种轻量做法会在几代之内彻底变质成四种结构性不公平:
- 真值不公平:一旦考题难过出题模型自身上限,LLM 靠嘴硬猜出来的标准答案必然出错,而且 LLM 裁判会天然偏袒同家族模型;
- 排序不公平:只靠固定 Prompt 盲目堆难度,题干越来越绕、噪声越来越大,最后强模型反而考不过弱模型(我们在
exp_v1的 Static 组里亲眼见证了这种倒挂); - 考场不公平:只要准入门控和真实评测代码有一行分叉,进化就会专挑“让写正常代码或遵守格式的模型冤死”的暗坑题;
- 盲测不公平:只在环内看分数,很容易把“专克某两个模型的偏题”当成突破,必须经过跨家族外部留出冷测 + 逐题独立审计。
因此,RSI-Bench 从第一行代码起就锁定了五条公平铁律:
- 零 LLM 主观判分(全链路确定性验证):覆盖
code、math、logic、agent_ops四条赛道,全部由隔离 Python 沙箱中的verify(candidate) -> (bool, str)确定性判分;3 条非代码赛道强制 Solve-First——先写确定性 Python 求解脚本跑出精确标准输出,再反推构造题面。 - 七关对抗门控("谁来验证验证器?"):每道新题进考场前必须连过 7 关——Schema 完整、沙箱静态安全、
verify(参考解)通过、Solver 复现与参考解字节一致、拒收 4 个平凡垃圾串(""/"0"/"{}"/"pass")、100% 拒收至少 2 个针对不同规则构造的诱饵错解、100% 拒收父代旧参考解(确保旧套路彻底失效)。 - 带反噪声惩罚的适配度函数:综合难度甜点 、强弱区分斜率 、能力保真度 与表面新颖度 :
大白话说:既要防止全员满分(饱和得 0 分),又要防止强弱倒挂(若 ,总分直接打五折)。
4. 外环 Meta-Evolver 自我改写策略:每代结束后,Meta-Evolver 读取全代遥测(各算子门控率、饱和度、错题 Trace),像冷酷的命题组长一样直接重写下一代 playbook_g{t}.json——加权好算子、剪枝废算子、按死因发明新算子、把教训写进全局护栏,并输出逐行可审查的 meta_diff_g{t}.md。
5. 受控消融 + 跨家族盲测 + 逐题审计:同种子、同预算对照动态 RSI 与冻结 Static;进化结束后拿从未进环的前沿模型冷测,再由独立审计 Agent 逐题执行代码复查真伪。
实验设置
我们设计了四组递进实验,所有种子均来自 4 条赛道共 20 道经典风格 G0 种子(每赛道 5 题,初始通过率 85%–100% 高度饱和):
| 实验 | 规模 | 出题器(Evolver) | 环内反馈梯队(弱 → 强) | 外部留出前沿 | PAI 消耗 |
|---|---|---|---|---|---|
exp_v1 |
20 题 × 3 代(RSI vs. Static) | qwen4-max:nothink |
qwen3.8-27b:nothink、qwen3.8-flash:nothink → qwen4-max、deepseek-v4-pro |
codex/gpt-6.2-sol、gemini/gemini-4-neon |
7.16M tokens |
exp_v2_weak_evolver |
12 题 × 2 代(负对照,提前止损) | qwen4-max:nothink |
qwen4-max、deepseek-v4-pro → codex/gpt-6.2-sol(全思考) |
— | ~0.6M tokens |
exp_v2 |
8 题 × 3 代(自适应预算) | codex-evolver/gpt-6.2-sol(隔离 Python 沙箱) |
qwen4-max、deepseek-v4.1-flash → codex/gpt-6.2-sol(无工具) |
gemini/gemini-4-neon(无工具) |
0.895M tokens |
exp_v3 |
8 题 × 2 代(端到端耦合门控 + 8192 token) | codex-evolver/gpt-6.2-sol(隔离 Python 沙箱) |
qwen4-max、deepseek-v4.1-flash → codex/gpt-6.2-sol(无工具) |
— | 0.733M tokens |
实验
Q1:外环 Meta-RSI 真比固定 Prompt 强吗?
强得多——即便扣掉所有沙箱误杀后,RSI 的强弱区分度斜率仍接近固定 Prompt(Static)的 2 倍(+0.275 vs. +0.150),且排序严格单调;而 Static 到 G3 反而把强弱模型排反了。

exp_v1 同种子、同初始 Playbook、同 120 候选预算下的三代对照(原始实测)。左:选出题目的平均 Fitness 与区分度斜率;右:饱和率与门控通过率。Static 门控通过率更高,是因为它一直在生成更安全、也更平庸的温和改写。
把独立审计去混淆后的干净成绩摊开看,差距一目了然:
| 实验组 | 代数 | 平均 Fitness(Raw / Clean) | 区分度斜率(Raw / Clean) | 饱和率(Raw / Clean) | 四模型排序是否单调? |
|---|---|---|---|---|---|
| 初始种子 | G0 | 0.198 | +0.025 | 85% | 挤在 90%–100% |
| RSI(动态改写 Playbook) | G3 | 0.517 / 0.451 | +0.350 / +0.275 | 25% / 30% | 是(45% < 60% < 70% < 90%) |
Static(冻结 playbook_g0) |
G3 | 0.428 / 0.428 | +0.150 / +0.150 | 35% / 35% | 否(deepseek-v4-pro 55% < qwen3.8-27b 60%) |
最让人起鸡皮疙瘩的不是表格本身,而是打开 meta_diff_g2.md 看到的那一幕——外环 Meta-Evolver 真的会自己抓出自己上一代刚发明的 Bug:
- G0 → G1:它在失败日志里翻出一条逻辑真空的 RLE 规则(“把紧邻同字符 run 的单字符转义”,在极大 run 划分下永远不可能触发),当场新增了非空触发 Witness 全局护栏;同时为了打破
code赛道 50% 的饱和,它新造了算子code.complexity_gate_refactor,想用计时断言刷掉暴力解法。 - G1 → G2(高能自纠错):下一代复盘时,它发现自己亲手发明的
complexity_gate_refactor12 次尝试 0/12 全灭,顺着报错立刻定位到根因——import time触发了沙箱安全禁令!于是它立刻把墙钟计时改写为确定性的操作步数/状态数预算,果断剪枝 5 个连续失效或饱和的老算子(edge_case_coupling、anti_template_symbolic、inverse_coupled_system、resource_invariant_planning、interacting_csp_rules),并克隆高分模式新造 5 个精准算子(如code.snapshot_aliasing_invariants、math.first_crossing_recurrence),直接让 G3 集体反弹。

exp_v1 三代 Playbook 的算子权重、门控通过率与均分演变。绿框为 Meta-Evolver 按死因定向新造的算子,橙虚线为降权算子,空白格为被彻底剪枝的废算子。
这两张图的实验记录(exp_v1 完整消融)
- 基线与对照:相同 20 道 G0 种子、相同
playbooks/playbook_g0.json、相同 4 模型梯队与每代每题 2 候选预算(每臂 120 候选槽)。唯一变量为外环 Meta-Evolver 是否在 G1/G2 结束后重写 Playbook。 - 去混淆口径:独立审计(
audit_g3.md)将 RSI-G3 上所有code赛道失败提交解除单下划线_属性禁令重跑,共发现 7 处假阴性(Static-G3 为 0 处);上表同时列出原始(Raw)与去误杀复算(Clean)结果。 - 运行与成本:总计 1,242 次 PAI 请求、7,161,171 tokens(其中
qwen4-max:nothink出题占 5.38M,deepseek-v4-pro评测 173 次请求含 18 次超时)。产物路径:rsi-bench/runs/exp_v1/。
Q2:用中弱梯队进化出的考卷,能自动考倒外部前沿模型吗?
不能。遇到“梯队边界均衡(Ladder-Bounded Equilibrium)”:外部前沿模型思考时间拉长了 1.4–2.5 倍,但去误杀后答对率依然是 100%。

exp_v1 G0 基线(左)与 RSI-G3(右)在四条赛道上的六模型通过率。环内 4 模型已明显分化,但最底两行从未进环的外部前沿模型除 code_04(沙箱 _ 误杀)外全部拿满。
把 exp_v1 RSI-G3 扔给从未进环的 codex/gpt-6.2-sol 和 gemini/gemini-4-neon 冷测:两者原始均为 19/20(95%),唯独错的那道 code_04 正是沙箱 _ 属性误杀——扣掉这个 Bug,两位外部考神双双 20/20(100%)。不过压力已经在耗时上显形:codex 平均耗时从 13.7s → 19.3s(1.4×),gemini 从 17.9s → 44.5s(2.5×,在 math_01 上苦战 183.8s)。
机理很简单:用一把 1 米的尺子去选拔跳高选手,进化永远只会在 1 米线附近收敛。 一旦题目刚好卡死 qwen3.8 并让 qwen4-max/deepseek-v4-pro 落在甜点区,继续往上加难的梯度就消失了。想考倒前沿模型,必须把前沿模型请进考场。
这张图的实验记录(exp_v1 跨家族留出评测)
- 评测协议:
src/frontier_eval.py在隔离空临时目录中无工具纯推理调用codex exec(gpt-6.2-sol,medium思考)与agy -p(gemini-4-neon,medium思考),零工具权限,与 PAI 考生保持严格公平。 - 耗时细节:G0 20 题
codex均耗 13.7s、gemini均耗 17.9s;RSI-G3 20 题codex均耗 19.3s、gemini均耗 44.5s(math_01_rsi_g3_c2首次 150s 超时,放宽至 240s 后于 183.8s 准确解出)。
Q3:把前沿模型请进考场后,怎样打破“出题器–目标能力差”?
只换强考场、不换出题器会直接崩盘(门控跌到 16.7%、100% 饱和);真正的破局是“非对称验证”——给前沿出题器配隔离 Python 沙箱对抗无工具考生,门控立刻飙到 96.9%,底层题面严谨度冲到 87.5% SOUND,Token 成本反降 8 倍。
我们先跑了一组负对照 exp_v2_weak_evolver(12 题 × 2 代):考场升级成三个全思考强模型(qwen4-max、deepseek-v4-pro、codex/gpt-6.2-sol),出题器仍用不思考的 qwen4-max:nothink。结果惨不忍睹——门控通过率骤降到 16.7%(4/24),全部过门题被三强 3/3 秒杀(0 题突破 fit = 0.21,100% 饱和)。一个不开思考链的出题器,不可能凭空编出难倒全思考前沿模型的确定性难题。
接着在 exp_v2(8 题 × 3 代)中,我们启用了非对称工具沙箱:让 codex-evolver/gpt-6.2-sol 在隔离空目录里真跑 Python 求解器、暴力 Oracle 对拍、断言所有行内微示例与诱饵错解后再输出 JSON;而考场里的所有被测模型(包括同款 codex/gpt-6.2-sol 和外部留出 gemini/gemini-4-neon)一律拔掉工具、纯靠脑力推理。结果立竿见影:
- 门控通过率从
16.7%飙升至96.9% (31/32),8 题 100% 进化到 G3、零回退; - 底层题面严谨度脱胎换骨:
exp_v1审计发现的 4 类经典出题硬伤(微示例自相矛盾、灵敏度坍缩、超百步盲算/超界测试、代码_禁令)在exp_v2中全部清零(0/8),底层题面设计从exp_v1的 61.1% SOUND 跃升至 87.5% SOUND(7/8)+ 12.5% MINOR_ISSUE(1/8)+ 0% FLAWED; - PAI Token 成本反降 8 倍:配合自适应候选预算(首候选达
0.55即跳过第二槽,省掉 33.3% 槽位),全轮 PAI 仅消耗 89.5 万 tokens(对比exp_v1的 716 万); - 留出前沿终于承压见血:在完全干净的 G1 上,全思考梯队瞬间拉开(
deepseek-v4.1-flash25%、qwen4-max50%、无工具codex87.5%);把 G3 扔给全程留出的gemini/gemini-4-neon(去混淆后),平均单题思考耗时从17.9s飙升 6.4 倍到115.4s,200 秒硬上限内仅解出 5/8(62.5%)——其中两道端到端完全SOUND的硬题code_05(>206s)和math_04(>205s)直接把 Gemini 拖到真超时,code_01也在苦战171.4s后失手。
Q4:把 Benchmark 交给 RSI,最致命的隐藏风险是什么?怎么根治?
RSI 是你自家评测 Harness 最狠的自动 Fuzzer。门控和考场之间哪怕只有 1 毫米的契约缝隙,自然选择都会在两代内把它放大成刷分海啸——必须用“端到端提取链路耦合门控”把缝隙彻底焊死。
我们连续两次亲手抓获了活生生的 Goodhart 级联(Harness Seam Reward Hacking):
exp_v1沙箱缝隙:旧sandbox.py一刀切禁用了单下划线属性(self._text、self._counts),导致code赛道 9 次“失败”提交里 8 次功能 100% 正确(RSI-G3 共 7 处误杀)。进化把“写惯用 Python 会撞沙箱”误当成了高难度。exp_v2<answer>标签缝隙(0/6 → 3/6 → 6/6的自然选择狂潮):- 缝隙只有一行代码:
evaluator.py会先剥掉模型回答里的<answer>...</answer>再传给verify(),但旧版verifier_gate.py直接拿原始reference_solution调verify()。 - 结果从 G2 起,出题器把
reference_solution套上<answer>标签并让verify()严查必须带标签——门控绿灯放行,进考场后全员被剥标签判0%,偏偏0/3拿到0.56–0.58高 Fitness 并触发早停锁死!于是 6 道非代码题的感染率一路狂飙:G10/6→ G23/6→ G36/6(其中 5/6 强拒裸 JSON)。 - 我们零成本在本地把回答重新套回
<answer>标签复验,也如实扒出另一层干扰(exp_v2时EVAL_TOKENS = 4096导致两款 PAI 思考模型 11/24 次被长度截断):去混淆后exp_v2G3 的真实成绩为deepseek-v4.1-flash12.5%、qwen4-max37.5%、codex/gpt-6.2-sol100%(并非 Raw 表面的 37.5%)。
- 缝隙只有一行代码:
架构级根治与 exp_v3 零缝隙复验:我们在 src/verifier_gate.py 中彻底焊死了这道缝隙——禁止 reference_solution 夹带 <answer> 标签,并强制门控将参考解包装后走一遍与 evaluator.py 完全相同的 extract_candidate() 再进 verify();同时在 src/sandbox.py 放行用户类 _attr 与 from __future__ import annotations,并将 EVAL_TOKENS 提升至 8192(截断自动升至 12288)。随后跑了一轮干净的 exp_v3(8 题 × 2 代):

exp_v3(端到端耦合门控 + 8192 token 预算)G0 → G2 演化曲线。两类 Harness 缝隙 Reward Hacking 全部归零(0/8 标签漏洞、0 沙箱误杀),门控通过率 19/19(100%),饱和度从 100% 降至 0%,区分斜率升至 +0.875。
exp_v3 给出了极其干净的闭环验证:全轮仅耗 73.3 万 PAI tokens(自适应预算省 40.6% 槽位),19/19(100%) 过门,0/8 <answer> 缝隙、0 沙箱误杀;codex/gpt-6.2-sol 的平均单题思考耗时从 13.7s 拉长 3.5 倍到 48.0s(math_01 70.2s、code_01 69.0s)。同时我们也诚实记录一个余留信号:即使预算翻倍到 8192–12288,PAI 思考模型仍在最硬的 6 道 code/math/logic 题上耗尽思考预算,而与出题器同源的单一上档 codex 仍保住 100%——说明下一代要把跨家族多前沿模型一起请进上档,防止单一上档提前收敛。
exp_v2 原始/去混淆对照与 exp_v3 零缝隙实测记录
exp_v2Raw → Clean(补回<answer>重验):G1(0/6漏洞)25% / 50% / 87.5%;G2(3/6漏洞)Raw0% / 0% / 50%→ Clean0% / 12.5% / 87.5%;G3(6/6含标签、5/6拒裸 JSON)Raw0% / 0% / 37.5%→ Clean12.5% / 37.5% / 100%。exp_v2独立审计(audit_v2_g3.md):24 次环内评测中 3 次通过、9 次被<answer>剥离误杀、11 次4096token 思考截断、1 次prod/命名前缀偏差;底层题面设计 7/8 SOUND、1/8 MINOR_ISSUE、0/8 FLAWED。exp_v3(runs/exp_v3/):8 题 × 2 代,总使用 19/32 槽位(省 40.6%),门控 19/19(100%),PAI 消耗 733,126 tokens(118 请求)。G0 → G1 → G2:deepseek-v4.1-flash100% → 0% → 0%、qwen4-max100% → 50% → 25%、codex/gpt-6.2-sol100% → 100% → 100%(G2 均耗48.0s)。代码库全部 99/99 离线单元测试通过。
3 道经独立审计确认 SOUND 的真实进化案例
math_04(一条种子两轮升级,最终拖爆 Gemini 200 秒):G0 只是 10 项手算递推和(515,4/4 秒杀)。exp_v1G1 保留完全相同递推,拉长到 并套 4 路模 4 分段变换,瞬间打出0/2弱 vs.2/2强(弱模型手算崩在b_7,强模型推闭式二次和秒过);exp_v2G3 进一步升级为仿射/CRT 反推 + 10 组进位耦合块 + 配额条件容斥,codex耗时51.0s解出,留出gemini-4-neon直接超过 200 秒真超时。logic_02(从 10 位玩具状态机到 48 步非单调可回退追踪):G0 是 10 位二进制串进 4 状态机。exp_v1G3 演化成 48 步带可逆回退符'R'(允许负告警、要求精确输出全部 12 个reversal_indices)的双模拟器验真题,qwen3.8-flash格式完全合规却在第 25 步后发生真实状态漂移,两强模型 48 步零误差。code_05(从 6 行top_k_words到三棵线段树级在线数据结构):G0 是 6 行词频排序函数。exp_v2G3 演化成支持命名 ID 迁移、两级嵌套事务(begin/commit/rollback)、基线差分gain查询与 Unicode 前缀区间过滤的rank_chunks,严格控制在题面声明的 40,000 步上限内跑满 27,609 步压力流——codex靠纯脑力手写三棵线段树 + Undo 日志45.9s一把过,留出gemini-4-neon超过 200 秒真超时。
结论:想用 RSI-Bench 支撑真正的 AI RSI,四条底线一条都不能省
- 零 LLM 主观判分 + 非对称工具沙箱:让出题器在隔离 Python 沙箱里“先算后出题、对拍验真”,考生无工具纯推理,既保住绝对真值公平,又用低 8 倍的成本打破出题天花板。
- 门控与考场 Harness 端到端焊死:永远用
verify(extract_candidate(wrap(ref)))做耦合门控,并把独立逐题审计当成发布前必选项,防死 Goodhart 级联。 - 外环 Meta-RSI + 跨家族多前沿入环:固定 Prompt 会导致排名倒挂,弱梯队会撞梯队天花板,单一前沿上档仍可能被同源模型吃透——必须把跨家族前沿模型一起放进上档,并用外环 Meta-Evolver 持续把失败遥测编译成新算子与硬护栏。
- 永远保留跨家族外部盲测:只有从未进环的外部模型,才能戳破同源出题自偏好与隐性过拟合。
局限
本次实验以低成本验证机制与四条定律为目标,规模仍偏小(exp_v1 20 题、exp_v2/exp_v3 8 题),且 G0 种子为自编经典风格题目,尚未接入大型公开饱和榜原题(HumanEval+ / MATH-500 / BBH),也尚未做跨代 IRT 标定与双人人类专家盲审。这些将在下一阶段扩量时补齐。
运行记录
| 对应问题或图 | 配置 | Run | 关键结果 | 实际成本 |
|---|---|---|---|---|
| Q1, Q2 / 图 1–4 | 20 题 × 3 代(RSI vs. Static)+ 留出 Codex/Gemini | exp_v1 |
Clean 斜率 +0.275 vs. +0.150;留出 100%(Gemini 耗时 2.5×) |
7.16M PAI tokens + 80 前沿调用 |
| Q3(负对照) | 12 题 × 2 代,无思考出题器 vs. 全思考三强 | exp_v2_weak_evolver |
门控 16.7%,0 题 > 0.21,100% 饱和(提前止损) | ~0.6M PAI tokens |
| Q3, Q4 | 8 题 × 3 代,沙箱 codex-evolver + 留出 Gemini |
exp_v2 |
门控 96.9%,87.5% SOUND,Gemini 耗时 6.4×(2 超时);抓出 <answer> 缝隙 |
0.895M PAI tokens + Codex/Gemini |
| Q4, Q5 / 图 5 | 8 题 × 2 代,端到端耦合门控 + EVAL_TOKENS=8192 |
exp_v3 |
门控 19/19(100%),0/8 漏洞,斜率 +0.875,Codex 耗时 3.5× |
0.733M PAI tokens(省 40.6% 槽) |
引用
@misc{sheng2026rsibench,
author = {Sheng, Pingyue},
title = {The Ruler Must Improve First: Fair Recursive Self-Improvement for Benchmarks},
year = {2026},
url = {https://ravenembodied-blog.chengpy23.workers.dev/experiments/rsi-bench}
}

Setup
Static benchmarks saturate fast, blocking real recursive self-improvement (RSI). We built a dual-loop benchmark engine across four verifiable domains—code, math, logic, and operational log/config auditing—with zero LLM-as-a-Judge grading. Every evolved task must ship with a deterministic Python verifier (and a Solve-First Python solver for non-code tasks) that passes a 7-stage adversarial gate before reaching a tiered model ladder. An outer Meta-Evolver rewrites the evolution strategy playbook after each generation from live failure traces.
Code: github.com/spyzss/rsi-bench
Setup details
- Seeds: 20 classic-style tasks (5 per track), initially 85%–100% solved across all tested models.
- Gate checks: schema, AST safety, reference pass, solver stdout match, 4 trivial rejections, decoy wrong-answer rejection, and parent-solution rejection.
- Fitness: , halved when weak models beat strong models.
Questions
| # | Question | Finding |
|---|---|---|
| Q1 | Does rewriting the evolution strategy beat a frozen prompt? | Yes: nearly double the clean discrimination slope, with monotonic rankings. |
| Q2 | Do tasks evolved on a mid-tier ladder stump frontier models? | No: held-out frontier models still score 100%, just 1.4–2.5× slower. |
| Q3 | How do we break a frontier model's ceiling? | Arm the evolver with a Python sandbox against tool-free test takers. |
| Q4 | What is the main failure mode of evolving benchmarks? | Evolution fuzzes any seam between gate and evaluator until you weld them together. |
Experiments
Q1. Does rewriting the evolution strategy beat a frozen prompt?
Yes. Updating the playbook after each generation nearly doubles clean strong-vs-weak separation over a frozen prompt (+0.275 vs. +0.150) and preserves strictly monotonic rankings, whereas a frozen prompt eventually inverts strong and weak models. The outer loop also diagnoses and fixes bugs in operators it invented one generation earlier.

Three generations on identical seeds and candidate budgets: rewriting the playbook leads on fitness, discrimination slope, and desaturation.

The outer loop upweights high-separation operators, prunes dead ones, and replaces a sandbox-violating timer rule with deterministic step budgets.
Details
- 20 seeds × 3 generations, 2 candidates per seed per generation (120 slots per arm).
- After removing 7 sandbox underscore-attribute false rejections on
code, dynamic evolution cleanly separates the ladder (45% < 60% < 70% < 90%) while the frozen prompt invertsdeepseek-v4-pro(55%) belowqwen3.8-27b(60%). - Between G1 and G2, Meta-Evolver caught that its own G1 operator
complexity_gate_refactorfailed0/12onimport time, switched to operation-count budgets, pruned 5 weak operators, and invented 5 replacements.
Q2. Do tasks evolved on a mid-tier ladder stump frontier models?
No. Evolution stops pushing difficulty once tasks land in the sweet spot of the in-loop ladder. Held-out frontier models (gpt-6.2-sol and gemini-4-neon) still solve every sound task—taking 1.4–2.5× longer to think, without dropping in accuracy.

In-loop models separate across all four tracks, while held-out frontier models stay saturated.
Details
- Both held-out frontier models scored
19/20raw and20/20after removing the single sandbox-attribute bug oncode_04. - Average latency rose from
13.7s → 19.3s(gpt-6.2-sol) and17.9s → 44.5s(gemini-4-neon, peak183.8s).
Q3. How do we break a frontier model's ceiling?
Give the evolver an isolated Python sandbox while keeping test takers tool-free. Without a strong sandboxed evolver, targeting full-thinking frontier models collapses to 16.7% gate yield and 100% saturation. With a sandboxed frontier evolver verifying solvers, oracles, and examples before shipping, gate yield jumps to 96.9%, underlying problem-design soundness reaches 87.5% (0% flawed), token cost drops 8×, and held-out gemini-4-neon latency jumps 6.4×—hitting two genuine >200s timeouts.
Details
- Negative control (non-thinking evolver vs. 3 thinking targets): 16.7% gate yield (4/24), 0 tasks above
fit = 0.21. - Sandboxed frontier evolver (8 seeds × 3 gens, adaptive candidate budget): 96.9% gate yield (31/32), 33.3% slots saved, 895k PAI tokens (vs. 7.16M earlier), underlying design audited 7/8
SOUND/ 1/8MINOR_ISSUE/ 0/8FLAWED. - Held-out
gemini-4-neon: average latency17.9s → 115.4s(6.4×), solving5/8within 200s (code_05andmath_04timed out >200s;code_01failed after171.4s).
Q4. What is the main failure mode of evolving benchmarks?
Evolution acts as an automated fuzzer against your evaluation harness. Any mismatch between the admission gate and live answer extraction—first an underscore-attribute sandbox ban, then <answer>-tag stripping—gets amplified by selection within two generations. Welding the gate directly onto the live extraction function eliminates both seams completely: 100% gate yield (19/19), zero tag or sandbox bugs, and a 3.5× rise in frontier latency.

Coupling the gate directly to extract_candidate() eliminates both reward-hacking seams (0/8) while keeping 0% saturation and monotonic separation.
Details
- Before coupling, a tag-stripping mismatch spread from
0/6(G1) →3/6(G2) →6/6(G3) non-code tasks (5/6 strictly rejecting stripped JSON). - After enforcing
verify(extract_candidate(wrap(ref))), allowing user-class_attrandfrom __future__ import annotations, and raising eval tokens to 8,192 (auto-retry 12,288): 8 seeds × 2 gens hit19/19gate yield,0/8tag seams,0sandbox false rejections,733kPAI tokens (40.6%slots saved), slope+0.875, andgpt-6.2-sollatency13.7s → 48.0s(3.5×).
Takeaways
Sustainable AI RSI requires self-evolving benchmarks, and a fair self-evolving benchmark cannot rely on LLM-as-a-Judge or loose scripts. Pair deterministic, sandbox-verified asymmetric evolution with a frontier-in-the-loop ladder, and weld your admission gate onto the exact live extraction harness—otherwise evolution will hack your scorer before it challenges the model.
Citation
@misc{sheng2026rsibench,
author = {Sheng, Pingyue},
title = {The Ruler Must Improve First: Fair Recursive Self-Improvement for Benchmarks},
year = {2026},
url = {https://ravenembodied-blog.chengpy23.workers.dev/experiments/rsi-bench}
}