Pith. sign in

REVIEW 1 cited by

Context-Scaling versus Task-Scaling in In-Context Learning

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 2410.12783 v1 pith:XOVYN75U submitted 2024-10-16 cs.LG stat.ML

classification cs.LGstat.ML
keywords task-scalingcontext-scalingcapablefeaturein-contextlearningmodeltasks
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Transformers exhibit In-Context Learning (ICL), where these models solve new tasks by using examples in the prompt without additional training. In our work, we identify and analyze two key components of ICL: (1) context-scaling, where model performance improves as the number of in-context examples increases and (2) task-scaling, where model performance improves as the number of pre-training tasks increases. While transformers are capable of both context-scaling and task-scaling, we empirically show that standard Multi-Layer Perceptrons (MLPs) with vectorized input are only capable of task-scaling. To understand how transformers are capable of context-scaling, we first propose a significantly simplified transformer architecture without key, query, value weights. We show that it performs ICL comparably to the original GPT-2 model in various statistical learning tasks including linear regression, teacher-student settings. Furthermore, a single block of our simplified transformer can be viewed as data dependent feature map followed by an MLP. This feature map on its own is a powerful predictor that is capable of context-scaling but is not capable of task-scaling. We show empirically that concatenating the output of this feature map with vectorized data as an input to MLPs enables both context-scaling and task-scaling. This finding provides a simple setting to study context and task-scaling for ICL.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

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

  1. A Unified Framework for In-Context Learning with Causal and Masked Language Models

    cs.LG 2026-07 conditional novelty 7.0 of 10

    Masked and causal pretraining yield same-order k-shot excess-risk bounds under Wasserstein regularity, and a Masked Pair Encoder matches GPT-2-style ICL on synthetic function classes.

Pith tools