The weights-as-code demo site and GitHub repo Kim-Ai-gpu/wtable-lm describe a language model where a frontier LLM writes a compiler that builds most of the stored weights, then a 103M-parameter network trains on top. Hacker News listed the story November 30, 2026 with 96 points. Author Youngseong Kim ties the work to weight-space programming (WSP) but pushes further than sparse edits: the initial checkpoint is mostly tables, not random initialization.
The core idea in one paragraph
Classic pretraining starts from noise and updates every parameter. WSP instead lets a capable LLM read and write weights without gradient descent. wtable-lm combines both: an LLM authors program P that compiles corpus D into frozen tables T = P(D) occupying about 7.96 GiB and 97 percent of bytes. Gradient descent then trains only the 103M-parameter transformer that reads those tables through an Engram block after layer four and gated fusion into logits.
After pretraining, an edit layer adds facts as records, not weight diffs, enabling continual updates without another training run.
Numbers on the demo page
The interactive page summarizes experiments. Treat them as author-reported until you reproduce:
| Metric | wtable-lm claim | Baseline without tables |
|---|---|---|
| Word-level perplexity (FineWeb-Edu holdout) | 46.4 | 52.1 |
| Zero-shot mean accuracy lift (10 tasks) | +1.2 points | matched 103M net |
| WikiBigEdit after 10k edits (EM) | 99.9% update questions | LoRA up to 36.3% |
| Per-fact edit time (T4) | ~12 ms | finetune much slower |
Kim cites Kaplan scaling to argue tables act like making the network ~1.5× larger for loss purposes. That is theory shorthand, not a vendor SLA.
Architecture: eighteen channels, one interface
The demo explains eight channel groups — n-gram, skip-gram, synonym, concept, rule, in-context, and more — each predicting next-token candidates with scores. The trained network learns how much to trust each channel per position.
The first five groups come from 31.8B FineWeb-Edu tokens, disjoint from the 10B tokens used to train the neural half. That separation matters for honest evals: no train-test bleed across table stats and net training if implemented as claimed.
Gemini 4 Neon authored the compiler that counts those statistics. This is the headline weights-as-code move: the bytes are program output, not SGD output.
Edit layer without destroying the model
Kim argues writing facts into tables fails because answer-adjacent tokens repeat question templates. The edit layer stores subject, key hidden state, and answer tokens as records. Activation rules require verbatim subject in last 64 tokens plus cosine similarity ≥ 0.93 between live hidden state and stored key.
At inference, the layer raises answer token logits about 1.5 above the current top choice until the answer completes. Records are human or LLM inspectable, supporting compliance edits and rollback.
For builders comparing approaches, see our MIT weight-space programming and POSTECH tables beat LLM-written transformers posts. wtable-lm is the scale-up attempt: gigabyte tables plus tiny trainable net.
How to try it
- Clone github.com/Kim-Ai-gpu/wtable-lm and read setup in the README.
- Download or rebuild table artifacts per instructions; expect storage-heavy artifacts.
- Train or load the 103M network on one GPU as the preprint describes.
- Run perplexity on your own holdout text, not only FineWeb-Edu.
- Stress-test the edit layer with paraphrased questions your users will actually type.
If you only need occasional fact patches, compare edit layer latency against RAG with a vector DB you already operate. Tables win when inference must stay local and edits are frequent.
Limitations and honest gaps
The public page is a preprint landing zone, not a hosted API. There is no frontier-lab endorsement. Table build cost, compiler correctness, and security of editable records are open engineering tasks.
97 percent bytes as tables does not mean 97 percent of intelligence. It means storage layout. Quality still depends on channel design and the 103M net.
Channel groups in plain language
The demo page groups eighteen channels into six families. Each family exposes next-token candidates with scores so the network only learns mixing weights, not world knowledge from scratch.
N-gram channels read the last one to five tokens. Classic count statistics still help common phrases.
Skip-gram channels look at earlier tokens with gaps, catching long-range clichés without full attention cost.
Synonym and concept channels lift clusters and associations mined from 31.8B tokens of FineWeb-Edu statistics, disjoint from the 10B tokens used to train the neural half.
Rule channels encode explicit phrase and fact rules a human or LLM can audit.
In-context channels read the current document only — useful for session stickiness without baking transient text into tables.
The Gemini 4 Neon-authored compiler is the piece that makes this weights-as-code: the bytes are output of a program, not output of weeks of SGD on random init.
Edit layer versus table writes: why Kim split them
Kim''s site explains a failure mode for table writes: tokens right before answers often repeat question templates, so naive table injection collides with formatting tokens instead of facts.
The edit layer therefore stores records with:
- Subject tokens that must appear verbatim in the last 64 tokens (with and without leading space rules).
- A key hidden state captured when the fact was learned.
- Answer tokens emitted by logit boosts about 1.5 above the running argmax until the answer ends.
At ~12 ms per fact on T4 in their table, the path targets live FAQ updates and support macros, not nightly finetune jobs.
Compare LoRA on the same chart: 36.3% recall at best on edits with perplexity exploding past 1,000 in their experiment. That is the practical gap enterprises feel when support teams need same-day policy changes.
Scaling law footnote and what not to overclaim
Kim cites Kaplan et al. to argue tables deliver ~1.5× effective parameter scaling on perplexity. That is a useful intuition for budgeting whether tables beat widening the net.
It is not a guarantee on your domain text. Legal, medical, and code corpora shift n-gram utility wildly.
Treat 46.4 versus 52.1 perplexity as FineWeb-Edu holdout under their harness, not your customer chat logs.
Security and governance of editable records
Because records are plain data, anyone with host access can insert malicious answers that fire on cosine similarity triggers. Treat the edit layer like production config:
- Sign record batches in CI.
- Audit who added records.
- Rate-limit runtime insertion in serving binaries.
- Separate read-only inference images from edit-capable admin nodes.
Agent systems that auto-write records need policy gates — the same class of control as Project Iris cyber probes for misuse paths.
Hardware footprint reality
7.96 GiB tables plus a 103M-parameter net is small by frontier standards but not tiny by mobile standards. The story targets single-GPU research and edge servers, not on-device phone models without quantization work.
If you already run gguf tiny models, this architecture is complementary research, not a drop-in replacement.
When to choose wtable versus RAG versus full finetune
| Need | wtable angle | Simpler alternative |
|---|---|---|
| Frequent fact swaps | Edit layer | Vector RAG with citations |
| Static encyclopedia | Frozen tables | Bigger pretrained LM |
| Custom style | 103M net tuning | LoRA on generative model |
| Provable fact audit | Records list | Knowledge graph plus rules |
Pick wtable when table compression wins on perplexity per watt and you need non-destructive edits. Pick RAG when provenance strings must appear in answers for compliance.
Reproducing Kim''s numbers on your hardware
The demo cites one GPU and 10B training tokens for the neural half. Before you trust headlines:
- Clone the repo and confirm table build completes without OOM.
- Log wall time for compiler plus train, not only inference.
- Run WikiBigEdit or your own edit suite with paraphrases users actually type.
- Compare edit layer against a small LoRA you train with the same budget.
HN thread 50699217 will accumulate replication notes; treat commenter claims as hypotheses until logs land on GitHub.
Preprint metadata on doi.org/10.20944/preprints202611.3172.v1 lists Youngseong Kim as author and ties the work to November 2026 submission timing. Cite the preprint and GitHub together when you blog your own replication; do not treat the landing page alone as peer review.
Training teams: vocabulary to use with leadership
When you explain wtable-lm to a non-technical exec, use three phrases they will remember:
Compiler-authored weights means the expensive bytes come from counting corpus statistics, not from months of GPU pretraining.
Small trainable brain on top means you still need gradient steps, but only on 103M parameters, which keeps fine-tune cost in single-GPU territory.
Edit layer without finetune means support and policy teams can ship new facts same day if your governance allows signed record inserts.
That framing connects to corporate AI training when you need leaders to fund eval and retrieval work instead of bigger chat licenses alone.
Related reading
- Weight-space programming with GPT-6 Astra
- WSP without transformers (POSTECH)
- Tree-Ising bit-level LLM repair
- geohot on models exceeding him
- TensorFold local inference
Sources: weights-as-code.pages.dev; github.com/Kim-Ai-gpu/wtable-lm; preprint doi 10.20944/preprints202611.3172.v1; Hacker News item 50699217.
