scimeatlas

Research map / Architectures and efficiency / Attention and transformers

MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformers

Wenhui Wang, Hangbo Bao, Shaohan Huang, Li Dong, Furu Wei

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

Microsoft

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

12measured effects
9improved
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
add more self-attention relations (Q-K, K-Q, Q-V, V-Q, K-V, V-K) (ablation)6x768 student, BERT-LARGE teacher · SQuAD 2.0 devscore: 77.7 -> 78.1Improved
add more self-attention relations (ablation)6x384 student, BERT-LARGE teacher · SST-2 devaccuracy: 91.1 -> 92.4Improved
add more self-attention relations (ablation)6x768 student, RoBERTa-LARGE teacher · SQuAD 2.0 devscore: 81.6 -> 81.2Hurt
add more self-attention relations (ablation)6x768 student, RoBERTa-LARGE teacher · MNLI-m devaccuracy: 87.0 -> 87.3Improved
add more self-attention relations (ablation)12x384 student, BERT-LARGE-WWM teacher · GLUE avg (test)score: 79.9 -> 80.3Improved
use Q-Q, K-K and V-V relations rather than Q-K + V-V (ablation)MiniLMv2 · SQuAD 2.0, MNLI-m, SST-2 devscoreImproved
use an upper middle teacher layer instead of the last layer (ablation)6x384 student, BERT-LARGE / XLM-R-LARGE teacher · dev tasksscoreImproved
use last layer of teacher (ablation)6x384 student, BERT-BASE teacher · dev tasksscoreImproved
use a larger number of relation heads (ablation)6x384 student, BERT-BASE / RoBERTa-BASE teacher · dev tasksscoreImproved
distill from BERT-LARGE instead of BERT-BASE6x768 student · SQuAD 2.0 devscore: 76.3 -> 77.7Improved
fine-tune with MLM objective as in MobileBERTMiniLMv2 · CoLAMatthews corrMixed
compare MiniLMv2 12x384 to MobileBERTMiniLMv2 · CoLA (test)Matthews corr: 51.1 vs 44.9Hurt

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.

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.

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