cd /news/artificial-intelligence/weight-space-programming-writes-in-c… · home › topics › artificial-intelligence › article
[ARTICLE · art-174503] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

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

A study posted as arXiv:2611.26841v1 reports that "weight-space programming" — a frontier model reading and rewriting another network's weights without gradient descent — can match in-context learning and fine-tuning, including LoRA, on the same examples across six tasks, four frontier editors and three families of weaker language models. In most runs the editors, given no information about in-context learning, measured the few-shot minus zero-shot residual at the final prompt token and wrote that ICL task vector into the weights, at its sparsest into near-silent MLP units keyed to the prompt format, usually leaving perplexity untouched but performing worse when wording changed. One editor fell below fine-tuning, and only the strongest editor matched fine-tuning when held to seen examples without task pairs of its own; given a task and unlabelled inputs, that editor wrote its own examples and did nearly as well on unseen items as with labels.

recommendation

To skip prompt examples, extract the few-shot minus zero-shot residual at the final prompt token and write it into the weights, but retest under reworded prompts since accuracy dropped when wording changed.

more in playbook: Fine-tuning and data
by read1 min views3 publishedNov 23, 2026

arXiv:2611.26841v1 Announce Type: new Abstract: Weight-space programming is a frontier language model's recently reported ability to read and rewrite another network's weights 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 it edits. 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 few-shot minus zero-shot residual is measured at the final prompt token, the ICL task vector, 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 of 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.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @arxiv 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/weight-space-program…] indexed:0 read:1min 2026-11-23 · —