arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.09865cs.CLcs.AI
收藏

Z-ICL:使用伪演示的零样本上下文学习

Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrations

Allen Institute for AI(艾伦人工智能研究所);University of Washington(华盛顿大学)

Xinxi Lyu, Sewon Min, Iz Beltagy, Luke Zettlemoyer, Hannaneh Hajishirzi

AI总结:

本文提出 Z-ICL,通过原始语料库检索近邻并配对随机标签构建伪演示,同时减少模型直接复制,在九个分类数据集上显著提升零样本性能。

摘要:

尽管大语言模型可以通过提示进行零样本和少样本学习,但当没有可用演示时,其性能会显著下降。在本文中,我们提出了 Z-ICL,这是一种新的零样本方法,通过使用原始文本语料库为给定测试输入构建伪演示来弥补这一差距。具体而言,伪演示的构建方式为:(1)从语料库中查找与测试输入最近的邻居,并将它们与随机任务标签配对;(2)应用一系列技术,以减少模型对所得演示的直接复制。在九个分类数据集上的评估表明,Z-ICL 显著优于以往的零样本方法,并且与少样本设置下使用有标签训练数据的上下文学习性能相当。总体而言,Z-ICL 对模型零样本性能水平给出了显著更高的估计,并支持未来开发更好的伪演示,以进一步改善零样本结果。

英文摘要:

Although large language models can be prompted for both zero- and few-shot learning, performance drops significantly when no demonstrations are available. In this paper, we introduce Z-ICL, a new zero-shot method that closes the gap by constructing pseudo-demonstrations for a given test input using a raw text corpus. Concretely, pseudo-demonstrations are constructed by (1) finding the nearest neighbors to the test input from the corpus and pairing them with random task labels, and (2) applying a set of techniques to reduce the amount of direct copying the model does from the resulting demonstrations. Evaluation on nine classification datasets shows that Z-ICL outperforms previous zero-shot methods by a significant margin, and is on par with in-context learning with labeled training data in the few-shot setting. Overall, Z-ICL provides a significantly higher estimate of the zero-shot performance levels of a model, and supports future efforts to develop better pseudo-demonstrations that further improve zero-shot results.

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

↑