AI summary · arXiv: 2005.14165v1 · cs.CL
Language Models are Few-Shot Learners
The essentials
- Natural language processing (NLP) has made significant progress in recent years
- Pre-training models on large text corpora followed by fine-tuning for specific tasks is the current approach
- However, these models still require task-specific fine-tuning datasets consisting of thousands or tens of thousands of examples
- Humans can perform new language tasks from only a few examples or simple instructions, which current NLP systems struggle to do
- GPT-3 is an autoregressive language model with 175 billion parameters and tested its performance in the few-shot setting without any gradient updates or fine-tuning
- GPT-3 achieves strong performance on many NLP datasets, including translation, question-answering and cloze tasks as well as 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.
- There are some datasets where GPT-3's few shot learning still struggles and faces methodological issues related to training on large web corpora.
- GPT-3 can generate samples of news articles that human evaluators have difficulty distinguishing from articles written by humans.
- Scaling up language models like GPT-3 greatly improves task agnostic few shot performance and sometimes even reaches competitiveness with prior state of the art fine tuning approaches.
- -The development of such models has significant implications for various industries such as healthcare, finance and education where natural language processing plays an essential role.
Key points written by AI: they may contain errors, check them against the paper.
Ask questions about this paper to our AI assistant
How to chat with this paper? Illustrated guide
You can also chat with multiple papers at once here.
Keep this conversation — a free account saves your questions and answers, your collections of papers and your alerts.
Continue with Google Create a free accountTools for this paper
Advanced tools Premium
For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium
Among the 31 papers around this one, the name that comes back most: Timo Schick (2 papers)
2 more people sign several of them. The full map adds their institutions and approaches, from the papers of the last years.
Papers around this one
See them on a mapRanked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
It's Not Just Size That Matters: Small Language Models Are Also Few-Shot LearnersTimo Schick, Hinrich Schütze · 2020 · Computation and Language · cited 1,152 times · AI summary available
Small language models pursue GPT-3-like few-shot performance with cloze prompts, gradient-based optimization, and unlabeled data instead of relying on massive model scale.
Abstract
When scaled to hundreds of billions of parameters, pretrained language models such as GPT-3 (Brown et al., 2020) achieve remarkable few-shot performance. However, enormous amounts of compute are required for training and applying such big models, resulting in a large carbon footprint and making it difficult for researchers and practitioners to use them. We show that performance similar to GPT-3 can be obtained with language models that are much "greener" in that their parameter count is several orders of magnitude smaller. This is achieved by converting textual inputs into cloze questions that contain a task description, combined with gradient-based optimization; exploiting unlabeled data gi…
-
Making Pre-trained Language Models Better Few-shot LearnersTianyu Gao, Adam Fisch, Danqi Chen · 2021 · Annual Meeting of the Association for Computational Linguistics · cited 2,390 times · Not summarized yet
Abstract
The recent GPT-3 model (Brown et al., 2020) achieves remarkable few-shot performance solely by leveraging a natural-language prompt and a few task demonstrations as input context. Inspired by their findings, we study few-shot learning in a more practical scenario, where we use smaller language models for which fine-tuning is computationally efficient. We present LM-BFF—better few-shot fine-tuning of language models—a suite of simple and complementary techniques for fine-tuning language models on a small number of annotated examples. Our approach includes (1) prompt-based fine-tuning together with a novel pipeline for automating prompt generation; and (2) a refined strategy for dynamically an…
-
Calibrate Before Use: Improving Few-Shot Performance of Language ModelsTony Z. Zhao, Eric Wallace, Shi Feng et al. · 2021 · Computation and Language · cited 2,206 times · Not summarized yet
Calibrate Before Use reduces instability in GPT-3 few-shot classification by correcting answer biases caused by prompt format, examples, and their order.
Abstract
GPT-3 can perform numerous tasks when provided a natural language prompt that contains a few training examples. We show that this type of few-shot learning can be unstable: the choice of prompt format, training examples, and even the order of the training examples can cause accuracy to vary from near chance to near state-of-the-art. We demonstrate that this instability arises from the bias of language models towards predicting certain answers, e.g., those that are placed near the end of the prompt or are common in the pre-training data. To mitigate this, we first estimate the model's bias towards each answer by asking for its prediction when given the training prompt and a content-free test …
-
Language Models as Few-Shot Learner for Task-Oriented Dialogue SystemsAndrea Madotto, Zihan Liu, Zhaojiang Lin et al. · 2020 · Computation and Language · preprint, not peer reviewed · cited 64 times · AI summary available
Language Models as Few-Shot Learner applies few-shot language-model methods to task-oriented dialogue modules, where data collection is costly.
Abstract
Task-oriented dialogue systems use four connected modules, namely, Natural Language Understanding (NLU), a Dialogue State Tracking (DST), Dialogue Policy (DP) and Natural Language Generation (NLG). A research challenge is to learn each module with the least amount of samples (i.e., few-shots) given the high cost related to the data collection. The most common and effective technique to solve this problem is transfer learning, where large language models, either pre-trained on text or task-specific data, are fine-tuned on the few samples. These methods require fine-tuning steps and a set of parameters for each task. Differently, language models, such as GPT-2 (Radford et al., 2019) and GPT-3 …
-
Language Models are Few-Shot ButlersVincent Micheli, François Fleuret · 2021 · Conference on Empirical Methods in Natural Language Processing · cited 46 times · Not summarized yet
Abstract
Pretrained language models demonstrate strong performance in most NLP tasks when fine-tuned on small task-specific datasets. Hence, these autoregressive models constitute ideal agents to operate in text-based environments where language understanding and generative capabilities are essential. Nonetheless, collecting expert demonstrations in such environments is a time-consuming endeavour. We introduce a two-stage procedure to learn from a small set of demonstrations and further improve by interacting with an environment. We show that language models fine-tuned with only 1.2% of the expert demonstrations and a simple reinforcement learning algorithm achieve a 51% absolute improvement in succe…
-
Prompt Programming for Large Language Models: Beyond the Few-Shot ParadigmLaria Reynolds, Kyle McDonell · 2021 · Computation and Language · cited 1,462 times · AI summary available
Prompt Programming studies how GPT-3 prompts elicit task performance, arguing that zero-shot prompts can outperform few-shot examples.
Abstract
Prevailing methods for mapping large generative language models to supervised tasks may fail to sufficiently probe models' novel capabilities. Using GPT-3 as a case study, we show that 0-shot prompts can significantly outperform few-shot prompts. We suggest that the function of few-shot examples in these cases is better described as locating an already learned task rather than meta-learning. This analysis motivates rethinking the role of prompts in controlling and evaluating powerful language models. In this work, we discuss methods of prompt programming, emphasizing the usefulness of considering prompts through the lens of natural language. We explore techniques for exploiting the capacity …
-
Training language models to follow instructions with human feedbackLong Ouyang, Jeff Wu, Xu Jiang et al. · 2022 · Computation and Language · cited 25,755 times · AI summary available
Training language models to follow instructions fine-tunes GPT-3 using human demonstrations and preference rankings, rather than relying on text-only few-shot prompting.
Abstract
Making language models bigger does not inherently make them better at following a user's intent. For example, large language models can generate outputs that are untruthful, toxic, or simply not helpful to the user. In other words, these models are not aligned with their users. In this paper, we show an avenue for aligning language models with user intent on a wide range of tasks by fine-tuning with human feedback. Starting with a set of labeler-written prompts and prompts submitted through the OpenAI API, we collect a dataset of labeler demonstrations of the desired model behavior, which we use to fine-tune GPT-3 using supervised learning. We then collect a dataset of rankings of model outp…
-
ChatGPT Beyond English: Towards a Comprehensive Evaluation of Large Language Models in Multilingual LearningViet Dac Lai, Nghia Trung Ngo, Amir Pouran Ben Veyseh et al. · 2023 · Computation and Language · cited 451 times · AI summary available
ChatGPT Beyond English evaluates a large language model's capabilities across languages, extending language-model evaluation beyond the tasks emphasized here.
Abstract
Over the last few years, large language models (LLMs) have emerged as the most important breakthroughs in natural language processing (NLP) that fundamentally transform research and developments in the field. ChatGPT represents one of the most exciting LLM systems developed recently to showcase impressive skills for language generation and highly attract public attention. Among various exciting applications discovered for ChatGPT in English, the model can process and generate texts for multiple languages due to its multilingual training data. Given the broad adoption of ChatGPT for English in different problems and areas, a natural question is whether ChatGPT can also be applied effectively …
Prior work it builds on
-
Megatron-LM: Training Multi-Billion Parameter Language Models Using GPU Model ParallelismMohammad Shoeybi, Mostofa Patwary, Raul Puri et al. · 2019 · Computation and Language · preprint, not peer reviewed · cited 3,375 times · Not summarized yet
Abstract
Recent work in unsupervised language modeling demonstrates that training large neural language models advances the state of the art in Natural Language Processing applications. However, for very large models, memory constraints limit the size of models that can be practically trained. Model parallelism allows us to train larger models, because the parameters can be split across multiple processors. In this work, we implement a simple, efficient intra-layer model parallel approach that enables training state of the art transformer language models with billions of parameters. Our approach does not require a new compiler or library changes, is orthogonal and complimentary to pipeline model para…
-
Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus et al. · 2020 · Neural Information Processing Systems · cited 20,707 times · AI summary available
Abstract
Large pre-trained language models have been shown to store factual knowledge in their parameters, and achieve state-of-the-art results when fine-tuned on downstream NLP tasks. However, their ability to access and precisely manipulate knowledge is still limited, and hence on knowledge-intensive tasks, their performance lags behind task-specific architectures. Additionally, providing provenance for their decisions and updating their world knowledge remain open research problems. Pre-trained models with a differentiable access mechanism to explicit non-parametric memory can overcome this issue, but have so far been only investigated for extractive downstream tasks. We explore a general-purpose …
-
How Much Knowledge Can You Pack into the Parameters of a Language Model?Adam Roberts, Colin A. Raffel, Noam Shazeer · 2020 · Conference on Empirical Methods in Natural Language Processing · cited 1,159 times · Not summarized yet
Abstract
It has recently been observed that neural language models trained on unstructured text can implicitly store and retrieve knowledge using natural language queries. In this short paper, we measure the practical utility of this approach by fine-tuning pre-trained models to answer questions without access to any external context or knowledge. We show that this approach scales surprisingly well with model size and outperforms models that explicitly look up knowledge on the open-domain variants of Natural Questions and WebQuestions. To facilitate reproducibility and future work, we release our code and trained models.
-
Release Strategies and the Social Impacts of Language ModelsIrene Solaiman, Miles Brundage, Jack Clark et al. · 2019 · arXiv.org · preprint, not peer reviewed · cited 952 times · Not summarized yet
Abstract
Large language models have a range of beneficial uses: they can assist in prose, poetry, and programming; analyze dataset biases; and more. However, their flexibility and generative capabilities also raise misuse concerns. This report discusses OpenAI's work related to the release of its GPT-2 language model. It discusses staged release, which allows time between model releases to conduct risk and benefit analyses as model sizes increased. It also discusses ongoing partnership-based research and provides recommendations for better coordination and responsible publication in AI.
-
Fine-Tuning Language Models from Human PreferencesDaniel M. Ziegler, Nisan Stiennon, Jeff Wu et al. · 2019 · arXiv.org · preprint, not peer reviewed · cited 2,840 times · AI summary available
Abstract
Reward learning enables the application of reinforcement learning (RL) to tasks where reward is defined by human judgment, building a model of reward by asking humans questions. Most work on reward learning has used simulated environments, but complex information about values is often expressed in natural language, and we believe reward learning for language is a key to making RL practical and safe for real-world tasks. In this paper, we build on advances in generative pretraining of language models to apply reward learning to four natural language tasks: continuing text with positive sentiment or physically descriptive language, and summarization tasks on the TL;DR and CNN/Daily Mail datase…
Papers that cite it
-
LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis et al. · 2021 · Computation and Language · preprint, not peer reviewed · cited 6,833 times · AI summary available
Abstract
The dominant paradigm of natural language processing consists of large-scale pre-training on general domain data and adaptation to particular tasks or domains. As we pre-train larger models, conventional fine-tuning, which retrains all model parameters, becomes less feasible. Using GPT-3 175B as an example, deploying many independent instances of fine-tuned models, each with 175B parameters, is extremely expensive. We propose Low-Rank Adaptation, or LoRA, which freezes the pre-trained model weights and injects trainable rank decomposition matrices into each layer of the Transformer architecture, greatly reducing the number of trainable parameters for downstream tasks. For GPT-3, LoRA can red…
-
ChatGPT for good? On opportunities and challenges of large language models for educationEnkelejda Kasneci, Kathrin Seßler, Stefan Küchemann et al. · 2023 · Learning and Individual Differences · cited 10,056 times · Not summarized yet
Abstract
Large language models represent a significant advancement in the field of AI. The underlying technology is key to further innovations and, despite critical views and even bans within communities and regions, large language models are here to stay. This position paper presents the potential benefits and challenges of educational applications of large language models, from student and teacher perspectives. We briefly discuss the current state of large language models and their applications. We then highlight how these models can be used to create educational content, improve student engagement and interaction, and personalize learning experiences. With regard to challenges, we argue that large…
-
Large Language Models: A Plain-Language Overview for EngineersBahaeddin Turkoglu · 2026 · Not summarized yet
Abstract
Large language models (LLMs) are neural networks trained on huge text collections to generate text by predicting what comes next. Engineers using ChatGPT and other generative artificial intelligence (AI) tools need a clear picture of what training changes and prompts add. The article starts with the Transformer, which connects words in context, and pre-training, where models learn to predict text. It then explains how fine-tuning adapts models to requests, with reinforcement learning from human feedback using human answer rankings. Next, retrieval-augmented generation (RAG) supplies documents, while chain-of-thought prompting encourages intermediate steps and agents use tools. FlashAttention…
-
The Power of Scale for Parameter-Efficient Prompt TuningBrian Lester, Rami Al‐Rfou, Noah Constant · 2021 · Conference on Empirical Methods in Natural Language Processing (EMNLP) · cited 3,477 times · AI summary available
Abstract
In this work, we explore "prompt tuning," a simple yet effective mechanism for learning "soft prompts" to condition frozen language models to perform specific downstream tasks.Unlike the discrete text prompts used by GPT-3, soft prompts are learned through backpropagation and can be tuned to incorporate signals from any number of labeled examples.Our end-to-end learned approach outperforms GPT-3's few-shot learning by a large margin.More remarkably, through ablations on model size using T5, we show that prompt tuning becomes more competitive with scale: as models exceed billions of parameters, our method "closes the gap" and matches the strong performance of model tuning (where all model wei…
-
A comparative review of modern large language model paradigms: GPT-4, BERT, Gemini, and DeepSeekKavish Sanghvi, Aparna S. Sharma, Surbhi Hooda · 2026 · Computer Science and Information Technology · Not summarized yet
Abstract
This review provides comparative analysis of GPT-4, BERT (bidirectional encoder representations from transformers), Gemini, and DeepSeek large language models (LLM), focusing architectures, training methodologies, and real-world applications. The primary research question is: How do these models differ in design, strengths, limitations, and potential areas for enhancement? By addressing this question, the study aims to provide insights into the trade-offs and future directions for optimizing LLM performance and deployment. The analysis reveals GPT-4 excels in natural language generation and complex reasoning, supporting up to 128K tokens with moderate latency and higher costs making it effec…
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 6 November 2026.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.