Domain Adaptation of Neural Machine Translation by Lexicon Induction

Junjie Hu, Mengzhou Xia, Graham Neubig, Jaime G. Carbonell

Abstract

Neural Machine Translation (NMT) models frequently struggle with domain shift, primarily due to the presence of out-of-vocabulary (OOV) words and domain-specific lexical mappings. This paper presents DALI (Domain Adaptation by Lexicon Induction), a method that adapts NMT models to new domains using only monolingual data. DALI induces a bilingual dictionary and generates "word-for-word" synthetic training sentences to teach the model domain-specific vocabulary. Experimental results across five domains show that DALI improves translation performance by up to 14 BLEU points over unadapted models and consistently outperforms back-translation baselines.

Introduction

While NMT has achieved state-of-the-art results in general-domain translation, its performance often degrades significantly when applied to specialized fields like medicine or law. This "brittleness" is largely a lexical issue: models are highly sensitive to the vocabulary encountered during training. When faced with a new domain, models encounter OOV words or fail to capture domain-specific meanings for known terms. Traditional back-translation (BT) improves fluency but often fails to provide the explicit lexical supervision needed for rare, domain-heavy terms.

Methodology: The DALI Framework

The proposed DALI pipeline addresses domain adaptation through a two-step process: Lexicon Induction and Pseudo-Parallel Data Generation.

The DALI pipeline: from lexicon induction using monolingual corpora to the generation of pseudo-in-domain source corpora.
  1. Lexicon Induction: Using word embeddings (e.g., fastText), source and target words are mapped into a shared vector space. This alignment can be supervised (using a small seed lexicon) or unsupervised (using Generative Adversarial Networks). The Cross-Domain Similarity Local Scaling (CSLS) metric is employed to identify reliable word-level translations.
  2. Pseudo-Parallel Data Generation: Instead of standard back-translation, DALI performs a word-for-word translation of in-domain target sentences using the induced lexicon. Words not found in the lexicon are copied directly. The NMT model is then fine-tuned on a combination of original out-of-domain data and this "noisy" pseudo-parallel data.

Experimental Results

The researchers evaluated DALI on German-to-English translation across five challenging domains: Medical (EMEA), IT (GNOME), Law (JRC-Acquis), Subtitles (OpenSubtitles), and Koran (Tanzil).

Comparative performance (BLEU) across four domains, showing the effectiveness of DALI variants and their combination with back-translation (BT).

As shown in the results, DALI variants (DALI-U for unsupervised, DALI-S for supervised) significantly outperform unadapted models. Key findings include:

  • Significant Gains: DALI improved performance by up to 14 BLEU points compared to unadapted models.
  • Baseline Superiority: DALI consistently beat strong back-translation baselines by 1 to 2 BLEU points.
  • Lexical Accuracy: In the IT-to-Medical task, the accuracy of translating previously unseen in-domain words increased from near zero to over 50%.

Discussion and Key Insights

A critical observation is the orthogonality of DALI and Back-Translation. While BT enhances the structural fluency of the target language, DALI provides direct supervision for lexical mappings. Combining the two (DALI-U+BT) yielded the highest performance across all tested domains. Furthermore, the "noisy" nature of word-for-word translation acts as a strong signal for the NMT model, effectively teaching it domain-specific terms even without complex syntactic information.

Conclusion

DALI provides a robust, data-efficient solution for NMT domain adaptation. By focusing on lexical induction, it overcomes the primary hurdle of domain shift—vocabulary mismatch. Future work may explore tighter integration of induced lexicons into the decoding process to further refine translation quality.

Summary updated

BibTeX
@inproceedings{hu2019domain,
  author = {Junjie Hu and Mengzhou Xia and Graham Neubig and Jaime G. Carbonell},
  title = {{Domain Adaptation of Neural Machine Translation by Lexicon Induction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1286},
}
Figure