mlsanityData to 24 Nov 2026

Weight-Space Programming Writes In-Context Learning and Matches Fine-Tuning in Language Models

arXiv 2611.26841 ↗Submitted 19 Nov 2026Announced 23 Nov 2026cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Weight-space programming is a frontier language model's recently reported ability to read another network's weights and edit them without gradient descent. We investigate how examples can provide a weight update so that a weaker language model performs the task with nothing in the prompt, and study what the updates are. Our experiments cover six tasks, four frontier editors and three families of weaker language models, without the editors being told anything about in-context learning (ICL). In most runs, the editors measure the ICL task vector, the shift the examples cause in the residual stream at the final prompt token, and write it into the weights, at its sparsest into near-silent MLP units keyed to the prompt format. Results reach the accuracy of ICL and fine-tuning on the same examples, LoRA included, usually leaving perplexity untouched, with worse performance under changes of wording. We also qualify the comparison by counting unfinished runs, observing that one editor falls below fine-tuning; held only to the seen examples, without task pairs of their own, only the strongest editor has similar performance. Given a task and unlabelled inputs, that editor writes its own examples and does nearly as well on unseen items as with labels.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 31 of its 56 references that are in the map. Submitted 19 Nov 2026, announced 23 Nov 2026.

Builds on

31 of 56 references.

References · 31

  1. 2020Language Models are Few-Shot Learnerscited by 33,113
  2. 2024The Llama 3 Herd of Modelscited by 16,113
  3. 2021Training Verifiers to Solve Math Word Problemscited by 11,055
  4. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,507
  6. 2016Pointer Sentinel Mixture Modelscited by 3,344
  7. 2022Locating and Editing Factual Associations in GPTcited by 2,951
  8. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,487
  9. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,424
  10. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,275
  11. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,270
  12. 2023Steering Language Models With Activation Engineeringcited by 1,128
19 more
  1. 2022Mass-Editing Memory in a Transformercited by 1,110
  2. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 989
  3. 2022Transformers learn in-context by gradient descentcited by 763
  4. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 729
  5. 2023Fine-Tuning Language Models with Just Forward Passescited by 380
  6. 2023In-Context Learning Creates Task Vectorscited by 337
  7. 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 313
  8. 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 263
  9. 2023Transformer-Patcher: One Mistake worth One Neuroncited by 207
  10. 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 155
  11. 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 143
  12. 2023Task-Specific Skill Localization in Fine-tuned Language Modelscited by 115
  13. 2025Learning without training: The implicit dynamics of in-context learningcited by 49
  14. 2025Task Vectors in In-Context Learning: Emergence, Formation, and Benefitcited by 22
  15. 2026Exploring Weight-Space Programming: Capabilities, Generalization, and Limitationscited by 14
  16. 2026Compiling Activation Steering into Weights via Null-Space Constraints for Stealthy Backdoorscited by 9
  17. 2025Transmuting prompts into weightscited by 7
  18. 2026WeightBench: Evaluating Language Models as Weight-Space Programmerscited by 4
  19. 2026IWIBench: Evaluating Gradient-Free Model Driven Intra-weight Injectioncited by 1

Built on by

Not cited yet.