In one line: In one blog post with complete released logs, mostly single runs, GPT-6 Astra named what small networks (17K to 24K weights) were trained for from their raw weights with no tools, wrote MinAtar policies from all-zero weights that beat PPO at 100M steps in all three games (at 500M steps only in Breakout), and, with a Python kernel over Qwen3.5-0.8B's weights and 50 forward passes on practice problems, made a rank-one edit to 131,072 weights (0.016%) that cut thinking loops and raised MATH-500 from 7.9% to 48.1% in a looping-prone setting (thinking on, 32,768 tokens). The same procedure did not improve Gemma 3 270M, which rarely loops.
How far to trust it: Believe the small-network results as demonstrations: the logs are complete, and independent runs reproduced the game naming and the Breakout writing, with the caveat that reading leans on the input layer. Read the Qwen result as an agent doing interpretability with tools, not as reading weights: the prompt named repetition as a failure worth fixing, the direction came from activations measured in forward passes, the edit is directional steering written into one matrix at strength 6, and each budget is one run beside others that made no edit. The evidence, judged.
The idea in one sentence: a frontier LLM, used as it is with no training for the job, can treat a neural network's weights like source code, reading them to say what the network does and writing or editing them to change it; the post shows this cleanly on networks of 17,000 to 172,000 weights given as text, while its headline result on a 0.8-billion-weight language model was an agent with a Python kernel and 50 forward passes doing an interpretability edit.
You need: what PPO trains (Policy gradients and actor-critic); what a transformer block's matrices are and that each MLP neuron writes one column of the down projection into the residual stream (The transformer from zero); induction heads (Topic: llm-architecture, Inside a real model tab).
New terms: Weight-Space Programming (the authors' name for treating weights as a program to be read and written, "instead of leaving them entirely to an optimizer"); Astra (OpenAI's GPT-6 Astra, the reader and writer in every experiment); forward pass (here a budgeted call that runs the network on a batch: up to 128 games of Go, or up to 512 practice answers for Qwen); copying head (the post's word for an induction head); direction (a unit vector u in the residual stream); steering (adding or removing a direction in a model's activations to change a behaviour).
The post argues that reasoning-driven optimisation, already used on prompts, harnesses and training code, now reaches the weights themselves. We let LLMs improve text artefacts because humans can edit text by hand; weights were left to symbolic optimisers such as Adam because nobody can edit them by hand. The authors claim that has changed: a general-purpose LLM, from a natural-language goal and without gradients, can now read what a network computes and write weights that compute something else (in the article).
The evidence is eight experiments in three groups, all done by GPT-6 Astra: reading (what game, what shape, what language, which model is sycophantic), fixing (a stuck car policy, Qwen3.5-0.8B's math) and writing from scratch (three MinAtar games, 9×9 Go) (the list). Each experiment has a Setup box saying what Astra was given. That box is the most important thing on the post, because what Astra was given changes from experiment to experiment, and the hero figure above sorts them by it.
The wording moved after publication. The first archived copy (2 November, 18:22 UTC) said LLMs read and write weights "well past what we'd expect from humans or conventional algorithms"; the current TL;DR says "sometimes with tools such as a Python kernel and sometimes from the raw weights alone" and that the results "may extend beyond" what we would expect (the current TL;DR). The experiments and numbers did not change; the 12 November addendum came later (below).
Given only the 17,253 weights of a PPO policy as text, Astra named the game for all four networks without being told the options. The four games (grid versions of Breakout, Pong, Pac-Man and Freeway) share one 10×10 grid, the same five actions and the same MLP shape, 500 → 32 → 32 → 5, so the game is only in the weight values (Setup). The post's account of how: where each input channel's first-layer weights concentrate (for Breakout, the agent's weights lie along the bottom row, where a paddle lives) and which actions the output layer tells apart (in the article).
Given three diffusion models' weights, it named the shape each generates (circle, square, triangle; MLP 160 → 64 → 64 → 144, 23,824 weights, no forward pass allowed) by reading the output layer, where each hidden unit's weights draw one piece of the shape's edge. It drew every shape as an outline although the models generate filled shapes, which the authors read as a sign it reasoned about the geometry of the weights rather than computing a forward pass in its head (in the article).
Both readings rest on the first or the last layer, the two places where the weights are tied to something with a meaning (pixels on a grid, actions, output pixels). The authors say so themselves before Experiment 3 (in the article), and two later studies measured it: shuffling the weights or keeping only the first layer, and reading new games (Responses).
With the input and output layers removed, Astra still named the training language of three character-level transformers and found every copying head, with no false ones. The models (4 layers of 6 heads, width 384, 7.16 million weights) were trained on Python code, Japanese in romaji and English Wikipedia; Astra got the four middle blocks, with no labels on the 384 dimensions, and up to 100 runs of Python to analyse them, but could not run the network or any layer on any input (Setup). It was right in both attempts on each model, with stated confidence of 0.48 to 0.62.
How it found the copying heads is a textbook method it was never shown. It found a first-layer head that attends one character back, then multiplied weight matrices to find the later heads that search using what that head writes: the previous-token and induction-head circuit of Elhage et al. (2021), whose two-head mechanism the knowledge base explains on the Topic: llm-architecture page (Inside a real model tab). Code repeats names far more than prose, so many copying heads pointed to Python; romaji stood out because the last block writes in fewer directions, as if it had fewer letters to tell apart (in the article).
Ground truth: each head was scored by running the model on a random string repeated twice; copying heads scored 0.22 to 0.55, every other head at most 0.02. Astra never saw these scores.
Fixing a stuck policy: one reply, no tools, 3.5% of the weights changed, and the car succeeded in all 1,024 episodes. PPO, trained for a billion steps on a Kinetix level where a car must back up before jumping a red strip, learned to drive straight at the ramp and stall (0 of 256 episodes). Given all 171,664 weights, the scene and one recorded failed episode, Astra explained the local minimum and added a small separate path through a few units per layer that reads the car's position and speed, backs the car up, and switches off once the wheel is past the strip (in the article).
Writing from nothing: networks for three MinAtar games, written as text in one reply from all-zero weights, beat PPO trained for 100 million steps in all three. Astra had the game's rules and source code and the network's layout (600 → 32 → 32 → 6), and no data, loss, gradients, tools or play before scoring. Against PPO at 500 million steps it scored 20 times as much in Breakout, close in Asterix and 60% in Seaquest (figure). Its method was to design a program and compile it into weights: in Breakout, the first layer computes where the ball will land and the second moves the paddle there (in the article).
Writing a 1.5-million-weight Go network needed Python, and grew stronger with runs of the network. Too big to write as text, the 243 → 512 × 6 → 82 network was built in a Python sandbox where Astra could read and save tensors but not run them; each forward pass played up to 128 games against a practice opponent. With 0 passes (one Python run of 336 lines encoding liberties, groups in danger, captures and eyes) it won more than half its games against two smaller PPO networks; with 50 passes it beat the equal-sized PPO network trained on 20 million games (in the article).
From the weights alone Astra could not tell which of two fine-tuned Gemma 3 270M copies was the sycophant, in four attempts. The pairs were trained the same way on the same questions, one to give the correct answer and one to give whatever answer the user suggested (it then follows 100% of wrong guesses, the honest copy 1 to 3%); the embeddings and output layer were frozen so the difference had to be inside. Astra found many weight differences but could not map them to behaviour (in the article).
Allowed to see attention patterns on up to 16 texts it wrote (never the outputs), it picked the sycophant in all three pairs, and explained it: in the sycophant, middle-layer heads look at the user's suggestion. In the post's example, head 10.2 at the answer position puts 94.3% of its attention on the question's numbers and 0.75% on the user's answer in the honest model, against 3.5% and 85.7% in the sycophant (Figure 2). This is the first experiment where running the model was the step that made it work.
Asked to make Qwen3.5-0.8B better at math without gradients, Astra edited 131,072 of its weights (0.016%) and MATH-500 rose from 7.9% to 48.1%, GSM8K from 13.8% to 67.1% and IFEval from 21.0% to 62.3%. It had a Python kernel over the weights (CPU, no GPU, up to 300 code runs), 14,744 practice problems from the GSM8K and MATH training sets, and a budget of 10, 25 or 50 forward passes; a pass either generated up to 512 practice answers or read up to 1,024 texts and returned hidden states and MLP activations (Setup; the prompt is in the logs).
What it fixed was looping, not arithmetic. With thinking on and Qwen's recommended sampling, the base model ran 85 of its first 96 practice answers to the 32,768-token limit, repeating itself; on MATH-500, 93.0% of answers hit the limit. After the 50-pass edit, 33.1% did (in the article). The gain on instruction following follows from the same cause: the loops are not specific to math. The model card warns about these loops, and turning thinking off avoids them; the authors chose thinking on because that is where the weights have the fault (addendum).
The control, Gemma 3 270M, rarely loops (8.5% of answers at its token limit), and Astra could not improve it. It found ordinary reasoning errors with no single component to switch off; no edit moved MATH-500 by more than about a point (6.8% unedited). The authors' conclusion: editing removed an obstacle that hid an ability, it did not add one (in the article).
Each budget is one run, and the released results table holds more runs than the post shows. The three edited rows are prompt version 3; the table also lists a version-2 run with 0 passes, a version-3 run with 5 passes and a version-4 run with 10 passes that made no edit, and a version-4 run with 25 passes that matched the version-3 one (14.1%). The three reported edits are three different edits: a loop direction removed from 30 matrices at 10 passes, one attention head switched off at 25, and the two-matrix edit below at 50 (exp8 README, results table). The README says the unreported runs are not part of the post; they are in the table it releases, which counts in the authors' favour.
| Qwen3.5-0.8B, thinking on | MATH-500 | GSM8K | IFEval | hit 32,768 tokens |
|---|---|---|---|---|
| Unedited | 7.9 | 13.8 | 21.0 | 93.0 |
| Edited, 10 passes | 12.3 | 25.7 | 49.0 | 87.2 |
| Edited, 25 passes | 14.1 | 25.1 | 39.9 | 86.4 |
| Edited, 50 passes | 48.1 | 67.1 | 62.3 | 33.1 |
Other benchmarks for unedited, 10, 25 and 50 passes (logs): AMC23 0.5, 1.1, 1.1, 23.4; Minerva Math 1.5, 3.9, 3.5, 25.4; OlympiadBench 1.3, 2.4, 3.9, 21.8; MMLU-Pro (a fixed 1,000) 40.3, 40.0, 44.7, 45.5; GPQA Diamond 22.7, 29.4, 30.1, 36.6 (the post's figure shows 24.5 for unedited, an interim value with 149 of 198 questions scored; the README corrects it). Sampling: temperature 0.6, top-p 0.95, top-k 20, presence penalty 1.5, the same for base and edited. Samples per problem: 16 on AMC23, 4 on MATH-500, Minerva, OlympiadBench and GPQA, 2 on GSM8K and IFEval, 1 on MMLU-Pro.
Gemma 3 270M, MATH-500 with lenient grading: unedited 6.8; 5, 10, 25, 50 passes 7.0, 7.6, 7.7, 7.0. A first set of runs told the stricter \boxed{} rule scored 6.7, 6.7, 6.1, 6.2 on the same lenient grading. Two more Qwen candidates that Astra itself did not submit (its acceptance rule rejected them) were evaluated at the experimenters' request: 8.6 and 10.1 on MATH-500.
The edit pushes against one direction u in the residual stream, written into 64 neurons' output columns in each of two MLPs. Each neuron j of an MLP writes its activation times one column wj of the down projection (1,024 numbers) into the residual stream. Astra's final answer gives the formula, and the released diff reproduces it exactly:
At α = 6 it does not remove the direction, it reverses and amplifies it. Each chosen column's component along u goes from c to −5c; α = 1 would remove it. Measured here with src/real_edit.py on the released diff against the public base weights: the change is rank one (99.999% of its energy in one direction in both layers), the share of each column's component removed is 6.00 (5.99 to 6.01), and the two matrices change by 10.6% and 8.1% of their norm. So "0.016% of the weights" is true of the count, but each of those weights moves a lot.
The direction and the neurons came from running the model, not from reading the weights. Astra's final report says the direction was built from four matched productive and repetitive contexts at the residual outputs of layers 15 and 19, and the 64 neurons per layer were chosen from activations recorded in a forward pass. By the weights alone they are not the 64 that write most along u: only 31 of layer 15's and 18 of layer 19's chosen columns are in that top 64 (figure). The prompt itself named the target: "if the model often fails because it repeats itself and never finishes, finding and fixing what drives that repetition counts" (prompt, turn 1).
Astra checked its own edit with a control: a random direction of the same norm, orthogonal to u, gained 1.56 points (standard error 3.52) where the real edit gained 49.8 points (SE 1.5) on 1,152 held-out practice problems (10.6% to 60.4%, 579 rescued and 5 lost) (final report).
src/real_edit.py from the released diff (CC BY 4.0) and Qwen/Qwen3.5-0.8B at revision 2fc0636 (both hashes checked).Because the edit only rescales the u-part of a few columns, its effect on any input is proportional to how strongly those few neurons fire. The output change is −α · u · Σj chosen aj (u·wj): an activation-dependent push along u. When the looping neurons fire, the model is pushed out of the loop; when they are quiet, almost nothing changes. That is why a UC San Diego group called it "context-dependent activation steering" written into a weight matrix, and why the post itself compares it with removing a refusal direction from a model's weights (Responses).
Predict first: the toy opens with no edit. At Astra's α = 6, editing only the 4 chosen neurons, what happens to the productive context's output along u? Then drag α to 6, and switch to "Edit all 16" to compare.
Three things to see. At α = 1 the chosen neurons stop writing along u at all (the classic "remove the direction"). At α = 6 they write against it, five times as hard as they used to write along it. Editing every column instead of the chosen few is a full projection: it also moves the productive context, which is the cost the mask avoids. In Qwen, 64 of 3,584 neurons per layer is 1.8% of the columns of two matrices; here 4 of 16 is 25%, so the toy exaggerates the share.
The authors expect it to change interpretability and optimisation, and list five uses none of the experiments tests (auditing, cheap optimisation, editing capabilities in or out, self-improvement, grafting circuits between models); the papers that tried some of them within three weeks are in Since the article.
Auditing a model from its weights without running it (finding backdoors, say); much cheaper optimisation, such as initialising a model in one shot; adding or unlearning a capability from a prompt with an edit small enough to avoid catastrophic forgetting; recursive self-improvement through a model editing its own weights; and grafting a circuit between models of different architectures where today's merging averages weights of identical ones. They say they are building a benchmark and harness (in the article).
The 12 November addendum answers four objections (Response to Comments):
What holds up. The release is unusually complete for a blog post: every prompt, reply, code run, forward pass, network and evaluation is in the logs (CC BY 4.0), each number in the post is mapped to the file it comes from, all 1,125 turns were audited to confirm the model's own tools stayed off (Python ran only through the experimenters' sandbox), and the edited Qwen can be rebuilt bit for bit (we did, for the two edited matrices, and both hashes match). Failures are reported, not hidden: the sycophant from weights alone, and the Gemma control. Independent runs reproduced the parts that need no lab: naming the game (Willison on an open 27B model, three of four; a LessWrong ablation study) and writing Breakout networks (514, 550 and 307 against the post's 517.4, arXiv 2611.21449).
Where the evidence is weaker than the wording.
Verdict. The small-network demonstrations are real and replicated: a frontier LLM can compile a designed program into an MLP's weights and read what a small network's input and output layers connect to. The Qwen result is a capable agent doing a known interpretability edit with tools, a prompt hint and forward passes; it shows that the agent can run that workflow end to end, not that it reads 0.8 billion weights.
Hacker News, submitted 2 November 2026 as "Astra can read and write weights to improve Qwen": 2,971 points and 902 comments (read 27 November). Substantive objections among the top comments: the small networks are easy to read; the Qwen fix looks like a steering vector; the prompt hinted at the loop; Qwen's model card already warns about it (thread).
Tabulates what each experiment gave Astra: raw weights with no tools only in Experiments 1, 2 and 4 (17K to 172K weights); every experiment on a real language model uses Python, and the Qwen edit also ran the model on up to 50 batches of practice problems. Argues the two kinds of result do not belong under one claim.
Ran Experiment 1's four released prompts once each through an open 27B model on a laptop (4-bit GGUF in LM Studio): Breakout, Pong and Pac-Man recognised, Freeway missed, 46 to 65 minutes a prompt. Thinks a patient human with a notepad could do the same.
Claude Opus 5.5 on 125,000-weight CNNs for five image datasets, raw weights, no tools: accurate arithmetic at the first and last layers, but semantic answers follow familiar datasets (KMNIST read as MNIST, satellite images as CIFAR-10 animals) and break when CIFAR-10's labels are permuted. Mostly single runs.
Re-ran Experiment 1 with ablations, 15 runs per condition: shuffled weights made Astra refuse 52 of 60 times and answer right once; the first layer alone gave 100%, the last layer alone 62%. DeepSeek-V4.1-Flash leaned on the prompt's metadata.
Weight-Space Programming is a concept, not a method; "natively" means the LLM does the reasoning, with Python as a tool; the baselines put a price in experience on each narrow claim; Astra was not compared with interpretability researchers.
Breakout writing reproduces (514, 550 and 307 against 517); the written networks decompile to Python that matches their actions; reading is mostly reading the input layer (board layout recovered on three new games, game rules mostly missed); weight-only audits flag poisoned models but never find the trigger.
Argues, with reruns, that the Qwen edit is context-dependent activation steering written into the MLP output matrix, with a direction built from four short synthetic looping and non-looping pairs. On 1,152 practice problems: unedited 12.3% (87.0% looping), thinking off 53.3%, Astra-style steering 57.7%; trained steering vectors cut looping further.
The authors' addendum lists further replications and uses (Hugging Face, which rebuilt the edited Qwen from the logs and re-ran its evaluation; Matin Khajavi; statsleelab; robot policies, quantum circuits; more than a hundred they know of); those were not checked here. A Hugging Face MATH-500 figure for the rebuilt model quoted in press coverage could not be traced to a primary source (unconfirmed).
The post was fetched on 27 November 2026 and its main text extracted to src/inputs/article.txt (6,019 words, 26 minutes at 230 words a minute); every "in the article" link on this page is a text fragment checked against that extract at build time. The first archived copy (Wayback Machine, 2 November 2026, 18:22 UTC, a minute after the Hacker News submission at 18:21) was extracted the same way and compared: the TL;DR, the definition of Weight-Space Programming, one sentence of related work and the conclusion's first sentence were reworded; the Response to Comments section and the Hugging Face acknowledgement were added; the experiments, setups and numbers are unchanged.
The logs repository was read at its state of 27 November 2026 (created 29 October): its README, exp8_math/README.md, the results excerpt, the 50-pass run's first prompt and final report. The two edited Qwen matrices were rebuilt from edit.npz and the base tensors of Qwen/Qwen3.5-0.8B (revision 2fc0636, read by HTTP range requests); both base and edited SHA-256 hashes match the manifest. Responses were read in full where they are web pages; arXiv papers from their abstracts.
Figures: the post's figures are not under an open licence (the site's MIT licence comes from its template and covers code), so every figure here is redrawn from numbers the post or its logs print, and credited. Exact sizes: Experiment 5's MinAtar network is 600 × 32 + 32 + 32 × 32 + 32 + 32 × 6 + 6 = 20,486 weights (derived from the stated shape).
Every link opens in a new tab; links checked 27 November 2026. Reading time of the resources below: 7h 45m.
Rikiya Takehi, Jayden Teoh, Alex Zhang, Omar Khattab (MIT CSAIL): The post itself (Rikiya Takehi's blog (rikiyat.github.io), published 2 November 2026, updated 12 November 2026). Its Setup boxes say what the model was given in each experiment.
(26 min)
the authors: Every prompt, reply, code run, forward pass, network and evaluation behind the post's numbers (logs CC BY 4.0, scripts MIT; created 29 October 2026). The agent harness itself is not released; its rules are stated in the prompts.
(1h)
2,971 points, 902 comments (read 27 November 2026), submitted 2 November 2026.
(1h)
Matthew Honnibal (spaCy, Explosion), 3 November 2026, rebuttal: Tabulates what each experiment gave Astra: raw weights with no tools only in Experiments 1, 2 and 4 (17K to 172K weights); every experiment on a real language model uses Python, and the Qwen edit also ran the model on up to 50 batches of practice problems. Argues the two kinds of result do not belong under one claim.
(5 min)
Simon Willison, 3 November 2026, replication: Ran Experiment 1's four released prompts once each through an open 27B model on a laptop (4-bit GGUF in LM Studio): Breakout, Pong and Pac-Man recognised, Freeway missed, 46 to 65 minutes a prompt. Thinks a patient human with a notepad could do the same.
(8 min)
Nazmus Sakib Ahmed, 5 November 2026, audit: Claude Opus 5.5 on 125,000-weight CNNs for five image datasets, raw weights, no tools: accurate arithmetic at the first and last layers, but semantic answers follow familiar datasets (KMNIST read as MNIST, satellite images as CIFAR-10 animals) and break when CIFAR-10's labels are permuted. Mostly single runs.
(40 min)
CCaptainX (LessWrong), 8 November 2026, replication: Re-ran Experiment 1 with ablations, 15 runs per condition: shuffled weights made Astra refuse 52 of 60 times and answer right once; the first layer alone gave 100%, the last layer alone 62%. DeepSeek-V4.1-Flash leaned on the prompt's metadata.
(15 min)
Takehi, Teoh, Zhang, Khattab, 12 November 2026, author reply: Weight-Space Programming is a concept, not a method; "natively" means the LLM does the reasoning, with Python as a tool; the baselines put a price in experience on each narrow claim; Astra was not compared with interpretability researchers.
(6 min)
Roksana Goworek, Alexander Hickey, Federico Nanni, Martin O'Reilly, 16 November 2026, replication: Breakout writing reproduces (514, 550 and 307 against 517); the written networks decompile to Python that matches their actions; reading is mostly reading the input layer (board layout recovered on three new games, game rules mostly missed); weight-only audits flag poisoned models but never find the trigger.
(25 min)
Zhi Wang, Brandon Hsu, Tianhao Wang, Mikhail Belkin (UC San Diego; LessWrong linkpost), 17 November 2026, analysis: Argues, with reruns, that the Qwen edit is context-dependent activation steering written into the MLP output matrix, with a direction built from four short synthetic looping and non-looping pairs. On 1,152 practice problems: unedited 12.3% (87.0% looping), thinking off 53.3%, Astra-style steering 57.7%; trained steering vectors cut looping further.
(20 min)
13 November 2026: 42 tasks in five tracks on networks of 2K to 7B weights: agents read small networks and write control policies, but cannot yet patch language models, compress without data, or tell an impossible edit from a hard one. Macro score: Claude Opus 5.5 0.535; GPT-6.1-sol 0.568 against Opus 0.546 on the 38 tasks both ran.
(30 min)
16 November 2026: An open 27B model, with its weights, its graded answers and the ability to run itself, edits its own weights: +6.6 points on unseen problems; only the largest model of one family improves, smaller ones make no edit or break themselves.
(30 min)
20 November 2026: Claude Opus 5.5 and Mythos 5.2 agents implant backdoors in vision-language models by editing weights, with no training: attack success 93% to 100% on content moderation, 78% to 100% on OCR, clean accuracy kept.
(30 min)
Elhage et al., Anthropic, December 2021 (maker): The method Astra rediscovered in Experiment 3: find previous-token and induction heads by multiplying weight matrices, without running the model.
(1h)
Arditi et al., 2024 (third-party): The technique the post itself cites for the Qwen edit: find a behaviour's direction from activation differences and remove it from the weights that write it.
(40 min)
Qwen team (maker): The edited model's own card, which warns about thinking loops and recommends the sampling the post used.
(10 min)
Owns induction heads (the copying heads of Experiment 3), attention maps and the residual stream, measured on SmolLM2.
Every weight matrix of a block, by shape: what Astra had to read in Experiments 3, 7 and 8.
PPO, the baseline that trained every policy Astra read or competed with.
What the DDPMs of Experiment 2 compute: a denoiser from noisy image and step to clean image.
GPT-6 Astra, the model doing the reading and writing.
The Qwen line; Qwen3.5-0.8B is the model edited in Experiment 8.
Gemma 3 270M, the sycophancy pairs and the control that did not improve.
How sycophancy is measured on full models, the behaviour Experiment 7 looked for in the weights.
The other direction: a person compiles new layers by hand into Qwen3.5-4B (an exact RAM in Gated DeltaNet heads), where Astra reads and edits weights that training wrote.
The paper the addendum compares itself with: a new capability shown while still weak.
The issue's story on the Qwen edit and Honnibal's rebuttal.
Weight-space programming going from one post to about twenty arXiv papers in a week.
This page is one of the Articles: articles worth a page of their own, each with its argument, its evidence judged and what others replied.