Research map / Architectures and efficiency / Attention and transformers
On the Distribution, Sparsity, and Inference-time Quantization of Attention Values in Transformers
Tianchu Ji, Shraddhan Jain, Michael Ferdman, Peter Milder, H. Andrew Schwartz, Niranjan Balasubramanian
State University of New York at Stony Brook
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| prune attention values below threshold before 3-bit log quantization (ablation) | log quantization of attention · SQuAD v1.1 dev | accuracy: 3-bit loses 0.8% (RoBERTa) and 1.5% (BERT) with pruning | Improved |
| prune attention before linear quantization (ablation) | linear quantization of attention · SQuAD v1.1 dev | Exact Match | No clear effect |
| induce ~80% attention sparsity by pruning small values at inference (ablation) | BERT/RoBERTa · QA, SA, MLM | accuracy: 0.1%--1.3% drop at above 80% sparsity | No clear effect |
| increase induced sparsity (ablation) | RoBERTa · SST-2 vs QA | accuracy | Hurt |
| vary pruning threshold (too large or too small) (ablation) | 2-bit log quantization with pruning · QA, SA, MLM | accuracy: best at alpha<1e-2; worse if >1e-2 or <1e-3 | Mixed |
| prune before log quantization (effect on JS divergence) (ablation) | 3-bit log quantization · SQuAD Dev-1.1 (100 samples) | Jensen-Shannon divergence: 0.55 -> 0.58 | Hurt |
Open problems in attention head and block redesign
Do attention redesigns still help at large scale, or only in small models and carefully set conditions?
- Theory rests on simplifying assumptions that real transformers break. · 13 papers state it
- Tested only on small models, not at LLM scale. · 12 papers state it
- Gains over the baseline attention are small or mixed. · 10 papers state it
Closest papers by meaning
- Quantifying Attention Flow in Transformers (ACL 2020 · similarity 0.87)
- Spectral Conditioning of Attention Improves Transformer Performance (NeurIPS 2025 · similarity 0.86)
- Transformers Learn Faster with Semantic Focus (NeurIPS 2025 · similarity 0.85)
- Memorization Capacity of Multi-Head Attention in Transformers (ICLR 2024 · similarity 0.84)
- Linear Log-Normal Attention with Unbiased Concentration (ICLR 2024 · similarity 0.84)
- ZeroS: Zero‑Sum Linear Attention for Efficient Transformers (NeurIPS 2025 · similarity 0.83)
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.