Weight-Space Programming Doesn't Need Transformers

Hugging Face Daily Papers Papers

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.

Standard neural architectures such as the Transformer were chosen because they train well with gradient descent and run fast on GPUs. In weight-space programming, a large language model (LLM) writes target weights by hand without gradient-based training, so those reasons no longer apply. Should we keep the Transformer? 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 a sparse table queried by a fixed procedure, reaching up to 54.4% test accuracy. An LLM-designed model achieves higher test accuracy than the most accurate released Transformer that 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 an associative-memory-based model up to 17x faster on GPUs than a same-sized Transformer. We also test pretrained weights, other benchmarks, and tasks where models generate answers. Pretrained LLMs remain more accurate; the claim concerns which structure to build when writing weights.
Original Article
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

arXiv cs.LG

该论文研究在无需梯度训练的权重空间编程中,LLM 自行设计目标架构时,基于联想记忆的稀疏表结构比 Transformer 更省参数且更快,最高以约1800×更少参数取得更高测试准确率。

Looped Weight-Space Programming: transformer weights written directly [R]

Reddit r/MachineLearning

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 builds neural networks like a 1990s researcher (20 minute read)

TLDR AI

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.