explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • The core idea in one paragraph
  • Numbers on the demo page
  • Architecture: eighteen channels, one interface
  • Edit layer without destroying the model
  • How to try it
  • Limitations and honest gaps
  • Channel groups in plain language
  • Edit layer versus table writes: why Kim split them
  • Scaling law footnote and what not to overclaim
  • Security and governance of editable records
  • Hardware footprint reality
  • When to choose wtable versus RAG versus full finetune
  • Reproducing Kim''s numbers on your hardware
  • Training teams: vocabulary to use with leadership
  • Related reading
← Back to blog

explainx / blog

wtable-lm: Gemini Writes 97% of Initial LLM Weights as Code

Weight Space Programming, Open Source, Local AI, Research, Gemini

Part of AI Tools and Apps

Youngseong Kim's wtable-lm uses a Gemini 4 Neon compiler to turn corpus stats into 7.96 GiB frozen tables (97% of bytes), trains 103M params on top, and edits facts without gradients. HN and GitHub.

Nov 30, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
wtable-lm: Gemini Writes 97% of Initial LLM Weights as Code

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

350K+ Students Already Joined

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:

table · 3 cols
Metricwtable-lm claimBaseline without tables
Word-level perplexity (FineWeb-Edu holdout)46.452.1
Zero-shot mean accuracy lift (10 tasks)+1.2 pointsmatched 103M net
WikiBigEdit after 10k edits (EM)99.9% update questionsLoRA up to 36.3%
Per-fact edit time (T4)~12 msfinetune 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

  1. Clone github.com/Kim-Ai-gpu/wtable-lm and read setup in the README.
  2. Download or rebuild table artifacts per instructions; expect storage-heavy artifacts.
  3. Train or load the 103M network on one GPU as the preprint describes.
  4. Run perplexity on your own holdout text, not only FineWeb-Edu.
  5. 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

table · 3 cols
Needwtable angleSimpler alternative
Frequent fact swapsEdit layerVector RAG with citations
Static encyclopediaFrozen tablesBigger pretrained LM
Custom style103M net tuningLoRA on generative model
Provable fact auditRecords listKnowledge 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:

  1. Clone the repo and confirm table build completes without OOM.
  2. Log wall time for compiler plus train, not only inference.
  3. Run WikiBigEdit or your own edit suite with paraphrases users actually type.
  4. 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.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Share

Weight Space Programming
Workshops

Learn by building

Live, hands-on workshops on Claude, agents, and AI tooling — taught by practitioners, not slides.

Explore workshops →

Related posts

Jun 15, 2026

GPT-5.5, Claude Opus, Gemini vs Their Best Local Open-Source Alternatives (2026)

The open-source model landscape in 2026 has closed the frontier gap to single digits on most benchmarks. This guide matches each major closed-source model—GPT-5.5, Claude Opus 4.8, Claude Fable 5, Gemini 3.1 Pro, o3, GPT-4o—with its strongest open-weight local alternative, with real benchmark numbers, true cost comparisons, and honest notes on where proprietary models still hold an edge.

Dec 4, 2026

cell-llm: Bare-Metal SmolLM2 on a PlayStation 3 at 150+ tok/s

The cell-llm repo shows a 82 KB pure-C LLM engine that offloads matmuls to six PlayStation 3 Synergistic Processing Elements. README benchmarks claim about 150 tokens per second decode and a large lead over llama.cpp on the same hardware. This post explains what works today and what builders can learn.

Dec 4, 2026

Meta SARA and Lenz: facebookresearch Open Code for Agentic Bayesian Optimization

Meta AI research published the facebookresearch/sara repository with Lenz, a Bayesian optimization backend built for agentic callers, and SARA, a surrogate-augmented autoresearch agent. The README labels the drop a release candidate under internal review with reproduction notes under docs/reproduction.md.