scimeatlas

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

ACL 2021Architectures and efficiency › Attention and transformersapproach: Attention head and block redesignopen problems in this approach32 citations (OpenAlex)

State University of New York at Stony Brook

Read the paperPlace an idea next to itCheck your own paper ↗

6measured effects
1improved
2no clear effect
2hurt
1mixed

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 changedWhereMeasuredEffect
prune attention values below threshold before 3-bit log quantization (ablation)log quantization of attention · SQuAD v1.1 devaccuracy: 3-bit loses 0.8% (RoBERTa) and 1.5% (BERT) with pruningImproved
prune attention before linear quantization (ablation)linear quantization of attention · SQuAD v1.1 devExact MatchNo clear effect
induce ~80% attention sparsity by pruning small values at inference (ablation)BERT/RoBERTa · QA, SA, MLMaccuracy: 0.1%--1.3% drop at above 80% sparsityNo clear effect
increase induced sparsity (ablation)RoBERTa · SST-2 vs QAaccuracyHurt
vary pruning threshold (too large or too small) (ablation)2-bit log quantization with pruning · QA, SA, MLMaccuracy: best at alpha<1e-2; worse if >1e-2 or <1e-3Mixed
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.58Hurt

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?

All 5 open problems and what was already tried →

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