atlas

Research map / Large language models / Language, safety and interpretability

Unlabeled Data Can Provably Enhance In-Context Learning of Transformers

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: In-context learning analysis · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that a 4-layer softmax transformer with CoT can emulate EM on labeled plus unlabeled prompt data for multi-class linear classification, and that teacher-forcing training converges linearly to the EM-implementing solution.

Problem

Whether unlabeled data in the prompt can provably improve in-context learning of transformers when only a few labeled demonstrations are available, given that labeled demonstrations are costly.

Approach

Augmented ICL places labeled and unlabeled examples in one prompt; CoT steps let a transformer run EM-style mean estimation (softmax E-step, linear-attention M-step, ReLU layer for labeled initialization), so the mean-estimation error shrinks with the number of unlabeled samples M.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add unlabeled examples to the prompt alongside labeled examplesAugmented ICL transformer · Multi-class linear classificationclass mean estimation errorHelped
add unlabeled examples to the prompt alongside labeled examplesAugmented ICL transformer · Multi-class linear classificationprediction accuracyHelped
increase the number of unlabeled examplesAugmented ICL transformer · Multi-class linear classificationclass mean estimation errorHelped
increase the number of unlabeled examplesAugmented ICL transformer · Multi-class linear classificationclassification accuracyHelped
use lower noise ($\epsilon=0.7$ rather than $\epsilon=1.5$)Augmented ICL transformer · Multi-class linear classificationadvantage over conventional ICLHelped
use augmented ICL with unlabeled examplesTransformer trained via teacher forcing · Multi-class linear classificationprediction errorHelped

Surprising findings

Limitations

Experimental setup

Datasets: synthetic Gaussian mixture ICL instances

Benchmarks: synthetic Gaussian mixture ICL instances (C=3, d=3)

Metrics: class mean estimation error label prediction accuracy

Baselines: conventional few-shot ICL (M=1) Bayes-optimal classifier using labeled data only

Builds on: chain-of-thought prompting teacher forcing EM algorithm for Gaussian mixtures

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy