Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

Gemini-written compiler builds 97% of a language model's weights without gradient descent

An independent researcher had Gemini 4 Neon write a program that compiles 31.8B tokens of corpus statistics into 7.96 GiB of frozen sparse tables (n-gram, skip-gram, synonym, concept and rule channels), over 97% of the model's bytes, with only a…

Published Read the original

Ranked #19 of 30 on Monday, November 30

Gemini-written compiler builds 97% of a language model's weights without gradient descent

Why it matters

It shows a practical route to editing a model's knowledge without fine-tuning, and a new use of frontier LLMs as model-building compilers.

What happened

1 min read

An independent researcher had Gemini 4 Neon write a program that compiles 31.8B tokens of corpus statistics into 7.96 GiB of frozen sparse tables (n-gram, skip-gram, synonym, concept and rule channels), over 97% of the model's bytes, with only a 103M-parameter network trained on top. On 10B training tokens it lowers perplexity 11% versus a matched baseline, and a separate edit layer adds 10,000 facts at 12 ms each with 99.9% recall and almost no side effects.

inscraper analysis

Our analysis

The scale is small (103M trained parameters, perplexity 46 on FineWeb-Edu), so it is far from a usable assistant, and the gains resemble well-known n-gram and memory-augmented approaches such as Engram-style tables. The edit-layer results are the most interesting, but its trigger requires the subject verbatim in recent context, which limits generalization. It is a single-author preprint, not peer reviewed, though code is public and HN interest was high. Worth reading for anyone working on knowledge editing.

More in Research