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

TasTe:通过自反思教会大语言模型进行翻译

TasTe: Teaching Large Language Models to Translate through Self-Reflection

Institute of Computing and Intelligence, Harbin Institute of Technology(哈尔滨工业大学计算与智能学院);Pattern Recognition Center, WeChat AI, Tencent Inc(腾讯微信AI模式识别中心)

Yutong Wang, Jiali Zeng, Xuebo Liu, Fandong Meng, Jie Zhou, Min Zhang

AI总结:

本文提出TasTe框架,通过两阶段自反思(先初步翻译并自我评估,再依据评估结果精炼翻译)提升大语言模型的机器翻译质量,在WMT22四个语言方向上验证了其有效性。

摘要:

大语言模型(LLMs)在各种自然语言处理任务中表现出卓越的性能。指令微调等技术有效提升了大语言模型在机器翻译下游任务中的能力。然而,现有方法未能产生与监督式神经机器翻译(NMT)系统质量相匹配的令人满意的翻译输出。对这一差异的一个合理解释是,这些方法中采用的直接提示无法充分利用所获得的指令遵循能力。为此,我们提出了TasTe框架,即通过自反思进行翻译。自反思过程包括两个推理阶段。在第一阶段,指令大语言模型生成初步翻译,并同时对这些翻译进行自我评估。在第二阶段,大语言模型的任务是根据评估结果对这些初步翻译进行精炼。在WMT22基准测试的四个语言方向上的评估结果证明了我们的方法与现有方法相比的有效性。我们的工作为释放大语言模型的潜力并增强其在机器翻译中的能力提供了一种有前景的方法。代码和数据集已在https://github.com/YutongWang1216/ReflectionLLMMT开源。

英文摘要:

Large language models (LLMs) have exhibited remarkable performance in various natural language processing tasks. Techniques like instruction tuning have effectively enhanced the proficiency of LLMs in the downstream task of machine translation. However, the existing approaches fail to yield satisfactory translation outputs that match the quality of supervised neural machine translation (NMT) systems. One plausible explanation for this discrepancy is that the straightforward prompts employed in these methodologies are unable to fully exploit the acquired instruction-following capabilities. To this end, we propose the TasTe framework, which stands for translating through self-reflection. The self-reflection process includes two stages of inference. In the first stage, LLMs are instructed to generate preliminary translations and conduct self-assessments on these translations simultaneously. In the second stage, LLMs are tasked to refine these preliminary translations according to the evaluation results. The evaluation results in four language directions on the WMT22 benchmark reveal the effectiveness of our approach compared to existing methods. Our work presents a promising approach to unleash the potential of LLMs and enhance their capabilities in MT. The codes and datasets are open-sourced at https://github.com/YutongWang1216/ReflectionLLMMT.

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

↑