[KongchangAI]
· 2 min read· 1,438 words

LLM Weight-Space Programming Benchmark OpenWSP: Frontier Models Score Only 51

LLM Weight-Space Programming Benchmark OpenWSP: Frontier Models Score Only 51

New OpenWSP benchmark lets LLMs read/write model weights; best agent scores 51, open-source only 7.5.

Large language models excel in training-intensive domains but struggle with rare languages and niche formats. A new paper proposes Weight-Space Programming (WSP): without fine-tuning or gradients, an LLM agent directly reads and modifies another small model's weights in a Python kernel, changing behavior via forward-pass observations only. The OpenWSP benchmark has 152 tasks across inferring training methods, changing behaviors, and improving skills, plus a private 500-task eval set. Ten agents were tested; best GPT-6.1 Sol scored 51.0, best open-weight Qwen3.8-27B only 7.5. Skill tasks were hardest, though some agents closed large gaps on new-fact and answer set programming tasks.

Title

LLM Weight-Space Programming Benchmark OpenWSP: Frontier Models Score Only 51

Meta Description

OpenWSP benchmarks LLM weight-space programming ability: the best agent GPT-6.1 Sol scores only 51 on 152 tasks, while the open-weight agent Qwen3.8-27B scores only 7.5. This article explains WSP principles, task types, and evaluation results.

Article Content

Large language models are advancing rapidly in training-intensive domains such as mathematics and Python programming. But once they leave their comfort zone—rare programming languages, niche formats, and problems that barely appear in benchmarks—general-purpose models perform noticeably worse. A new paper proposes another path: letting LLMs directly read and write the weights of neural networks and change model behavior using only forward passes, and it builds a dedicated benchmark, OpenWSP, for this purpose.

LLM weight-space programming benchmark OpenWSP illustration

What Is Weight-Space Programming (WSP)

The core idea of Weight-Space Programming (WSP) is this: without fine-tuning and without gradients, an LLM acts as an "agent" that directly reads and modifies the weights of another small model inside a Python kernel, thereby giving it some desired behavior.

This is essentially turning "training a model" into a reasoning problem—the agent model must infer, from observations of forward passes, how the target model was trained or modified, and then rewrite the weights itself. No gradient signal is available throughout the process; the agent must rely on its understanding of weight structure and behavior to complete the task.

The value of this setup is that it bypasses traditional fine-tuning's dependence on data and compute, turning "changing model behavior" into a pure programming and reasoning problem.

The difference between forward passes and gradients: Neural network computation is divided into two stages: forward propagation and backpropagation. Forward propagation passes input data layer by layer through weight matrices and activation functions to finally produce an output; backpropagation uses the gradient of the loss function to compute, from the output layer backward, each weight's contribution to the error, and then updates the weights. Traditional training (including fine-tuning) relies on the gradient signal provided by backpropagation to adjust parameters. WSP deliberately removes this information channel, gradients. The agent can only observe the input-to-output mapping and infer the role of weights like black-box reverse engineering, then directly rewrite the values. This turns the task from an "optimization problem" into a "program synthesis and reasoning problem," which also explains why models with strong reasoning ability have an advantage on such tasks.

The OpenWSP Benchmark: 152 Tasks, Three Task Types

The research team's OpenWSP contains 152 tasks. In each task, the agent receives the weights of a small open-source language model with 360M to 1.7B parameters and is then asked to complete one of three types of work:

  • Infer the training method: figure out how this small model was trained or modified;
  • Change specific behavior: make targeted adjustments to one aspect of the model's performance;
  • Improve a skill: score on hidden held-out prompts and make the model stronger in some capability.

In addition, a 500-task evaluation-only version will remain private to prevent targeted benchmark gaming (benchmaxing).

The evaluation targets ten frontier and open-source LLM agents, one of which runs in both thinking and non-thinking modes. Scoring uses an improvement index from 0 to 100.

What the improvement index (0-100 points) means: This score is not absolute accuracy, but a measure of how much of the gap between "the unedited model's original performance" and "ideal full performance" the agent has closed. If the unedited model scores 20 on a task, full marks are set at 100, and the model scores 60 after the agent's edit, then the improvement index is (60-20)/(100-20)=50 points, meaning half of the improvement path has been completed. This normalized design allows tasks of different difficulty and baseline to be compared horizontally, and also makes 51.0 points intuitively mean "the best agent completed only about half of the improvement space."

Scorecard: Even the Best Agent Scores Only 51

The results are not encouraging. The best-performing agent, GPT-6.1 Sol, scores 51.0, while the best open-weight agent, Qwen3.8-27B, scores only 7.5—a huge gap.

For most agents, skill-type tasks are the hardest category. This shows that making a model "understand and rewrite another model's weights to improve a specific capability" is far harder than imagined.

There are bright spots, however. On tasks teaching the model new facts, six of the eleven agents closed more than half of the gap between the unedited model and full marks; and when teaching answer set programming—a language that rarely appears in training—two agents closed more than 90% of the gap. This shows that WSP can indeed significantly improve small models' capabilities in some scenarios.

Answer Set Programming (ASP): A declarative paradigm based on logic programming, mainly used for knowledge representation and solving combinatorial optimization problems. Developers use rules to describe a problem's constraints and candidate solution space, and a solver (such as clingo) automatically enumerates "answer sets" that satisfy all rules. ASP is used in academia and specific industrial scenarios, but accounts for an extremely low share of mainstream code corpora and programming training data, making it a typical long-tail language. Precisely because of this, general LLMs have weak mastery of its syntax and semantics, yet in WSP tasks agents were able to close more than 90% of the gap in this language. This indicates that directly manipulating weights can bypass the limitations of insufficient training data coverage and provides a new way to inject behavior for uncommon languages or formats.

Multiple Perspectives and Limitations

Discussion of WSP is currently concentrated in a single research source, and independent third-party reproduction is still lacking. Methodologically, the value of OpenWSP lies in turning "whether a model can operate on models" into a quantifiable evaluation dimension, rather than stopping at a conceptual demonstration.

It is important to view this soberly: the top score of 51 means that even frontier models have completed only half the journey in weight-space programming. The open-weight agent's 7.5 score further shows that this capability currently depends heavily on the model's own reasoning level.

The research team's proposed next direction is to extend this benchmark to more architectures and modalities, including world models, vision-language-action models, and audio and image flow-matching models. If this route works, future LLMs may be able to directly "program" the behavior of other models without relying on large-scale fine-tuning.

World models and vision-language-action models (VLA): A world model refers to an implicit simulator that can learn environment dynamics and predict future states, commonly used in reinforcement learning and robot planning; a vision-language-action model unifies image perception, language instructions, and action output into one network and is a core architecture for embodied intelligence. The research team's plan to extend OpenWSP to these models means that the evaluation targets of weight-space programming will extend from pure-text LLMs to multimodal and embodied decision-making systems. These models have more complex weight structures and more difficult behavior evaluation. If WSP is also feasible on these architectures, then LLMs' ability to directly "program" other models' behavior will have broader generality and will no longer be limited to language models.

What This Means for Developers

In the short term, WSP is not yet enough to replace conventional fine-tuning. But for scenarios that require quickly adjusting behavior in small models—especially uncommon languages or formats lacking training data—it offers an approach worth watching: let a strong model read and rewrite the weights of a weak model.

The public release of OpenWSP also means that this direction now has a comparable yardstick. Whether future models' weight-manipulation abilities are strong or weak will no longer be judged only by case-by-case demonstrations.

One-line Summary

A new benchmark, OpenWSP, lets LLMs directly read and write model weights; the best agent scores only 51, and open-source models only 7.5.

Paragraph Summary

Large language models are advancing rapidly in training-intensive domains, but perform noticeably worse on tasks such as rare programming languages and niche formats. A new paper proposes Weight-Space Programming (WSP): without fine-tuning and without gradients, an LLM acts as an agent that directly reads and modifies the weights of another small model inside a Python kernel, changing model behavior based only on forward-pass observations. The research team built the OpenWSP benchmark with 152 tasks, covering three task types—inferring training methods, changing specific behaviors, and improving skills—plus a private 500-task evaluation version to prevent gaming. Ten frontier and open-source agents were evaluated; the best score, GPT-6.1 Sol, was only 51.0, and the best open-weight agent, Qwen3.8-27B, scored only 7.5. Skill-type tasks were the hardest for most agents, but some agents significantly closed the gap on tasks teaching new facts and answer set programming.

#OpenWSP#weight-space programming#LLM benchmark#GPT-6.1 Sol#Qwen3.8-27B#answer set programming#model weights
Share:

Related articles