WeightCode: Installing New Capabilities into Neural Networks via Weight-Space Programming
Not on the map. Why?
Abstract (arXiv)
Neural networks encode learned capabilities in their weights, yet extending those capabilities with explicit task knowledge remains a fundamental challenge. Here we show that Weight-Space Programming (WSP), in which executable programs read, construct or modify a network's weights directly, can install new capabilities within trained neural networks. WeightCode, a WSP framework, uses a frozen language model to write executable weight programs that install new computations into trained neural networks using task knowledge and their existing weights, without gradient-based training. Once installed, the new capabilities run independently of the language model. Given a grammar or eight demonstrations, weight programs enable previously unseen command compositions (0% to 99.8% exact match) and a new pickup action (0% to 98.4% success), while preserving the original command and navigation capabilities. On ImageNet, four weight programs achieve net gains of 8.84-17.62 points while preserving clean accuracy, outperforming the best of eight fine-tuning methods under matched examples, checks, and retention constraints. In a Vision Transformer, causal interventions show that installed noise-correction gates drive robustness gains, while their selective activation preserves clean accuracy. Rerun on five independently trained Vision Transformers without further language model calls, ten weight programs retain 83-110% of their source-network gains on average, whereas copying their fixed weight edits yields negligible gains. Six programs written for an already edited network add 5.23-14.50 points of contrast robustness while retaining the previously installed noise gain. Together, these results establish WSP as a new route to acquiring and accumulating capabilities in trained neural networks through reusable weight programs.
Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Builds on 39 of its 49 references that are in the map. Submitted 19 Nov 2026, announced 20 Nov 2026.
Builds on
39 of 49 references.
References · 39
- 2015Deep Residual Learning for Image Recognitioncited by 53,116
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,619
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,989
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,397
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,996
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2016Learning without Forgettingcited by 2,595
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,575
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,323
27 more
- 2022Editing Models with Task Arithmeticcited by 1,272
- 2022Mass-Editing Memory in a Transformercited by 1,110
- 2016HyperNetworkscited by 1,085
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 1,078
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 916
- 2016Learning to learn by gradient descent by gradient descentcited by 644
- 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 635
- 2021Fast Model Editing at Scalecited by 543
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 519
- 2023Symbolic Discovery of Optimization Algorithmscited by 470
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 447
- 2022Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptorscited by 291
- 2021Escaping the Big Data Paradigm with Compact Transformerscited by 279
- 2018BabyAI: A Platform to Study the Sample Efficiency of Grounded Language Learningcited by 255
- 2018Explicit Inductive Bias for Transfer Learning with Convolutional Networkscited by 249
- 2021Thinking Like Transformerscited by 201
- 2021Few-Shot Incremental Learning with Continually Evolved Classifierscited by 188
- 2020Editable Neural Networkscited by 165
- 2023Equivariant Architectures for Learning in Deep Weight Spacescited by 132
- 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 125
- 2023Permutation Equivariant Neural Functionalscited by 85
- 2021Editing a classifier by rewriting its prediction rulescited by 72
- 2018Rearranging the Familiar: Testing Compositional Generalization in Recurrent Networkscited by 52
- 2024Discovering Preference Optimization Algorithms with and for Large Language Modelscited by 49
- 2023Learning Transformer Programscited by 48
- 2021Hyper-Representations: Self-Supervised Representation Learning on Neural Network Weights for Model Characteristic Predictioncited by 10
- 2026WeightLoop: Weight-Space Programming with Experimental Feedbackcited by 7
Built on by
Citing papers per year: 2026: 1.
1 paper.