Difference between revisions of "Minimum error rate training"

From Cohen Courses
Jump to navigationJump to search
Line 27: Line 27:
 
<math>\hat{\lambda}_1^M = \underset{\lambda_1^M}{\operatorname{argmin}}\{\sum_{s=1}^S E(r_s,\hat{e}(f_s;\lambda_1^m))\}</math>
 
<math>\hat{\lambda}_1^M = \underset{\lambda_1^M}{\operatorname{argmin}}\{\sum_{s=1}^S E(r_s,\hat{e}(f_s;\lambda_1^m))\}</math>
 
<math>= \underset{\lambda_1^M}{\operatorname{argmin}}\{\sum_{s=1}^S \sum_{k=1}^K E(r_s,e_{s,k})\delta(\hat{e}(f_s;\lambda_1^M),e_{s,k})\}</math>
 
<math>= \underset{\lambda_1^M}{\operatorname{argmin}}\{\sum_{s=1}^S \sum_{k=1}^K E(r_s,e_{s,k})\delta(\hat{e}(f_s;\lambda_1^M),e_{s,k})\}</math>
 +
 +
== Training Algorithm ==
 +
 +
== 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 ==
 
== Drawbacks ==

Revision as of 14:13, 13 November 2011

Minimum error rate training (or MERT) is a method. This is a work in progress by Francis Keith

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

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