[Paper Review] Unsupervised Domain Adaptation for Neural Machine Translation with Domain-Aware Feature Embeddings
This paper proposes Domain-Aware Feature Embeddings (DAFE), a model-centric unsupervised domain adaptation method for neural machine translation that learns domain-specific representations via an auxiliary language modeling task. By disentangling hidden states into domain- and task-aware components, DAFE enables controlled, domain-adapted translation without in-domain parallel data, achieving up to 5 BLEU point gains over baselines and complementary gains when combined with back-translation.
The recent success of neural machine translation models relies on the availability of high quality, in-domain data. Domain adaptation is required when domain-specific data is scarce or nonexistent. Previous unsupervised domain adaptation strategies include training the model with in-domain copied monolingual or back-translated data. However, these methods use generic representations for text regardless of domain shift, which makes it infeasible for translation models to control outputs conditional on a specific domain. In this work, we propose an approach that adapts models with domain-aware feature embeddings, which are learned via an auxiliary language modeling task. Our approach allows the model to assign domain-specific representations to words and output sentences in the desired domain. Our empirical results demonstrate the effectiveness of the proposed strategy, achieving consistent improvements in multiple experimental settings. In addition, we show that combining our method with back translation can further improve the performance of the model.
Motivation & Objective
- To address the challenge of poor NMT performance in low-resource or out-of-domain settings where in-domain parallel data is unavailable.
- To overcome the limitations of generic representations in existing unsupervised domain adaptation methods, which fail to model domain-specific semantics.
- To enable controlled, domain-specific translation output by learning disentangled domain-aware representations.
- To develop a method that is effective even in low-data regimes and complements data-centric techniques like back-translation.
Proposed method
- DAFE disentangles the model into a shared base network and separate domain- and task-aware feature embedding learners that generate domain-specific representations.
- Domain-aware feature embeddings are learned through an auxiliary language modeling objective on monolingual data, enabling domain-specific representation learning without parallel in-domain data.
- The final layer outputs are formed by combining base network representations with learned domain and task embeddings via element-wise addition.
- The method is integrated into a Transformer-based NMT architecture, allowing end-to-end training with shared base parameters across domains.
- Domain control is achieved by conditioning the decoder on the desired domain embedding during inference, enabling targeted output generation.
- The approach is evaluated in both low-resource and multi-domain settings, with ablation studies to validate component contributions.
Experimental results
Research questions
- RQ1Can unsupervised domain adaptation in NMT be improved by learning domain-aware representations instead of generic ones?
- RQ2Does the proposed DAFE method enable better control over the output domain compared to standard back-translation or data-copying methods?
- RQ3How does DAFE perform in low-resource settings where back-translation may degrade due to poor synthetic data?
- RQ4Is DAFE complementary to data-centric methods like back-translation, and can they be combined effectively?
- RQ5Can the model generate domain-specific vocabulary and expressions when conditioned on the correct domain embedding?
Key findings
- DAFE achieves up to 5 BLEU point improvements over unadapted baselines across multiple domain pairs, including German-English, Czech-English, and multilingual settings.
- On the WMT'14 German-English medical translation task, DAFE improves from 24.61 BLEU (baseline) to 26.75 BLEU, and to 28.09 BLEU when combined with back-translation.
- In low-resource settings, DAFE significantly outperforms back-translation, which can degrade performance due to low-quality synthetic data.
- Feeding mismatched domain embeddings leads to performance degradation, confirming that domain control is effective and intentional.
- The model generates domain-specific terms—such as 'EMEA' and 'intramuscular' under medical embeddings, and 'bug' and 'developers' under IT embeddings—demonstrating successful domain control.
- Combining DAFE with back-translation yields the best performance, with 38.79 BLEU on the MED task, showing orthogonality and complementarity of the two approaches.
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.