arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.02791cs.CLcs.AIcs.IRcs.LGcs.NEstat.ML
收藏

语言模型与循环一致性用于自反思机器翻译

Language Models and Cycle Consistency for Self-Reflective Machine Translation

Tsinghua University(清华大学)

Jianqiao Wangni

AI总结:

本文提出利用循环一致性隐式评估并优化LLM的机器翻译质量,无需平行语料,实验验证了模型规模与推理计算缩放定律。

摘要:

本文介绍了一种新颖的框架,利用大型语言模型(LLM)进行机器翻译(MT)。我们从一个猜想出发:一个理想的翻译应包含完整且准确的信息,足以让一个足够强大的LLM恢复出原始句子。我们从源语言A生成多个翻译候选到目标语言B,随后将这些候选翻译回原始语言A。通过使用诸如词元级精确率和准确率等指标评估原始句子与回译句子之间的循环一致性,我们隐式地估计了语言B中翻译的质量,而无需知道其真实译文。这也帮助仅使用单语语料库评估LLM的翻译能力。对于每个源句子,我们将与原始句子具有最优循环一致性的翻译候选确定为最终答案。我们的实验表明,更大的LLM,或同一LLM在推理期间进行更多前向传播,会表现出更高的循环一致性,这与LLM模型规模缩放定律和测试时计算缩放定律一致。这项工作提供了方法用于:1)隐式评估目标语言中句子的翻译质量,2)评估LLM进行任意语言间翻译的能力,以及3)如何为特定LLM生成更好的翻译。

英文摘要:

This paper introduces a novel framework that leverages large language models (LLMs) for machine translation (MT). We start with one conjecture: an ideal translation should contain complete and accurate information for a strong enough LLM to recover the original sentence. We generate multiple translation candidates from a source language A to a target language B, and subsequently translate these candidates back to the original language A. By evaluating the cycle consistency between the original and back-translated sentences using metrics such as token-level precision and accuracy, we implicitly estimate the translation quality in language B, without knowing its ground-truth. This also helps to evaluate the LLM translation capability, only with monolingual corpora. For each source sentence, we identify the translation candidate with optimal cycle consistency with the original sentence as the final answer. Our experiments demonstrate that larger LLMs, or the same LLM with more forward passes during inference, exhibit increased cycle consistency, aligning with the LLM model size scaling law and test-time computation scaling law. This work provide methods for, 1) to implicitly evaluate translation quality of a sentence in the target language, 2), to evaluate capability of LLM for any-to-any-language translation, and 3), how to generate a better translation for a specific LLM.

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

↑