Minimum Error Rate Training in Statistical Machine Translation

Franz Josef OchACL 2003

Abstract

Standard Statistical Machine Translation (SMT) models are often trained using mathematical proxies like Maximum Likelihood, which do not always correlate with translation quality. This paper introduces Minimum Error Rate Training (MERT), a method to directly optimize model parameters against non-differentiable evaluation metrics such as BLEU or Word Error Rate. By employing an efficient line optimization algorithm to navigate the "jagged" error surface, MERT significantly outperforms traditional training criteria.

Introduction: The Optimization Mismatch

In the early 2000s, SMT systems typically relied on Maximum Likelihood (ML) or Maximum Mutual Information (MMI) for parameter estimation. While these criteria are differentiable and mathematically convenient, they suffer from a fundamental mismatch: they aim to maximize the probability of training data rather than the quality of the generated text.

The primary obstacle to direct optimization is that translation quality metrics—like BLEU or error counts—are non-differentiable step functions. Small changes in model parameters may result in no change in output until a threshold is reached, causing a sudden "jump" in the metric. This behavior makes standard gradient-based optimization techniques, such as backpropagation, inapplicable.

The non-differentiable, "jagged" landscape of unsmoothed error counts compared to a smoothed error rate.

Methodology: Efficient Line Optimization

The paper proposes a log-linear model where feature functions (e.g., language model scores, phrase translation probabilities) are weighted by a parameter vector $\lambda$. To optimize $\lambda$ directly against error counts, Franz Josef Och developed a novel line optimization algorithm.

Instead of calculating gradients, the algorithm explores a single direction in the parameter space. Since the model's decision rule is an argmax of linear functions, the optimal translation remains constant within specific intervals along a line, changing only at discrete "jump points." The algorithm:

  1. Identifies all interval boundaries where the top-ranked translation changes.
  2. Calculates the exact error count for each interval.
  3. Selects the interval that minimizes the error.

This 1D optimization is integrated into Powell’s algorithm to iteratively update parameters across multiple dimensions. To handle the vast search space, the process uses an $n$-best list of candidate translations that is expanded iteratively.

Experimental Setup

Experiments were conducted on the 2002 TIDES Chinese–English small data track. The dataset included 5,109 training sentences, a development set of 640 sentences for MERT parameter tuning, and a test set of 878 sentences. Performance was measured using multi-reference Word Error Rate (mWER), position-independent error rate (mPER), BLEU, and NIST scores.

Key Results

The transition to MERT yielded substantial performance gains across all primary metrics. Most notably, direct optimization for a specific metric consistently produced the best results for that metric on unseen data—a principle often summarized as "train as you test."

Comparison of different training criteria on the Chinese-English test set. MERT significantly outperforms MMI across BLEU and NIST metrics.

As shown in the results, the BLEU score improved from 11.3% (using MMI) to 17.2% (using MERT). Similarly, the NIST score rose from 5.76 to 6.80. The study also found that directly optimizing "jagged" unsmoothed error counts was as effective as using smoothed versions, provided the optimization algorithm was sufficiently robust.

Discussion and Limitations

While MERT became a standard in SMT for over a decade, it has notable limitations:

  • Scalability: The experiments optimized only 8 features. As the number of parameters grows, MERT is prone to overfitting and becomes computationally expensive.
  • Metric Dependency: The method is only as effective as the underlying metric. MERT will exploit any "blind spots" in a metric (e.g., rewarding high n-gram overlap at the expense of grammar) to minimize the error count.
  • Local Optima: Due to the non-convex nature of the error surface, the algorithm can converge to local optima. The author recommends multiple random restarts to improve the likelihood of finding a global optimum.

Summary updated

BibTeX
@inproceedings{och2003minimum,
  author = {Franz Josef Och},
  title = {{Minimum Error Rate Training in Statistical Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2003},
  doi = {10.3115/1075096.1075117},
}
Figure