# Exploring Weight-Space Programming: Capabilities, Generalization, and Limitations

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

## Key facts

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

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

- [Measuring Mathematical Problem Solving With the MATH Dataset](https://mlsanity.com/paper/2103.03874/) (2021)
- [GPQA: A Graduate-Level Google-Proof Q&A Benchmark](https://mlsanity.com/paper/2311.12022/) (2023)
- [Locating and Editing Factual Associations in GPT](https://mlsanity.com/paper/2202.05262/) (2022)
- [MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmark](https://mlsanity.com/paper/2406.01574/) (2024)
- [What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Exams](https://mlsanity.com/paper/2009.13081/) (2020)
- [Instruction-Following Evaluation for Large Language Models](https://mlsanity.com/paper/2311.07911/) (2023)
- [Editing Models with Task Arithmetic](https://mlsanity.com/paper/2212.04089/) (2022)
- [Mass-Editing Memory in a Transformer](https://mlsanity.com/paper/2210.07229/) (2022)
- [MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questions](https://mlsanity.com/paper/2305.14795/) (2023)
- [MedXpertQA: Benchmarking Expert-Level Medical Reasoning and Understanding](https://mlsanity.com/paper/2501.18362/) (2025)
- [SciCode: A Research Coding Benchmark Curated by Scientists](https://mlsanity.com/paper/2407.13168/) (2024)

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

- [Compiling Known Rules into Compact Neural Agents: Weight-Space Programming on Unseen Games](https://mlsanity.com/paper/2611.16981/) (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 Changes How an LLM Uses Python for Computational Biology](https://mlsanity.com/paper/2611.20566/) (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)
- [A CPU Inside an LLM: Zero-Gradient Compilation of Exact Circuits into Pretrained Weights](https://mlsanity.com/paper/2611.26450/) (2026)
- [Weight-Space Programming Writes In-Context Learning and Matches Fine-Tuning in Language Models](https://mlsanity.com/paper/2611.26841/) (2026)
- [Weight-space programming and mechanistic interpretability for model editing in particle physics](https://mlsanity.com/paper/2611.27079/) (2026)
- [Self-WSP: Can Language Models Improve Themselves Through Weight-Space Programming?](https://mlsanity.com/paper/2611.28833/) (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)
- [A Bias in Disguise: Tiny Gradient Edits Stop a Small Language Model's Thinking Loops and Complement a Frontier Model's Weight Edit](https://mlsanity.com/paper/2611.33133/) (2026)
- [Temporal Weight Surgery: Repairing Video Grounding with LLM Editors](https://mlsanity.com/paper/2611.33339/) (2026)

## Abstract (arXiv)

Weight-Space Programming (WSP) enables reasoning agents to directly inspect and modify neural network parameters, offering an alternative to gradient-based model adaptation. However, its capabilities, cross-task generalization, and practical limitations remain insufficiently understood. We systematically investigate WSP through 16 editing trajectories across seven benchmarks and two model scales (Qwen3.5-0.8B and Qwen3.5-9B). Our findings reveal three key insights. First, WSP can achieve substantial performance gains through highly localized interventions. On full held-out evaluations, accuracy improves by up to 29.45, 4.42, 36.72, and 17.11 percentage points on MATH-500, GPQA Diamond, IFEval, and SciBench, respectively. Notably, modifying only 1,023 parameters yields a 29.45-point improvement. Second, WSP exhibits promising but uneven cross-task generalization. A Math-edited checkpoint improves GPQA Diamond, IFEval, and SciBench by 3.03, 12.18, and 20.10 points, respectively, without further editing, while leaving SciCode performance unchanged. Third, effective editing remains challenging and inconsistent. Outcomes vary substantially across trajectories, and six of the 16 trajectories retain the original weights when candidate improvements cannot be reliably validated. Together, these results highlight WSP's potential for highly localized model adaptation while revealing important challenges in intervention discovery, reliability, and cross-task transfer. Homepage: https://wsp-scope.github.io/ GitHub: https://github.com/WSP-Scope/WSP-Scope-Project
