Multi-Head Attention with Disagreement Regularization
About
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 English-German and WMT17 Chinese-English translation tasks demonstrate the effectiveness and universality of the proposed approach.
Jian Li, Zhaopeng Tu, Baosong Yang, Michael R. Lyu, Tong Zhang• 2018
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Knowledge | MMLU | Accuracy47.2 | 71 | |
| Hallucination Detection | HaluEval Dialogue latest (test) | Accuracy47.1 | 22 | |
| Knowledge Evaluation | Natural Questions (NQ) (Evaluation) | Accuracy6.3 | 22 | |
| Hallucination Detection | HalluQA | Accuracy39.1 | 10 | |
| Machine Translation | IWSLT | BLEU (de-en)34.7 | 8 | |
| Machine Translation | WMT | BLEU (en-de)27.3 | 8 | |
| Knowledge Evaluation | WikiText (eval) | BPB0.777 | 6 | |
| Knowledge Evaluation | Winogrande (Evaluation) | Accuracy58 | 6 | |
| Hallucination Detection | HaluEval Summarization | Accuracy45.8 | 6 | |
| Hallucination Detection | TruthfulQA MC2 | Accuracy39.9 | 6 |
Showing 10 of 15 rows