Stabilizing Minimum Error Rate Training

George F. Foster, Roland KuhnWMT@EACL 2009

Abstract

George Foster and Roland Kuhn address the inherent instability of Minimum Error Rate Training (MERT), the standard optimization method for Statistical Machine Translation (SMT). By analyzing how random seeds influence outcomes, they reveal that BLEU scores can fluctuate by over 1.5% absolute. To mitigate this, they propose a suite of modifications—random re-seeding, history accumulation, and a novelty-seeking weight selection strategy—that collectively enhance both the stability and the final performance of SMT models.

Introduction: The Problem with MERT

In the development of Statistical Machine Translation (SMT) systems, models typically rely on log-linear combinations of various feature functions, such as language model scores and translation probabilities. The effectiveness of these models hinges on finding the optimal weights for these features. For years, the standard approach has been Och’s Minimum Error Rate Training (MERT) procedure.

However, MERT is notoriously unstable. The objective function it optimizes—the BLEU score—is non-differentiable and computed over a restricted "n-best" list of translation hypotheses. This creates a jagged optimization surface riddled with local optima. Consequently, minor variations in experimental setup, such as the choice of a random seed or the size of the n-best list, can lead to significantly different weight sets and performance metrics. This instability makes it difficult for researchers to discern whether a new feature provides a genuine improvement or if the optimizer simply reached a better local maximum by chance.

Quantifying Optimization Chaos

To understand the scale of this problem, the authors conducted multiple MERT runs using different random seeds for the internal optimizer (Powell’s algorithm). The results highlight a dramatic divergence in performance over successive iterations.

BLEU scores across Och iterations for best and worst runs.

As shown in the figure above, even when starting from the same point, different random seeds can cause the optimizer to traverse vastly different paths, leading to a significant gap in final BLEU scores. In some cases, the difference between the best and worst runs exceeded 1.5 BLEU points—a margin that often exceeds the gains reported for major architectural innovations in MT.

Proposed Stabilization Strategies

The authors propose and evaluate three cumulative strategies designed to make MERT more robust:

  1. Random Re-seeding: Instead of using a fixed set of starting points for Powell’s algorithm in every MERT iteration, the algorithm generates new random starting points. This encourages broader exploration of the weight space and prevents the optimizer from repeatedly falling into the same local minima across different decoding passes.
  2. History Accumulation: The optimizer is initialized using the best weights found across all previous iterations, rather than just the most recent one. This "memory" ensures that the model does not discard high-performing configurations found early in the process.
  3. Novelty-Seeking Weight Selection: This strategy shifts the focus from pure exploitation to a balance of exploration and exploitation. Instead of selecting weights based solely on the highest BLEU score on the current n-best list, the algorithm chooses weights that provide a high score while being significantly different from weights used in previous decoding runs. This forces the decoder to explore new regions of the hypothesis space.

Additionally, the authors explored a regularization technique that averages BLEU scores over a small neighborhood of weight vectors to penalize narrow, potentially spurious peaks. However, this specific implementation did not yield significant improvements in their tests.

Experimental Results and Analysis

The strategies were tested on a NIST 2008 Chinese-English translation task using both "small" (5 features) and "large" (20 features) model configurations.

Performance and variance of different model configurations on NIST04 and NIST06.

The results in the table above quantify the impact of model complexity on stability. For the large models (L1 and L2), the spread (Δ) between the best and worst runs reached as high as 2.14 BLEU points on the NIST06 test set. By applying the proposed stabilization techniques, the authors were able to improve the average development BLEU by approximately 0.4% while simultaneously reducing the variance (S) across runs.

A key insight from the study is the "N-Best Mirage": a weight set may appear optimal on a static n-best list but fail to generalize when used in the actual decoder. This discrepancy is a primary driver of MERT's instability. Furthermore, the authors noted that higher scores on development data do not always correlate with higher test scores, suggesting that MERT is highly susceptible to overfitting the specific hypotheses generated during tuning.

Conclusion

Stabilizing MERT is essential for reliable progress in SMT research. By incorporating random re-seeding, history accumulation, and novelty-seeking selection, researchers can significantly reduce the noise inherent in the tuning process. While these methods improve the stability of the optimization itself, the challenge of generalization—ensuring that tuned weights perform well on unseen data—remains an open area for future research, potentially involving more expansive search spaces like lattice-based MERT.

Summary updated

BibTeX
@inproceedings{foster2009stabilizing,
  author = {George F. Foster and Roland Kuhn},
  title = {{Stabilizing Minimum Error Rate Training}},
  booktitle = {WMT@EACL},
  year = {2009},
  url = {https://openreview.net/forum?id=7w67kgAYluQ},
}
Figure