arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2212.01692cs.CLcs.AIcs.LG
收藏

上下文学习器能否从示例中学习推理概念?

Can In-context Learners Learn a Reasoning Concept from Demonstrations?

Masaryk University(马萨里克大学)

Michal Štefánik, Marek Kadlčík

AI总结:

针对随机少样本评估无法区分模型预训练偏差与真实上下文学习能力的问题,提出概念共享少样本学习方法,发现多数上下文学习器无法从概念示例中持续获益,仅T0模型表现更敏感。

摘要:

语言模型展现出一种涌现能力,可从少量输入-输出示例中学习新任务。然而,近期研究表明,上下文学习器很大程度上依赖其预训练知识(比如标签的情感倾向),而非从输入中学习新的关联关系。我们认为,常用的随机选择上下文示例的少样本评估无法区分模型对这类偏差的依赖,因为大多数随机选择的示例除了展示任务的输入-输出分布外,并未提供对预测有价值的关系信息。\n 因此,为了独立于模型记忆来评估模型的上下文学习能力,我们提出了概念共享少样本学习方法,即选择与待预测样本共享底层概念的示例。我们从已有的人工解释中提取了一组此类概念,并衡量模型在少样本示例中接触这些概念后能获得多大提升。\n 我们发现,无论模型规模大小,大多数近期的上下文学习器都无法持续从展示的概念中获益。不过我们注意到,T0模型对展示的概念更为敏感,在8个评估场景中有7个能从概念共享示例中获益。

英文摘要:

Language models exhibit an emergent ability to learn a new task from a small number of input-output demonstrations. However, recent work shows that in-context learners largely rely on their pre-trained knowledge, such as the sentiment of the labels, instead of learning new associations from the input. We argue that the commonly-used few-shot evaluation using a random selection of in-context demonstrations can not disentangle models' reliance on such biases, as most of the randomly-selected demonstrations do not present relations informative for prediction beyond exposing the task's input-output distribution. Therefore, to evaluate models' in-context learning ability independent of models' memory, we introduce a Concept-sharing few-shot learning method choosing the demonstrations that share an underlying concept with the predicted sample. We extract a set of such concepts from available human explanations and measure how much models can benefit from presenting these concepts in few-shot demonstrations. We find that most of the recent in-context learners can not consistently benefit from the demonstrated concepts, irrespective of the model size. However, we note that T0 models are more sensitive to exhibited concepts, benefiting from concept-sharing demonstrations in 7 out of 8 evaluation scenarios.

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

↑