In-Context Learning Learns Label Relationships but Is Not Conventional Learning

Jannik Kossen, Y. Gal, Tom Rainforth
2/12/2026

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

The predictions of Large Language Models (LLMs) on downstream tasks often improve significantly when including examples of the input--label relationship in the context. However, there is currently no consensus about how this in-context learning (ICL) ability of LLMs works. For example, while Xie et al. (2021) liken ICL to a general-purpose learning algorithm, Min et al. (2022) argue ICL does not even learn label relationships from in-context examples. In this paper, we provide novel insights into how ICL leverages label information, revealing both capabilities and limitations. To ensure we obtain a comprehensive picture of ICL behavior, we study probabilistic aspects of ICL predictions and thoroughly examine the dynamics of ICL as more examples are provided. Our experiments show that ICL predictions almost always depend on in-context labels and that ICL can learn truly novel tasks in-context. However, we also find that ICL struggles to fully overcome prediction preferences acquired from pre-training data and, further, that ICL does not consider all in-context information equally.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kossen2026incontext,
  title  = {In-Context Learning Learns Label Relationships but Is Not Conventional Learning},
  author = {Jannik Kossen and Y. Gal and Tom Rainforth},
  year   = {2026},
  eprint = {2307.12375},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2307.12375},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.12375.svg)](https://codeofpaper.com/paper/2307.12375)

Discussion