In a novel approach to language model design, independent researcher Youngseong Kim built an LLM where an AI system directly writes the program defining the model’s weights without traditional training. According to the work, Gemini 4 Neon designed a compiler that converts 31.8 billion tokens of corpus statistics into 7.96 gigabytes of sparse lookup tables—accounting for over 97% of the model’s stored bytes—with no gradient descent involved.

The resulting architecture trains only a 103-million-parameter network on top of these frozen tables. Gradient descent trains this smaller network on 10 billion tokens using a single GPU. The approach achieved a word-level perplexity of 46.4 on held-out FineWeb-Edu documents, 11% lower than a parameter-matched baseline model (52.1 perplexity), and comparable to a model 1.5 times larger under standard parameter scaling laws.
The compiler generates tables from six groups of linguistic patterns: n-gram predictions, skip-gram associations, synonym clusters, concept relationships, explicit rules, and in-context information. These tables store candidate next-token predictions with associated scores, allowing the trained network to learn how much to trust each prediction at different positions.
After pretraining, the model supports continual knowledge updates through an external edit layer that adds new facts without any retraining. Over 10,000 sequential edits from WikiBigEdit, the edit layer answered 99.9% of edited questions and 97.4% of their paraphrases, while leaving 98.2% of unrelated answers unchanged. Each edit takes approximately 12 milliseconds with no gradient step required. The approach changed model perplexity by only 0.003%.
By comparison, traditional fine-tuning and LoRA techniques recalled at most 36.3% of edits and pushed perplexity above 1,000. Zero-shot accuracy across ten tasks improved by 1.2 points on average with the table-augmented model, with the largest gains on tasks rewarding common word-event associations.
The work demonstrates that weight-space programming—where an LLM reads and writes neural network weights directly—can scale beyond small networks or sparse edits to build functional language models from scratch. Code and experimental results are available on GitHub at github.com/Kim-Ai-gpu/wtable-lm.
Key facts
- Gemini 4 Neon designed the compiler that writes 97% of model weights as code from corpus statistics
- The frozen tables contain 7.96 gigabytes of sparse lookup tables built from 31.8 billion corpus tokens
- Only a 103-million-parameter network is trained via gradient descent on top of the tables
- The model achieved 11% lower perplexity (46.4 vs 52.1) compared to a parameter-matched baseline
- An edit layer enables continual knowledge updates at 12ms per fact with 99.9% recall on edited facts
- Zero-shot accuracy improved by 1.2 points across ten evaluated tasks
