Mechanism◆Article
Gemma 4's E2B and E4B models share KV cache tensors across layers, cutting KV cache memory by roughly half in long-context settings.
Sebastian Raschka · Ahead of AI
PLE is a separate efficiency trick from KV-sharing: it stores extra per-layer, per-token embedding capacity that is cheap to look up, letting Gemma 4's 'E' models have more effective capacity than their 'active' parameter count suggests. ✦ AI generated
Sebastian Raschka · Ahead of AI · 2026-05-16 · original ↗
The PLE design keeps the expensive transformer blocks closer to the smaller "effective" size, while storing additional capacity in per-layer embedding tables. These are much cheaper to use than adding more attention or FFN weights, since they are mainly lookup-style parameters that can be cached.
Read full article ↗excerpt · fair-use quotation