TensorX
返回文献探索

Paper · arXiv 2305.06575

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

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

2 upvotesMay 11, 2023arXiv 预印本
AI 摘要

CoD enhances LLMs in MNMT by incorporating multilingual dictionaries, significantly improving translation performance, especially for low-resource languages.

large language modelsmultilingual neural machine translationparallel datarare wordslow-resource languagesin-context learningdemonstrationmultilingual dictionariesCoDFLORES-200ChrF++

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Chain-of-Dictionary Prompting Elicits Translation in Large Language Models | TensorX