Research map / Architectures and efficiency / Attention and transformers
MLKV: Multi-Layer Key-Value Heads for Memory Efficient Transformer Decoding
Zayd Muhammad Kawakibi Zuhri, Muhammad Farid Adilazuarda, Ayu Purwarianti, Alham Fikri Aji
Institut Teknologi Bandung · MBZUAI
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- LAMBADA leaderboard accuracy 26.18 · rank 36 of 39 papers
- SciQ leaderboard accuracy 70.3 · rank 28 of 32 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Share KV heads across layers (MLKV-48) instead of within layer (GQA-48), same 48 KV heads (ablation) | Pythia-160M uptrained · Average of 4 benchmarks | accuracy: 50.17 -> 49.29 | Hurt |
| Use MLKV-12 instead of MQA-12 at same KV head count (ablation) | Pythia-160M uptrained · Average of 4 benchmarks | accuracy: 49.43 -> 48.78 | Hurt |
| Reduce total KV heads from 6 to 1 (MLKV-6 to MLKV-1) (ablation) | Pythia-160M MLKV · LAMBADA | accuracy: 24.35 -> 8.56 | Hurt |
| Reduce total KV heads from 6 to 2 (MLKV-6 to MLKV-2) (ablation) | Pythia-160M MLKV · Average of 4 benchmarks | accuracy: 49.06 -> 46.78 | Hurt |
| Share KV across layers to half the layers (MLKV-12, mg=l/2) vs MQA-24 (ablation) | Pythia-410M uptrained · Average of 4 benchmarks | accuracy: 54.76 -> 54.02 | Hurt |
| Share KV across layers to a third of the layers (MLKV-8) vs MQA-24 (ablation) | Pythia-410M uptrained · Average of 4 benchmarks | accuracy: 54.76 -> 53.21 | Hurt |
| Use MLKV KV sharing instead of MHA | Pythia-160M · Max batch size at inference (memory) | max batch size: 48 -> 940 (MLKV-2), 1100 (MLKV-1) | Improved |
| Use MLKV KV sharing for decoding speed | Pythia-160M · Throughput at batch size 8 | tokens/second | No clear effect |
Open problems this paper states
- “Experiments are small scale, with 160 million and 410 million parameter models, and billion-parameter scale is untested.” → Tested on models of about 8B parameters or fewer. (an open problem in KV cache eviction and compression)
Open problems in KV cache eviction and compression
Does KV cache compression keep accuracy at tight budgets, larger scale and long context in real serving?
- Tested on models of about 8B parameters or fewer. · 26 papers state it
- Budgets and thresholds are set by hand or tuned per task or model. · 21 papers state it
- Implementations are unoptimized, so end-to-end speedups are unproven. · 18 papers state it
Closest papers by meaning
- Reducing Transformer Key-Value Cache Size with Cross-Layer Attention (NeurIPS 2024 · similarity 0.90)
- Improving Model Representation and Reducing KV Cache via Skip Connections with First Value Heads (NeurIPS 2025 · similarity 0.89)
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024 · similarity 0.87)
- Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformers (NeurIPS 2025 · similarity 0.87)
- Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inference (ICML 2024 · similarity 0.87)
- Distilling Sequential Computation in Transformer Language Models (NeurIPS 2026 · similarity 0.87)
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.