Demystifying Prompts in Language Models via Perplexity Estimation. Gonen, H., Iyer, S., Blevins, T., Smith, N., & Zettlemoyer, L. In Bouamor, H., Pino, J., & Bali, K., editors, Findings of the Association for Computational Linguistics: EMNLP 2023, pages 10136–10148, Singapore, December, 2023. Association for Computational Linguistics.
Demystifying Prompts in Language Models via Perplexity Estimation [link]Paper  doi  abstract   bibtex   
Language models can be prompted to perform a wide variety of tasks with zero- and few-shot in-context learning. However, performance varies significantly with the choice of prompt, and we do not yet understand why this happens. In this paper, we analyze the factors that contribute to this variance and establish a new empirical hypothesis: the performance of a prompt is predicted by 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, the better it is able to perform the task, when considering reasonable prompts that are related to it. As part of our analysis, we also devise a method to automatically extend a small seed set of manually written prompts by paraphrasing with GPT3 and backtranslation. This larger set allows us to verify that perplexity is a strong predictor of the success of a prompt and we show that the lowest perplexity prompts are consistently effective.
@inproceedings{gonen_demystifying_2023,
	address = {Singapore},
	title = {Demystifying {Prompts} in {Language} {Models} via {Perplexity} {Estimation}},
	url = {https://aclanthology.org/2023.findings-emnlp.679/},
	doi = {10.18653/v1/2023.findings-emnlp.679},
	abstract = {Language models can be prompted to perform a wide variety of tasks with zero- and few-shot in-context learning. However, performance varies significantly with the choice of prompt, and we do not yet understand why this happens. In this paper, we analyze the factors that contribute to this variance and establish a new empirical hypothesis: the performance of a prompt is predicted by 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, the better it is able to perform the task, when considering reasonable prompts that are related to it. As part of our analysis, we also devise a method to automatically extend a small seed set of manually written prompts by paraphrasing with GPT3 and backtranslation. This larger set allows us to verify that perplexity is a strong predictor of the success of a prompt and we show that the lowest perplexity prompts are consistently effective.},
	urldate = {2025-04-10},
	booktitle = {Findings of the {Association} for {Computational} {Linguistics}: {EMNLP} 2023},
	publisher = {Association for Computational Linguistics},
	author = {Gonen, Hila and Iyer, Srini and Blevins, Terra and Smith, Noah and Zettlemoyer, Luke},
	editor = {Bouamor, Houda and Pino, Juan and Bali, Kalika},
	month = dec,
	year = {2023},
	pages = {10136--10148},
}

Downloads: 0