Gemini writes 97% of an LLM's weights as code, cutting perplexity 8.1%
Perfect_Power815 · reddit · 2026-11-30
The author had Gemini 4 Neon generate a program that fills 97% of a language model's stored bytes with corpus statistics, then trains only a 103M-parameter network on top via gradient descent, plus an external edit layer for continual knowledge updates.
Key results:
- On FineWeb-Edu test documents, the table model hit perplexity 16.43 vs 17.88 for a parameter-matched baseline (8.1% lower) — equivalent to a 1.5x larger network.
- Zero-shot benchmarks averaged +1.24 points, led by SciQ (+3.4) and ART (+2.5); ARC-Easy and OpenBookQA were flat.
- The external edit layer handled 10,000 fact edits with 99.9% update success, 97.4% on rephrases, and near-zero perplexity change (ΔPPL +0.0004), while full fine-tuning blew up perplexity by 202.7 under the same edit load. Both humans and LLMs can read/write the layer directly.
Work in progress; the author shares a project page, code, and paper preprint.
Related event: Gemini-Generated Code as 97% of Model Weights Cuts Perplexity(3 posts)→
More from Research
- Embo AI unveils Cortex, a unified 35B transformer 'brain' for humanoid robots — danijar · 2026-12-01
- Embo observes real-world scaling laws for robot task success over 400X compute range — danijar · 2026-12-01
- Multimodal health models may rewrite biology's human-centric primitives — jgooten · 2026-12-01
- Qwen open-sources Qwen-Audio-Jev: structured audio decisions in one forward pass, no text generation — udmrzn · 2026-12-01
- DAgger author argues RL theory papers still matter beyond their regret bounds — AvivTamar1 · 2026-12-01
- MIT Sitzmann's group brings six NeurIPS papers, from diffusion tokenizers to dataset distillation — vincesitzmann · 2026-12-01