Weight-Space Programming Changes How an LLM Uses Python for Computational Biology
Makoto Sato
Abstract
Weight-space programming allows a language model to edit another model's weights without gradient-based training. We used Claude Opus 5.5 to edit Qwen3.5-0.8B and investigated how the edits changed its use of Python on computational biology problems. We compared four initial edited checkpoints with the original model on 50 test problems across three test seeds, yielding 600 paired evaluations. Strictly correct answers increased from 44 to 77, and technically correct answers, which included correct final values rejected for formatting, increased from 64 to 100. Repeated Python calls decreased from 1,834 to 1,044. Among the 64 pairs in which only the edited response was technically correct, the original model had already computed the correct value in 36 but did not submit a technically correct final answer. The edited model corrected the computation in 13 of the 64 pairs. With six additional checkpoints on the same 50 problems, technically correct answers rose from 96 to 154 across 900 pairs. We explored three selected problems with ten test seeds for each of ten checkpoints. On the melting-temperature problem, correct Python outputs decreased from 60 to 22 while technically correct final answers increased from 0 to 18. Weight editing changed both the calculations Qwen ran and whether it submitted a correct answer.
Create a lesson
Related papers
Weight-Space Programming Writes In-Context Learning and Matches Fine-Tuning in Language Models
Shared title terminology · Konstantinos Skianis, Aristidis Likas
Replicating and Extending Weight-Space Programming: Frontier LLMs Compile Programs into Weights and Read Input Layers
Shared title terminology · Roksana Goworek, Alexander Hickey, Federico Nanni et al.
Instant Weight-Space Consolidation for Long-Term Memory in LLMs
Shared title terminology · Manan Suri, Dinesh Manocha
The Assistant Persona Differs Across Languages in Activation Space
Shared title terminology · Daniel Yoo, Naama Rozen, Evan Harris
WaXup: Weight Averaging of Experts as Data Augmentation for Robust Introspection
Shared title terminology · Marc Boëlle, Lucas Dixon, Alexandre Ramé
Rethinking Full-Weight LoRA with Domain and Task Adapter Scaling for Question Answering over Portuguese Well Drilling Reports
Shared title terminology · Luan B. Guerra, Diogo M. Paes, Marcelo N. Grimberg et al.