Background

In-context Learning

Borrowed from [1].

Borrowed from [1].

In-context Learning uses sentence-label-styled prompts to predict the label of the last sentence (query).

Motivation: In-context Learning Interpretability

Previous works problems 1:

Example:

Borrowed from [2].

Borrowed from [2].

Previous works problems 2:

So, our work focuses on real-world large language models, and tries to propose an inference circuit to fit the afore-observed inference phenomenon.

Hypothesis

We first assume that the model uses such a process to handle ICL input. The Fig.1 is a clear diagram indicating how information is transmitted.

image.png