Transformers Learn Robust In-Context Regression under Distributional Uncertainty
Not on the map. Why?
Abstract (arXiv)
Recent work has shown that Transformers can perform in-context learning for linear regression under restrictive assumptions, including i.i.d. data, Gaussian noise, and Gaussian regression coefficients. However, real-world data often violate these assumptions: the distributions of inputs, noise, and coefficients are typically unknown, non-Gaussian, and may exhibit dependency across the prompt. This raises a fundamental question: can Transformers learn effectively in-context under realistic distributional uncertainty? We study in-context learning for noisy linear regression under a broad range of distributional shifts, including non-Gaussian coefficients, heavy-tailed noise, and non-i.i.d. prompts. We compare Transformers against classical baselines that are optimal or suboptimal under the corresponding maximum-likelihood criteria. Across all settings, Transformers consistently match or outperform these baselines, demonstrating robust in-context adaptation beyond classical estimators.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 19 of its 25 references that are in the map. First posted on arXiv 19 Mar 2026.
Builds on
19 of 25 references.
References · 19
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2023Larger language models do in-context learning differentlycited by 386
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2021Curriculum Learning: A Surveycited by 257
- 2022Why Can GPT Learn In-Context? Language Models Implicitly Perform Gradient Descent as Meta-Optimizerscited by 204
- 2024Many-Shot In-Context Learningcited by 203
- 2023Are Emergent Abilities in Large Language Models just In-Context Learning?cited by 109
7 more
- 2022Transformers as Meta-Learners for Implicit Neural Representationscited by 79
- 2025Can Transformers Learn Full Bayesian Inference in Context?cited by 30
- 2023Towards Understanding How Transformers Learn In-context Through a Representation Learning Lenscited by 15
- 2024Exploring the Robustness of In-Context Learning with Noisy Labelscited by 13
- 2024Understanding In-Context Learning of Linear Models in Transformers Through an Adversarial Lenscited by 7
- 2025Transformer learns the cross-task prior and regularization for in-context learningcited by 7
- 2025Transformers Don't In-Context Learn Least Squares Regressioncited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.