[Paper Review] Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation
The paper introduces Contrastive Preference Optimization (CPO) to fine-tune moderate-size LLMs for MT, using contrastive preference data to surpass SFT and DPO, achieving GPT-4 and WMT-level performance with ALMA-13B-LoRA (ALMA-R).
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.
Motivation & Objective
- Assess limitations of supervised fine-tuning (SFT) for MT with human gold references.
- Investigate whether high-quality human references are always the best target for MT training.
- Develop a memory- and compute-efficient alternative to DPO for preference-based learning.
- Demonstrate that Contrastive Preference Optimization (CPO) can boost moderate-size LLMs to state-of-the-art MT performance.
- Release preference data and show robustness across evaluation metrics.
Proposed method
- Construct triplet preference data per source: (y_ref, y_gpt-4, y_alma) using FLORES-200 and model outputs.
- Score translations with reference-free evaluators (KIWI-XXL, XCOMET) to select preferred and dis-preferred translations.
- Derive the CPO objective: L(pi_theta; U) as an approximation to DPO with a uniform reference to enable memory/compute efficiency, plus a BC regularizer (KL constraint) to keep outputs close to preferred data.
- Formulate L(pi_theta;U) = -E log sigma(beta log pi_theta(y_w|x) - beta log pi_theta(y_l|x)).
- Combine a preference learning term L_prefer with a negative log-likelihood term L_NLL to define the CPO loss (L(pi_theta,U) with BC regularizer).
Experimental results
Research questions
- RQ1Can reference-based SFT bottlenecks be alleviated using contrastive preference data?
- RQ2Do high-quality reference translations always maximize MT performance, or can system-produced translations serve as better targets for learning?
- RQ3Is DPO memory- and speed-inefficient in practice, and can a uniform-reference approximation improve efficiency without harming performance?
- RQ4How does CPO compare to SFT and DPO across multiple language directions and evaluation metrics?
Key findings
- ALMA-R (ALMA-13B-LoRA fine-tuned with CPO) matches or exceeds GPT-4 and WMT winners on multiple directions in WMT’21/’22 and WMT’23 tests.
- Reference-free evaluators (KIWI-XXL, XCOMET) show that model outputs often surpass gold references, motivating the need for preference-based training.
- CPO significantly improves over SFT and DPO across directions, with the combination of L_prefer and L_NLL yielding the best performance.
- Dis-preferred data quality matters: using natural, high-quality dis-preferred translations is better than artificially noised ones.
- Ablation studies confirm the importance of both ALMA-generated and GPT-4-generated data in the triplets for different translation directions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.