Abstract
Data selection is an effective approach to domain adaptation in statistical machine translation. The idea is to use language models trained on small in-domain text to select similar sentences from large general-domain corpora, which are then incorporated into the training data. Substantial gains have been demonstrated in previous works, which employ standard ngram language models. Here, we explore the use of neural language models for data selection. We hypothesize that the continuous vector representation of words in neural language models makes them more effective than n-grams for modeling unknown word contexts, which are prevalent in general-domain text. In a comprehensive evaluation of 4 language pairs (English to German, French, Russian, Spanish), we found that neural language models are indeed viable tools for data selection: while the improvements are varied (i.e. 0.1 to 1.7 gains in BLEU), they are fast to train on small in-domain data and can sometimes substantially outperform conventional n-grams.
Introduction
A persistent challenge in Statistical Machine Translation (SMT) is the scarcity of high-quality, domain-specific training data. To address this, researchers often employ adaptation data selection, where a language model (LM) trained on a small in-domain corpus is used to score and extract relevant sentence pairs from massive, general-domain datasets. Traditionally, this scoring has relied on n-gram LMs. However, n-grams are limited by sparsity; in many cases, up to 60% of general-domain sentences contain words unseen during in-domain training, forcing the model to rely on less accurate back-off strategies.
This paper investigates whether Recurrent Neural Network Language Models (RNNLMs) can overcome these limitations. By representing words as continuous vectors, RNNLMs can model unseen contexts more effectively, potentially leading to superior data selection and improved translation performance.
Methodology
The study utilizes a cross-entropy difference metric for data selection, comparing sentences that score high on an in-domain LM but low on a general-domain LM. The primary experimental variable is the type of LM used for scoring:
- ngram: A standard 4-gram LM with Kneser-Ney smoothing.
- neuralnet: An RNNLM that summarizes context into a continuous hidden state vector.
- combine: An interpolation of both n-gram and neural scores.
To ensure practical training times, the authors implemented vocabulary clustering (e.g., 100 clusters) to reduce the output layer dimensionality. This allowed the RNNLMs to be trained on standard CPUs in a few hours.
Datasets
Experiments were conducted on four language pairs: English to German (de), Spanish (es), French (fr), and Russian (ru). The WIT³ corpus (TED Talk transcripts) served as in-domain data, while massive bitexts from the WMT2013 campaign (CommonCrawl, Europarl, UN documents, etc.) provided the general-domain pool.
Results and Discussion
The neural approach demonstrated significant improvements in both model fit and translation quality.
Perplexity and Generalization
Neural LMs consistently outperformed n-gram models in perplexity, showing reductions of 20% to 30% across all language pairs on in-domain test sets. This confirms the hypothesis that continuous representations are better at handling the high rate of out-of-vocabulary (OOV) words found in general-domain corpora.
Translation Performance
The end-to-end SMT systems trained on neural-selected data showed consistent gains in BLEU scores. As shown in the results table, the improvements were particularly notable for English-Russian (+1.7 BLEU).
Interestingly, the gains were not primarily due to a reduction in OOV rates in the final translation task. Instead, the neural-selected data provided more accurate probability estimates for the SMT translation and reordering models. This led to better lexical choices and improved morphological agreement, especially in morphologically rich languages like Russian.
Conclusion
This work demonstrates that RNNLMs are effective and efficient tools for adaptation data selection. While the magnitude of improvement varies by language pair, the neural approach consistently matches or exceeds traditional n-gram methods. The ability to train these models quickly on small in-domain datasets makes them a practical addition to modern SMT pipelines. Future work may explore applying these neural selection techniques to more advanced discriminative adaptation frameworks.
Summary updated