Multi-Domain Neural Machine Translation with Word-Level Adaptive Layer-wise Domain Mixing
arXiv:1911.02692
Abstract
Many multi-domain neural machine translation (NMT) models achieve knowledge transfer by enforcing one encoder to learn shared embedding across domains. However, this design lacks adaptation to individual domains. To overcome this limitation, we propose a novel multi-domain NMT model using individual modules for each domain, on which we apply word-level, adaptive and layer-wise domain mixing. We first observe that words in a sentence are often related to multiple domains. Hence, we assume each word has a domain proportion, which indicates its domain preference. Then word representations are obtained by mixing their embedding in individual domains based on their domain proportions. We show this can be achieved by carefully designing multi-head dot-product attention modules for different domains, and eventually taking weighted averages of their parameters by word-level layer-wise domain proportions. Through this, we can achieve effective domain knowledge sharing, and capture fine-grained domain-specific knowledge as well. Our experiments show that our proposed model outperforms existing ones in several NMT tasks.
References in corpus (9)
- Sequence to Sequence Learning with Neural Networks
- Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
- Phrase-Based & Neural Unsupervised Machine Translation
- A Survey of Domain Adaptation for Neural Machine Translation
- Unsupervised Machine Translation Using Monolingual Corpora Only
- Domain specialization: a post-training domain adaptation for Neural Machine Translation
- Improving Domain Adaptation Translation with Domain Invariant and Specific Information
- Multilingual Multi-Domain Adaptation Approaches for Neural Machine Translation
- Word-based Domain Adaptation for Neural Machine Translation