How Much Weight Can Your LLM Bench? Benchmarking Weight-Space Programming on Open Language Models
Abstract
Large language models (LLMs) are improving rapidly and now solve increasingly complex tasks. However, much of this progress is concentrated in domains that models are explicitly trained for and tested on, such as mathematics and programming in Python and other widely used languages. On less explored tasks, such as rare programming languages, niche formats, and problems rarely seen in benchmarks, general-purpose LLMs are noticeably weaker. Weight-space programming (WSP) suggests a different route: an LLM reads and writes a neural network's weights directly, leveraging only forward passes, to achieve a desired behaviour. We introduce OpenWSP, a benchmark of 152 tasks that measures how well LLMs program weights (with an upcoming evaluation-only version of 500 tasks that will be kept private to prevent benchmaxing). In each task, an agent gets the weights of a small open language model (360M-1.7B parameters) in a Python kernel and, without gradients, must work out how the model was trained or modified, change a specific behaviour, or make it better at a skill scored on hidden held-out prompts. We evaluate ten frontier and open LLMs as WSP agents, one of them with and without thinking. On a 0-100 improvement index, the best agent tested, GPT-6.1 Sol, scores 51.0, and the best open-weights agent, Qwen3.8-27B, scores 7.5. Skill tasks are the hardest family for most agents. Still, on some tasks WSP manages to substantially improve the small models: when teaching a model new facts, six of the eleven agents close more than half of the gap between the unedited model and a perfect score, and when teaching answer set programming, a language rarely seen in training, two agents close more than 90% of it. As future work, we propose extending the benchmark to other architectures and modalities, from world models and vision-language-action models to audio and image flow-matching models.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CL
- Comments
- 16 pages, 6 figures. Project page: https://moreirap12.github.io/OpenWSP/
Related papers
Backtracking with Linear-in-Depth Search-Space Growth: Width-Limited Tree Search for Large Language Models
Shared title terminologycs.LGJiacheng Xu, Fuxiang Zhang, Chaojie Wang et al.
ESFM: Reconstructing Unbalanced Dynamics via Reduction and Extended-Space Flow Matching
Shared title terminologycs.LGRuoyu Wang, Xinyu Wang, Tiejun Li
Benchmarking EEG Foundation Models for Decoding Alzheimer's Disease-Relevant Neural Dynamics
Shared title terminologycs.LGKonstantinos Barmpas, Na Lee, Yannis Panagakis et al.
Revive What Pays: Evidence-Weighted Net-Gain Revival for Mini-Batch k-Means
Shared title terminologycs.LGEyal Weiss
Temporal Expert Caching for Accelerating Inference in MoE Diffusion Language Models
Shared title terminologycs.LGVikhyath Kothamasu, Sandeep Kumar, Deepika Palagani
Sample Efficient Ranking of Language Models Using Pairwise Comparisons
Shared title terminologycs.LGSomnath Basu Roy Chowdhury, Rahul Kidambi, Avinava Dubey et al.