TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Language Models are Few-Shot Learners

Language Models are Few-Shot Learners

Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, Dario Amodei

2020-05-28NeurIPS 2020 12Reading ComprehensionQuestion AnsweringFew-Shot LearningMulti-task Language UnderstandingSentence CompletionCoreference ResolutionUnsupervised Machine TranslationNatural Language InferenceCommon Sense Reasoninganswerability predictionMulti-Task LearningWord Sense DisambiguationZero-Shot LearningLanguage ModellingDomain Adaptation
PaperPDFCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCode(official)CodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCode

Abstract

Recent work has demonstrated substantial gains on many NLP tasks and benchmarks by pre-training on a large corpus of text followed by fine-tuning on a specific task. While typically task-agnostic in architecture, this method still requires task-specific fine-tuning datasets of thousands or tens of thousands of examples. By contrast, humans can generally perform a new language task from only a few examples or from simple instructions - something which current NLP systems still largely struggle to do. Here we show that scaling up language models greatly improves task-agnostic, few-shot performance, sometimes even reaching competitiveness with prior state-of-the-art fine-tuning approaches. Specifically, we train GPT-3, an autoregressive language model with 175 billion parameters, 10x more than any previous non-sparse language model, and test its performance in the few-shot setting. For all tasks, GPT-3 is applied without any gradient updates or fine-tuning, with tasks and few-shot demonstrations specified purely via text interaction with the model. GPT-3 achieves strong performance on many NLP datasets, including translation, question-answering, and cloze tasks, as well as several tasks that require on-the-fly reasoning or domain adaptation, such as unscrambling words, using a novel word in a sentence, or performing 3-digit arithmetic. At the same time, we also identify some datasets where GPT-3's few-shot learning still struggles, as well as some datasets where GPT-3 faces methodological issues related to training on large web corpora. Finally, we find that GPT-3 can generate samples of news articles which human evaluators have difficulty distinguishing from articles written by humans. We discuss broader societal impacts of this finding and of GPT-3 in general.

Results

TaskDatasetMetricValueModel
Machine TranslationWMT2014 English-FrenchBLEU32.6GPT-3 175B (Few-Shot)
Machine TranslationWMT2014 French-EnglishBLEU39.2GPT-3 175B (Few-Shot)
Machine TranslationWMT2016 English-GermanBLEU29.7GPT-3 175B (Few-Shot)
Machine TranslationWMT2016 Romanian-EnglishBLEU39.5GPT-3 175B (Few-Shot)
Machine TranslationWMT2016 German-EnglishBLEU40.6GPT-3 175B (Few-Shot)
Machine TranslationWMT2016 English-RomanianBLEU21GPT-3 175B (Few-Shot)
Reading ComprehensionRACEAccuracy (Middle)58.4GPT-3 175B (0-shot)
Reading ComprehensionRACEAccuracy (High)45.5GPT-3 175B (zero-shot)
Few-Shot LearningMedConceptsQAAccuracy41.476gpt-3.5-turbo
Zero-Shot LearningMedConceptsQAAccuracy37.058gpt-3.5-turbo
Question AnsweringPeerQAAlignScore0.1378GPT-3.5-Turbo-0613-16k
Question AnsweringPeerQAPrometheus-2 Answer Correctness3.0408GPT-3.5-Turbo-0613-16k
Question AnsweringPeerQARouge-L0.2414GPT-3.5-Turbo-0613-16k
Question AnsweringCOPAAccuracy92GPT-3 175B (few-shot, k=32)
Question AnsweringCOPAAccuracy91GPT-3 175B (0-shot)
Question AnsweringCOPAAccuracy87GPT-3 175B (1-shot)
Question AnsweringCOPAAccuracy86GPT-3 13B (few-shot, k=32)
Question AnsweringCOPAAccuracy73GPT-3 Large 760M (0-shot)
Question AnsweringCoQAOverall85GPT-3 175B (few-shot, k=32)
Question AnsweringNatural QuestionsEM29.9GPT-3 175B (Few-Shot, k=64)
Question AnsweringStory ClozeAccuracy87.7GPT-3 175B (Few-Shot)
Question AnsweringOBQAAccuracy57.6GPT-3 175B (zero-shot)
Question AnsweringMultiRCF175.4GPT-3 175B (Few-Shot)
Question AnsweringWebQuestionsEM41.5GPT-3-175B (Few-Shot)
Question AnsweringWebQuestionsEM25.3GPT-3-175B (One-Shot)
Question AnsweringWebQuestionsEM14.4GPT-3-175B (Zero-Shot)
Question AnsweringQuACF144.3GPT-3 175B (few-shot, k=32)
Question AnsweringPIQAAccuracy81GPT-3 175B (0-shot)
Question AnsweringPIQAAccuracy72.9GPT-3 Large 760M (0-shot)
Question AnsweringRACERACE-m58.1GPT-3 175B (few-shot, k=32)
Question AnsweringRACERACE-h46.8GPT-3 175B (Few-Shot)
Question AnsweringStoryClozeAccuracy72.4GPT-3 Large 760M (zero-shot)
Question AnsweringBoolQAccuracy76.4GPT-3 175B (few-shot, k=32)
Question AnsweringBoolQAccuracy60.5GPT-3 75B (0-shot)
Question AnsweringDROP TestF136.5GPT-3 175B (few-shot, k=32)
Question AnsweringTriviaQAEM71.2GPT-3 175B (Few-Shot)
Question AnsweringOpenBookQAAccuracy65.4GPT-3 175B (few-shot, k=32)
Common Sense ReasoningWinoGrandeAccuracy70.2GPT-3 175B (0-shot)
Common Sense ReasoningWinoGrandeAccuracy57.4GPT-3 Large 760M (0-shot)
Common Sense ReasoningARC (Challenge)Accuracy53.2GPT-3 175B (1 shot)
Common Sense ReasoningARC (Challenge)Accuracy51.4GPT-3 175B (0-shot)
Common Sense ReasoningARC (Easy)Accuracy71.2GPT-3 175B (1 shot)
Common Sense ReasoningARC (Easy)Accuracy68.8GPT-3 175B (0-shot)
Common Sense ReasoningReCoRDEM82.1GPT-3 Large 760M (0-shot)
Word Sense DisambiguationWords in ContextAccuracy49.4GPT-3 175B (few-shot, k=32)
Natural Language InferenceANLI testA136.8GPT-3
Natural Language InferenceANLI testA234GPT-3
Natural Language InferenceANLI testA340.2GPT-3
Natural Language InferenceCommitmentBankAccuracy75.6GPT-3 175B (Few-Shot)
Natural Language InferenceCommitmentBankF152GPT-3 175B (few-shot, k=32)
Language ModellingPenn Treebank (Word Level)Test perplexity20.5GPT-3 (Zero-Shot)
Language ModellingLAMBADAAccuracy86.4GPT-3 175B (Few-Shot)
Language ModellingLAMBADAPerplexity1.92GPT-3 175B (Few-Shot)
Language ModellingLAMBADAAccuracy76.2GPT-3 175B (Zero-Shot)
Language ModellingLAMBADAPerplexity3GPT-3 175B (Zero-Shot)
Language ModellingLAMBADAAccuracy72.5GPT-3 13B (Zero-Shot)
Language ModellingLAMBADAPerplexity3.56GPT-3 13B (Zero-Shot)
Language ModellingLAMBADAAccuracy70.3GPT-3 6.7B (Zero-Shot)
Language ModellingLAMBADAPerplexity4GPT-3 6.7B (Zero-Shot)
Language ModellingLAMBADAAccuracy67.1GPT-3 2.7B (Zero-Shot)
Language ModellingLAMBADAPerplexity4.6GPT-3 2.7B (Zero-Shot)
Coreference ResolutionWinograd Schema ChallengeAccuracy80.1GPT-3 175B (few-shot)
Meta-LearningMedConceptsQAAccuracy41.476gpt-3.5-turbo
Sentence CompletionHellaSwagAccuracy79.3GPT-3 175B (few-shot, k=32)
Sentence CompletionHellaSwagAccuracy78.9GPT-3 (0-shot)
Sentence CompletionHellaSwagAccuracy51GPT-3 Large 760M (0-shot)
answerability predictionPeerQAMacro F10.3304GPT-3.5-Turbo-0613-16k

Related Papers

Visual-Language Model Knowledge Distillation Method for Image Quality Assessment2025-07-21From Roots to Rewards: Dynamic Tree Reasoning with RL2025-07-17Enter the Mind Palace: Reasoning and Planning for Long-term Active Embodied Question Answering2025-07-17Vision-and-Language Training Helps Deploy Taxonomic Knowledge but Does Not Fundamentally Alter It2025-07-17City-VLM: Towards Multidomain Perception Scene Understanding via Multimodal Incomplete Learning2025-07-17GLAD: Generalizable Tuning for Vision-Language Models2025-07-17Comparing Apples to Oranges: A Dataset & Analysis of LLM Humour Understanding from Traditional Puns to Topical Jokes2025-07-17SGCL: Unifying Self-Supervised and Supervised Learning for Graph Recommendation2025-07-17