An annotated collection of research on representing and constructing programs in neural-network weights: formal compilation, trained weight generators, LLM reasoning over weights, and experimental feedback.
Read the guide · Search the collection · BibTeX · JSON · Dated releases
36 resources. Updated 2026-11-23.
- How neural networks represent programs — concepts and concrete examples.
- Compare construction methods — construction inputs, training, saved artifacts and execution.
- Choose a reading path — routes through the literature.
- Research history — contributions, dates and original sources.
- Build a reusable neural function — a Program-as-Weights example with a playground.
- Code and implementations — Python examples, original experiment repositories, models and setup instructions.
- Run the examples — PAW urgency and routing, Tracr compilation, and Sparks weight heatmaps.
- Foundations and formal compilation
- Trained compilers and weight generators
- LLM reasoning over weights and experimental feedback
- Replications, criticism and responses
- Tutorials, tools and collections
Dates below are the first public dates recorded for each resource; conference years are shown separately.
Jürgen Schmidhuber.
Neural Computation · 1992
An early weight-generating system: one network learns to change another network’s weights, using those changes as temporary memory.
Paper and abstract · Research profile
Frédéric Gruau, Jean-Yves Ratajszczak, Gilles Wiber.
Theoretical Computer Science · 1995
Translates Pascal programs into neural networks that implement their computations.
Gail Weiss, Yoav Goldberg, Eran Yahav.
ICML 2021 · 2021-06-13
Introduces RASP, a language for expressing sequence computations in terms of transformer operations.
Published paper · Original preprint · Research profile
David Lindner, János Kramár, Sebastian Farquhar, Matthew Rahtz, Thomas McGrath, Vladimir Mikulik.
NeurIPS 2023 · 2023-01-12
Compiles RASP programs into transformer weights with known computational structure.
Paper · Full text · Code · Research profile
David Ha, Andrew Dai, Quoc V. Le.
ICLR 2017 · 2016-09-27
Uses one neural network to generate the weights of another.
Qinyuan Ye, Xiang Ren.
ACL-IJCNLP 2021 · 2021-01-02
Introduces Hypter, which generates adapters from natural-language task descriptions.
Published paper · Paper · Code · Research profile
Jason Phang, Yi Mao, Pengcheng He, Weizhu Chen.
ICML 2023 · 2022-11-22
Produces task-specific parameters for a frozen language model from a few demonstrations.
Published paper · Paper · Research profile
Hamish Ivison, Akshita Bhagia, Yizhong Wang, Hannaneh Hajishirzi, Matthew Peters.
ACL 2023 · 2022-12-20
Turns instructions and examples into reusable prefixes, adapters, and encoded instruction representations.
Published paper · Paper · Research profile
Rujikorn Charakorn, Edoardo Cetin, Yujin Tang, Robert Tjarko Lange.
ICML 2025 · 2025-06-06
Uses a hypernetwork to generate LoRA adapters from task descriptions.
Published paper · Paper · Code · Model checkpoints · Research profile
Liliana Hotsko, Yinxi Li, Yuntian Deng, Pengyu Nie.
arXiv · 2026-06-04
Trains a hypernetwork to generate repository-specific LoRA adapters from source code and update them as commits arrive.
Paper · Full text · Research profile
Wentao Zhang, Liliana Hotsko, Woojeong Kim, Pengyu Nie, Stuart Shieber, Yuntian Deng.
NeurIPS 2026 · 2026-07-02
Proposes fuzzy-function programming: compile a natural-language function specification into a neural program, then reuse it locally. Establishes a compiler–interpreter interface and releases FuzzyBench.
Paper · Official Python SDK · SDK reference · Original full text · Project · Demo · Official local compiler · Current full text · Standard compiler checkpoint · Compact compiler checkpoint · Qwen3-0.6B interpreter · GPT-2 interpreter · FuzzyBench verified evaluation data · FuzzyBench train, validation and test data · Research profile
Yuntian Deng, Pengyu Nie, Stuart Shieber.
EMNLP 2026 System Demonstrations · 2026-09-03
Compiles a function description into a reusable local program by generating training examples and optimizing an adapter.
Paper · Code · Original full text · Research profile
Rikiya Takehi, Jayden Teoh, Alex Zhang, Omar Khattab.
Research article · 2026-11-02
A general-purpose LLM reads numerical weights, constructs networks, and edits a language model. Tool access varies by experiment, from no tools to Python and limited model executions.
Original article · Experiment logs and code · Edited Qwen model · Community model-comparison demo · Research profile
Chandan Singh.
Research article · 2026-11-02
An LLM coding agent writes transformer weights for tasks such as addition, sorting, and parity, then revises the programs using evaluation feedback.
Original article · Code · Research profile
Mengran Li, Bo Li, Weijing Zhao, Chengyang Zhang, Boyu Zhang, Jinfeng Xu, Zelin Zang, Victor C. M. Leung, Stan Z. Li.
arXiv · 2026-11-05
Builds reusable update programs that turn experimental measurements into persistent corrections to scientific predictors.
Paper · Full text · Code · Research profile
Junru Hu, Cheng Tang, Wei Li, Hongze Zhu, Chun-Mei Feng, Qi Zhang, Yirong Chen, Ming Hu.
arXiv · 2026-11-06
Studies direct weight editing across 16 searches, seven benchmark families, and two model scales, measuring held-out gains and transfer between tasks.
Paper · Full text · Project repository · Research profile
Dennis Gross.
arXiv · 2026-11-08
Combines LLM-written neural policies with probabilistic model checking and feedback-driven repair.
Paper · Full text · Code: WSP branch · Research profile
Yash Mehta, Chandan Singh, Weijia Xu, Richard J. Antonello, Adeen Flinker, Nima Mesgarani, Michael F. Bonner, Nebojsa Jojic, Jianfeng Gao.
arXiv · 2026-11-13
An LLM agent constructs interpretable transformers and brain-encoding features by writing their computations and weights in code.
Paper · Full text · Code · Research profile
Aayush Marasini, Barsat Khadka, Nick Rahimi.
arXiv · 2026-11-13
Evaluates language-model agents on 42 tasks covering weight reading, repair, construction, impossible edits, and data-free compression.
Paper · Full text · Code and benchmark · Research profile
Zero-Shot Weight-Space Programming for Prediction and Classification of Target Variables in Structured Datasets
Eduardo C. Garrido-Merchán.
arXiv · 2026-11-14
Tests whether an LLM can infer a predictor from structured examples and write every network parameter as a literal number.
Paper · Full text · Research profile
Weight-space programming for tractor guidance controller: large language models natively write neural network weights that steer a real tractor
Timo Oksanen.
arXiv · 2026-11-16
Uses LLM-written neural-network weights to repair and construct a tractor steering controller, with simulation and real-tractor evaluation.
Paper · Full text · Research profile
What Does Weight-Space Programming Add to Diffusion Editing? Program Construction versus Score-Guided Refinement
Zitian Gao, Jingyi Xu, Ziqi Han, Chengkai Lei, Ye Liu, Liangliang Shi.
arXiv · 2026-11-17
Separates LLM program construction from score-guided refinement in diffusion concept editing.
Paper · Full text · Research profile
Hyunjong Ok, Jaeho Lee.
arXiv · 2026-11-17
Compares fixed transformers with architectures designed by LLM weight writers, including sparse tables and associative-memory models.
Paper · Full text · Code · Research profile
Bo Li, Taoyong Cui, Bob Zhang, Mengran Li, Chengyang Zhang, Yang Zhang, Pheng Ann Heng, Wanli Ouyang, Zhenfei Yin, Yingcheng Wu, Ling Yang.
arXiv · 2026-11-19
A frozen language model writes reusable programs that construct weight updates for trained networks.
Paper · Full text · Code · Data and experiment artifacts · Research profile
Jiajun Fan, Neil He, Changyi Yang, Andy Mao, Xi Zhu, Chaoran Cheng, Kaiqu Liang, Shuaike Shen, Zetian Li, Ruihan Guo, Ge Liu.
arXiv · 2026-11-16
Studies a language model writing edits to its own model weights through reasoning, Python code and forward-pass feedback, with evaluations of self-improvement and repair of corrupted copies.
Paper · Full text · Project · Research profile
Jiajun Fan, Neil He, Bangji Yang, Qinglong Zheng, Ziwen Wang, Chaoran Cheng, Changyi Yang, Hanqi Mao, Ge Liu.
arXiv · 2026-11-18
Uses a multimodal LLM editor to diagnose repetitive thinking in vision-language models and write weight repairs, guided by failing images, hidden states and evaluation feedback.
Paper · Full text · Research profile
Matthew Honnibal.
honnibal.dev · 2026-11-03
Separates the Sparks experiments by raw-weight access, Python tools and forward-pass feedback, and challenges presenting them as one capability.
Original critique · Research profile
Sean Goedecke.
seangoedecke.com · 2026-11-03
Questions the superhuman-research interpretation of Sparks, examining input-layer heatmaps and the relationship between Qwen repair and established steering methods.
Original critique · Research profile
Simon Willison.
Simon Willison’s Weblog · 2026-11-03
Re-runs the Sparks game-identification prompts with a local Qwen3.8 27B model, publishing commands and model responses.
Original article · Research profile
Can an LLM Actually Reason and Program about Neural Network's Weights or is it just memorization on steroids? Exploring "Weight-Space Programming"
Nazmus Sakib Ahmed.
arXiv · 2026-11-05
Audits whether zero-shot neural-weight interpretation reflects computation tracing or local arithmetic and familiar-dataset priors.
Paper · Full text · Research profile
Rikiya Takehi, Jayden Teoh, Alex Zhang, Omar Khattab.
Update to Sparks of Weight-Space Programming · 2026-11-12
The authors’ response distinguishes weight-space programming as a capability from any single experimental method.
Response in the original article · Research profile
Replicating and Extending Weight-Space Programming: Frontier LLMs Compile Programs into Weights and Read Input Layers
Roksana Goworek, Alexander Hickey, Federico Nanni, Martin O’Reilly.
arXiv · 2026-11-16
Replicates weight construction and reading, then tests changed games, ordinary-code policies and shuffled-weight controls.
AZ9713.
Interactive tutorial
An illustrated walkthrough of network construction, raw-weight interpretation and Qwen repair, with labs based on released experiment artifacts.
Interactive tutorial · Research profile
mfaseehuddin.
GitHub implementation
Community experiment harnesses, agent prompts and results for explaining, constructing and modifying neural-network weights.
Implementation and experiments · Research profile
Boom5426.
GitHub collection
A bilingual collection covering direct weight programming and related research in generation, editing, merging and continual learning.
Curated collection · Research profile
brighterr.
GitHub collection
A reading collection connecting direct weight programming, community experiments, compilers, weight generation and model editing.
Curated collection · Research profile
Download library.json for stable record IDs, authors, dates, venues, summaries, method descriptions, source links and BibTeX. The mechanisms, operations and artifacts fields support filtering and analysis. citations.bib contains the citations for the collected works.
Cite the original work when discussing its contribution. To identify the collection version used in an analysis, link to a dated release or a commit.
To rebuild the README and citations from a local copy of the research records:
python3 scripts/sync.py --source /path/to/library.json
python3 scripts/sync.py --checkRunning python3 scripts/sync.py without --source downloads the guide's public JSON export. Python 3 and its standard library are sufficient.
Suggest a paper, implementation, model, critique or correction through an issue or pull request. Include the primary source and a short explanation of the connection. See CONTRIBUTING.md for the record format and checks.
Edited by Yuntian Deng, a coauthor of Program-as-Weights. Read more about the guide on its About page.