Research map / Architectures and efficiency / Attention and transformers
Contributions of Transformer Attention Heads in Multi- and Cross-lingual Tasks
Weicheng Ma, Kai Zhang, Renze Lou, Lili Wang, Soroush Vosoughi
Dartmouth College · Tsinghua University · Zhejiang University City College
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 up to 12 lowest-ranked attention heads (gradient ranking) | mBERT and XLM-R · POS cross-lingual and multi-lingual | F1: avg +0.91 (mBERT), +1.78 (XLM-R) cross-lingual; +0.15, +0.17 multi-lingual | Improved |
| prune up to 12 lowest-ranked heads | mBERT and XLM-R · NER cross-lingual and multi-lingual | F1: avg +0.81 (mBERT), +1.08 (XLM-R) cross-lingual; +0.31, +0.67 multi-lingual | Improved |
| prune up to 12 lowest-ranked heads | mBERT and XLM-R · MultiAtis++ slot filling | slot F1 | Improved |
| prune the highest-ranked heads instead of lowest-ranked (ablation) | mBERT · NER and POS, EN source | F1: e.g. POS EN-JA -22.29 | Hurt |
| prune random heads instead of lowest-ranked (ablation) | mBERT · NER and POS, EN source | F1 | Hurt |
| use gradient-based head ranking instead of LRP (ablation) | head ranking method · NER, mBERT (preliminary) | avg F1 improvement: cross-lingual 0.69 -> 0.81; multi-lingual 0.24 -> 0.31 | Improved |
| prune heads under multi-source training | mBERT · NER and POS multi-source cross-lingual | F1: e.g. NER EN 60.77 -> 64.63 (EC) | Improved |
| EC heuristic (best single-language ranking) vs merged/summed ranking for multi-source pruning (ablation) | mBERT · multi-source NER/POS | F1 | Mixed |
| prune heads when target-language training data is small | mBERT · multi-lingual NER and POS, 10%-90% target data | F1 | Improved |
| relate pruning gains to language family or distance | pruned models · POS and NER | score improvement vs URIEL distance: Spearman rho 0.11, 0.12 (mBERT POS) | No clear effect |
Open problems in long-context KV and memory attention
How can long-context attention be made fast and small in memory without losing quality against full attention?
- Validated only on models up to about 13B parameters. · 8 papers state it
- Speedups are limited because the code is not fused or kernel-optimized. · 5 papers state it
- Compressed or sparse attention still trails full attention. · 4 papers state it
Closest papers by meaning
- On the weak link between importance and prunability of attention heads (EMNLP 2020 · similarity 0.92)
- Roles and Utilization of Attention Heads in Transformer-based Neural Language Models (ACL 2020 · similarity 0.92)
- The Heads Hypothesis: A Unifying Statistical Approach Towards Understanding Multi-Headed Attention in BERT (AAAI 2021 · similarity 0.91)
- Focusing on Language: Revealing and Exploiting Language Attention Heads in Multilingual Large Language Models (AAAI 2026 · similarity 0.91)
- Talking Heads: Understanding Inter-Layer Communication in Transformer Language Models (NeurIPS 2024 · similarity 0.88)
- Unveiling Visual Perception in Language Models: An Attention Head Analysis Approach (CVPR 2025 · similarity 0.88)
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.