Minimum error rate training

From Cohen Courses
Jump to navigationJump to search

Citation

MERT is a method that 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. Minimum error rate training (herein referred to as 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