Difference between revisions of "Minimum error rate training"
Line 64: | Line 64: | ||
== Related Work == | == Related Work == | ||
+ | |||
+ | MERT is more or less the standard for training MT models currently. As a result, it is used in many MT papers | ||
+ | |||
+ | * [[RelatedPaper::An End-to-End Discriminative Approach to Machine Translation Liang et al 2006|An End-to-End Discriminative Approach to Machine Translation, Liang et al., 2006.]] - Provides an improvement to allow for more features | ||
+ | * [[RelatedPaper::Hierarchical Phrase-Based Translation Chiang 2007|Hierarchical Phrase-Based Translation, Chiang, 2007.]] - Uses MERT for phrase-based translation |
Revision as of 15:26, 13 November 2011
Minimum error rate training (or MERT) is a method. This is a work in progress by Francis Keith
Contents
Citation
MERT was originally proposed in the paper “Minimum Error Rate Training in Statistical Machine Translation”, Franz Josef Och, ACL, 2003, pp. 160-167. (found here [1])
Background
When training a model, often times it is beneficial to take into account the actual evaluation method for that model. In many cases, training methods do not. MERT attempts to train models for statistical machine translation. It attempts to optimize the parameters of the model while considering a more complex evaluation method than simply counting incorrect translations. It essentially attempts to train the model based on the method that will be used to evaluate the model.
Optimization Problem
The goal of MERT, as the name would suggest, is to find a minimum error rate count, given:
- , the representative corpus
- , the reference translations
- , a set of candidate translations
- for each
- feature functions
- model parameters
We then attempt to optimize:
The error count is provided by:
Training Algorithm
The key to the optimization is doing an optimization along the line:
comes from:
As and are functions of , we can define a piecewise linear function such that:
The algorithm is as follows:
- Compute for every sentence with the incremental change in error count
- This yields a sequence
- Each of these shows a change in error count
- Compute the optimal by traversing these intervals while updating the error count
Benefits
MERT has numerous benefits, most of which are specific to MT problems
- Finds global optima
- This is important because the error count is not smoothed, which means there could be significantly more local optima
- Guarantees convergence
- This is also important because the unsmoothed error count is not a convex function
Drawbacks
MERT, while very powerful (and the current popular approach to training MT models), has some drawbacks
- Tends to overfit
- Doesn't work well with large feature sets
- High variance across runs due to many local optima
Related Work
MERT is more or less the standard for training MT models currently. As a result, it is used in many MT papers
- An End-to-End Discriminative Approach to Machine Translation, Liang et al., 2006. - Provides an improvement to allow for more features
- Hierarchical Phrase-Based Translation, Chiang, 2007. - Uses MERT for phrase-based translation