Cmpnd's dspy-wsp lets AI rewrite a model's weights for $5 to $10

The MIT-licensed tool has a frontier model edit a smaller model's weights directly, no training data or gradients required, lifting one model's accuracy by 18 points.

AIVIO News Desk 2 min read
AIVIO News cover illustration for: Cmpnd's dspy-wsp lets AI rewrite a model's weights for $5 to $10

Cmpnd has released dspy-wsp, a tool that lets a large language model directly rewrite the weights, the numerical parameters a neural network learns, of a smaller model, according to MarkTechPost. The release packages a technique called weight-space programming, first described in MIT research, as an optimizer named WeightSpace that works inside the DSPy framework for building language model programs.

The method skips the usual machinery of model training. There is no gradient descent, no training loop and no fine-tuning dataset. Instead, a frontier model acting as a “writer” reads a smaller model’s weight tensors inside a sandboxed environment, reasons about what each part does, and edits them to match a goal described in plain English. MarkTechPost reports that Cmpnd’s tests used GPT-6-Astra as the writer and cost $5 to $10 per optimization run, with each run taking between 78 and 167 minutes.

On Cmpnd’s Typed Decisions benchmark, which tests a model’s ability to answer several typed probability questions from one piece of text, the gains varied sharply by model size. A 600-million-parameter model called d1-omni-600M improved from 50.9% to 66.9% accuracy using WeightSpace alone, and to 69.1% when combined with ReAnchor, an earlier Cmpnd optimizer that recalibrates a decision model’s output thresholds. A 0.6-billion-parameter model named NanoJev gained 13.3 points from WeightSpace alone. The 9-billion-parameter Clef-Flash gained only 1.9 points from WeightSpace by itself, rising to 6.5 points once ReAnchor was added.

MarkTechPost notes that Cmpnd’s default setup lets the writer recompute part of the decision head during editing, a looser standard than the one used in the original MIT research. Under the stricter setting, which disables that head recomputation, d1-omni-600M’s gain from WeightSpace alone fell to 2.8 points, no better than ReAnchor running on its own. Cmpnd discloses this trade-off directly rather than presenting the larger figure as the only result.

What this means

The pattern across Cmpnd’s own numbers points to a real limit: WeightSpace’s gains shrink as model size grows, from double digits on sub-billion-parameter models down to under 2 points on the 9-billion-parameter Clef-Flash before recalibration is added. MarkTechPost’s reporting also shows the technique depends heavily on which frontier model does the editing, since swapping GPT-6-Astra for gpt-6.1-sol produced a worse result on one model and even a small loss on another.

What remains unclear from the available material is whether these gains hold on tasks beyond the Typed Decisions benchmark, or on larger language models generally rather than compact decision-making ones. Cmpnd and MarkTechPost both describe the tool as experimental, and the sandbox requirement, the per-run cost and the run times suggest it is not yet a drop-in replacement for standard fine-tuning.

dspy-wsp is distributed under an MIT license and installs via pip, requiring DSPy version 3.5 or later, MarkTechPost reports.

Sources

MarkTechPost