articleFeb 19, 2026GOLD OA

Characterizing In-Context Learning: When Can Transformers Match Standard Learning Algorithms?

Indexed incrossref

Abstract

Transformers exhibit remarkable in-context learning (ICL) capabilities—the ability to learn new tasks from examples provided in the context window without weight updates. Despite extensive empirical investigation, a fundamental theoretical question remains unanswered: which function classes can be learned in-context, and which cannot? This gap in our understanding limits principled system design and creates uncertainty about when ICL will succeed or fail. We address this gap by developing a theoretical framework based on Sufficient Statistic Complexity (SSC)—the minimal information that must be extracted from context examples to enable accurate prediction. We prove that function classes with…

Citation impact

8
total citations
FWCI
194.80
Percentile
100%
References
21
Too recent for citation history.

Authors

1

Topics & keywords

Keywords
  • Sample complexity
  • Function (biology)
  • Statistic
  • Transformer
  • Context (archaeology)
  • Matching (statistics)
  • Q-learning
UN Sustainable Development Goals
  • Quality Education
No related works found for this paper.