LowRAM: composable KV cache compression with low-rank keys and amortised values
The LowRAM paper finds that, within each attention head, values are largely predictable from keys, and fits a lightweight per-head predictor at test time for about 4x near-lossless value compression. Paired with cross-layer low-rank key compression, it…
Why it matters
KV cache memory is the main limit on long-context serving, and composable methods translate directly into cheaper inference.
What happened
1 min readThe LowRAM paper finds that, within each attention head, values are largely predictable from keys, and fits a lightweight per-head predictor at test time for about 4x near-lossless value compression. Paired with cross-layer low-rank key compression, it reports up to 5x higher peak decode throughput at 4x compression, and 26.9x compression at 94.5% of baseline when combined with quantisation and eviction.
Our analysis
The key idea is treating keys and values asymmetrically, whereas most methods (quantisation, eviction, layer sharing) treat them alike. Composability with existing methods is the attractive part, but all numbers are the authors' own. Prefill overhead of fitting the predictor and integration into vLLM or SGLang remain open questions. Worth tracking for serving-infrastructure teams.