cd /news/artificial-intelligence/weight-space-programming-at-50-forwa… · home › topics › artificial-intelligence › article
[ARTICLE · art-169450] src=dev.to ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Weight-space programming at 50 forward passes: Qwen hit 48.1%, Gemma 7.0%

Researchers Rikiya Takehi, Jayden Teoh, Alex Zhang and Omar Khattab at MIT CSAIL reported that GPT-6 Astra edited 131,072 weights (about 0.016%) of Qwen3.5-0.8B with no training or backward passes, lifting its MATH-500 score from 7.9% to 48.1% within 50 forward passes. The gain came almost entirely from fixing a repetition bug: 579 answers flipped from wrong to right on held-out practice problems, and 576 of those had previously been cut off at the token limit, while accuracy on completed answers was unchanged. On Gemma 3 270M, which lacks the loop bug, the same budget moved MATH-500 only from 6.8% to 7.0%.

by read3 min views2 publishedNov 14, 2026

GPT-6 Astra edited 131,072 of Qwen3.5-0.8B's weights with no training. Its MATH-500 score went from 7.9% to 48.1%. On the same budget of 50 forward passes, Gemma 3 270M went from 6.8% to 7.0%.

It fixed a bug. It did not teach math.

The work is by Rikiya Takehi, Jayden Teoh, Alex Zhang and Omar Khattab at MIT CSAIL, published Nov 2, 2026. The logs are public, so you can check the numbers without running a model.

Run this and you get the score and the share of answers cut at the token limit, for each Qwen run:

base=https://raw.githubusercontent.com/RikiyaT/lm_understand-logs/main/exp8_math
for run in unedited p10c p25c p50c; do
  curl -s "$base/eval/$run/merged.json" \
    | jq -c --arg run "$run" '[$run, .math500.acc, .math500.cut_share]'
done
["unedited",0.079,0.93]
["p10c",0.1235,0.8725]
["p25c",0.141,0.8635]
["p50c",0.481,0.3305]
Forward passes Qwen MATH-500 Qwen cut at token limit Gemma MATH-500
Unedited 7.9% 93.0% 6.8%
10 12.3% 87.2% 7.6%
25 14.1% 86.4% 7.7%
50 48.1% 33.1% 7.0%

One pass is up to 512 generated answers or 1,024 texts read for Qwen. Gemma's generation pass is larger, at 2,048.

Limits:

The rules banned backward passes, autograd, optimizers and iterative fitting. Astra had a CPU Python kernel over the weights and could only run the model through the forward-pass tool.

The arithmetic: 2 layers × 64 columns × 1,024 = 131,072 weights. Against a nominal 0.8 billion, that's 0.016384%. The report rounds it to 0.016%.

Astra traced the loops to one direction written by those MLPs, then subtracted it. A steering vector works on the same idea at inference time, by adding a contrast direction to activations. Here the direction went into the weights. On Hacker News, yurimo, who says part of their research is in weight-space learning, reads the fix as close to that established technique.

Those compare shares, so they don't show which answers changed. Astra's confirmation run gets closer, on 1,152 held-out practice problems: 579 answers went from wrong to right, and 576 of them had been cut off. Accuracy on finished answers didn't change. Those are Astra's own numbers, on practice data.

Gemma has no such bug. Only 8.5% of its answers reach its limit, and Astra found ordinary arithmetic and algebra errors.

You can split any score jump this way. Count the answers cut off at the limit first, then compare only the ones that finished.

Astra was told what to look for, as one example:

curl -s "$base/runs/p50c/turns/t001/prompt.txt" | grep -o "if the model often fails[^.]*\."
if the model often fails because it repeats itself and never finishes, finding and fixing what drives that repetition counts.

That brief runs to 10,315 bytes. It names no layer or direction. Astra still needed 158 turns, 80 Python runs and 20.3 hours, including a 4.7-hour wait when the model could not be reached. Qwen's model card also warns this model is prone to thinking loops.

The authors write that editing could remove an obstacle hiding an ability, but could not add one the model lacked. In experiments 5 and 6, Astra wrote small game networks from scratch, so that limit is about language models that already exist. A third of Qwen's answers still hit the limit.

My reading, not theirs: one AI can now debug another. Teaching it something new still takes training.

The maintained version, with the chart and the comment thread, is on argbe.tech.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @mit csail 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/weight-space-program…] indexed:0 read:3min 2026-11-14 · —