Translation Model Adaptation by Resampling

Kashif Shah, Loïc Barrault, Holger SchwenkWMT @ ACL 2010

Abstract

Statistical Machine Translation (SMT) systems often struggle when trained on a mix of massive out-of-domain data and small in-domain datasets. This paper introduces a resampling technique to adapt the translation model by assigning optimized weights to different training corpora and individual word alignments. By resampling the data based on these weights, the authors naturally bias the translation model toward the target domain, achieving significant BLEU score improvements on both small and large Arabic-to-English translation tasks.

Introduction

In Statistical Machine Translation (SMT), systems require parallel corpora (bitexts) to train the translation model and monolingual text to train the language model. While standard methods exist for adapting language models to specific domains, adapting the translation model remains a challenge. Standard practice involves concatenating all available parallel corpora and running an alignment tool like GIZA++. This approach suffers from two major issues: domain imbalance, where massive generic datasets overwhelm relevant in-domain data, and alignment quality, where low-confidence automated alignment errors are treated as equal to high-confidence ones.

The Resampling Framework

The authors propose a novel resampling approach to weight both the corpora and the individual sentence alignments without altering the underlying math of standard phrase extraction algorithms. The process is integrated into the standard SMT pipeline as shown below:

The SMT pipeline integrated with the resampling and CONDOR optimization loop.

Methodology

  1. Weighting Corpora: Each source corpus is assigned a weight. The authors use CONDOR, a derivative-free numerical optimizer, to search for weights that maximize the BLEU score on a development set.
  2. Weighting Alignments: GIZA++ alignment scores are used as confidence metrics. These scores are normalized by sentence length and flattened using a logarithmic mapping.
  3. The Resampling Loop: The system resamples the concatenated alignment file with replacement based on the weights from CONDOR and the alignment confidence scores. High-weight corpora and high-confidence alignments are sampled multiple times, while others are sampled rarely.
  4. Phrase Extraction: The standard SMT pipeline extracts phrases from this biased alignment file. The frequency of resampled data naturally adjusts the resulting phrase translation probabilities.

Experimental Setup

The approach was evaluated on two Arabic-to-English translation tasks:

  • IWSLT Task (Small-scale): Used BTEC bitexts (194K words) for training, with Dev6 for development and Dev7 for testing.
  • NIST Task (Large-scale): Used a mix of corpora including GALE (1.6M words), NewsWire (8.1M), and ISI extracted bitexts (43.7M). NIST06 was used for development and NIST08 for testing.

Key Results

The proposed method achieved state-of-the-art improvements on both evaluation tasks. As shown in the table below, the "Condor weights" configuration consistently outperformed the baseline and simpler weighting schemes in both BLEU and Translation Edit Rate (TER) metrics.

Performance comparison across IWSLT and NIST tasks using different weighting schemes, showing BLEU and TER scores.

On the IWSLT test set, the score improved from a baseline of 53.37 to 54.58 (+1.21 BLEU). On the large-scale NIST task, the approach improved the score from 42.21 to 42.54 (+0.33 BLEU), representing a significant gain on a resource-rich benchmark.

Discussion and Insights

Resampling serves as an effective "hack" for probability weighting, allowing researchers to avoid rewriting complex phrase-extraction algorithms. The CONDOR optimizer successfully identified domain relevance, assigning high weights to small in-domain datasets (like GALE) over massive generic ones.

Stability was a key factor; the authors found that resampling 10 to 15 times was necessary to stabilize probability distributions. Additionally, they found it beneficial to always include the original, un-resampled alignment file at least once to prevent losing rare but valid alignments that might be skipped during random sampling.

Conclusion

While effective, the primary limitation of this approach is its computational expense, as every optimization step requires generating a new phrase table and decoding the development set. Future work may focus on bypassing physical resampling by feeding optimized weights directly into phrase extraction formulas to achieve the same results more efficiently.

Summary updated

BibTeX
@inproceedings{shah2010translation,
  author = {Kashif Shah and Loïc Barrault and Holger Schwenk},
  title = {{Translation Model Adaptation by Resampling}},
  booktitle = {WMT @ ACL},
  year = {2010},
}
Figure