When and How Unlabeled Data Provably Improve In-Context Learning
Not on the map. Why?
Abstract (arXiv)
Recent research shows that in-context learning (ICL) can be effective even when demonstrations have missing or incorrect labels. To shed light on this capability, we examine a canonical setting where the demonstrations are drawn according to a binary Gaussian mixture model (GMM) and a certain fraction of the demonstrations have missing labels. We provide a comprehensive theoretical study to show that: (1) The loss landscape of one-layer linear attention models recover the optimal fully-supervised estimator but completely fail to exploit unlabeled data; (2) In contrast, multilayer or looped transformers can effectively leverage unlabeled data by implicitly constructing estimators of the form sumi≥ 0 ai (X^top X)iX^top y with X and y denoting features and partially-observed labels (with missing entries set to zero). We characterize the class of polynomials that can be expressed as a function of depth and draw connections to Expectation Maximization, an iterative pseudo-labeling algorithm commonly used in semi-supervised learning. Importantly, the leading polynomial power is exponential in depth, so mild amount of depth/looping suffices. As an application of theory, we propose looping off-the-shelf tabular foundation models to enhance their semi-supervision capabilities. Extensive evaluations on real-world datasets show that our method significantly improves the semisupervised tabular learning performance over the standard single pass inference.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 35 of its 56 references that are in the map. First posted on arXiv 18 Jun 2025.
Builds on
35 of 56 references.
References · 35
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2022Transformers learn in-context by gradient descentcited by 732
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
- 2022TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Secondcited by 674
- 2023Trained Transformers Learn Linear Models In-Contextcited by 337
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 298
- 2025TabICL: A Tabular Foundation Model for In-Context Learning on Large Datacited by 289
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
23 more
- 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 222
- 2024Many-Shot In-Context Learningcited by 206
- 2020Theoretical Analysis of Self-Training with Deep Networks on Unlabeled Datacited by 180
- 2023One Step of Gradient Descent is Provably the Optimal In-Context Learner with One Layer of Linear Self-Attentioncited by 170
- 2014Statistical guarantees for the EM algorithm: From population to sample-based analysiscited by 133
- 2024Visual In-Context Learning for Large Vision-Language Modelscited by 128
- 2024TabDPT: Scaling Tabular Foundation Models on Real Datacited by 113
- 2018Overfitting or perfect fitting? Risk bounds for classification and regression rules that interpolatecited by 99
- 2023How Many Pretraining Tasks Are Needed for In-Context Learning of Linear Regression?cited by 96
- 2019A Model of Double Descent for High-dimensional Binary Linear Classificationcited by 81
- 2020Finite-sample Analysis of Interpolating Linear Classifiers in the Overparameterized Regimecited by 81
- 2021Risk Bounds for Over-parameterized Maximum Margin Classification on Sub-Gaussian Mixturescited by 49
- 2024A Theoretical Understanding of Self-Correction through In-context Alignmentcited by 44
- 2024In-Context Learning with Representations: Contextual Generalization of Trained Transformerscited by 38
- 2020Theoretical Insights Into Multiclass Classification: A High-dimensional Asymptotic Viewcited by 32
- 2020Binary Classification of Gaussian Mixtures: Abundance of Support Vectors, Benign Overfitting and Regularizationcited by 27
- 2024Fine-grained Analysis of In-context Linear Estimation: Data, Architecture, and Beyondcited by 24
- 2024In-Context Learning with Transformers: Softmax Attention Adapts to Function Lipschitznesscited by 22
- 2019Asymptotic Bayes risk for Gaussian mixture in a semi-supervised settingcited by 15
- 2024On the Training Convergence of Transformers for In-Context Classification of Gaussian Mixturescited by 15
- 2025MAPLE: Many-Shot Adaptive Pseudo-Labeling for In-Context Learningcited by 13
- 2025Gating is Weighting: Understanding Gated Linear Attention through In-context Learningcited by 12
- 2023Expectation Maximization Pseudo Labelscited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2026Unlabeled Data Can Provably Enhance In-Context Learning of Transformerscited by 2
- 2025Transformers are almost optimal metalearners for linear classificationcited by 1
- 2025In-Context Semi-Supervised Learningcited by 1
- 2026Symmetry Reveals Layerwise Dynamics: How Transformers Perform In-Context Classificationcited by 0
- 2026Test-Time Compute for Tabular Foundation Models: Mechanisms, Gains, and Limitscited by 0
- 2026Characterizing the Separability Gap in Prior-Data Fitted Networkscited by 0
- 2026Characterizing the Separability Gap in Prior-Data Fitted Networks10 Oct 2026
- 2026Test-Time Compute for Tabular Foundation Models: Mechanisms, Gains, and Limits8 Oct 2026
- 2026Symmetry Reveals Layerwise Dynamics: How Transformers Perform In-Context Classification13 Apr 2026
- 2026Unlabeled Data Can Provably Enhance In-Context Learning of Transformers15 Jan 2026
- 2025In-Context Semi-Supervised Learning17 Dec 2025
- 2025Transformers are almost optimal metalearners for linear classification22 Oct 2025