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

利用人类错误标记提示大型语言模型以实现自我纠错机器翻译

Prompting Large Language Models with Human Error Markings for Self-Correcting Machine Translation

Heidelberg University(海德堡大学);SAP SE(思爱普公司)

Nathaniel Berger, Stefan Riezler, Miriam Exel, Matthias Huck

AI总结:

本文提出一种轻量级两步机器翻译方法,通过人类译者在推理阶段标记错误并从翻译记忆库提取示例提示LLM,引导模型专注纠错,在技术领域术语翻译上实现了优于自动译后编辑和从零开始翻译的一致改进。

摘要:

尽管在海量无配对语言数据上预训练的大型语言模型(LLMs)已在通用领域文本的机器翻译(MT)中达到最先进水平,但在专业领域中,仍需进行译后编辑(PE)以纠正错误并提升术语翻译质量。本文提出了一项初步研究,旨在增强由PE生成的翻译记忆库(TM)(包括源文片段、机器翻译和参考翻译,以下简称PE-TM),以满足技术领域正确且一致的术语翻译需求。我们研究了一种轻量级的两步方案:在推理阶段,人类译者在第一步翻译中标记错误;在第二步中,从PE-TM中提取少量相似示例来提示LLM。实验表明,利用人类错误标记增强翻译的额外工作能引导LLM专注于纠正被标记的错误,与自动译后编辑(APE)和从零开始的MT相比,产生了一致的改进。

英文摘要:

While large language models (LLMs) pre-trained on massive amounts of unpaired language data have reached the state-of-the-art in machine translation (MT) of general domain texts, post-editing (PE) is still required to correct errors and to enhance term translation quality in specialized domains. In this paper we present a pilot study of enhancing translation memories (TM) produced by PE (source segments, machine translations, and reference translations, henceforth called PE-TM) for the needs of correct and consistent term translation in technical domains. We investigate a light-weight two-step scenario where, at inference time, a human translator marks errors in the first translation step, and in a second step a few similar examples are extracted from the PE-TM to prompt an LLM. Our experiment shows that the additional effort of augmenting translations with human error markings guides the LLM to focus on a correction of the marked errors, yielding consistent improvements over automatic PE (APE) and MT from scratch.

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

↑