Mixing Multiple Translation Models in Statistical Machine Translation

Majid Razmara, George Foster, Baskaran Sankaran, Anoop SarkarACL 2012

Abstract

Statistical machine translation is often faced with the problem of combining training data from many diverse sources into a single translation model which then has to translate sentences in a new domain. We propose a novel approach, ensemble decoding, which combines a number of translation systems dynamically at the decoding step. In this paper, we evaluate performance on a domain adaptation setting where we translate sentences from the medical domain. Our experimental results show that ensemble decoding outperforms various strong baselines including mixture models, the current state-of-the-art for domain adaptation in machine translation.

Introduction

Machine translation (MT) systems typically require large amounts of parallel corpora to achieve high performance. However, while general-domain data (e.g., parliamentary proceedings) is often plentiful, specialized domains such as medicine or law frequently suffer from data scarcity. This creates a domain adaptation challenge: how can we leverage a massive "out-of-domain" (OUT) model alongside a small "in-domain" (IN) model?

Traditional approaches often rely on data concatenation or static mixture models. These methods merge translation tables before decoding, which can lead to a "one size fits all" model that fails to prioritize the most relevant "expert" rules for specific phrases. This paper introduces ensemble decoding, a dynamic alternative that allows multiple models to collaborate during the translation process itself.

Ensemble Decoding Methodology

The core of the proposed approach is the modification of the decoding process to handle multiple translation models simultaneously. The researchers implemented this within Kriya, a hierarchical phrase-based translator.

In standard hierarchical SMT, a CKY parsing algorithm builds a chart of possible translations for every span of the input sentence. In ensemble decoding, each cell in this chart is populated with translation rules from all available models. The system then applies a mixture operation to decide how to score these competing rules from different sources.

Ensemble decoding architecture using a CKY chart to combine multiple translation models during the decoding process.

The authors explored several mixture operations to combine model scores:

  • Weighted Sum (WSUM): A linear combination of model probabilities.
  • Weighted Max (WMAX): Selecting the probability from the best-scoring model.
  • Model Switching (SWITCHING): Designating one model as the "expert" for a specific span and ignoring others.
  • Product (PROD): Multiplying model probabilities, also known as Logarithmic Opinion Pools (LOPs).

To optimize model weights without complex gradient calculations, the researchers utilized CONDOR, a derivative-free optimizer, which allowed for efficient tuning of the ensemble parameters.

Experimental Setup

The study focused on French-to-English translation in the medical domain. The IN-domain data consisted of the EMEA corpus (approx. 12,000 sentences), while the OUT-domain data was the Europarl corpus (1.3 million sentences). Evaluation was conducted on medical-domain test sets to measure the effectiveness of the adaptation.

Results and Discussion

The experimental results demonstrated that ensemble decoding consistently outperforms traditional baselines. Notably, the "Switching:Max" operation achieved the highest performance, reaching a BLEU score of 35.96, a significant improvement over the best static mixture baseline (35.57) and the simple concatenation method (33.76).

Performance comparison of different mixture operations (WMAX, WSUM, SWITCHING, PROD) under various weighting schemes.

Several key insights emerged from the evaluation:

  1. Union over Intersection: The "Product" operation performed poorly because it acts as an intersection; if one model assigns a zero probability to a rule (a "veto"), the entire ensemble rejects it. In domain adaptation, a "union" effect is preferable, where the IN-domain model can provide translations that the OUT-domain model lacks.
  2. The Expert Advantage: The success of "Switching:Max" suggests that for any given sentence span, there is usually one clear expert model. Averaging its output with a less-informed model (as in WSUM) can actually degrade quality.
  3. Robustness of Uniform Weights: Even with uniform weights, the ensemble approach provided strong results. The authors suspect the shared Language Model acted as a natural stabilizer across the different translation models.

Conclusion

Ensemble decoding provides a flexible and effective framework for domain adaptation in SMT. By delaying the combination of models until the decoding stage, the system can dynamically select the best translation rules from diverse sources. While the current implementation adds some runtime complexity, it avoids the need for building massive, static merged translation tables and offers a significant improvement in translation quality for specialized domains. Future work will explore scaling this approach to a larger number of component models and incorporating multiple language models.

Summary updated

BibTeX
@inproceedings{razmara2012mixing,
  author = {Majid Razmara and George Foster and Baskaran Sankaran and Anoop Sarkar},
  title = {{Mixing Multiple Translation Models in Statistical Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2012},
  url = {https://openreview.net/forum?id=ByNMmaxuZH},
}
Figure