arXiv (Cornell University) · 2020 · 66 citations · 18 references
ComputingComputer ScienceComputational LinguisticsMachine LearningNatural Language ProcessingLanguage ModelingLanguage ModelsNatural Language GenerationNatural Language UnderstandingRelation ExtractionSentiment AnalysisEliciting Prior KnowledgeLanguage Model PretrainingLanguage Model PromptingMasked Language ModelingNatural Language InferenceNeural Language ModelsPrompt-based GenerationSupervised Relation Extraction
Pretrained language models have shown remarkable success, prompting interest in the knowledge they acquire, but probing this knowledge with cloze tests is hampered by the manual effort needed to craft prompts. The authors aim to create an automated prompt generation method that eliminates the manual effort required for cloze‑based probing. AutoPrompt uses a gradient‑guided search to automatically generate prompts for a wide range of tasks. AutoPrompt demonstrates that masked language models can perform sentiment analysis, natural language inference, and factual knowledge extraction without fine‑tuning, achieving performance comparable to state‑of‑the‑art supervised models and outperforming manually crafted prompts on the LAMA benchmark.
The remarkable success of pretrained language models has motivated the study of what kinds of knowledge these models learn during pretraining. Reformulating tasks as fill-in-the-blanks problems (e.g., cloze tests) is a natural approach for gauging such knowledge, however, its usage is limited by the manual effort and guesswork required to write suitable prompts. To address this, we develop AutoPrompt, an automated method to create prompts for a diverse set of tasks, based on a gradient-guided search. Using AutoPrompt, we show that masked language models (MLMs) have an inherent capability to perform sentiment analysis and natural language inference without additional parameters or finetuning, sometimes achieving performance on par with recent state-of-the-art supervised models. We also show that our prompts elicit more accurate factual knowledge from MLMs than the manually created prompts on the LAMA benchmark, and that MLMs can be used as relation extractors more effectively than supervised relation extraction models. These results demonstrate that automatically generated prompts are a viable parameter-free alternative to existing probing methods, and as pretrained LMs become more sophisticated and capable, potentially a replacement for finetuning.
18
Decoupled Weight Decay Regularization
Ilya Loshchilov, Frank Hutter · arXiv (Cornell University) · 2017 · 9.1K citations · Full text
Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank
Richard Socher, Alex Perelygin, Jean Y. Wu et al. · 2013 · 6.8K citations · Full text
A large annotated corpus for learning natural language inference
Samuel R. Bowman, Gabor Angeli, Christopher Potts et al. · 2015 · 3.5K citations · Full text
Language Models are Few-Shot Learners
T. B. Brown, Benjamin Mann, Nick Ryder et al. · arXiv (Cornell University) · 2020 · 3K citations · Full text