2026
Pretrain–Test Task Alignment Governs Generalization in In-Context Learning
ICLR 2026poster
In-context learning (ICL) is a central capability of Transformer models, but the structures in data that enable its emergence and govern its robustness remain poorly understood. In this work, we study how the structure of pretraining tasks governs generalization in ICL. Using a solvable model for IC…