Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation
Abstract
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.
Community
This looks fascinating. I love that you have the models on the hub. Amazing work @haoranxu and everyone else!
https://huggingface.co./haoranxu/ALMA-13B-R
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Towards Boosting Many-to-Many Multilingual Machine Translation with Large Language Models (2024)
- Adapting Large Language Models for Document-Level Machine Translation (2024)
- Tuning LLMs with Contrastive Alignment Instructions for Machine Translation in Unseen, Low-resource Languages (2024)
- Don't Rank, Combine! Combining Machine Translation Hypotheses Using Quality Estimation (2024)
- Salute the Classic: Revisiting Challenges of Machine Translation in the Age of Large Language Models (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
New Method Beats GPT-4 in Machine Translation: Introducing Contrastive Preference Optimization
Links π:
π Subscribe: https://www.youtube.com/@Arxflix
π Twitter: https://x.com/arxflix
π LMNT (Partner): https://lmnt.com/