# Extreme Compression of Per-Layer Embeddings via Cross-Layer Latent Vector Quantization

DevFeed: [Extreme Compression of Per-Layer Embeddings via Cross-Layer Latent Vector Quantization](<https://devfeed.tech/articles/extreme-compression-of-per-layer-embeddings-via-cross-layer-latent-vector-quantization-97047.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.31309>)

Author: Jiacheng Liu, Yaxin Luo, Xiaohan Zhao, Peng Sun, Xinyi Shang, Jiacheng Cui, Yonina C. Eldar, Zhiqiang Shen

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [quantization](<https://devfeed.tech/topics/quantization.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cache](<https://devfeed.tech/tags/cache.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [code](<https://devfeed.tech/tags/code.md>), [compression](<https://devfeed.tech/tags/compression.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decoder](<https://devfeed.tech/tags/decoder.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [gemma](<https://devfeed.tech/tags/gemma.md>), [gemma-4](<https://devfeed.tech/tags/gemma-4.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [gpu-memory](<https://devfeed.tech/tags/gpu-memory.md>), [inference](<https://devfeed.tech/tags/inference.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [language](<https://devfeed.tech/tags/language.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [layer](<https://devfeed.tech/tags/layer.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [vector](<https://devfeed.tech/tags/vector.md>)

## AI overview

OPTIC compresses Per-Layer Embeddings (PLE) by storing one quantized code tuple per token and decoding it at each layer with a layer-specific affine decoder. The codes and decoders are fitted to the PLE output path. At about 100x compression of BF16 Gemma 4 E4B PLE, OPTIC retains 97.8% of aggregate performance across seven benchmarks, compared with 66.3% for product quantization, the strongest of six conventional baselines. It retains 90.5% and 84.1% at 594x and 1,002x compression, respectively, and 96.9% on the official W4A16 E4B release at about 100x. In inference at that compression, BF16 E4B uses 29.7% less GPU memory at the same key-value cache size and runs at most 0.40% slower.

## Source excerpt

arXiv:2610.31309v1 Announce Type: new Abstract: Scaling embedding capacity alongside Transformer computation is an emerging trend in language models. This trend makes high compression rates increasingly useful. Hence, we study extreme compression of Per-Layer Embeddings (PLE), which follow this trend and account for 35.2% of the parameters of Gemma 4 E4B. At such rates, conventional quantizers give each token-layer vector its own code of only a few bytes. We instead develop OPTIC (Output-Path-fitted, Token-shared Indexed Codes), which stores one quantized code tuple per token and decodes it at every layer with a layer-specific affine decoder. Codes and decoders are fitted to the PLE output path rather than to the stored vectors. At about $100\times$ PLE compression of bfloat16 (BF16) E4B, OPTIC retains an aggregate 97.8% of the uncompressed model's performance across seven benchmarks, whereas product quantization, the strongest of six conventional baselines, retains 66.3%. At $594\times$ and $1,002\times$ PLE compression of BF16 E4B, OPTIC retains 90.5% and 84.1%. On the official E4B release with 4-bit linear weights and 16-bit activations (W4A16), OPTIC retains 96.9% at about $100\times$ PLE compression. During inference at about $100\times$ PLE compression, BF16 E4B uses 29.7% less GPU memory than with uncompressed PLE at the same key-value cache size, while running at most 0.40% slower.