Skip to main content
LIVE THU, 3 DEC, 2026 BENGALURU EDITION № 217 · FREE · NO LOGIN
AI AI · 2 MIN READ

LLM writes initial weights as code for new language model

A large language model (LLM) has been used to write the initial weights of a new language model as code, covering 97% of the model's stored bytes without a…

A large language model (LLM) has been used to write the initial weights of a new language model as code, covering 97% of the model's stored bytes without any gradient descent training, according to weights-as-code.pages.dev. The model compiles corpus statistics from 31.8 billion tokens into sparse tables totaling 7.96 gigabytes, which form the bulk of the model's parameters.

The process involves the LLM generating a compiler that transforms a text corpus into frozen sparse tables. These tables are read by a Transformer model at specific layers, while only a smaller 103 million-parameter network is trained using gradient descent on top of the frozen tables. After pretraining, an external edit layer can add new facts without further training, enabling continual knowledge updates.

This approach, called weight-space programming (WSP), diverges from traditional methods that rely entirely on gradient descent to train all model weights. The new method allows building a language model from scratch with minimal training on a single GPU using 10 billion tokens, achieving a word-level perplexity of 46.4 on held-out data. WSP has previously been limited to small networks or sparse edits but now supports full model initialization.

The model's frozen sparse tables occupy 7.96 gigabytes, representing over 97% of the stored bytes, while the trainable network atop contains 103 million parameters. This architecture supports continual knowledge updates through an external edit layer without retraining, marking a notable advance in language model design.

Editorial standards. Reported and edited at Startupniti's news desk from the sources listed in the right rail. Every fact traces to a citation. If something looks wrong, write to corrections.
▸ WIRE
Startup and tech news from around the world, read so you don't have to Every article cited · trust the source, not just the byline A global startup desk, edited daily Founders · Funding · Policy · Tech — three crawls a day Startup and tech news from around the world, read so you don't have to Every article cited · trust the source, not just the byline A global startup desk, edited daily Founders · Funding · Policy · Tech — three crawls a day