Research map / Architectures and efficiency / Attention and transformers
Linearizing Transformer with Key-Value Memory
Yizhe Zhang, Deng Cai
Meta · The Chinese University of Hong Kong
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
- WikiText-103 leaderboard perplexity 20.8 · rank 46 of 100 papers
- XSum leaderboard ROUGE-1 32.3 · rank 45 of 56 papers
- CNN/DailyMail leaderboard ROUGE-1 36.3 · rank 46 of 47 papers
This paper tried a common change: More attention heads
increase number of attention heads r · WikiText-103 · test perplexity Improved
What 119 accepted papers report for this change
- 68 improved
- 15 no clear effect
- 13 mixed
- 23 hurt
- Universal Approximation with Softmax Attention ICML 2026 · increase the number of attention heads H · synthetic truncated linear model (d=10, n=50) · test MSEImproved
- TCAP: Tri-Component Attention Profiling for Unsupervised Backdoor Detection in MLLM Fine-Tuning ICML 2026 · raise number of heads from 10 to 14 · ScienceQA SIG detection · F1: 89.74 -> 77.09Hurt
- Efficient Neural Controlled Differential Equations via Attentive Kernel Smoothing ICML 2026 · increase number of attention heads from 1 to 8 · UEA classification (3 datasets) · error rate: error rates reduced as M increases from 1 to 8; plateau around M = 4 for GPImproved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use MemSizer instead of T2R | linear transformer · MT En-Fr test | BLEU: 39.8 -> 42.4 | Improved |
| use MemSizer instead of vanilla transformer | Transformer · MT En-De test | BLEU: 28.9 -> 28.4 | Hurt |
| use MemSizer instead of vanilla transformer | Transformer · MT Zh-En test | BLEU: 24.2 -> 24.5 | Improved |
| use MemSizer instead of vanilla transformer | Transformer · XSUM test | ROUGE-1: 31.8 -> 32.3 | Improved |
| use MemSizer instead of vanilla transformer | Transformer · CNN/DailyMail test | ROUGE-1: 39.1 -> 36.3 | Hurt |
| use MemSizer instead of vanilla transformer | Transformer · WikiText-103 test | perplexity: 18.5 -> 20.8 | Hurt |
| use MemSizer instead of T2R | linear transformer · WikiText-103 test | perplexity: 20.8 -> 20.8 | No clear effect |
| use MemSizer instead of vanilla transformer | Transformer · XSUM test | speed / memory: 338.6 -> 412.3 tokens/s; 23.4G -> 5.9G | Improved |
| freeze keys K at random Xavier init (ablation) | MemSizer · WikiText-103 test | perplexity: 20.8 -> 21.3 | Hurt |
| freeze keys K at random Xavier init (ablation) | MemSizer · MT En-De test | BLEU: 28.4 -> 27.8 | Hurt |
| increase number of memory slots k (ablation) | MemSizer · WikiText-103 | perplexity | Improved |
| increase number of memory slots k (ablation) | MemSizer · WikiText-103 | inference time/memory | No clear effect |
Closest papers by meaning
- MemoryFormer : Minimize Transformer Computation by Removing Fully-Connected Layers (NeurIPS 2024 · similarity 0.87)
- Understanding the Expressive Power and Mechanisms of Transformer for Sequence Modeling (NeurIPS 2024 · similarity 0.87)
- Approximation Rate of the Transformer Architecture for Sequence Modeling (NeurIPS 2024 · similarity 0.86)
- Do Efficient Transformers Really Save Computation? (ICML 2024 · similarity 0.86)
- Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory (AAAI 2024 · similarity 0.85)
- Memory-Augmenting Decoder-Only Language Models through Encoders (Student Abstract) (AAAI 2024 · similarity 0.85)
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.
