Los puntos clave no están disponibles para este artículo en este momento.
Multi-head attention is appealing for the ability to jointly attend to information from different representation subspaces at different positions. In this work, we introduce a disagreement regularization to explicitly encourage the diversity among multiple attention heads. Specifically, we propose three types of disagreement regularization, which respectively encourage the subspace, the attended positions, and the output representation associated with each attention head to be different from other heads. Experimental results on widely-used WMT14 EnglishGerman and WMT17 ChineseEnglish translation tasks demonstrate the effectiveness and universality of the proposed approach.
Li et al. (Mon,) studied this question.