atlas

Research map / Architectures and efficiency / Quantization

Lexico: Extreme KV Cache Compression via Sparse Coding over Universal Dictionaries

ICML 2025 · Architectures and efficiency › Quantization · approach: KV cache quantization · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Lexico compresses LLM KV caches by sparse-coding each key/value vector over a small universal dictionary (N=1024–4096 atoms) trained once on WikiText-103, using OMP and 8-bit sparse coefficients.

Problem

KV cache memory grows with context length and limits LLM serving; existing post-training methods (token eviction, 2–4 bit quantization) either fail on long-context tasks or cannot reach very low memory budgets below about 2 bits.

Approach

Approximate each key and value vector as a sparse linear combination of atoms from a small, input-agnostic, per-layer universal dictionary learned by gradient descent with OMP as the encoder; sparsity directly controls the compression ratio, and coefficients are stored in CSR form with FP8 values.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Lexico instead of KIVI-2 at similar cache sizeKV cache compression · GSM8K, Llama-3-8BAccuracy: +8.2%pHelped
Use Lexico instead of KIVI-2 at similar cache sizeKV cache compression · GSM8K, Llama-3.1-8B-InstructAccuracy: +7.1%pHelped
Use Lexico instead of KIVI-4 at comparable cache sizeKV cache compression · GSM8K, Llama 8B modelsAccuracy: less than 3%pHurt
Use Lexico instead of KIVI at similar cache budgetsKV cache compression · LongBench, Llama-3.1-8B-InstructAverage: 49.78 -> 49.95Helped
Early terminate OMP using a higher reconstruction-error threshold (ablation)Lexico · LongBench averageAverage: 50.26 -> 49.63; 50.26 -> 48.90; 50.26 -> 47.73; 50.26 -> 44.33Hurt
Allocate memory to sparse representation and buffer at task-specific balance (ablation)Lexico · Qasper, MultiNews, and TRECTask metric: 6.38 -> 17.84; 17.20 -> 22.81; 58.5 -> 65.0Mixed
Remove the full-precision recent-token buffer (ablation)Lexico · GSM8K, Llama-3.1-8B-Instruct and Mistral-7B-Instruct-v0.3Accuracy: 79.61 -> 1.97; 48.60 -> 1.29Hurt
Add input-specific dictionary atoms during generation (ablation)Lexico · GSM8K, Llama-3.1-8B-Instruct and Mistral-7B-Instruct-v0.3Score: +4.5%p; +2.1%pHelped

Surprising findings

Limitations

Experimental setup

Datasets: WikiText-103

Benchmarks: LongBench GSM8K MMLU-Pro Engineering MMLU-Pro Law

Metrics: accuracy F1 ROUGE-L edit similarity relative reconstruction error KV cache size percentage

Baselines: KIVI-4 KIVI-2 ZipCache SnapKV PyramidKV per-token quantization Sparse Autoencoder

Builds on: KIVI OMP SnapKV PyramidKV

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy