Neural-network weights have served as memory, the output of another network, and the compiled representation of a program. The recent experiments in reading and writing weights connect these research lines. Their histories explain which problem each approach was designed to solve.
1992–1995 · Memory and compiled computation#
In Learning to Control Fast-Weight Memories: An Alternative to Dynamic Recurrent Networks (Neural Computation, 1992), Jürgen Schmidhuber studies two networks: one learns context-dependent changes to the other’s weights. The changing weights store information across a sequence. Weight generation here serves temporary memory and variable binding.
A Neural Compiler by Frédéric Gruau, Jean-Yves Ratajszczak, and Gilles Wiber (Theoretical Computer Science, 1995) takes a Pascal program and constructs a neural network that implements its computation. An intermediate representation called cellular code describes how to build the network.
These works ask different questions. Fast weights let a system store and update information during computation. A neural compiler starts with a specified program and builds its network representation. Both make the weights an object that another computational process can produce.
2016 · HyperNetworks#
David Ha, Andrew Dai, and Quoc V. Le first posted HyperNetworks on September 27, 2016; the paper is an ICLR 2017 publication. A hypernetwork generates parameters for another network. The work trains this relationship end to end and studies recurrent and convolutional models.
This supplies a direct mechanism for learned weight generation: train a network whose output is another network’s parameters. It also makes a useful distinction visible. The generated network’s weights change, while the generator carries the learned rule for producing them. The current paper records the later revisions.
2021–2023 · Programs with known transformer computations#
Thinking Like Transformers by Gail Weiss, Yoav Goldberg, and Eran Yahav (ICML 2021) introduces RASP, the Restricted Access Sequence Processing Language. It expresses sequence computations through primitives related to attention and feed-forward operations. Its examples include sorting and histograms.
Tracr, first posted January 12, 2023, and published at NeurIPS 2023, compiles RASP programs into transformer weights. David Lindner, János Kramár, Sebastian Farquhar, Matthew Rahtz, Thomas McGrath, and Vladimir Mikulik use this construction to make models whose intended computations are known.
Known source programs make these networks useful for interpretability: a proposed explanation can be compared with the computation used to construct the model. The Tracr implementation also gives developers a concrete path from source code to a transformer. See the formal-compilation guide for that workflow.
2021–2026 · Descriptions and examples become parameters#
Hypter (ACL-IJCNLP 2021), HyperTuning (ICML 2023), and HINT (ACL 2023) explore adapting language models through generated task-specific parameters. They use task descriptions, demonstrations, or instructions to condition the generated adaptation.
Text-to-LoRA, first posted June 6, 2025, and published at ICML 2025, generates LoRA adapters from task descriptions. Rujikorn Charakorn, Edoardo Cetin, Yujin Tang, and Robert Tjarko Lange train the generator; a base model then executes with the generated adapter. The code and checkpoints expose that mechanism.
Code2LoRA, first posted June 4, 2026, extends parameter generation to source repositories. Liliana Hotsko, Yinxi Li, Yuntian Deng, and Pengyu Nie generate repository-specific adapters and update them as code evolves. The conditioning information is the software repository.
July 2, 2026 · Program-as-Weights#
Program-as-Weights: A Programming Paradigm for Fuzzy Functions introduces fuzzy-function programming: compile a natural-language function specification into a reusable neural program, then execute it on new inputs through a shared interpreter. The authors are Wentao Zhang, Liliana Hotsko, Woojeong Kim, Pengyu Nie, Stuart Shieber, and Yuntian Deng. The paper is a NeurIPS 2026 publication.
PAW specifically trains a neural compiler to generate adapters that edit the frozen interpreter’s weights. Its contribution includes the compiler–interpreter interface, reusable programs, and FuzzyBench for training and evaluating neural compilers. The current paper contains later revisions; the original contribution is recorded in the July 2 version.
This programming interface separates defining a function from applying it. The practical walkthrough follows specification, compilation, saving, loading, and repeated calls. The research profile links the paper and released resources.
September 3, 2026 · Training within compilation#
Yuntian Deng, Pengyu Nie, and Stuart Shieber first posted Compile by Training on September 3, 2026. The EMNLP 2026 System Demonstrations paper describes teacher-generated examples and task-specific adapter optimization during function compilation. The resulting saved function executes locally without further teacher calls.
This connects optimization to the programming workflow. Compilation describes the transformation from a function specification into an executable artifact; the construction procedure can itself include training. The cost of that construction and the cost of later function calls are measured separately.
November 2, 2026 · General-purpose LLMs read and write weights#
Sparks of Weight-Space Programming by Rikiya Takehi, Jayden Teoh, Alex Zhang, and Omar Khattab presents reading, construction, and editing experiments with a general-purpose LLM not specifically trained for this purpose. See the experiment breakdown for each result and its conditions.
On the same date, Chandan Singh published Weight-Space Programming from scratch on simple tasks. A coding agent writes transformer computations and weights for tasks including arithmetic, sorting, and parity, then revises its programs using evaluation feedback.
The connection to neural compilation is concrete: an algorithm or desired behavior must be represented by parameters in a chosen architecture. The construction mechanism differs from a formally specified compiler and from a trained parameter generator. These differences determine what information, preparation, and feedback the programmer needs.
November 2026 · Replication, interpretation, and new applications#
- November 3: Simon Willison publishes local-model game-identification results and traces. Matthew Honnibal critiques the presentation of tool settings; Sean Goedecke critiques the superhuman interpretation.
- November 12: The Sparks authors add their response on tools, baselines, and the scope of the concept.
- November 13: Interpretable weight-space programming builds transparent transformers and brain encoding models by Yash Mehta, Chandan Singh, and colleagues develops interpretable construction and neuroscience applications. WeightBench evaluates 42 tasks spanning reading, repair, construction, impossible edits, and compression.
- November 16: Goworek, Hickey, Nanni, and O’Reilly report a controlled replication with modified games, shuffled weights, and code-policy comparisons. Timo Oksanen studies neural steering controllers in simulation and on a real tractor.
- November 19: WeightCode uses a frozen LLM to write reusable procedures that construct weight updates. Its evaluation includes new behavior, retention, and transfer between independently trained networks.
These developments expand the questions being tested: interpreting an existing network, compiling a strategy, repairing behavior, and reusing an editing procedure. The research collection connects each work to its primary text and available code, models, or data.
Sources and resources
- Schmidhuber · Learning to Control Fast-Weight Memories · 1992
- Gruau, Ratajszczak, and Wiber · A Neural Compiler · 1995
- Ha, Dai, and Le · HyperNetworks · original version
- Weiss, Goldberg, and Yahav · Thinking Like Transformers · ICML 2021
- Lindner et al. · Tracr · original version
- Charakorn et al. · Text-to-LoRA · original version
- Zhang et al. · Program-as-Weights · July 2, 2026
- Deng, Nie, and Shieber · Compile by Training · EMNLP 2026
- Takehi, Teoh, Zhang, and Khattab · Sparks · November 2, 2026
- Goworek et al. · Replicating and Extending Weight-Space Programming