Alleviating the Inequality of Attention Heads for Neural Machine Translation
Abstract
A masking method called HeadMask is proposed to address the imbalance in training multi-head attention and reduce model dependence on specific heads, achieving translation improvements across multiple language pairs.
Recent studies show that the attention heads in Transformer are not equal. We relate this phenomenon to the imbalance training of multi-head attention and the model dependence on specific heads. To tackle this problem, we propose a simple masking method: HeadMask, in two specific ways. Experiments show that translation improvements are achieved on multiple language pairs. Subsequent empirical analyses also support our assumption and confirm the effectiveness of the method.
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper