Demystifying Prompts in Language Models via Perplexity Estimation

By Hila Gonen, Srini Iyer, Terra Blevins, Noah A. Smith, Luke S. Zettlemoyer. Conference on Empirical Methods in Natural Language Processing, 2022

313 citations recorded by the source corpus.

Language models can be prompted to perform a wide variety of zero- and few-shot learning problems. However, performance varies significantly with the choice of prompt, and we do not yet understand why this happens or how to pick the best prompts. In this work, we analyze the factors that contribute to this variance and establish a new empirical hypothesis: the performance of a prompt is coupled with the extent to which the model is familiar with the language it contains. Over a wide range of tasks, we show that the lower the perplexity of the prompt is, the better the prompt is able to perform the task. As a result, we devise a method for creating prompts: (1) automatically extend a small seed set of manually written prompts by paraphrasing using GPT3 and backtranslation and (2) choose the lowest perplexity prompts to get significant gains in performance.

View Paper: https://www.semanticscholar.org/paper/d03a9b2a0e090cc9fd2ba0a457ecea35372f1018

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

  1. Ce Zheng
  2. Jingjing Xu
  3. Lei Li
  4. Xu Sun
  5. Qingxiu Dong
  6. Lei Li
  7. Zhiyong Wu
  8. Yejin Choi

Citations in the corpus