arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.08082cs.CL
收藏

Self-Generated In-Context Learning:利用自回归语言模型作为演示生成器

Self-Generated In-Context Learning: Leveraging Auto-regressive Language Models as a Demonstration Generator

Seoul National University(首尔国立大学);Hanyang University(汉阳大学);NAVER AI Lab(NAVER人工智能实验室);NAVER CLOVA

Hyuhng Joon Kim, Hyunsoo Cho, Junyeob Kim, Taeuk Kim, Kang Min Yoo, Sang-goo Lee

摘要:

众所周知,大规模预训练的语言模型(PLM)能够简单地通过在提示符上调节一些被称为演示的输入标签对来解决任务,而无需针对所需的下游任务进行显式调整。这样的过程(即,上下文学习),然而,自然导致对通常从外部数据集选择的演示的高度依赖。在本文中,我们提出了自生成的上下文学习(SG-ICL),它产生的上下文学习从PLM本身的示范,以尽量减少对外部示范的依赖。我们在四个不同的文本分类任务上进行了实验,结果表明SG-ICL的性能明显优于零样本学习,并且通常值得大约0.6个黄金训练样本。此外,与从训练数据集中随机选择的演示相比,我们生成的演示显示出更一致的性能和低方差。

英文摘要:

Large-scale pre-trained language models (PLMs) are well-known for being capable of solving a task simply by conditioning a few input-label pairs dubbed demonstrations on a prompt without being explicitly tuned for the desired downstream task. Such a process (i.e., in-context learning), however, naturally leads to high reliance on the demonstrations which are usually selected from external datasets. In this paper, we propose self-generated in-context learning (SG-ICL), which generates demonstrations for in-context learning from PLM itself to minimize the reliance on the external demonstration. We conduct experiments on four different text classification tasks and show SG-ICL significantly outperforms zero-shot learning and is generally worth approximately 0.6 gold training samples. Moreover, our generated demonstrations show more consistent performance with low variance compared to randomly selected demonstrations from the training dataset.

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

↑