Tuning as Ranking

Mark Hopkins, Jonathan May

Introduction

Statistical Machine Translation (SMT) systems rely on "tuning" to find optimal weights for various features, such as language model scores and translation probabilities. Traditionally, Minimum Error Rate Training (MERT) was the standard for systems with 10–20 features. However, as feature sets expanded into the thousands to incorporate richer linguistic information, MERT became erratic and failed to converge. While alternatives like MIRA existed, they were complex to implement. This paper introduces Pairwise Ranking Optimization (PRO), a method that reframes tuning as a binary classification task, offering scalability and ease of implementation.

Pairwise Ranking Optimization (PRO)

The core innovation of PRO is casting the tuning process as a ranking problem. Instead of directly optimizing non-smooth metrics like BLEU, PRO trains a model to distinguish between better and worse candidate translations.

The algorithm operates in an iterative loop:

  1. Candidate Generation: The MT system produces a $k$-best list of potential translations.
  2. Sampling: Pairs of translations are sampled from these lists.
  3. Feature Differencing: For each pair, a "difference vector" is calculated (features of translation A minus features of translation B).
  4. Labeling: Pairs are labeled (+1 or -1) based on a sentence-level approximation of BLEU.
  5. Classification: An off-the-shelf linear classifier (e.g., SVM or MegaM) learns to predict these labels.
  6. Update: The classifier's weights are used to update the MT system for the next iteration.

Scalability and Stability

A primary advantage of PRO is its robustness in high-dimensional spaces. Synthetic experiments demonstrate that while MERT's performance degrades rapidly as the number of features increases, PRO maintains high accuracy.

Synthetic experiment showing PRO's stability in high-dimensional spaces compared to MERT.

As shown in the figure above, the cosine similarity of learned weights for PRO remains near 1.0 even at 1,000 dimensions, whereas MERT's performance drops significantly after approximately 30 features. This stability makes PRO ideal for modern MT systems with thousands of sparse features.

Performance Evaluation

The authors evaluated PRO across multiple language pairs (Urdu-English, Arabic-English, Chinese-English) and architectures.

Tuning performance on Urdu-English SBMT for baseline (left) and extended (right) feature sets.

In standard "baseline" scenarios (approx. 20 features), PRO matches the performance of MERT and MIRA. However, in "extended" scenarios with thousands of features, PRO consistently outperforms the baseline and achieves parity with the more complex MIRA. For instance, on an Arabic-English task with over 6,000 features, PRO achieved a BLEU score of 41.9, matching the state-of-the-art while being much easier to implement.

Conclusion

PRO provides a pragmatic, "engineer-friendly" solution for tuning SMT systems. By leveraging off-the-shelf classifiers and a ranking-based approach, it allows researchers to effectively utilize massive feature sets without the implementation hurdles of MIRA or the instability of MERT. While sensitive to sampling heuristics and sentence-level metric approximations, PRO represents a significant step forward in making high-dimensional tuning accessible to the broader research community.

Summary updated

BibTeX
@inproceedings{hopkins2011tuning,
  author = {Mark Hopkins and Jonathan May},
  title = {{Tuning as Ranking}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2011},
}
Figure