Scinovex
review Open AccessTop 1% cited

Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing

ACM Computing Surveys · 2022 · Vol. 55(9) · pp. 1–35
Pengfei LiuWeizhe YuanJinlan FuZhengbao JiangHiroaki HayashiGraham Neubig

Abstract

This article surveys and organizes research works in a new paradigm in natural language processing, which we dub “prompt-based learning.” Unlike traditional supervised learning, which trains a model to take in an input x and predict an output y as P ( y|x ), prompt-based learning is based on language models that model the probability of text directly. To use these models to perform prediction tasks, the original input x is modified using a template into a textual string prompt x′ that has some unfilled slots, and then the language model is used to probabilistically fill the unfilled information to obtain a final string x̂ , from which the final output y can be derived. This framework is powerful and attractive for a number of reasons: It allows the language model to be pre-trained on massive amounts of raw text, and by defining a new prompting function the model is able to perform few-shot or even zero-shot learning, adapting to new scenarios with few or no labeled data. In this article, we introduce the basics of this promising paradigm, describe a unified set of mathematical notations that can cover a wide variety of existing work, and organize existing work along several dimensions, e.g., the choice of pre-trained language models, prompts, and tuning strategies. To make the field more accessible to interested beginners, we not only make a systematic review of existing works and a highly structured typology of prompt-based concepts but also release other resources, e.g., a website NLPedia–Pretrain including constantly updated survey and paperlist.

Topic ModelingNatural Language Processing TechniquesSentiment Analysis and Opinion MiningComputer scienceVariety (cybernetics)Set (abstract data type)NotationCover (algebra)Artificial intelligenceNatural languageField (mathematics)Function (biology)Language model
Citations
3,436
FWCI
451.20
field-weighted impact
References
120
Percentile
100%
vs. same field & year
Citations per year
Cited by
Learning to Prompt for Vision-Language Models
International Journal of Computer Vision · 2022 · 2,413 citations
CLIP-Adapter: Better Vision-Language Models with Feature Adapters
International Journal of Computer Vision · 2023 · 810 citations
References
Long Short-Term Memory
Neural Computation · 1997 · 95,078 citations
Reinforcement Learning: An Introduction
IEEE Transactions on Neural Networks · 2005 · 25,702 citations
Representation Learning: A Review and New Perspectives
IEEE Transactions on Pattern Analysis and Machine Intelligence · 2013 · 12,724 citations
Generalizing from a Few Examples
ACM Computing Surveys · 2020 · 2,549 citations
Citation Network

How this paper connects to the literature. Drag to explore, click any node to open that paper.