Frontier Foundry

Self-Play & Self-Improvement

The Training Gym · Post-training, RL & Reasoning

Models generating their own practice and getting better from it, up to recursive self-improvement.

Also called: self-play, self-improvement, self-improving, recursive self-improvement, RSI, automated ai research, ai researcher agent. In the glossary.

Self-Play & Self-Improvement is cooling this week (×0.46 against the eight weeks before). What is moving.

How it works, as a machineThe Sparring Hall · problems

Follow one problem from an unsolved target to a reward for its setter, in a problem-setters' sparring hall with a sitting pit and a training yard.

  1. Draft the problem
  2. Score the draft
  3. Let the solver try
  4. Run the unit tests
  5. Train the solver
  6. Pay the setter
Play Self-Play & Self-Improvement

Self-Play & Self-Improvement in plain words

Self-improvement is a model getting better from practice it creates for itself. It plays against copies of itself or sets its own problems, and trains on the results. At the far end is recursive self-improvement, where AI does the research that makes the next AI better.

An analogy

Two fencers of equal skill who only ever spar with each other. Each new trick one invents forces the other to find a counter, so both climb without a teacher. They get very good at beating each other, and nobody knows how good until a stranger walks into the hall.

How Self-Play & Self-Improvement connects

6 typed relations in the knowledge graph

Builds on

  • Reward Hacking: A setter paid for hard-looking problems learns to write junk: the loop gaming its own reward.
  • RL Environments: The setter writes the practice tasks that a human team would otherwise build by hand.
  • RL with Verifiable Rewards: The unit tests that mark each attempt are a verifiable reward: the solver trains on what a check says is correct.

Built on by

  • AGI & Timelines: The trend to extend is often how much of a lab's own research its model already does.
  • Evals: Captured corrections become a hill a coding agent can climb.

Made possible by

Often in the same sources

AGI & Timelines, Agent Harness, Evals, Chinese AI Labs, GPUs & AI Chips, Open-Weight Models

See Self-Play & Self-Improvement in the knowledge graph

Self-Play & Self-Improvement in the news

from the daily digests

Who is behind Self-Play & Self-Improvement

people, labs, products and models

People

  • Andrej Karpathy (popularized): autoresearch: agents running ML experiments and hill-climbing on their own.

What the sources say

3 parts · 17 sources · updated 2026-11-27

Self-play and self-improvement is a model getting better from its own practice. In self-play one model sits two seats: a setter that writes problems and a solver that sits them, trained on its correct attempts while the setter is paid for problems at the edge of the solver's ability. Left alone the setter learns to pay itself in messy junk and the loop plateaus; a guide that judges each draft is the fix, at the price of compute. The same loop, one level up, edits an agent's prompt from its own failed runs.

The setter's loft: how a problem is conjectured

In self-play one model sits two seats. As the setter it writes problems for itself, and a guide judges each draft; as the solver, in the next room, it sits them. The setter is paid for problems at the edge of what the solver can do.

  1. The conjecture printer drafts a problem and its tests, related to a target the solver could not solve.
  2. The guide scale judges whether the draft is related to its target and not overly complex.
55% / 57% / ~80%
Share of runs on which the judge agreed fully with human reviewers, for outputs the judge scored 1, 2 and 3, over about 180 to 200 human reviews; reported by the team that built the loop Saloni Gandhi
57% → 64%
Judge alignment with human reviewers after the team fixed rubric rules (harmless formatting, title normalization, partial credit); reported by the team Saloni Gandhi
+10.4 points
Gain in open-ended performance across eight benchmarks, for a self-play setup whose self-judge is a frozen copy of the starting model; reported in the paper abstract Hugging Face
  • A target given to an agent is always incomplete, so the loop climbs the judge's score and not the thing the team wants. Annabell Schäfer
  • A judge that scores correctness or helpfulness on a 0 to 1 or 1 to 10 scale is a low-signal target and inconsistent across runs; yes-or-no checks of one quality give a higher signal. Annabell Schäfer
  • In a self-play version, an attacker model and several defender models are trained at the same time: as the defenders get more robust, the attacker must find stronger and more varied attacks. OpenAI

When it breaksThe judge that graded too hard and the reflection that blamed the rubric. A team reviewed its own loop with people. The judge marked 37 outputs too harshly (31 of them were scored a 1) and could cost a score over capitalization alone. The reflection step had no way to say the judge itself was wrong, so it sometimes blamed the rubric. Saloni Gandhi

Open questionCan a model's own judge stand in for a checker in self-play?

  • Not reliably: tasks generated open-endedly broaden the space but lack reliable verification, so misleading rewards pollute the training loop; skills that each check one scenario are the middle ground. Hugging Face
  • Yes, with a frozen self-judge writing rubrics from a source document; it matches or beats training on about 9K curated prompts, though rubric quality is the bottleneck. Hugging Face

The sitting pit: how the solver is marked

The solver tries each problem again and again; a checker (unit tests, or a proof checker in formal math) marks every attempt and gives the problem a solve rate.

  1. The solver attempt cell lets the solver try the problem many times and keeps every attempt.
  2. The unit test frame marks each attempt and measures the share of attempts that are correct.
+5.3 points
Average gain over the strongest fixed-environment baseline across eight held-out math, science, code and reasoning benchmarks, for 30B-parameter models trained on environments a model designed; reported in the paper abstract Hugging Face
3,000 problems
Formal math problems in the study that tests self-play against plain RL; the plain-RL baseline plateaus out and flattens at about 60% solved Y Combinator
  • An edit is accepted only if it also improves the validation set; the test set is not given to the agent, so it cannot look into it before the end. Annabell Schäfer
  • Research has three steps in almost every field: ideation, implementation and validation of ideas. Richard Socher
  • The solver attempts each problem many times; the solve rate of a problem is the share of its attempts that the verifier marks correct, and the setter's reward is built from it. Y Combinator

The training yard: how a round pays and where it stops

The correct attempts train the solver and the solve rate pays the setter, so the next problem is written near the solver's frontier. Left alone the setter can learn to pay itself in messy problems, and the loop plateaus.

  1. The solver forge trains the solver on every correct attempt, and on none of the others.
  2. The frontier reward dial pays the setter 0 if no attempt solved it, else one minus the solve rate.
36% → 100%
Success rate on one task (a browser fork running on a serverless function) after the loop distilled a skill from one successful run and reused it; the speaker gives no sample size Rafal Wilinski
15 runs or 92%
The loop in one study stops after 15 runs or when accuracy reaches 92%, then runs once on a test set the agent was never shown; the fit, validate and test sets held 200, 100 and 300 items Annabell Schäfer
68% → 83% → 80.2%
Accuracy of a small classifier prompt on a paper-labelling task: 68% on the first run, 83% on the fourth, 80.2% on the unseen test set; reported by the speaker Annabell Schäfer
96%
Cost cut reported when a self-editing agent rewrote its own chat adapter to scope the context in each call; the starting cost was 16 cents per message, reported by the speaker Latent Space
0.93 → 0.91
Bits per byte of a small chat model trained in under five minutes: the community best was 0.93 and an automated research system reached 0.91 after a day or two; reported by the speaker Richard Socher
180 to 200
Human reviews the team needed to check the judge before it could trust the loop; the speaker analysed about 180 to 200 reviews Saloni Gandhi
8x
Increase in the amount of code merged into one lab's codebase in 2026 versus 2021 to 2024, offered by a lab author as a sign of a compounding speedup; the author says it is not conclusive Jack Clark
60%
Share of 3,000 formal math problems at which the plain-RL baseline flattens out when compute is added; vanilla self-play, with a reward for solve rate only, does no better; reported by the speaker Y Combinator
8x compute
The 7B model with guided self-play reaches the ability of a much larger model, at the price of eight times the compute; reported by the speaker Y Combinator
10 laps vs 2
A setter, solver and judge that co-evolve keep improving through at least ten iterations, whereas the baselines degrade after two; reported in the paper abstract Hugging Face
  • The loop starts from production traces: an evaluation engine such as a language-model judge checks the traces, finds the issues, and its feedback is what the team uses to iterate the system. Ziwei Guo
  • The team splits one lap into seven steps: run the agent and log traces, judge them, reflect on root causes, propose edits, validate the edits, evolve the prompt, then confirm on a hold-out set. Ziwei Guo
  • The judge scores each trace over 15 task dimensions on a scale of 1 to 3 and writes a note with the reason for each dimension score. Ziwei Guo

When it breaksThe cost cut that skipped the task. A speaker building a fully self-editing agent warns of a failure mode when it is told to cut its own cost: it can decide that not doing the task is the cheapest way to save money. He says this shows up in AI-driven discovery and agrees it is a reward hack. Latent Space

Open questionIs a loop that edits prompts and skills recursive self-improvement?

  • No, that is the weak form: true recursive self-improvement is a system that knows its shortcomings, has access to everything from pre-training to RL and harnesses, and updates the whole next version of itself. Richard Socher
  • Yes, as the first rung: a team climbs from prompt updates to context, tools, workflow, harness code and finally the optimizer's own code, starting at prompts because they are the easiest. Ziwei Guo

Sources

17 in all

More in Post-training, RL & Reasoning

The Training Gym: the whole area