mlsanityData to 14 Oct 2026

Unlabeled Data Can Provably Enhance In-Context Learning of Transformers

arXiv 2601.10058 ↗First posted 15 Jan 2026cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) exhibit impressive in-context learning (ICL) capabilities, yet the quality of their predictions is fundamentally limited by the few costly labeled demonstrations that can fit into a prompt. Meanwhile, there exist vast and continuously growing amounts of unlabeled data that may be closely related to the ICL task. How to utilize such unlabeled data to provably enhance the performance of ICL thus becomes an emerging fundamental question. In this work, we propose a novel augmented ICL framework, in which the prompt includes a small set of labeled examples alongside a block of unlabeled inputs. We focus on the multi-class linear classification setting and demonstrate that, with chain-of-thought (CoT) prompting, a multi-layer transformer can effectively emulate an expectation-maximization (EM) algorithm. This enables the transformer to implicitly extract useful information from both labeled and unlabeled data, leading to provable improvements in ICL accuracy. Moreover, we show that such a transformer can be trained via teacher forcing, with its parameters converging to the desired solution at a linear rate. Experiments demonstrate that the augmented ICL framework consistently outperforms conventional few-shot ICL, providing empirical support for our theoretical findings. To the best of our knowledge, this is the first theoretical study on the impact of unlabeled data on the ICL performance of transformers.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 58 of its 66 references that are in the map. First posted on arXiv 15 Jan 2026.

Builds on

58 of 66 references.

References · 58

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2023GPT-4 Technical Reportcited by 18,396
  6. 2022Training language models to follow instructions with human feedbackcited by 15,971
  7. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  8. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  9. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  10. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  11. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  12. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
38 more
  1. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,546
  2. 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
  3. 2023LIMA: Less Is More for Alignmentcited by 1,100
  4. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  5. 2022Transformers learn in-context by gradient descentcited by 732
  6. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
  7. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
  8. 2023Trained Transformers Learn Linear Models In-Contextcited by 337
  9. 2023Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervisioncited by 318
  10. 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 298
  11. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
  12. 2024Many-Shot In-Context Learningcited by 206
  13. 2023One Step of Gradient Descent is Provably the Optimal In-Context Learner with One Layer of Linear Self-Attentioncited by 170
  14. 2023Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressioncited by 146
  15. 2024How Transformers Learn Causal Structure with Gradient Descentcited by 118
  16. 2023In-Context Convergence of Transformerscited by 115
  17. 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 102
  18. 2023Uncovering mesa-optimization algorithms in Transformerscited by 100
  19. 2023A Theoretical Understanding of Shallow Vision Transformers: Learning, Generalization, and Sample Complexitycited by 77
  20. 2023Transformers as Support Vector Machinescited by 74
  21. 2024Training Dynamics of Multi-Head Softmax Attention for In-Context Learning: Emergence, Convergence, and Optimalitycited by 74
  22. 2017List-Decodable Robust Mean Estimation and Learning Mixtures of Spherical Gaussianscited by 70
  23. 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Contextcited by 63
  24. 2023Max-Margin Token Selection in Attention Mechanismcited by 58
  25. 2023JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attentioncited by 52
  26. 2024Transformers Provably Solve Parity Efficiently with Chain of Thoughtcited by 50
  27. 2024Transformers Learn Nonlinear Features In Context: Nonconvex Mean-field Dynamics on the Attention Landscapecited by 46
  28. 2023Self-ICL: Zero-Shot In-Context Learning with Self-Generated Demonstrationscited by 42
  29. 2023On the Optimization and Generalization of Multi-head Attentioncited by 37
  30. 2024Mechanics of Next Token Prediction with Self-Attentioncited by 34
  31. 2024In-Context Learning of a Linear Transformer Block: Benefits of the MLP Component and One-Step GD Initializationcited by 33
  32. 2025Transformers Learn to Implement Multi-step Gradient Descent with Chain of Thoughtcited by 32
  33. 2024Implicit Bias and Fast Convergence Rates for Self-attentioncited by 31
  34. 2024From Sparse Dependence to Sparse Attention: Unveiling How Chain-of-Thought Enhances Transformer Sample Efficiencycited by 29
  35. 2024Provably learning a multi-head attention layercited by 21
  36. 2023Auto-ICL: In-Context Learning without Human Supervisioncited by 18
  37. 2024Superiority of Multi-Head Attention in In-Context Linear Regressioncited by 17
  38. 2024On the Training Convergence of Transformers for In-Context Classification of Gaussian Mixturescited by 15

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Dissecting Multimodal In-Context Learning: Modality Asymmetries and Circuit Dynamics in modern Transformers
  2. 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
  3. 2023Concept-aware Training Improves In-context Learning Ability of Language Models
  4. 2024In-Context Language Learning: Architectures and Algorithms
  5. 2025Illusion or Algorithm? Investigating Memorization, Emergence, and Symbolic Processing in In-Context Learning
  6. 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignment
  7. 2024Linear Transformers with Learnable Kernel Functions are Better In-Context Models
  8. 2024Context-Scaling versus Task-Scaling in In-Context Learning