A language model uses LLM-written code to initialize 97% of its stored weights
ResearchPublished: Source: Hacker News (100+ points)
TL;DR:8B FineWeb-Edu tokens into frozen sparse tables that account for more than 97% of stored model bytes. 1 for a parameter-matched baseline.

Independent researcher Youngseong Kim presents a language-model architecture whose compiler, designed by Gemini 4 Neon, converts statistics from 31.8B FineWeb-Edu tokens into frozen sparse tables that account for more than 97% of stored model bytes. Gradient descent trains a 103M-parameter network on top using 10B tokens; on held-out documents, the system reaches word-level perplexity of 46.4 versus 52.1 for a parameter-matched baseline. A separate edit layer handled 10,000 sequential facts with 99.9% exact-match recall and 97.4% paraphrase recall, without gradient updates.
Key points
- The compiler converts statistics from 31.8B corpus tokens into a 7.96 GiB bank of sparse, frozen tables.
- Only a 103M-parameter network is trained with gradient descent, on 10B tokens.
- Word-level perplexity was 46.4 versus 52.1 for a parameter-matched baseline; mean zero-shot accuracy increased by 1.2 points across ten tasks.
- After 10,000 sequential edits, exact-match recall was 99.9%, paraphrase recall 97.4%, and unrelated answers remained unchanged in 98.2% of cases.
- The editing layer adds facts in about 12 ms each on a T4 GPU, without gradient updates.
Why it matters
The work explores separating corpus-derived knowledge from trainable neural parameters, while offering a fast way to add or replace facts after pretraining. This could matter for teams evaluating model-update costs and knowledge maintenance, though the reported results come from a small-scale research system.
Companies and models mentioned
- Youngseong Kim
- Gemini 4 Neon
- FineWeb-Edu
- WikiBigEdit
- Weight-space programming