Improved Domain Adaptation for Statistical Machine Translation

Wei Wang, Klaus Macherey, Wolfgang Macherey, Franz Josef Och, Peng XuAMTA 2020

Introduction

In Statistical Machine Translation (SMT), domain adaptation presents a persistent challenge: optimizing a system for a specific domain (e.g., legal or medical) often results in a significant performance degradation on general-purpose text. Traditionally, this has been addressed by maintaining separate models for each domain, an approach that is difficult to scale due to storage requirements and the need for manual domain selection. This paper presents a unified SMT framework that automatically detects the input domain and applies appropriate parameters, achieving near-optimal domain-specific accuracy without sacrificing generic performance.

Methodology

The proposed framework integrates three core components into the standard SMT pipeline:

  1. Provenance-Aware Training: A single translation model is trained on a combination of generic and domain-specific data. During phrase extraction, the "provenance" or source domain of each phrase is recorded.
  2. Phrase-Table-Aware Genre Classifier: To minimize computational overhead, the system re-uses the phrase table for classification. It extracts features such as "Domain Word Coverage" from the input sentence and uses an averaged perceptron to classify the text as "Generic" or "Patent."
  3. Runtime Feature Re-labeling: During decoding, if a sentence is classified as domain-specific, its features are dynamically re-labeled. This allows the Minimum Error Rate Training (MERT) algorithm to assign domain-specific weights ($\lambda$) to the shared phrase table data.
  4. Genre-Aware Tuning: The MERT objective is modified to maximize the sum of BLEU scores across all domains, preventing the optimizer from favoring one domain over another.

Experimental Setup

The study evaluates the framework across an extensive set of 20 language pairs, involving English and 10 European languages (Danish, Dutch, Finnish, French, German, Italian, Portuguese, Spanish, Swedish, and Turkish). The training data includes approximately 250 million words of generic text and between 0.8 to 10 million words of patent data from the European Patent Office (EPO).

Key Results

The experimental results demonstrate that the unified system (C8.1) effectively bridges the gap between generic and domain-specific translation.

BLEU score comparisons across different experimental setups.

As illustrated in the performance table above, the C8.1 system achieved a 6.6 BLEU point improvement in patent translation over the generic baseline (T1), while the loss in generic translation quality was a negligible 0.18 BLEU points. The system's performance closely tracked that of an "Oracle" setup, which assumes perfect domain detection.

Classification accuracy across 20 language pairs.

The robustness of the system is further supported by the classification accuracy across all 20 language pairs. The phrase-table-based classifier achieved high precision, particularly for generic text (~97%), which is crucial given that generic translation is more sensitive to classification errors than domain-specific translation.

Conclusion

By decoupling optimization through feature re-labeling and utilizing an efficient internal classifier, the authors have developed a scalable solution for multi-domain SMT. This approach eliminates the need for multiple models and manual domain selection, providing a streamlined path for deploying high-performance translation systems across diverse text genres. Future work may explore extending this binary classification to multi-class environments and further integrating language models to simplify the architecture.

Summary updated

BibTeX
@inproceedings{wang2020improved,
  author = {Wei Wang and Klaus Macherey and Wolfgang Macherey and Franz Josef Och and Peng Xu},
  title = {{Improved Domain Adaptation for Statistical Machine Translation}},
  booktitle = {AMTA},
  year = {2020},
}
Figure