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

通过翻译混合指令增强大语言模型的文档级翻译能力

Enhancing Document-level Translation of Large Language Model via Translation Mixed-instructions

The Key Laboratory of Linguistic and Cultural Computing of Ministry of Education(教育部语言与文化计算重点实验室);Institute of Artificial Intelligence(人工智能研究所);Northwest Minzu University(西北民族大学);Soochow University(苏州大学)

Yachao Li, Junhui Li, Jing Jiang, Min Zhang

AI总结:

本文提出翻译混合指令方法,结合不同长度的句子级和文档级指令微调大语言模型,使其在多达2048个token的文档上保持稳定翻译性能,并在10个语言对上显著提升文档级翻译质量与语篇连贯性。

摘要:

现有用于机器翻译的大语言模型(LLMs)通常在句子级翻译指令上进行微调,并在句子层面取得令人满意的性能。然而,当应用于文档级翻译时,这些模型面临显著挑战,尤其是在处理包含超过512个token的文档时。这一挑战源于句子级覆盖问题,即文档中后续句子未被翻译。因此,在句子级翻译指令上微调的LLMs的文档级翻译能力受到显著限制。我们推测,LLMs文档级翻译性能较弱的主要原因是缺乏文档到文档的映射能力。为解决该问题,我们提出一种结合不同长度的句子级和文档级翻译指令来微调LLMs的方法。我们提出的翻译混合指令使LLMs(Llama-2 7B和13B)能够从句子级到包含多达2048个token的文档保持一致的翻译性能。大量实验结果表明,所提方法在10个语言对上显著增强了LLMs的文档级翻译能力,有效缓解了文档级翻译中的句子级覆盖问题。关于语篇现象的实验表明,我们的文档级翻译方法在BLEU分数和语篇连贯性方面均显著提升了翻译质量。

英文摘要:

Existing large language models (LLMs) for machine translation are typically fine-tuned on sentence-level translation instructions and achieve satisfactory performance at the sentence level. However, when applied to document-level translation, these models face a significant challenge, particularly when dealing with documents containing over 512 tokens. This challenge arises from the issue of sentence-level coverage, where subsequent sentences in the document remain untranslated. As a result, the document-level translation capability of LLMs fine-tuned on sentence-level translation instructions is significantly limited. We conjecture that the primary cause of LLMs' weak document-level translation performance is the absence of document-to-document mapping ability. To address the issue, we propose an approach that combines sentence-level and document-level translation instructions of varying lengths to fine-tune LLMs. Our proposed translation mixed-instructions enable LLMs (Llama-2~7B and 13B) to maintain consistent translation performance from the sentence level to documents containing as many as 2048 tokens. Extensive experimental results show that the proposed approach significantly enhances the document-level translation capabilities of LLMs on 10 language pairs, effectively mitigating the sentence-level coverage issue in document-level translation. Experimentation on discourse phenomena has demonstrated that our document-level translation approach significantly improves translation quality, both in terms of BLEU score and discourse coherence.

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

↑