剖析GPTs中翻译的上下文学习
Dissecting In-Context Learning of Translations in GPTs
AI总结:
通过扰动高质量示例,发现目标端文本分布是GPT翻译上下文学习的关键信号,据此提出Zero-Shot-Context方法,显著提升GPT-3零样本翻译性能至媲美少样本水平。
摘要:
近期利用GPT-3等大型语言模型(LLMs)进行机器翻译(MT)的研究大多集中于选择少样本样本进行提示。本研究通过对高质量、领域内示例的扰动,试图更好地理解示例属性在翻译上下文学习中的作用。我们发现对源-目标映射的不对称扰动会产生截然不同的结果。研究表明,对源端的扰动影响极小,而目标端扰动会大幅降低翻译质量,这表明输出文本分布提供了翻译上下文学习中最重要的学习信号。我们提出一种名为Zero-Shot-Context的方法,在Zero-Shot提示中自动添加该信号。实验证明,它提升了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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。