# WeightLoop: Weight-Space Programming with Experimental Feedback

arXiv: https://arxiv.org/abs/2611.07319 · HTML: https://mlsanity.com/paper/2611.07319/

## Key facts

- Cited by 7 papers in the map (data through 24 Nov 2026).
- Builds on 6 of its 23 references that are in the map.
- Submitted 5 Nov 2026.

## Builds on (most cited first, 6 of 6)

- [XGBoost: A Scalable Tree Boosting System](https://mlsanity.com/paper/1603.02754/) (2016)
- [Locating and Editing Factual Associations in GPT](https://mlsanity.com/paper/2202.05262/) (2022)
- [Mass-Editing Memory in a Transformer](https://mlsanity.com/paper/2210.07229/) (2022)
- [Editing Factual Knowledge in Language Models](https://mlsanity.com/paper/2104.08164/) (2021)
- [Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generation](https://mlsanity.com/paper/2310.02304/) (2023)
- [BioDiscoveryAgent: An AI Agent for Designing Genetic Perturbation Experiments](https://mlsanity.com/paper/2405.17631/) (2024)

## Built on by (most cited first, 7 of 7)

- [WeightCode: Installing New Capabilities into Neural Networks via Weight-Space Programming](https://mlsanity.com/paper/2611.25476/) (2026)
- [Owned Edits to a Shared Decision Rule: Learning Private Exceptions as Typed, Gated, Withdrawable Weight Edits](https://mlsanity.com/paper/2611.15917/) (2026)
- [Weight Space Programming for Vision Language Model Repair](https://mlsanity.com/paper/2611.23615/) (2026)
- [HypoLoop: Revising Weight-Editing Plans from Scientific Feedback](https://mlsanity.com/paper/2611.23718/) (2026)
- [Can an LLM Repair a Language Model in Weight Space Without Gradient Training?](https://mlsanity.com/paper/2611.25613/) (2026)
- [Recursive Self-Editing: LLMs Program Their Own Weight Edits for Self-Improvement](https://mlsanity.com/paper/2611.29513/) (2026)
- [TowerBridge: Bridging the Dual-Encoder Modality Gap via Weight-Space Programming](https://mlsanity.com/paper/2611.31233/) (2026)

## Abstract (arXiv)

Scientific predictors guide costly experiments, yet returned measurements often reveal errors that matter for subsequent experimental choices. WeightLoop turns this feedback into persistent model updates through a reusable Weight-Space Programming (WSP) editor. We use GPT-6 Astra and DeepSeek to construct update programs from the scientific objective, model computation and editable parameters. These programs use accumulated measurements to estimate parameter corrections, validate them on feedback and save accepted changes in the original model. With identical feedback and writable parameters, four pretrained scientific predictors obtain 5.10-18.56% lower primary error. For weather prediction, changing four output-bias parameters reduces root mean squared error by 13.28%. Functional ranking and sequential discovery further connect reusable editing programs to improved experimental choices.
