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

一种提升大语言模型翻译能力的新范式

A Novel Paradigm Boosting Translation Capabilities of Large Language Models

Huawei Translation Services Center(华为翻译服务中心)

Jiaxin Guo, Hao Yang, Zongyao Li, Daimeng Wei, Hengchao Shang, Xiaoyu Chen

AI总结:

本研究提出三阶段新范式提升大语言模型翻译能力,通过预训练阶段增强跨语言对齐,仅用小规模高质量双语数据和7B/13B参数量,性能超越多款大参数模型。

摘要:

本文针对机器翻译(MT)任务场景,开展了提升大语言模型(LLMs)翻译能力的策略研究。论文提出一种包含三个阶段的全新范式:利用大规模单语数据的二次预训练、基于逐行对照文本格式文档的持续预训练,以及采用源语言一致指令的有监督微调。\n过往针对大语言模型的研究多聚焦于有监督微调(SFT)的各类策略,但效果十分有限。传统机器翻译方法依赖海量双语平行数据,而本范式凸显了使用小规模高质量双语数据的重要性。我们认为,研究重点应放在预训练阶段增强大语言模型的跨语言对齐能力,而非仅在有监督微调阶段依赖大量双语数据。\n基于Llama2模型开展的实验(尤其是经单语数据增强后的Chinese-Llama2)结果表明,大语言模型的翻译能力得到了提升。本方法的一项重要贡献在于第二阶段:基于逐行对照文本格式文档的持续预训练,该阶段所需训练数据不足10亿,使得本方法具备极高的效率。此外,在第三阶段我们发现,设置与源语言一致的指令对有监督微调过程有益。\n实验结果显示,尽管本方法的参数量仅为70亿或130亿,远小于对比模型,但其性能超越了过往研究,且优于NLLB-54B、GPT3.5-text-davinci-003等模型。这一成果使得本方法成为机器翻译领域的开创性策略。

英文摘要:

This paper presents a study on strategies to enhance the translation capabilities of large language models (LLMs) in the context of machine translation (MT) tasks. The paper proposes a novel paradigm consisting of three stages: Secondary Pre-training using Extensive Monolingual Data, Continual Pre-training with Interlinear Text Format Documents, and Leveraging Source-Language Consistent Instruction for Supervised Fine-Tuning. Previous research on LLMs focused on various strategies for supervised fine-tuning (SFT), but their effectiveness has been limited. While traditional machine translation approaches rely on vast amounts of parallel bilingual data, our paradigm highlights the importance of using smaller sets of high-quality bilingual data. We argue that the focus should be on augmenting LLMs' cross-lingual alignment abilities during pre-training rather than solely relying on extensive bilingual data during SFT. Experimental results conducted using the Llama2 model, particularly on Chinese-Llama2 after monolingual augmentation, demonstrate the improved translation capabilities of LLMs. A significant contribution of our approach lies in Stage2: Continual Pre-training with Interlinear Text Format Documents, which requires less than 1B training data, making our method highly efficient. Additionally, in Stage3, we observed that setting instructions consistent with the source language benefits the supervised fine-tuning process. Experimental results demonstrate that our approach surpasses previous work and achieves superior performance compared to models such as NLLB-54B and GPT3.5-text-davinci-003, despite having a significantly smaller parameter count of only 7B or 13B. This achievement establishes our method as a pioneering strategy in the field of machine translation.

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

↑