Weight-Space Programming Doesn't Need Transformers
Summary
The paper shows that when frontier LLMs write neural network weights without gradient training, they naturally design sparse table/associative-memory models that outperform same-sized Transformers with up to 1,800x fewer parameters and up to 17x faster GPU inference, though pretrained LLMs remain more accurate.
View Cached Full Text
Cached at: 11/19/26, 03:42 AM
Paper page - Weight-Space Programming Doesn’t Need Transformers
Source: https://huggingface.co/papers/2611.22055
Abstract
When large language models write neural network weights without gradient-based training, they tend to design sparse table or associative-memory models that outperform same-sized Transformers with far fewer parameters and faster GPU inference, though pretrained LLMs remain more accurate.
Standardneural architecturessuch as theTransformerwere chosen because they train well withgradient descentand run fast on GPUs. Inweight-space programming, alarge language model(LLM) writestarget weightsby hand withoutgradient-based training, so those reasons no longer apply. Should we keep theTransformer? Given minimal guidance, ten labeled examples, and a sandbox, mainly on multiple-choice questions, we task three frontier LLMs with either generating the weights of a fixed architecture or designing the architecture themselves. When free to design, all three compile plain-text facts into asparse tablequeried by a fixed procedure, reaching up to 54.4% test accuracy. An LLM-designed model achieves higher test accuracy than the most accurate releasedTransformerthat the same LLM wrote while using about 1,800x fewer parameters. Without gradients, they choose a table, in which the LLM can state what each weight means and can find and rewrite a wrong one. Each wrong answer points to one row, and removing a row changes about one other answer. From this, we propose anassociative-memory-based modelup to 17x faster on GPUs than a same-sizedTransformer. We also testpretrained weights, other benchmarks, and tasks where models generate answers. Pretrained LLMs remain more accurate; the claim concerns which structure to build when writing weights.
View arXiv pageView PDFProject pageGitHub38Add to collection
Get this paper in your agent:
hf papers read 2611\.22055
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2611.22055 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2611.22055 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2611.22055 in a Space README.md to link it from this page.
Collections including this paper3
Similar Articles
Weight-Space Programming Doesn't Need Transformers
该论文研究在无需梯度训练的权重空间编程中,LLM 自行设计目标架构时,基于联想记忆的稀疏表结构比 Transformer 更省参数且更快,最高以约1800×更少参数取得更高测试准确率。
Weight-Space Programming builds neural networks like a 1990s researcher
A blog post explores Weight-Space Programming, where frontier LLMs directly read and write neural network weights, showing that an LLM hand-crafting MNIST CNN weights essentially rediscovers classic pre-deep-learning techniques.
Looped Weight-Space Programming: transformer weights written directly [R]
A frontier reasoning model wrote a transformer's weights directly in 39 minutes for $19, with no training, solving 100% of Mazes-Hard mazes (vs 26% when just prompted). The single looped transformer block approach generalizes to Sudoku-Extreme, GraphWalks, Tower of Hanoi, and BIG-Bench Extra Hard tasks.
Weight-Space Programming Writes In-Context Learning and Matches Fine-Tuning in Language Models
This paper presents the first controlled evaluation of weight-space programming, showing that a frontier LLM can write in-context learning directly into another model's weights—modifying only 0.002-0.9% of parameters—to match both in-context learning accuracy and gradient-based fine-tuning across six tasks, four editors, and three model families.
Weight-Space Programming builds neural networks like a 1990s researcher (20 minute read)
The author runs a Weight-Space Programming experiment where Claude Fable 5.2 hand-sets all 5,994 weights of a CNN to classify MNIST without any fitting or search, finding that the resulting network resembles hand-crafted pre-deep-learning techniques — a pattern also observed in the Go network built by GPT-6 Astra in the original WSP post.