Lose Yourself: Some Model That I Used to Know
Recursive self-improvement in a 4B model that rewrites the code and recipe behind its training data, with each new generation building on the last Prior self-training loops fix the data-selection algorithm while updating model weights, whereas self-modifying code agents rewrite orchestration logic while holding model weights constant. Recent systems couple the two by training one model that also edits its own harness or writes its own training tasks, but they keep the data-selection rule and the training settings fixed. This paper gives both to the model in a single closed loop, recursive improver training (RIT), using one open model, Gemma 4 E4B, with no external teacher or verifier model. Each round, the model answers 600 fresh Python execution-prediction problems, edits its own data-building function build(items, recipe) and its training recipe, and merges a rank-16 LoRA update trained on the data its code selects. The new weights and the new code are kept together when they clear a paired statistical gate on 500 unseen problems, and the kept model makes the next round's edits. Over 24 rounds on a single GPU, with no example or hint in context that touches reply order, sorting or length, the model's own improver code was adopted four times; each of the last three adoptions was written by a model trained on data from the one before. On a sealed final of 1,200 hidden problems, accuracy rose from 47.0% (564/1,200) to 88.2% (1,058/1,200), a +41.2-point paired gain (521 problems won, 27 lost; sign test p = 4.9e-120). On loop types it never trained on, accuracy more than doubled: 39% to 91% on while loops, and 33% to 81% on two-pass loops. Because the gate adopts weights and code together, it does not assign credit between them: retraining round 18 with each change on its own gave +18.17 points on the sealed final for the model's recipe change, +2.08 for its code change and +19.67 for both. We document every edit, every round and the code of every version, and open questions for replication.
Authors
- Vincent Marquez
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-23
- DOI
- https://doi.org/10.5281/zenodo.24486352
- Primary Topic
- Topic Modeling
- Type
- preprint