Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

OPTIC: ~100x compression of Per-Layer Embeddings in Gemma 4 E4B

Per-Layer Embeddings make up 35.2% of Gemma 4 E4B's parameters. OPTIC stores one quantized code per token and decodes it per layer with a layer-specific affine decoder. At about 100x PLE compression it retains 97.8% of performance (vs 66.3% for product…

Published Read the original
OPTIC: ~100x compression of Per-Layer Embeddings in Gemma 4 E4B

Why it matters

Meaningful memory savings for running small Gemma models on edge and mobile devices.

What happened

1 min read

Per-Layer Embeddings make up 35.2% of Gemma 4 E4B's parameters. OPTIC stores one quantized code per token and decodes it per layer with a layer-specific affine decoder. At about 100x PLE compression it retains 97.8% of performance (vs 66.3% for product quantization) and cuts GPU memory by 29.7% with at most 0.4% slowdown.

inscraper analysis

Our analysis

Results hold on the official W4A16 release, which makes it practical. It only applies to architectures with per-layer embeddings like Gemma's, and the abstract doesn't mention a code release.

More in Research