Research map / Architectures and efficiency / Attention and transformers
Improving Transformers with Probabilistic Attention Keys
Tam Minh Nguyen, Tan Minh Nguyen, Dung D. D. Le, Duy Khuong Nguyen, Viet-Anh Tran, Richard Baraniuk, Nhat Ho, Stanley Osher
FPT Software AI Center · University of California, Los Angeles · VinUniversity · Deezer Research · Rice University · University of Texas at Austin
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 PPL 28.86 · rank 16 of 18 papers
- LRA Retrieval leaderboard accuracy 82.79 · rank 23 of 36 papers
- LRA average leaderboard accuracy 61.85 · rank 23 of 34 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Replace ordinary attention keys with Gaussian-mixture keys using half as many heads | Softmax transformer · LRA Retrieval | test accuracy (%): 81.74 -> 82.23 | Improved |
| Use shifted mixture keys instead of ordinary mixture keys | MGK · LRA Retrieval | test accuracy (%): 82.23 -> 82.79 | Improved |
| Replace linear-transformer keys with a mixture of linear keys using half as many heads | Linear transformer · LRA Retrieval | test accuracy (%): 81.18 -> 81.34 | Improved |
| Replace softmax keys with Gaussian-mixture keys using half as many heads | Softmax transformer (medium) · WikiText-103 test | PPL: 29.60 -> 28.86 | Improved |
| Add mixture keys while keeping dot-product attention (ablation) | One-head softmax transformer · LRA Retrieval | test accuracy (%): 77.90 -> 79.23 | Improved |
| Use Gaussian distance rather than dot product for mixture-key attention (ablation) | One-head Softmax MGK · LRA Retrieval | test accuracy (%): 79.23 -> 80.63 | Improved |
| Add key shifting to Gaussian MGK (ablation) | One-head Gaussian MGK · LRA Retrieval | test accuracy (%): 80.63 -> 81.23 | Improved |
| Vary the second mixture component's fixed variance across tested values (ablation) | MGK · IWSLT'14 German-English | BLEU: 34.31, 34.36, 34.61, 34.34, 34.27 | No clear effect |
| Make the mixture variances learnable instead of fixing them (ablation) | MGK · IWSLT'14 German-English | BLEU: 32.86 | Hurt |
| Use hard E-step inference instead of the default learned soft E-step (ablation) | MGK · LRA ListOps | test accuracy (%): 37.13 -> 19.40 | Hurt |
| Use hard E-step inference instead of the default learned soft E-step (ablation) | sMGK · LRA ListOps | test accuracy (%): 37.31 -> 37.25 | No clear effect |
| Use shifted mixture keys instead of unshifted mixture keys (ablation) | MGK · LRA Retrieval | test accuracy (%): 80.63 -> 81.23 | Improved |
Open problems in linear attention approximations
Can linear attention match softmax attention on retrieval and at larger scale, with real speedups?
- Not tested on models beyond a few billion parameters. · 17 papers state it
- Wall-clock speedups are missing for lack of optimized kernels. · 9 papers state it
- Retrieval and copy tasks remain weaker than with full attention. · 5 papers state it
Closest papers by meaning
- Theory, Analysis, and Best Practices for Sigmoid Self-Attention (ICLR 2025 · similarity 0.88)
- Mixture-of-Top-k Attention: Efficient Attention as Scalable Fast Weights (NeurIPS 2026 · similarity 0.88)
- SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention (NeurIPS 2024 · similarity 0.88)
- Memorization Capacity of Multi-Head Attention in Transformers (ICLR 2024 · similarity 0.88)
- LASER: Attention with Exponential Transformation (ICML 2025 · similarity 0.87)
- No Head Left Behind – Multi-Head Alignment Distillation for Transformers (AAAI 2024 · 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.