# Transformer In-Context Learning

Category: [Interpretability & Model Adaptation](../pcat/15.md) · 17 papers · [Open on the map](../papers.html#g655)

These papers investigate theoretical and empirical aspects of how transformers perform in-context learning, covering distribution shift, attention dynamics, prompt order, spurious correlations, benign overfitting, task recognition, and related phenomena.

## Papers

- [A Unified Theoretical Framework for Task Recognition and Task Learning in In-Context Learning](../p/149830.md)
- [Capturing In-Context Learning Dynamics with Task Operators](../p/149094.md)
- [Data Diversity Drives the Emergence of Symbolic Mechanisms Supporting Abstract Reasoning](../p/155264.md)
- [Distributional Alignment as a Criterion for Designing Task Vectors in In-Context Learning](../p/152916.md)
- [In-Context Benign Overfitting: A Feature-Selection Model in Linear Regression ICL](../p/154755.md)
- [In-context Learning in Presence of Spurious Correlations](../p/156780.md)
- [Optimal In-context Adaptivity and Distributional Robustness of Transformers](../p/155446.md)
- [Optimal In-Context Learning of Autoregressive Processes under Heterogeneous Second-Order Moments of the Prompts](../p/153067.md)
- [Positional Encoding and Prompt-Order Sensitivity in In-Context Learning](../p/151605.md)
- [Pretraining Data Statistics Shape the Phases of Learning Entity Comparison in Language Models](../p/151759.md)
- [Task Vector Geometry Underlies Dual Modes of Task Inference in Transformers](../p/152712.md)
- [Test time training enhances in-context learning of nonlinear functions](../p/152817.md)
- [The Missing Positional Story in LLMs: A Case Study of Shift-Invariant Attention](../p/153926.md)
- [Theory on Attention Dynamics for Out-of-Distribution In-Context Learning](../p/155001.md)
- [Transformers Can Learn Multiclass Classification In-Context: Isotropy Governs Generalization](../p/150527.md)
- [When Symbol Names Should Not Matter: A Logistic Theory of Fresh-Symbol Classification](../p/151337.md)
- [Why Transformers Struggle with Distribution-Independent In-Context Learning](../p/155239.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=pgroup/655)
