Weight-Space Programming Doesn't Need Transformers

arXiv:2611.22055 · 2026-11-18 공개 · arXiv · PDF

transformer parameter-efficiency associative-memory weight-space-programming architecture-design multiple-choice-questions llm-designed-models sparse-table

Abstract

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.

한국어 요약

한 줄 요약

LLM이 가중치를 직접 작성하는 방식에서 Transformer 대신 테이블 기반 모델이 더 높은 성능과 효율성을 보인다.

핵심 기여도

핵심 아이디어

가중치 공간 프로그래밍(WSP)에서 LLM이 직접 가중치를 작성할 때, 기존의 Transformer 구조는 그 효용성을 잃는다. 이 연구는 LLM이 Transformer 대신 테이블 기반의 구조를 설계하도록 유도했으며, 이는 각 행(row)이 명확한 의미를 지님으로써 가중치 수정이 용이하다는 점에서 혁신적이다. LLM은 도메인 지식을 plain-text로 표현하고 이를 테이블의 행으로 변환하는 스크립트를 작성한다. 이후 고정된 검색 절차가 질문과 선택지를 테이블의 행과 매칭하여 최고 점수를 가진 답을 선택한다. 이 구조는 attention, MLP, dense embedding 없이도 작동하며, 각 행이 특정 예측에 직접 연결되어 있어 수정 효과가 국지적이다.

기술적 접근법

주요 결과

의의 및 한계

이 연구는 WSP에서 Transformer가 필수적이지 않다는 점을 입증하며, 테이블 기반 구조가 가중치 수정과 추론 효율성 측면에서 우수함을 보여준다. 특히, 각 행이 명확한 의미를 지니고 수정 효과가 국지적이라는 점은 디버깅 및 유지보수에 유리하다. 그러나 미리 학습된 LLM은 여전히 테이블 기반 모델보다 높은 정확도를 보이며 (예: Qwen3.5-0.8B는 82.1%), WSP의 한계가 명확히 드러난다. 또한, 테이블 크기가 커질수록 추론 속도가 느려지는 문제가 있으며, 이는 GPU 효율성에 영향을 미친다.

실용적 활용

이 연구는 소규모 데이터셋에서 빠르고 해석 가능한 모델을 작성해야 하는 상황, 예를 들어 교육, 의료 분야의 규칙 기반 시스템에 적용 가능하다. 또한, 모델 수정이 필요할 때 특정 가중치를 직접 찾아 수정할 수 있는 구조는 소프트웨어 개발 및 시스템 디버깅에도 유용할 수 있다.