Abstract
We present Minimum Bayes-Risk (MBR) decoding over translation lattices that compactly encode a huge number of translation hypotheses. We describe conditions on the loss function that will enable efficient implementation of MBR decoders on lattices. We introduce an approximation to the BLEU score that satisfies these conditions. The MBR decoding under this approximate BLEU is realized using Weighted Finite State Automata (WFSA). Our experiments show that the Lattice MBR decoder yields moderate, consistent gains in translation performance over N-best MBR decoding on Arabic-to-English, Chinese-to-English and English-to-Chinese translation tasks. We conduct a range of experiments to understand why Lattice MBR improves upon N-best MBR and study the impact of various parameters on MBR performance.
Introduction
In Statistical Machine Translation (SMT), the standard Maximum A Posteriori (MAP) decoding rule identifies the translation with the highest model probability. However, standard evaluation metrics like BLEU measure $n$-gram overlap with human references rather than raw probability, leading to a "loss-evaluation mismatch." Minimum Bayes-Risk (MBR) decoding addresses this by selecting the translation that minimizes expected error (or maximizes expected gain) under a specific metric.
Traditionally, MBR decoding is performed on $N$-best lists, which are small, biased samples of the total hypothesis space. This paper proposes a framework to perform MBR decoding directly on translation lattices, which can represent an astronomical number of alternatives (up to $10^{80}$ hypotheses), providing a much richer search space.
Methodology
Computing MBR over a lattice is computationally challenging because metrics like BLEU are global and do not decompose easily over graph edges. The authors overcome this through two primary innovations:
- Linear Corpus BLEU Approximation: To make BLEU "lattice-friendly," a first-order Taylor series expansion is used to approximate the log-BLEU score. This transforms the non-linear metric into a linear gain function—a weighted sum of $n$-gram matches and hypothesis length.
- WFSA Implementation: The linearized gain function allows the problem to be solved using Weighted Finite State Automata. The process involves extracting $n$-grams from an "evidence lattice," computing their posterior probabilities, and using WFSA intersection to find the path in the "hypothesis lattice" that maximizes expected gain.
A scaling factor ($\alpha$) is also employed to flatten the posterior distribution, preventing the model from being "over-confident" and allowing MBR to explore a wider variety of hypotheses.
Experimental Setup
The approach was evaluated on the NIST 2008 constrained data track for three language pairs: Arabic-to-English (aren), Chinese-to-English (zhen), and English-to-Chinese (enzh). Development and tuning were conducted using NIST 2003, 2004, and 2006 evaluation sets.
Key Results and Analysis
Lattice MBR demonstrated consistent improvements across all tested language pairs. As shown in the performance comparison, Lattice MBR outperformed both standard MAP decoding and traditional $N$-best MBR decoding.
A critical insight from the study is the distinction between the Hypothesis space (where the final translation is selected) and the Evidence space (the set of translations used to calculate expected risk). The researchers discovered that the performance boost stems primarily from the Evidence space.
As seen in the table above, using a lattice as the evidence space provides a significantly more robust estimate of $n$-gram posterior probabilities than an $N$-best list. Even when the final hypothesis is restricted to a 1,000-best list, using the full lattice for evidence yields results nearly identical to full Lattice MBR.
Conclusion
Lattice MBR provides a robust and efficient way to leverage the massive hypothesis space encoded in translation lattices. By linearizing the BLEU score and utilizing WFSA, the authors achieved consistent gains of 0.2 to 1.2 BLEU points over standard methods. Future work includes extending this framework to hypergraphs for syntax-based SMT and exploring other evaluation metrics like TER or METEOR.
Summary updated