In-Context Semi-Supervised Learning

Jiashuo Fan, Paul Rosu, Aaron T. Wang, Michael Li, Lawrence Carin +1 more
12/17/2025
cs.LG

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

There has been significant recent interest in understanding the capacity of Transformers for in-context learning (ICL), yet most theory focuses on supervised settings with explicitly labeled pairs. In practice, Transformers often perform well even when labels are sparse or absent, suggesting crucial structure within unlabeled contextual demonstrations. We introduce and study in-context semi-supervised learning (IC-SSL), where a small set of labeled examples is accompanied by many unlabeled points, and show that Transformers can leverage the unlabeled context to learn a robust, context-dependent representation. This representation enables accurate predictions and markedly improves performance in low-label regimes, offering foundational insights into how Transformers exploit unlabeled context for representation learning within the ICL framework.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fan2025incontext,
  title  = {In-Context Semi-Supervised Learning},
  author = {Jiashuo Fan and Paul Rosu and Aaron T. Wang and Michael Li and Lawrence Carin and Xiang Cheng},
  year   = {2025},
  eprint = {2512.15934},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.15934v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.15934.svg)](https://codeofpaper.com/paper/2512.15934)

Discussion