Direct Preference Optimization for Neural Machine Translation with Minimum Bayes Risk Decoding

Guangyu Yang, Jinghong Chen, Weizhe Lin, Bill Byrne

Abstract

Minimum Bayes Risk (MBR) decoding significantly enhances translation quality in Large Language Models (LLMs) by selecting candidates with the highest average similarity to a hypothesis set. However, its two-pass nature makes it computationally prohibitive for real-time use. We present DPO-MBR, a novel approach that integrates MBR benefits directly into the model's weights using Direct Preference Optimization (DPO). By fine-tuning on self-generated, MBR-ranked candidates, our method achieves MBR-level translation quality using standard, fast one-pass decoding (e.g., beam search), effectively eliminating the MBR latency bottleneck without requiring human-labeled data.

Introduction

In Neural Machine Translation (NMT), standard decoding methods like beam search often prioritize high-probability sequences that may be generic or slightly inaccurate. Minimum Bayes Risk (MBR) decoding offers a superior alternative by generating a large set of candidate translations and selecting the one that minimizes expected risk (or maximizes expected utility, such as BLEURT similarity). Despite its performance gains, MBR is orders of magnitude slower than beam search due to the need for extensive pairwise comparisons between dozens of hypotheses. This research explores a way to "distill" the high-quality outputs of MBR into a model that can then produce them in a single, efficient pass.

Methodology: DPO-MBR

The proposed DPO-MBR framework leverages Direct Preference Optimization to align the model with MBR-preferred outputs. The process is entirely self-supervised and follows three main steps:

  1. Self-Generation: A base model generates multiple candidate translations for a set of source sentences.
  2. MBR Ranking: These candidates are ranked using the MBR algorithm, with a metric like BLEURT serving as the utility function.
  3. DPO Fine-Tuning: The model is fine-tuned to increase the log-probability of higher-ranked candidates relative to lower-ranked ones.

Preference Selection Strategies

The authors investigated several strategies for constructing training pairs from the ranked candidates. These include Best-Worst (BW), Best-Mid-Worst (BMW), and Consecutive Pairs (CP/CPS). Figure 1 illustrates the training dynamics (reward margin) across different selection strategies, highlighting how multi-task (mt) variants and specific selection logic influence the model's learning curve.

Reward margin during training for different preference selection strategies.

Experimental Setup

The study utilized the BLOOMZ family of multilingual LLMs (7.1B parameters). Fine-tuning was performed using source-only text from WMT20 (zh-en) and IWSLT 2017 (fr-en), emphasizing the unsupervised nature of the approach. Evaluation spanned multiple test sets (WMT21, WMT22, IWSLT17) across four language directions: Chinese-English (zh-en), English-Chinese (en-zh), French-English (fr-en), and English-French (en-fr).

Key Results and Discussion

The primary finding is that DPO-MBR models, when used with simple beam search, achieve performance parity with—and often exceed—the original models using full MBR decoding.

Comparison of translation quality (BLEURT | COMET) across datasets and models.

As shown in the results table, the DPO-tuned BLOOMZ model significantly outperforms the base beam search. For instance, on WMT21 zh-en, the BLEURT score improves from 59.6 to 62.3, matching the performance of MBR decoding with 32 hypotheses (62.5) while maintaining the speed of beam search. This distillation effectively provides MBR-level quality with zero additional inference latency.

The Role of Regularization

A critical component of DPO is the KL-divergence parameter ($\beta$). The authors found that $\beta$ acts as a vital balancing act; setting it too low can lead to model overconfidence and repetitive "loopy" text, while an appropriate value ensures the model retains its linguistic capabilities while adopting MBR preferences.

Conclusion

DPO-MBR successfully "bakes" the advantages of a complex, two-pass decoding strategy into a standard LLM. This unsupervised distillation process provides significant quality gains with zero additional inference latency. Future work will explore the applicability of this method to low-resource languages and investigate potential metric-induced biases in the fine-tuned models.

Summary updated

BibTeX
@inproceedings{yang2024direct,
  author = {Guangyu Yang and Jinghong Chen and Weizhe Lin and Bill Byrne},
  title = {{Direct Preference Optimization for Neural Machine Translation with Minimum Bayes Risk Decoding}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-short.34},
}
Figure