Recursive Self-Improvement on a Budget: Scoring Code Edits Before They Run
Abstract
A coding agent that rewrites its own scaffold has to choose which proposed edit to expand before that edit has been evaluated, and the search then has to return one agent. Each run fits one linear readout on the parent's steering-split solve rate and eight coordinates of the proposed diff, from 96 scaffold edits labeled by four evaluations of a 16-instance fit split, and then freezes the coefficients. HumanEval+ reserves 48 instances as the steering split and Polyglot reserves 64. That split scores parents and keeps an archive of four nodes. Huxley-Gödel Machine selection draws a parent by Thompson sampling on the steering counts of nodes that have already been evaluated, and it expands the child that parent proposes. Every method then returns the earliest evaluated node whose steering-split solve count is maximal. The tables report the held-out score of that node on the other 100 HumanEval+ instances and the other 145 Polyglot instances, next to the root scaffold and the calibration edit with the highest fit-split label. Twelve runs of GPT-4o return a node at 87.0% on held-out HumanEval+, against 84.2% for the parent-rate ablation. On that split Huxley-Gödel Machine selection returns 85.1%, the root is at 81.2%, and the calibration-best edit is at 82.8%. On the same split Claude Sonnet 4.5 returns 86.6%, beside 86.5% for Huxley-Gödel Machine selection, 85.3% for the parent-rate ablation, and 85.1% for the calibration-best edit.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
- Comments
- 9 pages, 3 figures
Related papers
Diversity over Scale: Recursive Self-Improvement with Ensembles of Small Open-Weight Models
Shared title terminologycs.AINavapat Nananukul, Mayank Kejriwal
FinEvo: Recursive Self-Improvement for Long-Horizon Financial Modeling
Shared title terminologycs.AIChengjun Pan, Shichun Liu, Zekai Zhou et al.
RSI-Opt: Recursive Self-Improvement Optimizer Agents For Model Training
Shared title terminologycs.AIBinghang Lu, Yige Sun, Guang Lin
MaD-RSI: Model-as-Data for Recursive Self-Improvement of Agent Harnesses
Shared title terminologycs.AIYu Cui, Hong He, Ruiqing Yue et al.
Fin-RSI: A Unified Library of Financial Skills, Checks, and Self-Improvement for LLM Agents
Shared title terminologycs.AIWanghao Ye, Shwai He, Sihan Chen et al.
Improving the Improver: Semantic PID Control for Medical Agent Self-Improvement
Shared title terminologycs.AIDexia Chen, YiLong Hu, Wenqi Zhong et al.