I built an LLM where Gemini 4 wrote the initial weights as code
A researcher built a language model where Gemini 4 wrote a compiler that populates 97 percent of the initial weights as sparse tables from corpus statistics without gradient descent.
summary is enough The pre-print introduces a clever hybrid architecture, but commenters rightly clarify that the title overhypes direct weight writing.
summary
An independent researcher developed a hybrid language model architecture where Gemini 4 designed a compiler that converts 31.8 billion tokens of corpus statistics into 7.96 GiB of sparse tables, forming 97 percent of the model's weights without gradient descent. A 103M-parameter network is trained on top of these frozen tables, yielding lower perplexity than a parameter-matched baseline and supporting fast factual updates via an external layer. However, commenters note the technique functions more like advanced feature extraction and traditional initialization rather than true weight-space programming. Furthermore, the continual update layer is limited to verbatim matches and exact query templates.
key points
- Gemini 4 wrote a compiler that populates 97 percent of the model's stored bytes using sparse tables of n-grams and concepts without gradient descent.
- A 103M-parameter network trained on top of the frozen tables achieves an 11 percent reduction in word-level perplexity compared to a standard baseline.
- An external edit layer allows sequential knowledge updates at 12ms per fact without retraining, though it requires verbatim subject matches.
who should read it
Machine learning researchers and engineers interested in alternative model architectures and non-gradient initializations.
discussion mixed
consensus
Commenters generally agree that the title is misleading because the LLM wrote a feature-extraction compiler rather than directly writing raw neural network weights.
pushback
A few commenters note that regardless of nomenclature, the hybrid table-and-network approach offers interesting perplexity gains and fast updates.
I don't see how this relates to WSP. The agent wrote a program to extract statistics and trained a model on top of it. Besides, the comparison at same number of trainable parameters forgets the many non-trainable parameters. Equal memory/disk space would be more appropriate.
It cuts through the marketing language to explain that the agent simply wrote a program to extract statistics and train a model on top.
Generated by an LLM from the article and thread. Check the sources before relying on it.