Gemini 4 writes code that initializes 97% of a model's weights
Original title: I built an LLM where Gemini 4 wrote the initial weights as code (97% of bytes)
Frozen tables from 31.8B tokens plus a 103M network cut word perplexity from 52.1 to 46.4.
Independent researcher Youngseong Kim reports that Gemini 4 Neon wrote a compiler turning 31.8B FineWeb-Edu tokens into a 7.96 GiB bank of sparse tables, over 97% of stored bytes, with no gradient step. Gradient descent then trains a 103M-parameter network on 10B tokens. The table model reaches word-level perplexity of 46.4 versus 52.1 for a matched baseline and gains 1.2 points of mean zero-shot accuracy. An external edit layer then adds facts without training.
Unconfirmed: Figures are the author's preprint results and are not independently replicated in the item.
- After 10,000 WikiBigEdit edits, exact match is 99.9% and paraphrase recall 97.4%.
- Unrelated answers stay unchanged 98.2% of the time; perplexity shifts 0.003%.
- Each fact costs about 12 ms on one T4 GPU, with no gradient step.
- Fine-tuning and LoRA recall at most 36.3% and push perplexity above 1,000.
- The preprint is posted as Preprints 202611.3172.
From the original article
4 min read at weights-as-code.pages.dev
An LLM writes the program that fills 97% of a language model's stored weights with corpus statistics, with no gradient step. Gradient descent trains only a 103M-parameter network on top, and the model supports continual knowledge updates without training . An LLM writes a program P that compiles a text corpus D into frozen sparse tables
By umjunsik132 · weights-as-code.pages.dev
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.