Highlight

Language Models are Few-Shot Learners

Trains the 175-billion-parameter GPT-3 and shows strong few-shot task performance from text prompts alone, without fine-tuning.

Based on

Language Models are Few-Shot Learners

By Tom B. Brown, Benjamin Mann, Nick Ryder et al.Neural Information Processing Systems
Read original article →

This paper investigates whether simply scaling up language models can substitute for task-specific fine-tuning. The authors train GPT-3, an autoregressive language model with 175 billion parameters, ten times larger than any previous non-sparse language model, and evaluate it in a few-shot setting where the model is given only a natural-language description of the task and a handful of demonstrations within its input text, with no gradient updates or fine-tuning applied at all.

GPT-3 achieves strong performance across a wide range of NLP tasks, including translation, question answering, and cloze-style completion, as well as tasks requiring on-the-fly reasoning or adaptation such as unscrambling words, using novel words in sentences, and simple arithmetic, at times becoming competitive with prior fine-tuned state-of-the-art methods. The paper also identifies datasets where GPT-3's few-shot learning still struggles, notes methodological issues from training on large web corpora, and finds that GPT-3 can produce news articles that human evaluators struggle to distinguish from human-written ones, prompting discussion of broader societal impacts.

Abstract

Prior NLP gains came from pretraining plus fine-tuning needing many labeled examples, unlike humans who learn from a few examples. This paper trains GPT-3, a 175-billion-parameter autoregressive language model 10x larger than prior non-sparse models, evaluated via pure in-context few-shot prompting with no gradient updates. GPT-3 performs strongly on translation, QA, cloze, and reasoning tasks, rivaling some fine-tuned methods, though it struggles on some datasets and can write news articles hard to distinguish from human-written ones.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

large language modelsfew-shot learningGPT-3natural language processingin-context learning
Share

Take the next step

Try CoreModels, talk with our team, or explore more resources.