[论文解读] Multilingual Machine Translation with Large Language Models: Empirical Results and Analysis
本论文基准测试八种受欢迎的大型语言模型在跨越102种语言和606个方向的多语言机器翻译上的表现,将它们与强大的监督基线进行比较,并分析上下文学习、示例以及预训练如何影响翻译质量。
Large language models (LLMs) have demonstrated remarkable potential in handling multilingual machine translation (MMT). In this paper, we systematically investigate the advantages and challenges of LLMs for MMT by answering two questions: 1) How well do LLMs perform in translating massive languages? 2) Which factors affect LLMs' performance in translation? We thoroughly evaluate eight popular LLMs, including ChatGPT and GPT-4. Our empirical results show that translation capabilities of LLMs are continually involving. GPT-4 has beat the strong supervised baseline NLLB in 40.91% of translation directions but still faces a large gap towards the commercial translation system like Google Translate, especially on low-resource languages. Through further analysis, we discover that LLMs exhibit new working patterns when used for MMT. First, LLM can acquire translation ability in a resource-efficient way and generate moderate translation even on zero-resource languages. Second, instruction semantics can surprisingly be ignored when given in-context exemplars. Third, cross-lingual exemplars can provide better task guidance for low-resource translation than exemplars in the same language pairs. Code will be released at: https://github.com/NJUNLP/MMT-LLM.
研究动机与目标
- 评估大型语言模型(LLMs)在广泛语言和方向上的翻译能力。
- 将基于LLM的翻译与强大的监督基线(NLLB、M2M-100)以及商业系统(Google Translate)进行比较。
- 识别在上下文学习(ICL)中影响翻译性能的因素(模板、示例选择、跨语言示例)。
- 探索LLM的资源效率和零资源语言翻译潜力。
- 提供在LLMs的多语言MT中设计提示和示例的实用指南。
提出的方法
- 在Flores-101数据集上,对8种LLM(XGLM-7.5B、OPT-175B、BLOOMZ-7.1B、Falcon-7B、LLaMA2-7B、LLaMA2-7B-chat、ChatGPT、GPT-4)在102种语言和606个翻译方向上进行评估。
- 使用上下文学习,选取八个随机的开发集示例和一个简单模板来生成翻译。
- 使用spBLEU、COMET和SEScore指标,与监督基线(M2M-100-12B、NLLB-1.3B)及Google Translate进行比较。
- 进行消融分析,研究预训练语料规模、上下文模板、示例内容(跨语言 vs 同语言)以及示例数量对翻译性能的影响。
- 通过将Flores-101结果与无泄漏的无泄漏集(News2023)进行比较,检查数据泄漏问题。
- 提供关于LLMs如何以资源高效的方式获得翻译能力以及在零资源语言条件下的潜力的见解。
实验结果
研究问题
- RQ1流行的LLM在102种语言的606个方向上的翻译表现如何,与强大的监督基线和Google Translate相比如何?
- RQ2哪些因素(预训练数据规模、上下文模板、示例选择策略、跨语言示例)会影响LLMs的多语言翻译性能?
- RQ3在使用上下文学习时,LLMs在多语言翻译中是否展现出新的工作模式(例如忽略指令语义、跨语言示例、零资源翻译)?
- RQ4翻译性能在语言和语言组之间是否不平衡,对低资源语言有何影响?
主要发现
- GPT-4在所评估的LLM中实现了最高翻译性能,并在英语为中心的方向中超过监督基线NLLB的比例为40.91%。
- LLMs仍落后于Google Translate,尤其是长尾低资源语言,且各语言之间的表现不平衡,英语中心的方向通常更强。
- 跨语言示例可以改善低资源语言的翻译,而语义相关的示例并不总是带来额外收益。
- 上下文示例在某些指令语义被忽略时也能有效教会翻译任务,示例的数量和质量会影响性能,收获在几个示例后趋于稳定。
- LLMs可以以资源高效的方式获得翻译能力,并且在ICL下可以为未见语言(零资源)生成中等水平的翻译。
- 用于上下文提示的模板对性能影响很大,一些简单模板甚至优于更自然但效果较差的模板。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。