Fast and Adaptive Online Training of Feature-Rich Translation Models

Spence Green, Sida Wang, Daniel M. Cer, Christopher D. Manning

Abstract

Traditional Statistical Machine Translation (SMT) models have long been constrained by the Minimum Error Rate Training (MERT) algorithm, which fails to scale beyond a small set of dense features. This paper introduces a fast, adaptive online learning framework that leverages Stochastic Gradient Descent (SGD), AdaGrad, and FOBOS to efficiently train models with hundreds of thousands of features. By employing per-coordinate learning rates, the proposed method effectively balances frequent dense features with rare sparse features. Experimental results on Arabic-English and Chinese-English tasks show significant translation quality improvements—up to 1.8 BLEU points—while achieving convergence significantly faster than existing batch methods.

Introduction

For years, Statistical Machine Translation (SMT) relied on the Minimum Error Rate Training (MERT) algorithm. While effective, MERT is notoriously brittle and only scales to about 30 "dense" features, such as language model scores or phrase translation probabilities. In other areas of Natural Language Processing, researchers successfully use "sparse" features—millions of specific indicators for individual words or n-grams—to boost performance. However, bringing these to MT has been difficult due to the "dense vs. sparse" imbalance: a language model feature might fire on every sentence, while a specific translation rule feature might appear only once in a million words. Standard learning rates either move too slowly for rare features or oscillate wildly for frequent ones.

Methodology

The authors propose an online tuning framework built on three pillars:

  1. Stochastic Gradient Descent (SGD) with Pairwise Logistic Loss: Instead of batch processing, the model updates weights incrementally using a pairwise ranking objective, learning to rank "good" translations higher than "bad" ones from n-best lists.
  2. AdaGrad (Adaptive Gradient): This is the core innovation. AdaGrad assigns a per-coordinate learning rate. Features that appear frequently get smaller updates to prevent overshooting, while rare, sparse features get larger updates when they do appear. This perfectly balances the dense and sparse features inherent in MT.
  3. FOBOS for $L_1$ Regularization: To prevent overfitting to millions of features, the authors use $L_1$ regularization via Forward-Backward Splitting (FOBOS). This allows for "lazy updates," calculating regularization for a feature only when it appears in a training example.

To ensure speed, the system uses a "stale gradient" parallelization strategy, where multiple threads compute gradients simultaneously and update a central weight vector without expensive locking mechanisms.

Experimental Setup

The researchers evaluated their method on two large-scale translation tasks:

  • Arabic-English (Ar-En): 6.6M sentence pairs (375M tokens).
  • Chinese-English (Zh-En): 9.3M sentence pairs (538M tokens).

They used standard benchmarks from the NIST OpenMT competitions (MT02 through MT09) for tuning and testing. They also experimented with tuning directly on large bitexts (the training data itself) to see if more data could improve sparse feature weights.

Key Results

The adaptive online method demonstrated significant improvements in both translation quality and training efficiency. On the Arabic-English task, the feature-rich model achieved a gain of up to 1.5 BLEU points over the MERT baseline on the MT09 test set.

Arabic-English translation performance across different models and algorithms.

For Chinese-English, the improvements were even more pronounced, with gains reaching 1.8 BLEU points over MERT. The system successfully scaled to nearly 500,000 active features, a massive increase over the ~20 features typically handled by MERT.

Chinese-English translation performance across different models and algorithms.

Beyond quality, the method proved highly efficient, often converging in just 5–10 epochs. In head-to-head runtime comparisons, the proposed method reached convergence in about 15 minutes for a complex model, while the PRO baseline took 150 minutes to reach a similar state.

Discussion and Conclusion

A key insight from this work is that "adaptivity" (adjusting the learning rate based on feature frequency) is more critical for feature-rich MT than the "conservativity" emphasized by previous algorithms like MIRA. The authors also found that sparse features could learn to correct domain-specific spelling differences (e.g., "program" vs. "programme") simply by observing their usage in tuning data.

However, challenges remain regarding domain mismatch when tuning on massive bitexts, which can differ in genre from news-heavy test sets. Additionally, bitext tuning is limited by having only a single reference translation. Future work will explore improved data selection and alternative loss functions. The resulting code has been integrated into the Phrasal MT toolkit, making these high-dimensional tuning capabilities available to the broader research community.

Summary updated

BibTeX
@inproceedings{green2013fast,
  author = {Spence Green and Sida Wang and Daniel M. Cer and Christopher D. Manning},
  title = {{Fast and Adaptive Online Training of Feature-Rich Translation Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2013},
}
Figure