One wasted vector dominates cached keys in LLMs, a preprint says
In short
- A preprint (not yet peer reviewed) from Brown University and Google Research says most of the energy in an LLM's cached keys is one positional vector per attention head, and that it wastes about 5 dB of precision, nearly one bit, when keys are stored in 4 bits.
- On Qwen3-4B at 32K tokens, plain NVFP4 keys drop the RULER score from 92.6 to 79.4. The authors' CarrierKV design, at the same cache size, scores 91.1.
- The authors report a 1.8 to 5.9 times smaller 32K perplexity increase than NVFP4 on four models, for 2.9% more chip area and 0.12% more energy in their hardware model.
79.4 → 91.1 RULER at 32K, Qwen3-4B, same cache size; about 5 dB signal lost to the carrier, nearly one bit; 1.8 to 5.9× smaller perplexity increase than NVFP4; +2.9% chip area added, per the authors
The problem: the cache is what the chip reads
On a phone or an embedded board, a language model generates one token at a time, and each token has to read every weight and the whole key-value (KV) cache from DRAM. The authors give a Qwen3-4B example: at 32K tokens the BF16 cache is 4.8 GB, about 70% of the bytes read per token when the weights are stored in 4 bits.
Storing the cache in a 4-bit format such as NVFP4 shrinks it by 3.6 times, but accuracy suffers. On Qwen3-4B, NVFP4 keys lower the 32K RULER score (seven long-context tasks) from 92.6 to 79.4. Adding a Hadamard rotation, a common fix, lowers it further to 57.7.
The finding: most of a key is a repeated vector
The authors, Junyi Luo, Xinting Jiang, Ruichen Qi, Gregory Kielian, Quan Cheng and Mehdi Saligane, looked at the keys before rotary position embedding (RoPE) is applied. Each key there is a constant vector per head plus a content residual. RoPE then rotates that constant with token position, which the paper calls the positional carrier. It holds 61% to 73% of the key energy.
NVFP4 shares one scale among 16 values, and the scale follows the largest value. According to the paper, the carrier sets the scale of most key blocks, so the actual content occupies only a few of the 16 levels of the 4-bit grid. That costs about 5 dB of signal-to-quantization-noise ratio, nearly one bit.
The authors say earlier fixes miss this. Subtracting a fixed vector after RoPE removes only the static part of the carrier, because the rest rotates with position. A Hadamard rotation spreads a dominant component across all blocks instead of removing it. In the first layers of Qwen3 the carrier dominates, which the authors give as the reason for the drop to 57.7.
The fix: remove it, then regenerate its effect
CarrierKV (our summary of the method) works in three steps:
- Before RoPE, subtract one stored vector per KV head, the carrier, from each key.
- Rotate and quantize only the residual to NVFP4; the attention score is computed directly on the 4-bit codes.
- Add back the carrier's contribution to each score. This term depends only on the query and the position, so a "positional phase engine" generates it on chip, one key per cycle, as keys stream from DRAM.
The carrier is not just noise: the paper shows it acts as a positional bias that gives a trained model its preference for nearby keys, so it cannot be simply dropped.
Results, as the authors report them
Accuracy was measured in software on four NVIDIA H100 GPUs, simulating the accelerator's number formats, across four models from three families. Numbers below are for Qwen3-4B at 32K unless stated.
- The hardest multi-key subtask, MK3, rises from 43 to 79 (reference 87).
- The 32K perplexity increase on PG19 falls by 1.8 to 5.9 times against NVFP4, and the authors say CarrierKV beats SageAttention and P3-LLM on all four models. On Llama-3.2-3B, P3-LLM has a slightly lower 4K perplexity increase (0.348 against 0.349).
- With thinking on, Qwen3-8B scores an average of 52.6 on reasoning benchmarks, against 51.1 for NVFP4 (BF16: 54.6).
- Applied to 3-bit TurboQuant keys, the decomposition cuts the 32K perplexity increase on Qwen3-4B from 69.7 to 0.76.
What it costs in hardware
In a 22 nm FDSOI process at 600 MHz, the authors say the added hardware raises the area of the NVFP4 accelerator from 4.945 to 5.087 mm² (+2.9%). Energy for a 20K-token reasoning request on Qwen3-4B rises 0.12% (86.595 to 86.700 mJ per token), with the same decode latency. DRAM accounts for 96% of that energy.
Against FP8 keys, which the authors find similar on accuracy (RULER 91.1 against 89.3), they report 13.7% less energy per decode step and a 1.16 times speed-up at 32K on Qwen3-4B, and 1.28 times faster with 22.2% less energy at 128K.
All results are the authors' own, from a preprint. Accuracy is simulated in software, and the hardware figures are from the authors' design flow, not a published chip measurement. The gain is not universal: with 3-bit TurboQuant keys on Llama-3.2-3B, the 32K perplexity increase went from 1.89 untreated to 1.93 with the decomposition, so no improvement there.
Terms in plain English
- KV cache: the stored keys and values of every earlier token, re-read for each new token (our wording).
- NVFP4: a 4-bit number format where each group of 16 values shares one scale.
- RoPE: rotary position embedding, which encodes a token's position by rotating pairs of key numbers by an angle that grows with position.
- dB (signal-to-quantization-noise): how far the useful signal stands above rounding error; the paper treats about 6 dB as one bit, so 5 dB is nearly one bit (our gloss).
- RULER: a long-context benchmark; the paper uses seven of its 13 subtasks at 32K tokens.
Where things stand
This is a v1 preprint, submitted on 19 November 2026 and not peer reviewed. The authors thank Google Cloud, Google Research and GlobalFoundries for compute and technology access. We did not check any code release.
Sources
- CarrierKV: An Edge LLM Accelerator with Positional Carrier Decomposition for Low-Bit KV Cache, arXiv, 19 November 2026
Sources
Related stories
- ggml-org opens a dashboard tracking llama.cpp speed on AMD GPUs
- Tesla's FSD v15 Reality View is drawn live by an in-car AI model
- Bharat Semi raises $24 million for image sensors that run AI
- Belfort releases BlindSight, an open demo for encrypted video
- DeepSeek releases V4.1-Flash, an open multimodal model
- OneTriangle says a small model can read prompts for a big one
More from Tiny Chip Club
- Photonic chips can serve as unclonable fingerprints, authors say
- Preferred Networks plans an AI inference chip stacked on DRAM
- NVIDIA announces Rubin HPC, a GPU for scientific simulation
- Intel Foundry releases its 14A design kit 0.9 to customers
- GlobalFoundries unveils FDX Fusion, a chip platform for robots