GPT-6 Astra fixed a small Qwen’s math by editing 1,023 of its weights

13 hours ago

GPT-6 Astra edited Qwen3.5-0.8B's weights directly, with no gradients and 50 test runs, and changing 1,023 values in one column lifted the small model on held-out MATH-500 from 8% to 38%. The same edit helped instruction following and science problems. On Qwen3.5-9B the gains were a point or three, reruns found different edits, and six of 16 searches kept the original weights. Paper (arXiv 2611.09382v1, 6 Nov 2026): https://arxiv.org/abs/2611.09382 Repository: https://github.com/WSP-Scope/WSP-Scope-Project

Ask about this presentation

Chapters

  1. 0:00Astra edits 1,023 weights
  2. 0:19How Weight-Space Programming works
  3. 0:31One column pushes away from Wait
  4. 0:48The math edit helped other tests
  5. 1:05Three searches, three different edits
  6. 1:16The 9B model barely moved
  7. 1:29Practice gains didn't hold
  8. 1:46What was tested
  9. 2:02When to try it
Show transcript
  1. GPT-6 Astra rewrote 1,023 weights inside a small Qwen model, directly. On a math test it had never seen, the model went from solving fewer than one problem in ten to more than one in three. The team is at the Shanghai Artificial Intelligence Laboratory.

    Slide text
    AI Papers

    GPT-6 Astra fixed a small Qwen’s math by editing 1,023 of its weights

    8.35% → 37.80%
    MATH-500, held out · Qwen3.5-0.8B

    Junru Hu, Cheng Tang, Wei Li and colleagues · Shanghai Artificial Intelligence Laboratory, Tongji University, Fudan University

    Hu et al. · Exploring Weight-Space Programming · arXiv 2611.09382v1 · 6 Nov 2026 · Table 2
  2. In Weight-Space Programming, the agent opens the weights in a Python notebook and writes each edit as code. It gets 50 model runs to test them. There's no training step, and the output layer stays fixed.

    Slide text

    Astra edits the weights itself, then runs the model to check

    The weights, in a Python notebook read them, compute an edit, save it
    50 model runs per search answers, or log-probabilities and activations
    No gradients, no optimizer embeddings, final norm and output layer stay fixed
    Hu et al. · Exploring Weight-Space Programming · arXiv 2611.09382v1 · Section 2 · Appendix A
  3. The small model kept second-guessing itself, and 111 of 128 answers ran out of room. Astra changed one column in layer 23, so the model leans away from wait and maybe, and toward therefore and next.

    Slide text

    One column of layer 23 now steers away from “Wait”

    layer 23 MLP down-projection · 1024 × 3584 column 507 · 1,023 values changed
    less like Wait · However · But · Maybe · Perhaps
    more like Therefore · Thus · So · Now · First · Next
    Hu et al. · Exploring Weight-Space Programming · arXiv 2611.09382v1 · Appendix C.1 · Appendix E
  4. With no further changes, that math checkpoint got better elsewhere too. It followed instructions more often, and went from almost never solving college science problems to about one in five. Scientific coding stayed at zero, and medical answers slipped.

    Slide text

    The same math edit, untouched, lifted three other tests

    +20.10 SciBench 1.38 → 21.48
    +12.18 IFEval 21.40 → 33.58
    +3.03 GPQA Diamond 25.25 → 28.28
    0.00 SciCode, and MedXpertQA slipped 10.57 → 10.37

    percentage points · Qwen3.5-0.8B · held out

    Hu et al. · Exploring Weight-Space Programming · arXiv 2611.09382v1 · Abstract · Figure 6
  5. Running the same search again found different edits. The first touched one column. The reruns changed one and two million values in the same layer, and one gained almost nothing.

    Slide text

    Run three times, Astra found three different edits

    First search column 507 · 1,023 values
    +29.45
    Rerun 1 rank-one · 1,037,572 values
    +5.00
    Rerun 2 rank-one · 1,981,083 values
    +27.30

    MATH-500 points gained · same layer, same model · tint = share of the matrix changed

    Hu et al. · Exploring Weight-Space Programming · arXiv 2611.09382v1 · Figures 4 and 5 · Table 7
  6. The big gains all came on the small, weak model. The 9B model already solves nearly every math problem, and its edits added three points at most. Six of 16 searches kept the original weights.

    Slide text

    On the 9B model, the edits moved scores a point or three

    held out, %0.8B base → kept9B base → kept
    Math8.35 → 37.8097.70 → 97.70*
    GPQA Diamond25.25 → 29.6780.05 → 80.05*
    IFEval21.40 → 58.1289.30 → 91.14
    SciBench1.38 → 18.4972.46 → 75.49
    SciCode0.00 → 0.001.54 → 3.08
    MMLU-Pro34.17 → 34.17*82.89 → 82.89*
    MedXpertQA10.57 → 10.57*34.57 → 34.57*

    * Astra kept the original weights · 6 of 16 searches

    Hu et al. · Exploring Weight-Space Programming · arXiv 2611.09382v1 · Table 2 · Figure 7
  7. On the 9B model, one math edit gained 30 points on practice questions. On the held-out test it scored slightly worse, and Astra kept the original weights. Those practice scores are each search's best, uncorrected for how many edits were tried.

    Slide text

    A big gain on practice questions can vanish on the test

    +29.69 9B math edit, on Astra’s practice questions
    −0.35 the same edit, on held-out MATH-500

    Practice results were picked as the search went, with no correction for multiple comparisons.

    Hu et al. · Exploring Weight-Space Programming · arXiv 2611.09382v1 · Section 3.2 · Table 2 · Appendix B
  8. It's two Qwen models and one editing agent, with a single search per task outside math. Long agent tasks are untested, and every check costs compute. The repository holds only the paper, but its appendix spells out every edit.

    Slide text

    Two Qwen models, one editing agent, one search per task

    Qwen3.5-0.8B and Qwen3.5-9B seven benchmarks, edited by GPT-6 Astra only
    Long-horizon and agentic tasks not yet evaluated
    Repeated evaluation is expensive a generation run can take half an hour
    The repository holds the paper a PDF, no code; every edit is written out in Appendix C
    Hu et al. · Exploring Weight-Space Programming · arXiv 2611.09382v1 · Sections 3.1 and 4 · github.com/WSP-Scope/WSP-Scope-Project
  9. If a small model of mine kept second-guessing itself, I'd try this, since that's the failure it fixed. On a model that already works, the 9B results say not yet. The paper is on arXiv.

    Slide text

    Worth trying on a small model with a failure you can see

    Paper arxiv.org/abs/2611.09382
    Repository github.com/WSP-Scope/WSP-Scope-Project
    Hu et al. · Exploring Weight-Space Programming · arXiv 2611.09382v1 · 6 Nov 2026

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York