Paper · Self-reward and self-play
The Red Queen Gödel Machine
The Red Queen Gödel Machine: Co-Evolving Agents and Their EvaluatorsAn evolutionary framework that enables recursive self-improvement by co-evolving agents alongside the evaluators that guide their search.

The loop
A coder agent and a reviewer agent co-evolve under non-stationary utilities. The reviewer grades patches to guide the coder's search, while the coder's output helps the reviewer refine its grading rubric, making both better at their respective tasks.
The loop
The Red Queen Gödel Machine- Coder generates patches
- Reviewer grades patches to guide search
- Coder output helps reviewer refine rubric
- Reviewer provides better guidance to coder
- Coder generates patches
- Reviewer grades patches to guide search
- Coder output helps reviewer refine rubric
- Reviewer provides better guidance to coder
↻ The improved system does the next round, and the loop turns again.
Why it is a road to recursion
Co-evolving the evaluator alongside the agent removes the ceiling imposed by static reward functions, enabling open-ended recursive self-improvement.
Evidence
At low reasoning effort, the RQGM coder passes 82.1% of held-out tasks against the baseline's 75.0%.
co-evolutionagentic-codinglearned-evaluators
Related loops
More self-reward and self-play →
Self-Rewarding LMs
- Model generates candidate responses to prompts
- Model scores them itself as a judge
- Scores become preference pairs for DPO
- Trained model becomes next generator and judge
- repeat
Self-reward and self-playMeta, NYU (Yuan et al.) · 2024

SWE-growth
- Student model attempts repair tasks
- Teacher model identifies learning opportunities
- Verified outcomes fine-tune the student
- Student improves at software engineering
- repeat
Self-reward and self-playSongshi Liang et al. · 2026

When Can Self-Play Fix a False Belief? Answer Keys, Pass Bands and Replacement Rules in an Execution-Grounded Loop
- Qwen3 generates tasks and code
- executes code for answer keys
- trains on verified keys
- corrects its own false beliefs
- repeat
Self-reward and self-playNirdesh Chauhan et al. · 2026