[Paper Review] Domain Control for Neural Machine Translation
This paper proposes a runtime domain control technique for neural machine translation (NMT) that enables a single neural network to adapt to multiple domains without retraining. By injecting domain features at the sentence level into the encoder, the model improves translation quality across in-domain, out-of-domain, and unknown-domain test sets, with consistent BLEU improvements over baseline models.
Machine translation systems are very sensitive to the domains they were trained on. Several domain adaptation techniques have been deeply studied. We propose a new technique for neural machine translation (NMT) that we call domain control which is performed at runtime using a unique neural network covering multiple domains. The presented approach shows quality improvements when compared to dedicated domains translating on any of the covered domains and even on out-of-domain data. In addition, model parameters do not need to be re-estimated for each domain, making this effective to real use cases. Evaluation is carried out on English-to-French translation for two different testing scenarios. We first consider the case where an end-user performs translations on a known domain. Secondly, we consider the scenario where the domain is not known and predicted at the sentence level before translating. Results show consistent accuracy improvements for both conditions.
Motivation & Objective
- To address the sensitivity of NMT systems to domain shifts in training and test data.
- To enable a single NMT model to produce high-quality translations across multiple domains without retraining.
- To improve translation quality for both in-domain and out-of-domain data using a unified architecture.
- To explore effective ways of injecting domain meta-information into the neural encoder for better domain-aware translation.
Proposed method
- Injects domain information as a continuous vector at the sentence level into the encoder's input layer.
- Uses a feature-based approach where each word in the source sentence is augmented with domain-specific embedding vectors.
- Employs a shared encoder-decoder architecture with attention mechanism, based on Bahdanau et al. (2014), enhanced with domain-aware input features.
- Applies a domain classifier (RNN-based) at inference time to predict the domain of each sentence before translation.
- Introduces a soft domain representation by modeling sentence proximity to multiple domains, aiming to improve robustness to domain misclassification.
- Evaluates performance using BLEU scores across six domains, including a zero-shot test on a new domain (Dialogs).
Experimental results
Research questions
- RQ1Can a single NMT model achieve improved translation quality across multiple domains without retraining?
- RQ2How does injecting domain meta-information at the sentence level affect translation quality compared to domain-specific models?
- RQ3To what extent can domain control improve performance on out-of-domain or unknown-domain test sets?
- RQ4How robust is the model to incorrect domain predictions at inference time?
- RQ5Can the model learn to classify domains at the sentence level, and does this improve translation performance?
Key findings
- The feature-based domain injection method improved BLEU scores across all test sets, with an average improvement of 0.80 BLEU points, except for Parliamentary (0.26 BLEU improvement).
- The additional token method showed mixed results, improving some domains but degrading performance on others, unlike the consistently beneficial feature method.
- Even when domain was misclassified by the RNN-based classifier, the Feature model still outperformed the baseline Join model, indicating robustness to prediction errors.
- Translation quality significantly degraded when using incorrect domain tags, especially for the IT domain, highlighting the sensitivity of domain choice.
- The model demonstrated learned domain classification ability, as evidenced by high correlation between predicted and actual domains when reference translations were available.
- The model outperformed the baseline on a zero-shot test set from the Dialogs domain, which was not present in the training data, showing strong generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.