Zurich Open Repository and Archive (University of Zurich) · 2019 · 70 citations · 22 references
ComputingComputer ScienceComputational LinguisticsNatural Language ProcessingVisual AttentionAttention NetworksDeep LearningLanguage ModelingMachine TranslationAttentionAttention Head PruningAttention MechanismsNeural Machine TranslationPruningTransformer Language Models
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. 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. We find that the most important and confident heads play consistent and often linguistically‑interpretable roles, and our novel pruning method removes the vast majority of heads without seriously affecting performance, as shown by pruning 38 out of 48 encoder heads on the English‑Russian WMT dataset with only a 0.15 BLEU drop.
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.
22
The Stanford CoreNLP Natural Language Processing Toolkit
Christopher D. Manning, Mihai Surdeanu, John Bauer et al. · 2014 · 7.2K citations · Full text
Categorical Reparameterization with Gumbel-Softmax
Eric Jang, Shixiang Gu, Ben Poole · arXiv (Cornell University) · 2016 · 3.2K citations · Full text
Findings of the 2018 Conference on Machine Translation (WMT18)
Ondřej Bojar, Christian Federmann, Mark Fishel et al. · 2018 · 557 citations · Full text