arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.13299cs.CLcs.AIcs.LG
收藏

使用欠定示例测量上下文学习的归纳偏置

Measuring Inductive Biases of In-Context Learning with Underspecified Demonstrations

New York University(纽约大学);University of Chicago(芝加哥大学);Princeton University(普林斯顿大学);University of Maryland(马里兰大学)

Chenglei Si, Dan Friedman, Nitish Joshi, Shi Feng, Danqi Chen, He He

AI总结:

本研究从特征偏置角度探究上下文学习(ICL)的归纳偏置,发现LLMs表现出明显的特征偏好,且干预措施难以完全克服强烈的先验偏置。

摘要:

上下文学习(ICL)是使大型语言模型(LLMs)适应新任务的重要范式,但ICL的泛化行为仍知之甚少。我们从特征偏置的角度研究了ICL的归纳偏置:即在给定一组欠定示例(其中两个特征对标签具有同等预测能力)的情况下,ICL更倾向于使用哪个特征。首先,我们通过从一系列NLP数据集和特征组合中构建欠定示例,表征了GPT-3模型的特征偏置。我们发现LLMs表现出明显的特征偏置——例如,在预测标签时,表现出强烈偏好根据情感而非标点符号等浅层词汇特征进行预测的偏置。其次,我们评估了不同干预措施的效果,这些干预措施旨在施加有利于特定特征的归纳偏置,例如添加自然语言指令或使用语义相关的标签词。我们发现,虽然许多干预措施能影响学习者偏好特定特征,但难以克服强烈的先验偏置。总体而言,我们的结果为ICL可能更倾向于利用的特征类型以及如何施加与预期任务更好对齐的归纳偏置提供了更全面的图景。

英文摘要:

In-context learning (ICL) is an important paradigm for adapting large language models (LLMs) to new tasks, but the generalization behavior of ICL remains poorly understood. We investigate the inductive biases of ICL from the perspective of feature bias: which feature ICL is more likely to use given a set of underspecified demonstrations in which two features are equally predictive of the labels. First, we characterize the feature biases of GPT-3 models by constructing underspecified demonstrations from a range of NLP datasets and feature combinations. We find that LLMs exhibit clear feature biases - for example, demonstrating a strong bias to predict labels according to sentiment rather than shallow lexical features, like punctuation. Second, we evaluate the effect of different interventions that are designed to impose an inductive bias in favor of a particular feature, such as adding a natural language instruction or using semantically relevant label words. We find that, while many interventions can influence the learner to prefer a particular feature, it can be difficult to overcome strong prior biases. Overall, our results provide a broader picture of the types of features that ICL may be more likely to exploit and how to impose inductive biases that are better aligned with the intended task.

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

↑