arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.13164cs.CLcs.AI
收藏

翻译与修订:提升大语言模型在受限翻译中的表现

Translate-and-Revise: Boosting Large Language Models for Constrained Translation

Northeastern University(东北大学);NiuTrans Research(NiuTrans研究院);JP Morgan(摩根大通)

Pengcheng Huang, Yongyu Mu, Yuzhang Wu, Bei Li, Chunyang Xiao, Tong Xiao, Jingbo Zhu

AI总结:

提出翻译与修订方法,通过提示未满足的约束让大语言模型纠正输出,在受限翻译任务上提升15%准确率,优于现有NMT方法。

摘要:

对机器翻译系统施加约束是一个具有挑战性的问题,因为这些系统并未经过训练以在生成充分且流畅的翻译时利用约束。在本文中,我们利用大语言模型(LLMs)的能力进行受限翻译,因为LLMs可以通过将翻译指令和约束作为提示来轻松适应此任务。然而,LLMs并不能总是保证翻译的充分性,在某些情况下,它们会忽略给定的约束。这在一定程度上是因为LLMs可能对其预测过于自信,从而覆盖了约束的影响。为了克服这种覆盖行为,我们提出增加一个修订过程,通过提示LLMs尚未满足的约束来鼓励它们纠正输出。我们在四个受限翻译任务上评估了我们的方法,涵盖了多个约束领域中的词汇和结构约束。实验表明,与标准LLMs相比,基于约束的翻译准确性提高了15%,并且该方法也显著优于神经机器翻译(NMT)的最先进方法。

英文摘要:

Imposing constraints on machine translation systems presents a challenging issue because these systems are not trained to make use of constraints in generating adequate, fluent translations. In this paper, we leverage the capabilities of large language models (LLMs) for constrained translation, given that LLMs can easily adapt to this task by taking translation instructions and constraints as prompts. However, LLMs cannot always guarantee the adequacy of translation, and, in some cases, ignore the given constraints. This is in part because LLMs might be overly confident in their predictions, overriding the influence of the constraints. To overcome this overiding behaviour, we propose to add a revision process that encourages LLMs to correct the outputs by prompting them about the constraints that have not yet been met. We evaluate our approach on four constrained translation tasks, encompassing both lexical and structural constraints in multiple constraint domains. Experiments show 15\% improvement in constraint-based translation accuracy over standard LLMs and the approach also significantly outperforms neural machine translation (NMT) state-of-the-art methods.

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

↑