Dissecting In-Context Learning of Translations in GPTs

LLM CoT Other LLM NLP NMT APGO
最近关于利用大型语言模型(LLMs),如GPT-3进行机器翻译(MT)的工作大多集中在选择少量样本以进行提示。在这项工作中,我们尝试更好地理解演示属性在通过高质量的领域内演示的扰动中上下文学习翻译方面的作用。我们发现,对称扰动源-目标映射会产生截然不同的结果。我们表明,源端扰动的影响惊人地小,而目标端扰动可以大大降低翻译质量,这表明输出文本分布在上下文学习翻译中提供了最重要的学习信号。我们提出了一种名为Zero-Shot-Context的方法,在零样本提示中自动添加此信号。我们证明它提高了GPT-3的零样本翻译性能,甚至使其与少量样本提示的翻译相竞争。
Most of the recent work in leveraging Large Language Models (LLMs) such as GPT-3 for Machine Translation (MT) has focused on selecting the few-shot samples for prompting. In this work, we try to better understand the role of demonstration attributes for the in-context learning of translations through perturbations of high-quality, in-domain demonstrations. We find that asymmetric perturbation of the source-target mappings yield vastly different results. We show that the perturbation of the source side has surprisingly little impact, while target perturbation can drastically reduce translation quality, suggesting that it is the output text distribution that provides the most important learning signal during in-context learning of translations. We propose a method named Zero-Shot-Context to add this signal automatically in Zero-Shot prompting. We demonstrate that it improves upon the zero-shot translation performance of GPT-3, even making it competitive with few-shot prompted translations.
许愿