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

使用大型语言模型进行多语言机器翻译:实证结果与分析

Multilingual Machine Translation with Large Language Models: Empirical Results and Analysis

Nanjing University(南京大学);Shanghai AI Lab(上海人工智能实验室);Shanghai Jiao Tong University(上海交通大学);Peking University(北京大学);The University of Hong Kong(香港大学);Carnegie Mellon University(卡内基梅隆大学)

Wenhao Zhu, Hongyi Liu, Qingxiu Dong, Jingjing Xu, Shujian Huang, Lingpeng Kong, Jiajun Chen, Lei Li

AI总结:

本文系统评估八种LLM的多语言翻译能力,分析GPT-4相对NLLB与Google Translate的表现,并揭示资源效率、示例指令及跨语言示例等影响因素。

摘要:

大型语言模型(LLM)在处理多语言机器翻译(MMT)方面已展现出显著潜力。本文中,我们通过回答两个问题,系统考察LLM用于MMT的优势与挑战:1)LLM在翻译大量语言时表现如何?2)哪些因素会影响LLM的翻译性能?我们全面评估了包括ChatGPT和GPT-4在内的八种流行LLM。实证结果表明,LLM的翻译能力正在持续演进。GPT-4已在40.91%的翻译方向上击败强大的监督基线NLLB,但与Google Translate等商业翻译系统相比仍存在较大差距,尤其是在低资源语言上。通过进一步分析,我们发现LLM用于MMT时呈现出新的工作模式。第一,LLM能够以资源高效的方式获得翻译能力,即使在零资源语言上也能生成质量尚可的译文。第二,当给出上下文示例时,指令语义竟可能被忽略。第三,与使用相同语言对的示例相比,跨语言示例能够为低资源翻译提供更好的任务指导。代码将发布于:https://github.com/NJUNLP/MMT-LLM。

英文摘要:

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.

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

↑