Los puntos clave no están disponibles para este artículo en este momento.
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 in the encoder to the overall performance of the model and analyze the roles played by them. 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 L 0 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. 1
Building similarity graph...
Analyzing shared references across papers
Loading...
Elena Voita
David Talbot
Fédor Moiseev
University of Edinburgh
University of Amsterdam
University of Zurich
Building similarity graph...
Analyzing shared references across papers
Loading...
Voita et al. (Tue,) studied this question.
www.synapsesocial.com/papers/69da17fb8988aeabbe68670f — DOI: https://doi.org/10.18653/v1/p19-1580