Skip to the content

fatehi.devx2Learning

Paths, 18 steps in six parts after an overview, one written so far

Weight-space programming

In November 2026 a language model was asked to read a neural network’s raw weights, say what the network does, and edit or write the weights itself, with no optimizer and no data. This path teaches what is needed to follow that work and to judge its claims: what weights are, how networks are read and edited by hand, how weights have been set without training before, what the experiments showed, and what their critics found.

Builds on Inside a language model, four steps: start there if its topics are new to you.

none read yet

StartMap

Weight-space programming is the name Takehi, Teoh, Zhang and Khattab gave, on 2 November 2026, to a language model reading and writing another network’s weights directly: it is given the numbers as text, works out what the network computes, and changes them to meet a goal stated in words, without gradient descent. Their report, a blog post that has not been peer reviewed, describes eight experiments with OpenAI’s GPT-6 Astra. This path explains the work from the bottom up. It opens with the idea on one page; each of its six parts then teaches the fundamentals one part of the work rests on.

Part 1 shows how an optimizer normally sets weights, what they are, and why the same function can be written with many different weights. Part 2 shows how people read trained networks: the residual stream and its hidden states, induction heads, circuits. Part 3 shows weights set without training before: transformers compiled from programs, networks that write other networks, and networks trained on weights as data. Part 4 shows trained models edited by hand: a fact changed in place, a skill added or removed by arithmetic on weights. Part 5 follows the experiments: reading, fixing and writing networks. Part 6 weighs the claims: what the critics found, and what remains open.

The steps

  1. Weight-space programmingUnder construction

    Papers

  2. Gradient descentUnder construction

    Machine learning

    How a network’s weights are normally set, a small step against the gradient at a time: the procedure that weight-space programming replaces with reading and reasoning.

  3. Neural networksUnder construction

    Deep learning

    A network is its weights: the numbers in its matrices are everything the network knows, and everything a weight-space programmer reads and writes.

  4. Weight-space symmetriesUnder construction

    Deep learning

    Why raw weights are hard to read: shuffle a layer’s units, or rescale them, and the network computes exactly the same thing with different numbers.

  5. Transformers

    Deep learning

    The architecture of most of the networks in the experiments: blocks that read and add to one running vector per position, the residual stream.

    Crossing: also step 5 of DNA-Socket

    Crossing: also step 17 of Attention paper

    Crossing: also step 4 of Inside a language model

  6. LLM hidden stateUnder construction

    Deep learning

    How a network’s internal states are read and changed: probes, lenses and activation patching, the tools the experiments’ model used on Qwen3.5-0.8B.

    Crossing: also step 7 of DNA-Socket

    Crossing: also step 3 of J-space

  7. Induction headsUnder construction

    Deep learning

    The best-understood mechanism inside a transformer, and one the experiments’ model found from weights alone in three small language models.

  8. CircuitsUnder construction

    Deep learning

    Reading a mechanism out of a network, part by part: the methods of mechanistic interpretability, which weight-space programming hands to a language model.

  9. Compiled transformersUnder construction

    Deep learning

    Weights written on purpose before: a program compiled into a transformer’s weights, so that the network runs the program exactly.

  10. HypernetworksUnder construction

    Deep learning

    Networks trained to output the weights of other networks: the learned way of writing weights, against which writing by reasoning is compared.

  11. Weight-space learningUnder construction

    Deep learning

    Networks that take other networks’ weights as their input, and the symmetries that make that hard: the research field closest to reading weights.

  12. Model editingUnder construction

    Deep learning

    Changing one fact in a trained language model by a small, located change to its weights: the precise, algorithmic kind of edit that weight-space programming does by reasoning.

  13. Task vectorsUnder construction

    Deep learning

    Skills added and removed by arithmetic on weights or on states: the kind of change behind the experiments’ largest result, a direction subtracted from two layers of Qwen3.5-0.8B.

  14. Reading weightsUnder construction

    Papers

    What the model said about networks from their weights alone: the games four policies play, the shapes three diffusion models draw, the language and the copying heads of three small transformers, and a sycophantic model.

  15. Fixing a networkUnder construction

    Papers

    Two repairs: a car policy that drove into a ramp, fixed by editing 3.5 % of its weights, and Qwen3.5-0.8B’s looping, removed by editing 0.016 % of its weights, with the failure on Gemma 3 270M beside it.

  16. Writing a networkUnder construction

    Papers

    Networks written from zeros, from the rules of a game alone: three game-playing networks and a Go policy, compared with networks trained for the same tasks.

  17. The critiqueUnder construction

    Papers

    What the critics found: how small most of the networks were, what the tools and forward passes added, and a test that shuffled a dataset’s labels and broke a model’s reading of the weights.

  18. Open questionsUnder construction

    Papers

    The path closes where the evidence ends: what has been shown, on which networks, and the experiments that would show more.

At the end of the path

At the end of the path you can explain weight-space programming from the bottom up: what it means to read a network from its numbers, why that is hard, how it relates to interpretability, compiled programs, hypernetworks and model editing, what the experiments showed and on networks of which size, and why the critics read the same results as local arithmetic and prior knowledge rather than as tracing a network’s computation. The open questions are where the research goes next.

Now see the researchSparks of Weight-Space Programming (Takehi et al., 2026)

What you mark as read is kept in this browser only, never sent.