Pith. sign in

REVIEW 2 cited by

Pretraining task diversity and the emergence of non-Bayesian in-context learning for regression

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2306.15063 v2 pith:XFFDZEUC submitted 2023-06-26 cs.LG cs.AIcs.CL

classification cs.LGcs.AIcs.CL
keywords pretrainingtasktasksdiversitytextitregressionthresholdemergence
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

Pretrained transformers exhibit the remarkable ability of in-context learning (ICL): they can learn tasks from just a few examples provided in the prompt without updating any weights. This raises a foundational question: can ICL solve fundamentally $\textit{new}$ tasks that are very different from those seen during pretraining? To probe this question, we examine ICL's performance on linear regression while varying the diversity of tasks in the pretraining dataset. We empirically demonstrate a $\textit{task diversity threshold}$ for the emergence of ICL. Below this threshold, the pretrained transformer cannot solve unseen regression tasks, instead behaving like a Bayesian estimator with the $\textit{non-diverse pretraining task distribution}$ as the prior. Beyond this threshold, the transformer significantly outperforms this estimator; its behavior aligns with that of ridge regression, corresponding to a Gaussian prior over $\textit{all tasks}$, including those not seen during pretraining. Thus, when pretrained on data with task diversity greater than the threshold, transformers $\textit{can}$ optimally solve fundamentally new tasks in-context. Importantly, this capability hinges on it deviating from the Bayes optimal estimator with the pretraining distribution as the prior. This study also explores the effect of regularization, model capacity and task structure and underscores, in a concrete example, the critical role of task diversity, alongside data and model scale, in the emergence of ICL. Code is available at https://github.com/mansheej/icl-task-diversity.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Differential learning kinetics govern the transition from memorization to generalization during in-context learning

    cs.LG 2024-11 conditional novelty 7.0 of 10

    The memorization-to-generalization transition during in-context learning is set by the relative learning rates of independent ICL and IWL sub-circuits, yielding a power-law threshold that matches experiments.

  2. BARE: Leveraging Base Language Models for Few-Shot Synthetic Data Generation

    cs.CL 2025-02 conditional novelty 6.0 of 10

    BARE generates diverse, high-quality synthetic training data from only three seed examples by having a base model draft and an instruction-tuned model refine, improving downstream fine-tuning accuracy in few-shot settings.

Pith tools