WeightLoop: Weight-Space Programming with Experimental Feedback
Organizations: Hong Kong Institute of Science and Innovation · University of Macau · Sichuan University · Sun Yat-sen University ·
Abstract
Weight-space programming (WSP) shows that language models can reason about and rewrite neural network weights; recursive self-improvement (RSI) motivates feedback-driven improvement. Models guiding experiments receive concrete feedback: completed assays reveal prediction errors and inform what to test next. We introduce WeightLoop, a framework that turns experimental feedback into persistent updates to deployed predictors. GPT-6 Astra inspects a task specification and the model implementation, then writes a bounded, reusable parameter-editing program. As new measurements arrive, the program identifies prediction discrepancies, validates candidate edits using observed outcomes, and writes the selected changes back to the original model. The editor remains fixed while the predictor evolves, enabling repeated updates without further LLM calls or gradient retraining while preserving the original inference interface. In offline replay, targeted edits improve mean ranking utility in seven of eight endpoint-budget settings (all eight versus random edits) and mean final discovery across three sequential tasks. WeightLoop connects WSP with an RSI-inspired improvement loop, making experimental evidence a direct driver of model change and subsequent decisions.
Figures & tables
| Endpoint | Orig. | Rand. | Edited | Full | |
|---|---|---|---|---|---|
| HepG2 growth | 20 | 0.5239 | 0.5270 | 0.5419 | 0.6254 |
| HepG2 growth | 50 | 0.5208 | 0.5309 | 0.5421 | 0.6025 |
| Jurkat growth | 20 | 0.5223 | 0.5270 | 0.5344 | 0.5993 |
| Jurkat growth | 50 | 0.5175 | 0.5304 | 0.5355 | 0.6038 |
| HL60 proliferation | 20 | 0.2251 | 0.2239 | 0.2254 | 0.2201 |
| HL60 proliferation | 50 | 0.2523 | 0.2590 | 0.2665 | 0.2632 |
| Task | Original | Permuted | Edited | Pos. | |
|---|---|---|---|---|---|
| LC3 | 0.1757 | 0.1894 | 0.2091 | +0.0334 | 4/5 |
| NBR1 | 0.1671 | 0.1735 | 0.1878 | +0.0207 | 4/5 |
| HuH7 | 0.0038 | 0.0073 | 0.0185 | +0.0147 | 3/5 |
| Model | Orig. | Edited | Aff. | Full | |
|---|---|---|---|---|---|
| Ridge/H | 0.3023 | 0.2720 | 0.2844 | 0.2705 | +0.1086 |
| Ridge/J | 0.3239 | 0.2817 | 0.3110 | 0.2852 | +0.0586 |
| XGB/H | 0.3218 | 0.3140 | 0.3188 | 0.2807 | +0.0069 |
| XGB/J | 0.3346 | 0.3258 | 0.3183 | 0.2957 | +0.0013 |
Language Model Self-Improvement
Language model self-improvement studies how models use their own outputs, feedback, and experience to improve with less external supervision.
See all 185 papers