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.
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:
- Identifies all interval boundaries where the top-ranked translation changes.
- Calculates the exact error count for each interval.
- 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."
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