PAPER DIGEST
Most Influential ACL 2019 Paper · 2026-03 edition

Analyzing Multi-Head Self-Attention: Specialized Heads Do The Heavy Lifting, The Rest Can Be Pruned

Elena Voita; David Talbot; Fedor Moiseev; Rico Sennrich; Ivan Titov,

Venue
Annual Meeting of the Association for Computational Linguistics (ACL) 2019
Recognition
Most Influential ACL 2019 Paper (Rank No. 10)
Edition
2026-03
Impact factor
8
Certificate ID
e8e8f15dd91f93ad

Abstract

Multi-head self-attention is a key component of the Transformer, a state-of-the-art architecture for neural machine translation. In this work we evaluate the contribution made by individual attention heads to the overall performance of the model and analyze the roles played by them in the encoder. We find that the most important and confident heads play consistent and often linguistically-interpretable roles. When pruning heads using a method based on stochastic gates and a differentiable relaxation of the L0 penalty, we observe that specialized heads are last to be pruned. Our novel pruning method removes the vast majority of heads without seriously affecting performance. For example, on the English-Russian WMT dataset, pruning 38 out of 48 encoder heads results in a drop of only 0.15 BLEU.

Download PDF certificate