Difference between revisions of "Margin Infused Relaxed Algorithm"
Line 16: | Line 16: | ||
* Using the <math>k</math>-best list, <math>m</math>-best oracle translations <math>\mathcal{O}^t</math> is updated by <math>oracle_{m}(\cdot)</math> in each iteration. | * Using the <math>k</math>-best list, <math>m</math>-best oracle translations <math>\mathcal{O}^t</math> is updated by <math>oracle_{m}(\cdot)</math> in each iteration. | ||
− | * New <math>\ | + | * New <math>\mathbf{w}^{i+1}</math> is computed using the <math>k</math>-list <math>\mathcal{C}^{t}</math> with respect to the oracle <math>\mathcal{O}^t</math>. |
* After <math>N</math> iterations, the algorithm returns an averaged weight vector to avoid overfitting. | * After <math>N</math> iterations, the algorithm returns an averaged weight vector to avoid overfitting. |
Revision as of 18:05, 29 September 2011
This method is used by Watanabe et al., EMNLP 2007 to train an MT system a with a very large number of features of the order of millions. The training step was performed using a specific algorithm called the Margin Infused Relaxed Algorithm (MIRA) proposed by Crammer et al., 2006
Summary
MIRA is an online large-margin training algorithm which updates the weight vector according to certain margin constraints and loss function.
It is used to learn the weights of features after processing each training instance similar to structured perceptron algorithm with an additional loss function and margin constraint in its update rule.
Definition
A general definition of online training algorithms can be written down as follows:
- and a list of -best oracles :
A -best list of candidates is generated by using the current weight vector . Each training instance can have a multiple number of correct outputs or references, , in this case target translations.
- Using the -best list, -best oracle translations is updated by in each iteration.
- New is computed using the -list with respect to the oracle .
- After iterations, the algorithm returns an averaged weight vector to avoid overfitting.
MIRA
The difference in MIRA lies in the weight update rule which differs from one algorithm to the other.