Unlabeled Data Can Provably Enhance In-Context Learning of Transformers
Renpu Liu, Jing Yang

TL;DR
This paper introduces a new framework that uses unlabeled data alongside labeled examples to improve in-context learning of transformers, supported by theoretical analysis and empirical results showing consistent performance gains.
Contribution
It provides the first theoretical analysis demonstrating how unlabeled data can provably enhance transformer-based in-context learning, especially in multi-class classification tasks.
Findings
Transformer effectively emulates EM algorithm with unlabeled data
Augmented ICL outperforms traditional few-shot ICL
Parameters converge linearly with teacher forcing
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Topic Modeling · Text Readability and Simplification
