Abstract
This paper presents novel Bayesian optimisation algorithms for minimum error rate training of statistical machine translation systems. We explore two classes of algorithms for efficiently exploring the translation space, with the first based on N-best lists and the second based on a hypergraph representation that compactly represents an exponential number of translation options. Our algorithms exhibit faster convergence and are capable of obtaining lower error rates than the existing translation model specific approaches, all within a generic Bayesian optimisation framework. Further more, we also introduce a random embedding algorithm to scale our approach to sparse high dimensional feature sets.
TL;DR
This paper introduces Bayesian Optimisation (BO) as a powerful new framework for tuning the weights of Statistical Machine Translation (SMT) systems. By treating translation quality metrics like BLEU as black-box functions, the authors' algorithms converge faster and achieve higher translation quality than traditional methods like MERT or MIRA.
Introduction
In Statistical Machine Translation (SMT), the optimal translation is typically selected via a linear combination of various sub-models, such as language models and translation tables. Determining the weights for these models is a challenging optimization problem. The primary success metric, BLEU, is non-differentiable and computationally expensive to evaluate, as it requires running a slow decoder to generate translations.
Traditional methods like Minimum Error Rate Training (MERT) often rely on random line searches across N-best lists, which can be unstable and slow to converge. Margin Infused Relaxed Algorithm (MIRA) is faster but depends on local approximations of the global metric. This research proposes Bayesian Optimisation (BO) as a principled, global optimization strategy that treats translation quality as a black-box function, requiring no specific knowledge of the translation search space geometry.
Bayesian Optimisation for SMT
The proposed approach utilizes Bayesian Optimisation to optimize expensive black-box functions. The framework consists of:
- Surrogate Modeling: A Gaussian Process (GP) is used to build a surrogate model of how model weights affect the BLEU score.
- Acquisition Function: The "Expected Improvement" (EI) criterion balances exploration of unknown weight regions with exploitation of known high-performing areas.
- Iterative Decoding: To maintain efficiency, the system decodes once to create a Hypergraph—a compact representation of an exponential number of translation options. BO is then run for several rounds on this fixed structure before re-decoding to update the search space.
A critical component of this methodology is the use of a search bound (a small box) around current weights to manage the "noise" inherent in using fixed hypergraph structures. Variants like Cumulative Hypergraph BO (CHG-BO) combine hypergraphs from previous iterations to improve stability and prevent the optimizer from losing track of high-quality translations. For high-dimensional sparse features (e.g., 200,000+ weights), Random EMbedding BO (REMBO) projects the space into a lower-dimensional manifold where BO can operate effectively.
Experimental Results
The algorithms were evaluated on WMT14 datasets for French-English (fr-en), Spanish-English (es-en), German-English (de-en), and Czech-English (cs-en). Tuning was performed on news-test 2010, with final evaluations on news-test 2011/2012.
Key Findings
- Higher Quality: HG-BO and CHG-BO consistently outperformed MERT and MIRA in nearly all test cases. For instance, on German-English, HG-BO achieved a BLEU score of 22.2, surpassing MERT's 21.1.
- Faster Convergence: BO-based algorithms typically reached peak performance within 5 iterations, whereas MIRA often required up to 20 iterations to reach its peak.
- Scalability: Using HG-REMBO, the authors successfully tuned a model with 207,952 features for the fr-en task, matching the performance of MIRA, which is specifically designed for high-dimensional online learning.
Conclusion and Future Work
This work represents the first application of Bayesian Optimisation to a core NLP task. While highly effective, the performance is sensitive to the search bound size ($b$); if too large, noise overwhelms the GP, and if too small, convergence slows. Future work involves optimizing the computational overhead of internal BO iterations as the number of samples grows. The success of this approach suggests that BO could be a versatile tool for hyperparameter tuning across a wide range of NLP models beyond translation.
Summary updated