Section 01 · GGF-19
Why 20.5B Engram Parameters Read Kilobytes Instead of Gigabytes per Token
Parameter-Lookup Embeddings behave like hash-indexed memory tables rather than dense matrix multiplications.
In conventional transformer feed-forward layers, activating a parameter requires multiplying an entire matrix row-by-row across the hidden dimension, streaming megabytes or gigabytes across DRAM on every forward step. Qwen 4’s 20.5B Parameter-Lookup Embedding (PLE) Engram takes a fundamentally different approach: n-gram and lexical token IDs hash directly into deterministic row indices inside the Engram embedding matrix.
Because looking up one or a few embedding vectors of hidden dimension d (for example, 2,048–4,096 elements × 1–2 bytes) transfers roughly ~8 KB to 64 KB per generated token, the Engram table has virtually zero bandwidth pressure. Placing 11.57–38.20 GiB of sparse Engram lookup weights inside precious 24 GB or 32 GB GPU VRAM wastes nearly half the card on cold memory rows that are untouched 99.99% of the time.
Consider the quantitative bandwidth contrast: an active token inside the 35B MoE backbone multiplies 8+1 experts plus 40 attention/DeltaNet layers totaling 2.45–4.60 GB of tensor reads, whereas the 20.5B Engram lookup fetches ~32 KB of sparse embedding rows—a 100,000-to-1 ratio in bus traffic per token!
Engram_PCIe_Time = 32 KB / 25,000,000 KB/s (PCIe 4.0 x16) ≈ 1.28 microseconds/tok (<0.1% of decode latency)