Research map / Architectures and efficiency / Attention and transformers
Repulsive Attention: Rethinking Multi-head Attention as Bayesian Inference
Bang An, Jie Lyu, Zhenyi Wang, Chunyuan Li, Changwei Hu, Fei Tan, Ruiyi Zhang, Yifan Hu, Changyou Chen
Microsoft · State University of New York at Buffalo · Duke University · Yahoo Research
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
- WMT14 En-De leaderboard BLEU 28.4 · rank 49 of 112 papers
- IWSLT14 De-En leaderboard BLEU 35.2 · rank 36 of 72 papers
- Yelp leaderboard accuracy 71.7 · rank 27 of 40 papers
- SNLI leaderboard accuracy 84.76 · rank 45 of 59 papers
- GLUE CoLA leaderboard Matthews correlation 59.4 · rank 11 of 13 papers
This paper tried a common change: More attention heads
increase number of heads beyond optimum · Yelp / IWSLT14 De-En · test error / NLL Hurt
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 |
|---|---|---|---|
| add repulsive multi-head attention (SVGD/SPOS) | BiLSTM self-attentive classifier · Yelp | accuracy (%): 69.3 -> 71.7 (SPOS) | Improved |
| add repulsive multi-head attention (SVGD/SPOS) | BiLSTM self-attentive classifier · Age | accuracy (%): 81.47 -> 82.55 (SPOS) | Improved |
| add Frobenius regularization instead of repulsive attention | BiLSTM + MA · Age | accuracy (%): 81.47 -> 81.30 | Hurt |
| add repulsive multi-head attention | Transformer-small · IWSLT14 De-En | BLEU: 34.4 -> 35.2 | Improved |
| add repulsive multi-head attention | Transformer-base · WMT14 En-De | BLEU: 27.3 -> 28.4 | Improved |
| add repulsive attention in pre-training only | ELECTRA-small · GLUE test | average score: 80.0 -> 80.3 | Improved |
| add repulsive attention in pre-training only | ELECTRA-small · GLUE SST | accuracy: 88.3 -> 87.1 | Hurt |
| add repulsive attention | GraphWriter · AGENDA test | BLEU-4: 13.75 -> 15.12 | Improved |
| diversify only the first layer instead of all layers (ablation) | Transformer-small-RMA · IWSLT14 De-En | BLEU: 35.2 -> 35.1 | No clear effect |
| replace SVGD with SGLD sampling (ablation) | BiLSTM / Transformer-small · Yelp | accuracy (%): 71.2 -> 70.1 | Hurt |
| use Gaussian prior instead of uniform prior (ablation) | RMA (SVGD) · Age/Yelp/SNLI | accuracy (%): Age 81.82 -> 81.88; Yelp 71.7 -> 71.6; SNLI 84.58 -> 84.28 | No clear effect |
| correct gradient and add smoothing to cosine regularization (ablation) | cosine similarity regularization · Yelp | accuracy (%): 68.50 -> 71.50 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- ELECTRA — ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators (ICLR 2020) · better on 3 of 4 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Closest papers by meaning
- MoH: Multi-Head Attention as Mixture-of-Head Attention (ICML 2025 · similarity 0.88)
- Head Pursuit: Probing Attention Specialization in Multimodal Transformers (NeurIPS 2025 · similarity 0.87)
- Phase Transitions in Attention: A Bayesian Theory of Copy Head Emergence (NeurIPS 2026 · similarity 0.87)
- Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibration (ICML 2024 · similarity 0.86)
- Unveiling Visual Perception in Language Models: An Attention Head Analysis Approach (CVPR 2025 · similarity 0.86)
- In-Context Linear Regression Demystified: Training Dynamics and Mechanistic Interpretability of Multi-Head Softmax Attention (ICML 2025 · similarity 0.86)
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.
