GPT-3: scale unlocks few-shot in-context learning
Natural language processingBefore GPT-3, adapting a language model to a new task typically required fine-tuning on a task-specific labeled dataset. Brown et al. (2020) asked whether simply scaling up an autoregressive Transformer would let a single frozen model perform new tasks from only a natural-language description and a handful of in-context examples — no gradient updates.
They pretrained a 175-billion-parameter decoder-only Transformer on roughly 300 billion tokens of filtered web text, books, and Wikipedia, using the standard next-token cross-entropy objective. They then evaluated the same frozen weights across dozens of benchmarks in zero-shot, one-shot, and few-shot settings, supplying task examples purely in the prompt context.
GPT-3 (175B parameters, about 100x larger than its 1.5B-parameter predecessor GPT-2) achieved strong few-shot performance on many tasks, in some cases approaching fine-tuned baselines, and demonstrated that in-context learning strengthens systematically with scale. On the LAMBADA word-prediction benchmark, few-shot accuracy reached roughly 86%. The work established few-shot prompting as a practical paradigm and is a canonical demonstration of an emergent capability appearing with scale.
Source: Language Models are Few-Shot Learners — Brown, T. B. et al.