Abstract
The surprising ability of large language models to work directly on neural network weights, known as weight-space programming, may reflect genuine generalization or familiarity with common architectures. Because prior evidence comes from a few experiments on standard designs, how far this capability extends to unfamiliar networks and tasks remains unclear. We introduce the Weight Engineering Benchmark (WEBench): 210 tasks across 56 families and 10 categories of operations for creating, modifying, and analyzing small networks, so failures cannot be blamed on scale. Each family is hardened by varying one design factor at a time, with at least three instances per task. We evaluated GPT-6-Astra (Astra 6) once per instance with no training or fitting and at most 50 network runs. Astra 6 passed 1,218 of 1,461 scored instances (83%), generalizing to rare sine and triangle-wave units, million-step sequences, and all 448 instances determined by weights alone. Many successes use human-verifiable mathematics, such as the Chinese remainder theorem, covariances recovered from stored normalization statistics, and exact-arithmetic proofs. Yet generalization has a clear limit: Astra 6 failed in all 10 categories, and 8 of them contain tasks on which it failed most instances. Nearly all failures involve learned weights graded on unseen real data, and in the failures we analyzed, Astra 6 relied on unchecked false assumptions. On 30 instances of ten tasks where Astra 6 performed worst, we evaluated seven more models. Accuracy rose sharply from Astra 6 to Astra 6.2, with Claude Fable 5.2, Gemini 4 Neon, and ChatGPT Sol 6.1 trailing Astra 6.2 and all three open-weight models behind the commercial models. Every commercial model solved all constructed-weight instances; unseen real-data tasks separated them sharply. Tasks, weights, and attempt records are at https://github.com/StanfordBioinformatics/WEBench.