RSI Lab (Evidence-Gated Self-Improvement Experiments)
Role: Solo, end-to-end: research spec, the decisions and approvals the agents work under, benchmark and campaign design review, and every GPU go-ahead
Tech Stack: Python, PyTorch 2.9.1 (CUDA 12.8), Transformers 4.57.1, pytest, one 24 GB consumer GPU under WSL
Repository: Private. Demo available on request
Write-up: I let a small model propose its own upgrade, and nothing got promoted
Overview
RSI Lab is a harness for one narrow question: can a modest, locally run language model propose bounded changes to its own operating configuration, and have a better successor qualified by an evaluation it does not control? The README on the working branch answers the current state in one sentence: no autonomous self-improvement, verified successor promotion, or recursive advantage has been demonstrated. This page describes what exists instead.
It is the next step in several preceding projects of mine focused on autonomous behavior made reliable and auditable, as well as orchestration: the task-card kit, syx-mcp and Project 1956. Those pointed agents at a job and built the checking around them. Here the thing being checked is a modelās proposal about itself, so the checking has to sit somewhere the model cannot reach.
Read the dates and the branch labels. The project has eight active days so far: 221 commits across all branches from 2026-11-12 to 2026-11-19 (Eastern dates, counted 2026-11-22). main has 30 commits and stops on 2026-11-13. Most of the work, 174 commits not on main, is on the unmerged branch v2-benchmark-generator, which I read at commit 03c80c6 on 2026-11-22. Everything below is marked as one or the other, and nothing on the working branch should be read as merged or finished. The blog post tells the story in order; this page is the reference description.
The Question and Its Claim Tiers
The spec (2026-11-11) splits the question into four tiers so a small result cannot be rounded up into a large one:
| Tier | Claim | What it would not establish |
|---|---|---|
| R0 | The model runs bounded experiments without a stronger researcher directing each one | Improvement |
| R1 | A change it proposed passes a frozen, independent promotion gate | Recursive benefit |
| R2 | At least three successors in a row do that, each on new evidence | That it keeps going |
| R3 | A later version is better at designing new improvements than its ancestor, with equal tools and budget | Open-ended growth |
None of the four is established as of 2026-11-19.
Who Controls What
The design rule is that the model proposes and a trusted side controls evaluation, budgets, permissions, promotion and rollback. The model under test is a 3B open-weights model, with a 4B model from another family kept as a reference so the design does not depend on one lineage. It has no file or shell access. It emits text or typed actions, and a deterministic Python simulator and scorer do the rest.
Around the model there are three parties, and two of them are agents:
- A local coding agent builds the code, prepares each run as a packet of hashed files, and launches GPU work only after authorization. It records my instructions in the decision log with the note that my wording governs if its summary differs.
- A second model acts as reviewer. It reads the pushed branch and writes review documents and bounded work orders, each ending with a list of what it does not authorize. It does not rerun anything, and its documents say so.
- I relay between the two, give a separate go-ahead per step, and write the approval records for GPU runs myself. The agent reads them by hash and field values and may not create, copy, move or edit them. Twice on 2026-11-17 its pre-launch check found a record in the wrong folder and it stopped until I moved it.
The isolation is weaker than the spec asked for, and decision D1 says so: the boundary is enforced by interface design, not by the operating system, and reports have to say that. The limit that goes with it: the model may only propose prompt and bounded policy text. Anything that lets it author executed code requires a new review of the boundary first.
Benchmark Design
Fault isolation, version 1 (on main, 2026-11-12). Some components, one hidden fault, tests that each cover a subset, and a test budget. 45 hand-frozen tasks, 15 per level. Scripted players ran first, and one of them set how every later result is read: a player that picks tests at random but reads results correctly scored 12 of 15 on the hard level. So each result carries two numbers, correct and justified, where justified means the evidence had already eliminated every other candidate.
Fault isolation, version 2 (working branch, 2026-11-13). A generator and exact solver froze 180 primary tasks, a separate 30-task probe for one known shortcut, and a 7-task preflight. Calibration then found that a greedy scripted player with no lookahead was justified in at least 96% of episodes in every stratum. High scores on this family cannot show planning.
Planning (working branch, from 2026-11-14). Small worlds with facts, resources and actions costing 1 to 9. The model has to give the cheapest valid plan, then the puzzle changes in a way that either matters to the cheapest plan or does not. An exact solver produces the answers and a separate checker that imports nothing from it has to agree before a world is admitted. Three more families (causal reasoning, constraint satisfaction, simulated troubleshooting) are accepted as design only.
Campaign Mechanics
(Working branch.) A campaign is the unit I approve.
- A frozen sample, picked by a seeded rule without looking at answers.
- A condition fingerprint per arm: a SHA-256 over the model weights, the task set including hidden answers, prompts, the source files of the runner and scorer, decoding settings, software versions and hardware. Its first 20 hex characters key the result folder. Changing anything, even the batch size after an out-of-memory error, starts a new condition and not a resume. The provenance doc is explicit that these hashes catch accidental mismatches and are not proof of what a GPU executed.
- One budget in a manifest: batches, seconds charged, episodes.
- My approval, one record per condition key plus an instruction naming the manifest hash.
- Pre-launch checks: clean tree, the CPU test suite, every hash, the GPU power limit, free memory.
- Unattended batches under a watchdog, resumable from per-episode checkpoints. Truncated and invalid answers are recorded as outcomes, not reasons to stop.
- Afterwards, a separate numeric gate re-scores every stored result before the preregistered analysis runs. Then the keys are closed, with no rerun.
Policies live in an append-only registry where each record carries the hash of the one before it. A hand-written policy can be registered and evaluated but never promoted, and promotion requires the evaluatorās decision record.
What Has Been Measured
Every row is a single run. None has been repeated under the same condition.
| Date | Branch | Measurement | Result |
|---|---|---|---|
| 2026-11-12 | main | 3B model, low-effort thinking, 45 tasks | 14 / 12 / 6 of 15 on easy / medium / hard, in 19 minutes |
| 2026-11-12 | main | Same model, full thinking, 4,096-token cap | 15 / 13 / 3, in 5 hours 8 minutes |
| 2026-11-13 | working | 3B, low-effort thinking, 180 tasks | 148 correct, 124 justified |
| 2026-11-13 | working | 4B reference, thinking off, 180 tasks | 21 correct, 16 justified (different model and setting, not a ranking) |
| 2026-11-14 | working | 3B, thinking off, 180 tasks | 26 correct, 16 justified |
| 2026-11-14 | working | Token budget of 1,280 vs 2,048 vs 3,072 on 40 chosen tasks | No task gained; batch time up 22 and 55 percent |
| 2026-11-17 | working | 12-episode token cap calibration | Gate failed (10 of 12 passed). Left failed, no retry |
| 2026-11-17 to 18 | working | First unattended campaign, planning, 96 episodes | Cheapest plan in 23 of 48 and 26 of 48; 14 unanswered; 7,559.5 of 23,400 budgeted seconds |
| 2026-11-19 | working | First closed loop, 3 arms on 96 unseen episodes | Cheapest plans: baseline 52, hand-written checklist 53, model-proposed 51 |
The last row is the only self-improvement trial so far. The promotion rule, declared before the model proposed anything, required a net gain of five episodes and a rise of at most four unanswered ones. The modelās proposal scored a net of -1 with 11 more unanswered, the checklist +1 with 5 more, and neither was promoted. The first attempt at this trial is closed as a failure in its own right: it ran out of GPU memory once, and then its proposal was refused over non-ASCII hyphens. What ran afterwards is labelled as a separate, evaluation-only experiment on the stored text, under a grammar change the record states was made after the fact.
How little this shows is written into the log. Each arm ran once, so a gap of one or two episodes cannot be told apart from noise, and a later correction notes that significance would have needed a net of about 10 or 11, not 5. The proposal also claimed breadth-first search guarantees the cheapest plan, which is false when action costs differ.
What Is Unfinished
- The next experiment is prepared and not launched. Two targeted interventions (stating the plan in use before replanning, and closing thinking at 1,536 tokens inside the 2,048 cap) are set up as a 96-episode screening run on 12 already-used candidates, waiting on my GPU approval as of 2026-11-19. The follow-up on 122 unseen candidates is estimated at about 35 GPU hours and its sample has deliberately not been drawn.
- Validation sets are unscored until a policy for exposing and retiring them is preregistered.
- The supervisor ledger and promotion gates written on 2026-11-12 sit on separate review branches. Their gate decisions are proposals, not accepted policy.
- Nothing since 2026-11-13 is merged, and the README on both branches still describes the state of 2026-11-13 or earlier.
Features
- Four claim tiers - each states what it would not establish, so a result has a ceiling before it exists
- Correct vs justified scoring - separates a right answer from one the evidence had actually forced
- Scripted controls before any model run - random, informed-random, greedy and perfect players, which retired two benchmarks as too easy
- Condition fingerprints - a hash over weights, tasks, prompts, source, decoding and hardware keys every result folder
- Owner-written approval records - the agent verifies them and is not allowed to write them
- Bounded unattended campaigns - one budget, watchdog, per-episode checkpoints, interruptions charged to the budget (a power interruption on 2026-11-18 was counted, not reset)
- Independent re-scoring gate - 96 stored results in the first campaign and 96 per arm in the three-arm trial re-checked, with 0 disagreements, before analysis
- Append-only policy registry - chained records, promotion only for model-proposed policies with a passing decision record, rollback kept
- Failures stay failed - a failed calibration gate and an inadmissible proposal are both recorded as outcomes, in a decision log whose entries run to D37 on the working branch
- Versioned contracts - a changed gate, grammar or campaign rule gets a new version id, and tests assert old condition keys still resolve
Tech Stack
- Language: Python, about 24,300 non-blank lines under
smoke/and 28,500 undertests/on the working branch (my count at 03c80c6) - Inference: PyTorch 2.9.1 with CUDA 12.8, Transformers 4.57.1, run under WSL on one 24 GB GPU with a 16 GiB process ceiling and a 200 W power limit
- Testing: pytest. 2,684 test functions on the working branch and 119 on
main, by a grep fordef test_on 2026-11-22. The decision log records a guarded CPU suite run of 5,868 passed on 2026-11-19, which I did not rerun; a grep counts functions and a run counts cases, so the two are not comparable - Gates: git hooks under
tools/githooksrecord the tested tree before a commit is pushed - Storage: JSON files per episode under condition-keyed folders, no database