arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.06575cs.CL
收藏

Chain-of-Dictionary Prompting 激发大语言模型的翻译能力

Chain-of-Dictionary Prompting Elicits Translation in Large Language Models

The Chinese University of Hong Kong(香港中文大学);Microsoft Corporation(微软公司)

Hongyuan Lu, Haoran Yang, Haoyang Huang, Dongdong Zhang, Wai Lam, Furu Wei

AI总结:

针对大语言模型低资源语言翻译及稀有词翻译效果差、难获取上下文示例的问题,提出CoD方法通过多语言词典链增强模型,在低资源语言翻译上实现显著性能提升,优于少样本方法。

摘要:

大语言模型(LLMs)即便在无平行数据训练的情况下,也在多语言神经机器翻译(MNMT)中展现出令人意外的优异性能。然而,尽管训练数据量极为庞大,它们在翻译稀有词时仍存在困难,尤其是针对低资源语言。更糟糕的是,在LLMs上为低资源语言的上下文学习检索相关示例通常不切实际,这限制了LLMs在翻译领域的实际应用——我们该如何缓解这一问题?为此,我们提出了一种名为CoD的新方法,该方法通过为部分输入词构建多语言词典链,为先验知识增强LLMs,从而激发LLMs的翻译能力。大量实验表明,在FLORES-200完整开发测试集上,用CoD增强ChatGPT可使MNMT的chrF++得分最高提升13倍(英语到西里尔字母书写的塞尔维亚语的得分从3.08提升至42.63)。我们进一步证明了串联多语言词典的重要性,以及在低资源语言场景下CoD相较于少样本示例的优越性。

英文摘要:

Large language models (LLMs) have shown surprisingly good performance in multilingual neural machine translation (MNMT) even when trained without parallel data. Yet, despite the fact that the amount of training data is gigantic, they still struggle with translating rare words, particularly for low-resource languages. Even worse, it is usually unrealistic to retrieve relevant demonstrations for in-context learning with low-resource languages on LLMs, which restricts the practical use of LLMs for translation -- how should we mitigate this problem? To this end, we present a novel method, CoD, which augments LLMs with prior knowledge with the chains of multilingual dictionaries for a subset of input words to elicit translation abilities for LLMs. Extensive experiments indicate that augmenting ChatGPT with CoD elicits large gains by up to 13x chrF++ points for MNMT (3.08 to 42.63 for English to Serbian written in Cyrillic script) on FLORES-200 full devtest set. We further demonstrate the importance of chaining the multilingual dictionaries, as well as the superiority of CoD to few-shot demonstration for low-resource languages.

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

↑