Researcher Youngseong Kim presents a language model architecture where initial weights are generated as executable code by an LLM (Gemini 4 Neon), implementing Weight-Space Programming (WSP) at scale. A compiler processes 31.8B tokens from FineWeb-Edu (disjoint from training data) into a 7.96 GiB bank of sparse statistical tables covering n-gram, skip-gram, synonym, concept, rule, and in-context channels, constituting over 97% of stored model bytes without any gradient steps. Gradient descent trains only a 103M-parameter backbone network on top of these frozen tables using 10B tokens on a single GPU. The table-augmented model achieves a word-level perplexity of 46.4 on held-out FineWeb-Edu documents, 11% lower than a parameter-matched baseline without tables (52.1), equivalent under Kaplan et al. (2020) scaling laws to a 1.5× parameter increase, and improves mean zero-shot accuracy across ten tasks by 1.2 points. An external edit layer enables continual knowledge updates without training: over 10,000 sequential WikiBigEdit facts, it achieves 99.9% exact match on edited questions and 97.4% on paraphrases, preserves 98.2% of unrelated answers, alters perplexity by only 0.003%, and operates at 12 ms per fact on a T4 GPU. Fine-tuning and LoRA baselines recall at most 36.3% of edits and catastrophically increase perplexity above 1,000. The edit layer stores facts as verifiable records (subject tokens, key hidden state, answer tokens) triggered by exact subject match and cosine similarity ≥0.93, raising the stored answer logit by 1.5 above the current top candidate. Code and results are available at github.com/Kim-Ai-gpu/wtable-lm.

Read original