Hacker News·First covered 30 Nov 2026HN front page
I built an LLM where Gemini 4 wrote the initial weights as code
A preprint has an LLM write a compiler that fills over 97% of a language model's stored bytes with corpus statistics, then trains only a 103M-parameter network on top with gradient descent.
Stats
(As of 1 Dec 2026)- Points
- 511
- Comments
- 172
- Submitted by
- umjunsik132
- Posted
- 20h
- The compiler, designed by Gemini 4 Neon, turns 31.8B tokens of statistics into 7.96 GiB of frozen sparse tables.
- Trained on 10B tokens on one GPU, it reaches word-level perplexity of 46.4 against 52.1 for a matched model without tables.
- An external edit layer stores facts as plain records in about 12 ms each and answers 99.9% of 10,000 WikiBigEdit edits.
- Edits fire only when the subject appears verbatim, so aliases, reverse and multi-hop questions are missed.
The discussion
- CounterpointSome see a novel initialisation relabelled as weight-space programming, since the agent mainly wrote code to extract statistics. comment
- CounterpointOne commenter rejects the continual-learning claim: edits are verbatim answer overrides the model cannot reason with. comment
- DisputedCommenters doubt the 11% perplexity gain survives at larger model sizes; one asks whether it grows for smaller ones. comment
- ThemeThe cost comes up repeatedly: 8 GB of tables held in memory at inference on top of the small network. comment