Researchers introduced SELFWRITE, a method for recursive self-improvement. A model studies its own reasoning on fresh problems. It inspects its own weights and activations in a Python session. It writes a program to create a low-rank weight edit for itself. Each edit is graded once on a hidden gate set. The best strictly improving edit is merged into the model’s weights. The edited model then writes the next edit. Tests on Qwen3.8-27B and DAPO-Math show accuracy gains. Five generations raised gate accuracy from 73.95% to 76.45%. Held-out test avg@4 rose from 76.30% to 77.75%. Held-out test pass@4 rose from 82.60% to 84.80%. No gradient steps were used.
What changed
Models improved only through data, training recipes, or external scaffolds, with gradient descent writing all weight updates.
What it unlocks
A language model can now write and apply its own weight edits without gradient steps or external training.
- 73.95% to 76.45% gate accuracy
- 76.30% to 77.75% held-out test avg@4
- 82.60% to 84.80% held-out test pass@4
- 5 generations of edits
What you need to act on it
- a persistent Python session
- white-box access to model weights and activations
- a hidden gate set for evaluation
Sources