Generating Diverse Translation by Manipulating Multi-Head Attention
Zewei Sun, Shujian Huang, Hao-Ran Wei, Xinyu Dai, Jiajun Chen
Abstract
Transformer model (Vaswani et al. 2017) has been widely used in machine translation tasks and obtained state-of-the-art results. In this paper, we report an interesting phenomenon in its encoder-decoder multi-head attention: different attention heads of the final decoder layer align to different word translation candidates. We empirically verify this discovery and propose a method to generate diverse translations by manipulating heads. Furthermore, we make use of these diverse translations with the back-translation technique for better data augmentation. Experiment results show that our method generates diverse translations without a severe drop in translation quality. Experiments also show that back-translation with these diverse translations could bring a significant improvement in performance on translation tasks. An auxiliary experiment of conversation response generation task proves the effect of diversity as well.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 33b303fa-b2dc-45cd-95dd-bf4d846cf104Cited by top-tier papers4
- Generating Diverse Translation from Model Distribution with DropoutXuanfu Wu, Yang Feng, Chenze ShaoEMNLP 2020 · 10 citations
- WeTS: A Benchmark for Translation SuggestionZhen Yang, Fandong Meng, Yingxue Zhang, Ernan Li et al.EMNLP 2022 · 5 citations
- EAG: Extract and Generate Multi-way Aligned Corpus for Complete Multi-lingual Neural Machine TranslationYulin Xu, Zhen Yang, Fandong Meng, Jie ZhouACL 2022 · 3 citations
- Evade the Trap of Mediocrity: Promoting Diversity and Novelty in Text Generation via Concentrating AttentionWenhao Li, Xiaoyuan Yi, Jinyi Hu, Maosong Sun et al.EMNLP 2022 · 1 citation
Related papers
- Data Diversification: A Simple Strategy For Neural Machine TranslationXuan-Phi Nguyen, Shafiq R. Joty, Kui Wu, Ai Ti AwNeurIPS 2020 · 75 citations
- Deep Transformers with Latent DepthXian Li, Asa Cooper Stickland, Yuqing Tang, Xiang KongNeurIPS 2020 · 32 citations
- Learning Source Phrase Representations for Neural Machine TranslationHongfei Xu, Josef van Genabith, Deyi Xiong, Qiuhui Liu et al.ACL 2020 · 18 citations
- Text Style Transfer Back-TranslationDaimeng Wei, Zhanglin Wu, Hengchao Shang, Zongyao Li et al.ACL 2023 · 10 citations
- Multi-Unit Transformers for Neural Machine TranslationJianhao Yan, Fandong Meng, Jie ZhouEMNLP 2020 · 21 citations
