arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.08417cs.CL
收藏

对比偏好优化:突破大语言模型在机器翻译中的性能边界

Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation

Microsoft(微软公司)

Haoran Xu, Amr Sharaf, Yunmo Chen, Weiting Tan, Lingfeng Shen, Benjamin Van Durme, Kenton Murray, Young Jin Kim

AI总结:

本研究提出对比偏好优化(CPO)方法,通过训练模型避免生成不完美翻译来改进中等规模LLM的机器翻译性能,新模型ALMA-R仅用22K平行句和12M参数即超越GPT-4和WMT获胜者。

摘要:

中等规模的大语言模型(LLMs)——即具有7B或13B参数的模型——展现出令人期待的机器翻译(MT)性能。然而,即使是表现最佳的13B基于LLM的翻译模型(如ALMA),也无法匹配最先进的传统编码器-解码器翻译模型或更大规模的LLMs(如GPT-4)的性能。在本研究中,我们弥合了这一性能差距。我们首先评估了LLMs在MT任务中监督微调(SFT)的缺陷,强调了尽管参考数据是人工生成的,但仍存在质量问题。然后,与模仿参考翻译的SFT不同,我们引入了对比偏好优化(CPO),这是一种新颖的方法,训练模型避免生成足够但不完美的翻译。将CPO应用于仅使用22K平行句子和12M参数的ALMA模型,取得了显著改进。由此产生的模型称为ALMA-R,在WMT'21、WMT'22和WMT'23测试数据集上能够匹配或超越WMT竞赛获胜者和GPT-4的性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑