2026-11-02
The results shown in LLMs can natively read & write neural network weights are quite surprising. It indeed has some overstatements like "an LLM improved the math ability of a small model". I mean, certainly it is true, but it would be better to write "an LLM identified and tweaked a reasoning-loop bug in the weights"... Also the framing undersells how much groundwork the interpretability community has already done. Nonetheless, it is still quite startling and has implications for fine-tuning and interpretability, especially another case on what LLM can achieve. It will be very interesting to have a bench on it.
What is in the output?
It is apparent that OpenAI refuses to show us the CoT, but we can still poke around in the model output stored in the GitHub repo. We can conclude that, at least it seems that, while the methodology is not very far from what a human would do, the LLM just has so much more attention span than human working memory that it does not need scratch paper or a calculator or matplotlib to do the heavy lifting up to a certain amount. Some of my thoughts:
EXP1 and EXP2. Not a lot is present here due to the hidden CoT. It implies that the LLM can detect and visualize patterns in the first-layer weights which can strongly suggest training data patterns (e.g. what data are ignored). Humans may need some plotting, but the LLM can just "see" it. Additionally, since the LLM knows the input is a grid that goes into the first layer, the hard part of permutation invariance can be worked around. Similar to EXP1, EXP2 suggests that the LLM is looking at the output-layer weights and spotting templates of output. Its heuristics and limitations are also well addressed in the original blog post.
EXP3. Familiar induction-head identification.[1][2]
EXP4. An interesting case. Astra has information about the physics scenario and has overridden the
network's behavior: I will retain the learned network except for a small isolated control path and
Once green’s centre passes x = 0.95... the override switches off. The bias offsets cancel its inactive outputs.
The edits are very large weights over a small number of neurons.
A historical parallel is Maclin and Shavlik's work on inserting advice into neural reinforcement-learning
agents,[3][4]
although their approach adds network structure and uses subsequent learning to refine the advice.
EXP5 and EXP6. The EXP5 runs use roughly 17–26k reasoning tokens, with summaries like Calculating F(x+8)
and Checking reflection formula. It can be suspected that CoT is used as a calculator
that simulates, at least partially, what a rollout will be like. Otherwise, an explanation of the weight-writing
methodology is in the original post. I am not very familiar with Go in EXP6. The network is built heuristically, though:
These heuristics should exploit tactical mistakes while maintaining territory and living groups.
Hand-designed Go heuristics have a long history,[5] and constructing
neural networks without training also has precedents, including program-to-weight compilers such as
Tracr.[6] But building a neural network from scratch without
training is still very wild to me.
EXP7. Much closer to what a human would do. Related work identifies sycophancy-related heads attending to user cues,[7] sparse early heads carrying user opinions,[8] and a small subset of heads (approximately 4% in the reported experiments) with a substantial influence on sycophantic outputs.[9]
EXP8. What all the hype is about. The prompt gives it a hint tho: for example, if the model often fails because it repeats itself and never finishes, finding and fixing what drives that repetition counts.
Also a steering-vector fix. This can be done by a human. Turner et al. introduced activation
addition,[10] with related work on contrastive activation
addition[11] and representation engineering.[12]
More directly, Arditi et al. remove a behavioral direction through weight orthogonalization,[13]
although their target is refusal rather than repetitive reasoning. The original blog post cites this work too.
How is this ability gained?
It would be very tempting to say this ability "emerges" in an LLM. But as we know, real-life LLM training is complex and heavily depends on both pretraining and post-training. As noted by @AlexKrentsel on X, it seems that only frontier models work. We can reasonably assume that it might be an attempt by OpenAI or Anthropic's engineers doing RSI or some other work by fine-tuning models on these tasks.
While it is neither sufficient nor necessary, we can also reasonably argue that if somehow a model acquired these skills purely from pretraining, models of similar intelligence should have similar raw-weight-poking ability. I did a quick test on the SOTA models in terms of general intelligence as measured by Artificial Analysis, assuming that the evaluation is fair. Interestingly, among frontier models, Kimi K3.1 Pro is the outlier that does the task at a mediocre level while it has roughly the same AA score as Fable 5.1. It is either that it is an emergent ability and Kimi is just a bad model benchmaxxing, or Google, OpenAI and Anthropic specifically fine-tuned during their post-training and experimented with related ideas while Moonshot, being a Chinese model company, just has different points of emphasis and didn't cater for this task.
Note: substantial research work on past literature was assisted by an LLM.
References
- N. Elhage et al., “A Mathematical Framework for Transformer Circuits,” Transformer Circuits, 2021. [Online]. Available: https://transformer-circuits.pub/2021/framework/index.html
- C. Olsson et al., “In-context Learning and Induction Heads,” 2022, arXiv:2209.11895. doi: 10.48550/arXiv.2209.11895.
- R. Maclin and J. W. Shavlik, “Incorporating Advice into Agents that Learn from Reinforcements,” in Proc. 12th Nat. Conf. Artificial Intelligence (AAAI), 1994, pp. 694–699. [Online]. Available: https://cdn.aaai.org/AAAI/1994/AAAI94-106.pdf
- R. Maclin and J. W. Shavlik, “Creating advice-taking reinforcement learners,” Machine Learning, vol. 22, pp. 251–281, 1996, doi: 10.1007/BF00114730.
- A. L. Zobrist, “A model of visual organization for the game of GO,” in Proc. AFIPS Spring Joint Computer Conference, vol. 34, 1969, pp. 103–112, doi: 10.1145/1476793.1476819.
- D. Lindner, J. Kramár, S. Farquhar, M. Rahtz, T. McGrath, and V. Mikulik, “Tracr: Compiled Transformers as a Laboratory for Interpretability,” in Adv. Neural Inf. Process. Syst., vol. 36, 2023. [Online]. Available: https://arxiv.org/abs/2301.05062
- R. A. Genadi, M. S. Nwadike, N. Mukhituly, T. Hiraoka, H. AlQuabeh, and K. Inui, “Sycophancy Hides Linearly in the Attention Heads,” in Proc. 19th Conf. European Chapter Assoc. Comput. Linguistics (EACL), vol. 1, 2026, pp. 6896–6912, doi: 10.18653/v1/2026.eacl-long.324.
- S. Chen, Z. J. Ying, L. R. Smith, J. Wertheimer, and N. Shapira, “Tracing mechanisms of sycophantic agreement in language models,” 2026, arXiv:2609.35822. doi: 10.48550/arXiv.2609.35822.
- W. Chen et al., “From Yes-Men to Truth-Tellers: Addressing Sycophancy in Large Language Models with Pinpoint Tuning,” in Proc. 41st Int. Conf. Machine Learning (ICML), PMLR, vol. 235, 2024, pp. 6950–6972. [Online]. Available: https://proceedings.mlr.press/v235/chen24u.html
- A. Turner, L. Thiergart, D. Udell, G. Leech, U. Mini, and M. MacDiarmid, “Activation Addition: Steering Language Models Without Optimization,” 2023, arXiv:2308.10248, ver. 1. [Online]. Available: https://arxiv.org/abs/2308.10248v1
- N. Rimsky, N. Gabrieli, J. Schulz, M. Tong, E. Hubinger, and A. M. Turner, “Steering Llama 2 via Contrastive Activation Addition,” in Proc. 62nd Annu. Meeting Assoc. Comput. Linguistics (ACL), vol. 1, 2024, pp. 15504–15522, doi: 10.18653/v1/2024.acl-long.828.
- A. Zou et al., “Representation Engineering: A Top-Down Approach to AI Transparency,” 2023, arXiv:2310.01405. doi: 10.48550/arXiv.2310.01405.
- A. Arditi, O. Obeso, A. Syed, D. Paleka, N. Panickssery, W. Gurnee, and N. Nanda, “Refusal in Language Models Is Mediated by a Single Direction,” 2024, arXiv:2406.11717. doi: 10.48550/arXiv.2406.11717.