Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Measuring Inductive Biases of In-Context Learning with Underspecified Demonstrations (2305.13299v1)

Published 22 May 2023 in cs.CL, cs.AI, and cs.LG

Abstract: In-context learning (ICL) is an important paradigm for adapting 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (6)
  1. Chenglei Si (26 papers)
  2. Dan Friedman (16 papers)
  3. Nitish Joshi (13 papers)
  4. Shi Feng (95 papers)
  5. Danqi Chen (84 papers)
  6. He He (71 papers)
Citations (36)