Gemini 4 Neon designed a compiler that builds over 97% of a language model's stored weights
An independent researcher, Youngseong Kim, has published a preprint (November 2026) titled "A Language Model Architecture Whose Initial Weights an LLM Can Write as Code". The idea builds on what the paper calls weight-space programming: a frontier LLM reading and writing a network's weights directly, without gradient descent. The paper says this had so far been limited to small networks or sparse edits of existing models, and had not been used to build a language model from scratch.
The approach here is indirect. Instead of having an LLM write weights, the LLM writes a compiler. The page states that the compiler was designed by Gemini 4 Neon. The compiler turns 31.8B tokens of corpus statistics (FineWeb-Edu) into a 7.96 GiB bank of sparse tables. These tables make up over 97% of the model's stored bytes, and they are built without a single gradient step. The first five groups of table channels are counted from FineWeb-Edu tokens that are disjoint from the network's training data. Every channel answers in the same form, a short list of next-token candidates with scores, so the network only has to learn how much to trust each one at each position.
Gradient descent then trains a 103M-parameter network on top of the frozen tables. Trained on 10B tokens on a single GPU, the table model reaches a word-level perplexity of 46.4 on 2,000 held-out FineWeb-Edu documents (context 1,024). A parameter-matched model without tables, with the same backbone and the same 10B training tokens, scores 52.1, so the table model is 11% lower. The paper says that gap is comparable, under standard parameter scaling laws (Kaplan et al., 2020), to making the network about 1.5 times larger. It also raises mean zero-shot accuracy over ten tasks by 1.2 points, with the largest gains on tasks that reward common associations between words and events. Results on all 21 evaluated tasks are in the paper's appendix. In a further test, keeping only the most frequent fraction of table entries without retraining, perplexity improves with every doubling of that fraction and shows no sign of saturating.
The second part is knowledge editing. Writing facts into the tables fails, because the last few tokens before an answer are almost always the same question template. So after pretraining, an external edit layer keeps new facts outside the tables as records. Each record holds subject tokens, a key (the hidden state where the answer should be given) and the answer tokens, and is written in one forward pass of about 12 ms with no gradient step. A record applies only when the subject appears verbatim in the last 64 tokens and the raw hidden state matches the stored key with cosine similarity of at least 0.93. At generation time the stored answer token is raised 1.5 above the current top logit, one token after another, until the answer ends. Records are plain data that a person or an LLM can write, inspect or delete, and a new edit for the same subject and relation replaces the old one.
Over more than 10,000 sequential WikiBigEdit edits, applied batch after batch and never undone, the edit layer answers 99.9% of the edited questions and 97.4% of their paraphrases. It leaves 98.2% of unrelated answers unchanged and changes perplexity by only 0.003%. The 12 ms per fact figure is measured on one T4 GPU. By comparison, fine-tuning and LoRA recall at most 36.3% of the edits and push perplexity above 1,000. The paper says weight editing keeps learning new facts but forgets old ones and damages the model. Code and results are on GitHub at github.com/Kim-Ai-gpu/wtable-lm.
Key facts
- Gemini 4 Neon designed a compiler that turns 31.8B tokens of FineWeb-Edu statistics into a 7.96 GiB bank of sparse tables, over 97% of the model's stored bytes, with no gradient step.
- A 103M-parameter network trained on 10B tokens on a single GPU atop the frozen tables reaches word-level perplexity 46.4 versus 52.1 for a parameter-matched model without tables, 11% lower.
- The paper puts that gain at about the same as making the network 1.5 times larger, an estimate from Kaplan et al. (2020) scaling laws, and reports +1.2 points mean zero-shot accuracy on ten tasks.
- An external edit layer adds facts without training at 12 ms per fact: over 10,000 sequential WikiBigEdit edits it answers 99.9% of edited questions and 97.4% of paraphrases, versus at most 36.3% recall for fine-tuning and LoRA.
- The work is a single-author preprint by Youngseong Kim, listed as an independent researcher, with code on GitHub.
Why it matters
Most language-model weights come from gradient descent. This preprint tries a different split: an LLM writes a program that fills the bulk of the stored weights from corpus statistics, and gradient descent trains only a small network on top. The paper says earlier weight-space programming had stayed limited to small networks or sparse edits of existing models and had not been used to build a language model from scratch. The reported result is that frozen tables built this way lower perplexity by 11% against a parameter-matched baseline, and that facts can then be added at 12 ms each without retraining.
Who it affects
Researchers working on knowledge editing and continual updates are the most direct audience, since the edit layer is compared against fine-tuning and LoRA on the same edit stream. People interested in LLMs writing code that constructs models, rather than writing weights directly, get a concrete example with Gemini 4 Neon as the compiler's designer. The author is Youngseong Kim, listed on the page as an independent researcher.
How to use it
Code and results are available at github.com/Kim-Ai-gpu/wtable-lm, and the full paper is a Preprints.org preprint (doi 10.20944/preprints202611.3172.v1). The edit layer works with plain-data records, so a person or an LLM can write, inspect or delete a fact, and a new edit for the same subject and relation replaces the old one. A record fires only if the subject appears verbatim in the last 64 tokens and the hidden state matches the key at cosine similarity of at least 0.93.
How solid is it
The page gives a clear setup: both models share the same backbone of about 103M trained parameters and the same 10B training tokens, and the only difference is the frozen tables. Perplexity is measured on 2,000 held-out FineWeb-Edu documents, zero-shot results use lm-eval 0.4.13, and the table channels are counted from tokens disjoint from the network's training data. Against that, the source is a preprint (v1) and no peer review is mentioned. No third-party reproduction or independent verification is mentioned. The code is public, so others can check the numbers.
Risks and caveats
The comparison is against a parameter-matched model without tables at about 103M trained parameters; no comparison against large production LLMs is given. The 1.5 times size equivalence is an estimate from the Kaplan et al. (2020) scaling law, not a measured result of training a larger model. The page does not say that Gemini 4 wrote the weights directly: it says an LLM wrote the compiler, designed by Gemini 4 Neon, and it does not say how many attempts, how much compute or cost, or how much human involvement went into that. Facts cannot be written into the tables themselves, because the question-template tokens before an answer are nearly always the same, so editing depends on a separate layer with its own matching rules. The author's institution, funding or affiliation beyond Independent Researcher is not stated.
“Records are plain data, so a person or an LLM can write, inspect or delete them.”
— From the preprint page, on the edit layer