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

面向自适应机器翻译的大语言模型微调

Fine-tuning Large Language Models for Adaptive Machine Translation

ADAPT Centre(ADAPT中心);Dublin City University(都柏林城市大学);South East Technological University(东南理工大学)

Yasmin Moslem, Rejwanul Haque, Andy Way

AI总结:

本文通过微调Mistral 7B模型,利用医学领域零样本与单样本提示,提升其自适应机器翻译能力,在西班牙语到英语翻译中超越基线及NLLB 3.3B,并接近ChatGPT性能。

摘要:

本文介绍了对通用大语言模型(LLM)Mistral 7B 进行微调以用于自适应机器翻译(MT)的结果。微调过程涉及在医学领域内使用零样本和单样本翻译提示的组合。主要目标是增强 Mistral 7B 的实时自适应机器翻译能力,使其能够在推理时根据所需领域调整翻译。结果,特别是对于西班牙语到英语的机器翻译,展示了微调模型的有效性,在零样本和单样本翻译场景中均显示出质量提升,超过了 Mistral 7B 的基线性能。值得注意的是,微调后的 Mistral 在零样本翻译中优于 ChatGPT "gpt-3.5-turbo",同时实现了可比的单样本翻译质量。此外,微调后的 Mistral 的零样本翻译与 NLLB 3.3B 的性能相当,而其单样本翻译质量则超过了 NLLB 3.3B。这些发现强调了微调像 Mistral 7B 这样的高效大语言模型的重要性,以产生与 NLLB 3.3B 等面向任务的模型相当的高质量零样本翻译。此外,在单样本翻译中实现的自适应增益与 ChatGPT 等商业大语言模型相当。我们的实验表明,使用包含零样本和单样本提示混合的相对较小的 20,000 个片段数据集,微调显著增强了 Mistral 的上下文学习能力,特别是在实时自适应机器翻译方面。

英文摘要:

This paper presents the outcomes of fine-tuning Mistral 7B, a general-purpose large language model (LLM), for adaptive machine translation (MT). The fine-tuning process involves utilising a combination of zero-shot and one-shot translation prompts within the medical domain. The primary objective is to enhance real-time adaptive MT capabilities of Mistral 7B, enabling it to adapt translations to the required domain at inference time. The results, particularly for Spanish-to-English MT, showcase the efficacy of the fine-tuned model, demonstrating quality improvements in both zero-shot and one-shot translation scenarios, surpassing Mistral 7B's baseline performance. Notably, the fine-tuned Mistral outperforms ChatGPT "gpt-3.5-turbo" in zero-shot translation while achieving comparable one-shot translation quality. Moreover, the zero-shot translation of the fine-tuned Mistral matches NLLB 3.3B's performance, and its one-shot translation quality surpasses that of NLLB 3.3B. These findings emphasise the significance of fine-tuning efficient LLMs like Mistral 7B to yield high-quality zero-shot translations comparable to task-oriented models like NLLB 3.3B. Additionally, the adaptive gains achieved in one-shot translation are comparable to those of commercial LLMs such as ChatGPT. Our experiments demonstrate that, with a relatively small dataset of 20,000 segments that incorporate a mix of zero-shot and one-shot prompts, fine-tuning significantly enhances Mistral's in-context learning ability, especially for real-time adaptive MT.

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

↑