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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lu, Hongyuan, Yang, Haoran, Huang, Haoyang, Zhang, Dongdong, Lam, Wai, Wei, Furu
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911991647436800
author Lu, Hongyuan
Yang, Haoran
Huang, Haoyang
Zhang, Dongdong
Lam, Wai
Wei, Furu
author_facet Lu, Hongyuan
Yang, Haoran
Huang, Haoyang
Zhang, Dongdong
Lam, Wai
Wei, Furu
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2305_06575
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Chain-of-Dictionary Prompting Elicits Translation in Large Language Models
Lu, Hongyuan
Yang, Haoran
Huang, Haoyang
Zhang, Dongdong
Lam, Wai
Wei, Furu
Computation and Language
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.
title Chain-of-Dictionary Prompting Elicits Translation in Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2305.06575