Navigation menu
Weight-Space Programming Doesn't Need Transformers
Weight-Space Programming Doesn't Need Transformers
Hyunjong Ok, Jaeho Lee
2026-11-18▲ 51arXiv 2611.22055v1Hugging FaceCode
AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.
TL;DR
When frontier LLMs write model weights without gradients and are allowed to choose the architecture, they build sparse fact tables with fixed lookup procedures, which outperform Transformers they write themselves and motivate a faster associative-memory model.
Problem
Transformers are successful partly because they suit gradient-based optimization and GPU execution. In weight-space programming, an LLM writes target weights by hand without gradient training, so those architectural reasons may not carry over. The paper asks whether WSP should keep the Transformer and tests what LLMs build when allowed to choose the architecture.
Method
Three frontier LLMs, Claude Opus 5.5, GPT-6.1 Sol, and GPT-6 Astra, work under identical tools and prompts, seeing only ten labeled ARC examples and a sandbox. The paper compares writing weights into fixed released architectures from random initialization with letting the LLM design the architecture. When free to design, the LLMs produce a sparse fact table queried by a fixed procedure, mapping words to concepts and scoring options against written rows. The paper analyzes these as associative memories and proposes a model with a fixed forward pass that reads 120 pair-table rows and one product with concept table A per question. It also tests pretrained-weight editing, other benchmarks, generation tasks, multi-task settings, and images.
Results
- For Claude Opus 5.5, the generation-5 LLM-designed model reaches 54.4% ARC test accuracy with 3.35M parameters, above 43.1% for released architectures written from random initialization and 36.1% for the given two-layer Transformer. §4
- Across all three writers, LLM-designed models and the associative-memory-based model retain higher ARC test accuracy than released architectures written from random initialization, with far fewer parameters. §4
- In Claude Opus 5.5 runs, a written two-layer Transformer scores 36.1% versus 44.1% for BM25 over its own text, while the LLM-designed generation-5 table scores 54.1% versus 48.4%. §5.2
- The associative-memory-based model answers the 3,530 ARC test questions on one RTX 3090 in 18 ms at both first- and fifth-generation sizes; at the fifth-generation size a same-sized Transformer is 17 times slower. §6.3
- Across 46 LLM-designed variants, only one beats a same-sized Transformer at its fastest input, and the median is 9.4 times slower. §6.1
- On SciQ, LLM-designed and associative-memory-based models reach 47.7% in generation 1 and 50.1% in generation 5, while accuracy is 30% to 36% on OpenBookQA and near 25% chance on MMLU. §7.2
Limitations
- Pretrained LLMs remain more accurate overall; the paper states the claim concerns which structure to build when writing weights, not surpassing pretrained models (§Abstract, §4).
- The main evaluation is multiple-choice science questions, primarily ARC; models written for ARC drop on OpenBookQA and fall to chance on MMLU (§7.2).
- The associative-memory-based model stays within about three percentage points of the LLM-designed models rather than matching them, and with dense concept table A it becomes slower than a Transformer between about 15,000 and 32,000 concepts (§6.3, §6.4).
- WSP does not reach raw-pixel images: written networks reach 21% to 28% on CIFAR-10, and the paper says WSP would need input units that an LLM can name without a pretrained encoder (§7.5, §H).
Key points
- During a single WSP run, each writer sees only ten ARC training examples, five each from ARC-Easy and ARC-Challenge, and no test accuracy. §2
- All three LLMs converge on a sparse fact table queried by a fixed procedure, without attention, MLPs, or dense embeddings. §3.1
- An LLM-designed model achieves higher ARC test accuracy than the most accurate released Transformer that the same LLM wrote while using about 1,800 times fewer parameters. §1
- Debugging written weights requires traceable answers and local edits; sparse tables satisfy both, and deleting a row alters roughly one prediction out of all test questions. §1
- The associative-memory-based model reads only 120 pair-table rows and computes one product with concept table A per question, keeping per-question cost independent of fact count for a given concept vocabulary. §3.4
- On a GPU, LLM-designed models launch two to nearly three hundred kernels per question and their time correlates more closely with kernels per question than with non-zero count in eager execution (r=0.95). §6.1
- With pretrained checkpoints, in 48 of 87 runs across the three LLMs the writer changes under 1% of the weights; accuracy stays within one point in 43 of these 48 runs. §7.1
- On CIFAR-10 raw pixels, written networks reach only 21% to 28% across eight fixed architectures; with DINOv2 tokens a written table reaches 96.1% without provided image labels. §7.5
Mind map
Sign In
Choose a method to continue
By signing in, you agree to our Terms and Privacy Policy

