Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation
About
Moderate-sized large language models (LLMs) -- those with 7B or 13B parameters -- exhibit promising machine translation (MT) performance. However, even the top-performing 13B LLM-based translation models, like ALMA, does not match the performance of state-of-the-art conventional encoder-decoder translation models or larger-scale LLMs such as GPT-4. In this study, we bridge this performance gap. We first assess the shortcomings of supervised fine-tuning for LLMs in the MT task, emphasizing the quality issues present in the reference data, despite being human-generated. Then, in contrast to SFT which mimics reference translations, we introduce Contrastive Preference Optimization (CPO), a novel approach that trains models to avoid generating adequate but not perfect translations. Applying CPO to ALMA models with only 22K parallel sentences and 12M parameters yields significant improvements. The resulting model, called ALMA-R, can match or exceed the performance of the WMT competition winners and GPT-4 on WMT'21, WMT'22 and WMT'23 test datasets.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Instruction Following | AlpacaEval 2.0 | Win Rate53.4 | 722 | |
| Multi-turn Dialogue Evaluation | MT-Bench | -- | 532 | |
| Instruction Following | AlpacaEval | Win Rate45.13 | 420 | |
| Instruction Following | Arena Hard | Win Rate55.2 | 263 | |
| Bias Evaluation | BBQ | Accuracy95.2 | 171 | |
| Instruction Following | AlpacaEval 2 | LC (%)56.4 | 137 | |
| Multi-turn Instruction Following | MT-Bench | MT-Bench Score (GPT-4)8 | 129 | |
| Multi-turn dialogue | MT-Bench | MT-Bench Score8.2 | 126 | |
| LLM Alignment Evaluation | AlpacaEval 2 | LC Win Rate38.1 | 89 | |
| Machine Translation | En-Es document-level | d-COMET85.79 | 66 |