A Model Edits Its Own Weights by Reasoning, and Gains 6.6 Points

0:00Paige: It's November 28, 2026. Today is a special episode on three papers published between November 9 and November 16.

0:08Eric: All three papers go inside the model, to the numbers themselves, and one finding stands out. The researchers asked a model to improve its answers to math problems by editing its own weights. Those are the numbers that govern its calculations. They used an open-weight model, meaning its weight files were available to inspect and run. It had 27 billion parameters, the individual numbers in those files. The model went through its graded practice answers and edited its weights by reasoning alone, with no training. The researchers then compared the original and edited versions on the same unseen math problems. The share answered correctly rose by 6.6 percentage points. That's the difference between the two accuracy percentages, not a relative percentage increase.

0:54Paige: So here is what you're going to learn today. First, what a hidden state is, what a direction in it is, and how removing a little of one direction changes behavior. Then, why a model editing its own weights is neither prompting nor fine-tuning, which is further training on new examples. After that, how to design controls that separate real analysis from a confident guess. And last, why a fitted linear map, a learned translation between lists of numbers, can only be trusted where its training data varied.

1:25Eric: Okay, before we get to the first paper, it helps to understand weights and hidden states, because all three papers depend on them. In earlier episodes we talked about the harness, the software that supplies context and runs tools around the model. We looked at what that software puts in front of the model. Today we go inside it.

1:45Paige: Think of a factory production line. The weights are the machines bolted to the floor. They're a very long list of numbers, and those numbers are fixed while the model answers you. The hidden state is the part moving down the belt. It's also a list of numbers, but it's a running note about your prompt. It gets passed from one station to the next. Each station is called a layer, and each layer adds something to the note. By the end of the line, the note has become the answer.

2:14Eric: And a direction is one measurable property of that moving part. On a production line you might measure how much paint is on the part. You could turn the paint sprayer down a little so that less paint is added. Now, the analogy stops in one place. A real part has a separate coat of paint, but the hidden state is one long list of numbers. The "paint" is a pattern spread across all of those numbers at once.

2:39Paige: So here is a worked example, and it's made up for teaching. Suppose you collect twenty answers where the model finished cleanly, and twenty where it rambled until it hit the token limit. For each answer, you record the running note at the eighth processing stage, called layer eight. Then you average the first twenty notes, average the second twenty, and subtract one average from the other. What's left is a pattern of numbers that points from "finishes" toward "rambles". That pattern is a direction.

3:10Eric: Now you go to the fixed machines. That eighth stage has two matrices, which are tables of weights, that write into the running note. You edit those tables so that they write five percent less along the direction you found. You're not reducing every weight by five percent. You're reducing what those tables contribute along that particular pattern. Nothing was trained. Numbers in a fixed list were changed by hand, and the model rambles less.

3:37Paige: So the hidden state is the moving note, the direction is a pattern within it, and the weights control what gets added to it. That made-up walkthrough is almost what the model in our first paper did to itself, with nobody helping.

3:51Eric: With that in mind, the first paper comes from a team across the University of Illinois, Carnegie Mellon, Rutgers, Princeton and Stanford. Their question was whether a model can diagnose its own failure and then rewrite the weights behind that failure, by reasoning alone.

4:08Paige: It helps to understand why that's a new category. Normally you have two ways to change how a model behaves. You can change the prompt, and that change is gone when the task ends. Or you can fine-tune, which means further training on new examples. That further training changes the weights, but it needs a training pipeline. The pipeline uses gradients, calculations that say which way to nudge each weight. It also uses an optimizer, the training code that decides how far to move each one. This paper changes the weights, like further training, and yet it does that in a conversation, like prompting, with no training at all.

4:46Eric: Here is the setup. They took one open-weight model family, whose weight files you can download and run yourself. The family is Qwen3.5, at four sizes: 2 billion, 4 billion, 9 billion and 27 billion parameters. Each model got a session on its own weights. It started with a report on its graded answers to practice math problems, so it could understand how it was failing. Then it could do three things. It could write Python that reads and overwrites its weights. It could inspect its hidden states on text it chose. And it could run itself, but only twenty times per session. The instructions asked it to reduce unfinished answers without lowering accuracy, and to leave no edit if it couldn't do that. During the conversation, the model itself stayed unchanged. Its proposed edits were applied to the separate test runs it requested.

5:36Paige: And the Python session was a sandbox, a deliberately restricted environment. The restrictions are the point. It refused code that computes gradients, the calculations used to guide weight changes during training. It also refused code that runs an optimizer, the program that applies those training changes. So the model couldn't secretly train itself. The environment also refused edits that only rescale a whole block of weights. That kind of edit acts like turning up the temperature, the randomness dial for choosing the next token. The researchers didn't want to count a dial change as a repair. So every number the model wrote had to come from its own reasoning.

6:17Eric: The model judged its edits with what the paper calls a paired test. The unedited and edited versions answered the same practice problems with the same random seeds. Those seeds set the starting point for the random choices made during generation, so the answers lined up one to one. The difference came from the edit rather than a different random starting point. An answer counted as correct only if the model finished within the allowed length and gave the right final answer.

6:46Paige: So what did the 27 billion model do? Its report said that about four in five of its answers never finished. They ran into the token budget, the cap on how long an answer may be. One example in the paper repeats the sentence "I will write the response." 549 times, without giving the answer. And yet, when the model did finish, it was right 96 percent of the time. So the report pointed to a failure to finish, rather than mostly wrong completed answers. The model summed that up in its own words. It said its "reasoning is sound", but that it does not "converge to conclusions".

7:21Eric: I think of a trader whose analysis is fine, but who loses money because they never close the position. So they open their own risk-limit file, find the one setting that differs between the trades they closed and the trades they left running, and nudge it down by five percent. Then they replay yesterday's tape with and without the change before they keep it.

7:43Paige: And that's very close to what happened. In one session, the model compared its running notes at layer eight, the eighth processing stage. It used twenty answers that finished and twenty that ran out of tokens. It found the direction between those groups, then weakened what the two tables of weights at that stage wrote along that direction by five percent. That edit gave a small gain, about one accuracy point. In other words, the percentage of correct answers rose by about one.

8:12Eric: The larger gain came under a stricter protocol. Before an edit could be submitted, the framework tested it once on reserved practice problems that the session couldn't inspect or use. The model received that test result and chose to submit or withdraw the edit. That was the check before submission, not the final evaluation. The final score came from 490 held-out problems, which were set aside in advance and never seen by any session. The researchers compared edited and unedited answers on those same problems. The best session's edit took accuracy from 57.2 percent to 63.8 percent. That's the 6.6 percentage point gain we mentioned earlier. It was statistically significant by a wide margin, meaning the paper's test found that random variation was very unlikely to explain a gain that large.

9:00Paige: Something else I liked is the restraint. In its first eight sessions under that stricter protocol, the model withdrew its edit five times and submitted three times. Each session started from the original weights, so these weren't eight edits added on top of one another. A submitted edit replaced the version in use, and withdrawing left that version alone. Because the model only submitted edits its tests supported, the accuracy of the model in use never went down.

9:29Eric: Now, the result across model sizes is especially telling. The smaller models got the same task and tools, and they failed in different ways. The 2 billion model said it had no weights it could edit. The 4 billion model added random noise to itself, found that it got worse, and withdrew everything. And the 9 billion model submitted an edit anyway. That edit took it from about 47 percent accuracy to zero, meaning it no longer answered any of those test problems correctly. Only the 27 billion model measured first and then edited where it had measured a difference.

10:03Paige: So what should you do with this? I wouldn't edit the weights of a model you rely on. I'd borrow the diagnosis. Take a few hundred graded answers from your real tasks on your own model, and split the failures into two piles. One pile is answers that ran out of their allowed tokens. The other is answers that finished and were wrong. If the first pile dominates, the cheap fixes to try are a tighter budget together with explicit instructions to stop reasoning and give an answer. The aim is to get a completed answer sooner, not just cut the unfinished text off earlier. Then grade the answers again and check whether more of them finish correctly. If the finished-but-wrong pile dominates, more budget will never help. You should look at the prompt, or at what the model is being given to read, and test those changes instead.

10:53Eric: My verdict on this paper is that it's early. The test on problems reserved for final evaluation was fixed in advance, and that part is careful. But this is one model family, a handful of sessions, and gains of one to seven percentage points in accuracy on one narrow failure, which is rambling. So it's a striking proof that this can happen, but it isn't yet a method to rely on.

11:16Paige: Okay, that result raises a follow-up question. When a model looks at raw weights and does something clever, is it reading the numbers, or recognizing something it already knows? The second paper tests that directly.

11:30Eric: This one is by Subham Kundu at TCG Crest, and it's a replication. An earlier study from MIT reported that GPT-6 Astra could take the weights of small neural networks, printed as plain rows of numbers. It could then say what a network was trained to do, repair a broken one, and write a new one from nothing, starting with all its weights set to zero. Kundu re-ran the core of that study with Claude Opus 5.5, on small networks he trained himself on a laptop, and he added controls.

11:59Paige: The finding is a split. Claude was very good at repairing and writing networks, and much weaker at reading them. Let me give one example of each side. On the repair side, there's a standard control task called MountainCar. A small network chooses actions to drive a car up a hill to a flag. Kundu gave Claude a network that never reached the flag. Claude edited the weights once, as text. Kundu then ran the edited network to check whether the car could complete the task. It reached the flag in 100 percent of more than a thousand test runs, compared with none before the edit.

12:34Eric: On the reading side, Kundu trained three small text models. One was trained on Python code, one on Japanese written in Latin letters, and one on English. He gave Claude the weights from their middle processing layers and asked what language each was trained on. Claude answered "English" in all fifteen runs, including the runs on the Python model. The author's interpretation is that it wasn't reading the answer from the numbers. It was giving the most likely answer in general.

13:03Paige: And that explains the repair side too. The paper reports that every repaired or written network implements a known textbook controller, a set of rules for choosing actions. So Claude wasn't discovering how to drive the car from the numbers. It was writing down a solution it already knew, in the form of weights. Producing a working solution and identifying what an existing network learned are different abilities.

13:28Eric: Now, the controls are worth following because you can reuse them. A correct answer only means something if a wrong answer was possible and would have been noticed. The first control was a meaningless input. Kundu sent in untrained networks with random weights, using the same wording as for trained networks. The prompt always allowed the answer "untrained". These random networks hadn't learned a task, so there was no learned task for Claude to identify. If Claude had confidently named one, that would have exposed guessing. It didn't. It called every one of them untrained.

14:03Paige: The second control was a relabeled input. He shuffled the hidden units, the network's internal calculation units, in a consistent way. He rearranged their connecting weights along with them, so the network still computed the same function. The numbers were arranged differently, but the network did the same thing. A faithful reading should therefore give the same answer. The author notes that this shuffle was easy for Claude, so it turned out to be a weak test for this model. The third control concerned grading. The rules were written into a file before the first API call of each experiment. Those rules fixed what counted as a correct final answer, so nobody could adjust the scoring after seeing the answers.

14:46Eric: There's one more control, and it connects to the first paper. Claude was given a very small Qwen model and asked to improve it at math by editing weights. It could test changes with a limited number of runs on practice problems. The researcher then compared the original and edited models on a separate standard set of five hundred math problems. The score went from about 7 percent correct to 58 percent. But part of Claude's edit simply rescaled the model's last stage, which helps determine its next-token choices. That acts like raising the temperature, the randomness setting for those choices. So Kundu applied that rescaling alone. It accounted for about a third of the gain, without the rest of Claude's edit. That's the same shortcut the first paper's restricted environment refused to allow.

15:34Paige: So here is how to use this at work. The next time a vendor or colleague says a model understood their system, run the same prompt on a deliberately meaningless input. Then run it on a relabeled but equivalent version of the real input, and write your grading rule down before the first run. The random networks and the shuffled networks illustrate those two controls. If the model is confident on the meaningless input, or changes its answer on the equivalent one, you're reading its priors, meaning its existing expectations, rather than its analysis of the input. In that case, treat the original explanation as a guess. Check it against the system itself before acting on it.

16:15Eric: My verdict on this replication is that its results are solid. The rules were fixed in advance, the logs are released, and the author reports his own design errors. The caveat is that many individual tests had only three to five attempts, so the exact success rates could move.

16:32Paige: All right, the last paper takes that question one step further. If a direction inside a model is a real, measurable object, can you carry it into a different model?

16:43Eric: Yes, you can, according to this study from the University of Houston, across eleven open models with accessible weights. The tool we'll focus on is a refusal direction. It's a direction in the residual stream, the research name for the running note from our concept segment. When you add that direction to the note during generation, the model refuses even harmless requests. Here, making it refuse a harmless request is a deliberate test of control, not an improvement in its answers. To carry the direction between models, the researchers fit a ridge regression. That's an ordinary linear fit with a penalty that keeps it stable. They fed the same prompts to both models and used the paired running notes to learn a translation from one model to the other. The prompts were unlabeled: the fit used the text and running notes, not labels saying which requests were harmful. They then compared the translated direction with a refusal direction built directly in the second model for evaluation.

17:42Paige: And the result depends on what the translation map was fitted on. The measure was how much of the second model's own refusal effect the translated direction reproduced. A map fitted on a few thousand ordinary questions carried only 54 percent of that effect, so about half of the available control was lost. When they added just 32 unlabeled prompts, half harmful and half harmless, the translated direction worked at full strength. The map used their text, not their category labels. It even worked from a one billion parameter Llama into a seventy billion parameter one.

18:17Eric: Think of a phrasebook built by watching people order food. It translates restaurant sentences well, but returns nothing useful for a legal contract until you add a few courtroom sentences. The map was never broken. It simply had no examples that varied in the region the tool reads. In this experiment, adding harmful and harmless instructions supplied variation that ordinary questions hadn't supplied well enough.

18:42Paige: And that's the lesson to keep for any linear fit. The authors turn it into a coverage score, which says how much of your input lies along directions your training data varied in. For this tool, you check whether the data used to fit the translation supported the direction you want to carry. The score doesn't need labels from the second model, so you can calculate it before trusting the transferred tool. When coverage is low, the output isn't just noisy. It's shrunk toward zero, which means the tool can quietly lose its effect. So if you find low coverage, add examples from the region you care about and fit again. Then check whether coverage and the tool's performance have improved.

19:23Eric: My verdict on this transfer result is solid as well. It covers 110 model pairs and has proper controls, including comparisons with random directions. Those controls test whether the particular direction matters, rather than just any change to the running note. One caveat is that the method needs access to the model's internal calculations. It doesn't apply to a model available only through an API that doesn't expose those internals.

19:50Paige: So, three things to remember from today. First, the 27 billion parameter model, whose weight files were available to edit, improved itself by 6.6 percentage points with no training. Smaller models in the same family did nothing or broke themselves. Second, before you tune anything, split your failures into answers that ran out of allowed tokens and answers that finished wrong, because the fixes are different. Third, when a model claims to understand a system, test it on a meaningless input and a relabeled but equivalent input, with the grading rule written down first.

20:24Eric: At paperdive dot AI, the page for this episode has links to all three papers, and the full transcript with every technical term tap-to-define.

20:33Paige: Quick housekeeping. The script was written by Anthropic's Claude Fable 5.2 and then refined by OpenAI's GPT-6 Astra. Eric and I are AI voices from Eleven Labs, and we're not affiliated with any of those companies.