WeightBench: Evaluating Language Models as Weight-Space Programmers
Abstract
Recent work shows that large language models (LLMs) can operate directly on the parameters of other neural networks. They can read what a network was trained to do, fix a network that fails, and write working networks from scratch, all without gradient descent. This capability has been termed Weight-Space Programming (WSP). Exploring this new paradigm systematically requires a robust benchmark. We introduce WEIGHTBENCH, a benchmark that evaluates LLMs of increasing capability on 42 WSP tasks across five tracks: reading, fixing and writing weights, recognizing edits that are impossible, and data-free compression. The networks whose weights the LLMs read and edit range from 2K-parameter control policies to 7B-parameter language models. Experimental benchmark results show that frontier agents can already read small networks and write working control policies without ever running them, but cannot yet patch language models, compress them without data, or tell an impossible edit from a hard one. On all 42 tasks, Claude Opus 5.5 reaches a macro score of 0.535 (Sonnet 5.5 0.466, Haiku 5.5 0.402, DeepSeek v4-flash 0.215); on the 38 tasks it was run on, GPT-6.1-sol reaches 0.568 against Opus's 0.546. Code, the task registry, our OS-level sandbox harness, and the live leaderboard are publicly available at https://github.com/Aayush-Marasini/WeightBench.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- 9 pages, 1 figure, 1 table. Code and leaderboard available at https://github.com/Aayush-Marasini/WeightBench
Related papers
Evaluable Language-Model Treatment Policies for Sepsis Resuscitation via Offline Value-Guided Selection
Shared title terminologycs.LGYue Pei, Shining Bo, Yingying Zhang et al.
Learning Graph-Conditioned Predictors in Weight Space
Shared title terminologycs.LGZhewei Chen, Hao Zhu, Ahad N. Zehmakan
CHORD: Learning Latent Spaces for Constrained Stellarator Design
Shared title terminologycs.LGSantiago A. Cadena, Andrea Merlo
Transferable, Time-Parallel Graph Dynamics via Space-Time Factorization
Shared title terminologycs.LGWencong Yang, Chaopeng Shen, Abdolmehdi Behroozi
Transformers with Signatures: Towards Universal In-Context Learning in Path Space
Shared title terminologycs.LGZiheng Cheng, Xin Guo, Ben Hambly
TrialAgentBench: Evaluating AI Agents for Clinical-Trial Analysis and Long-Horizon Drug-Development Decisions
Shared title terminologycs.LGBradley Segal, William Bolton, Philip Torr et al.