Prompting is not a substitute for probability measurements in large language models

Jennifer Hu, Roger Levy


Abstract
Prompting is now a dominant method for evaluating the linguistic knowledge of large language models (LLMs). While other methods directly read out models’ probability distributions over strings, prompting requires models to access this internal information by processing linguistic input, thereby implicitly testing a new type of emergent ability: metalinguistic judgment. In this study, we compare metalinguistic prompting and direct probability measurements as ways of measuring models’ linguistic knowledge. Broadly, we find that LLMs’ metalinguistic judgments are inferior to quantities directly derived from representations. Furthermore, consistency gets worse as the prompt query diverges from direct measurements of next-word probabilities. Our findings suggest that negative results relying on metalinguistic prompts cannot be taken as conclusive evidence that an LLM lacks a particular linguistic generalization. Our results also highlight the value that is lost with the move to closed APIs where access to probability distributions is limited.
Anthology ID:
2023.emnlp-main.306
Volume:
Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing
Month:
December
Year:
2023
Address:
Singapore
Editors:
Houda Bouamor, Juan Pino, Kalika Bali
Venue:
EMNLP
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
5040–5060
Language:
URL:
https://aclanthology.org/2023.emnlp-main.306
DOI:
10.18653/v1/2023.emnlp-main.306
Bibkey:
Cite (ACL):
Jennifer Hu and Roger Levy. 2023. Prompting is not a substitute for probability measurements in large language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 5040–5060, Singapore. Association for Computational Linguistics.
Cite (Informal):
Prompting is not a substitute for probability measurements in large language models (Hu & Levy, EMNLP 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.emnlp-main.306.pdf
Video:
 https://aclanthology.org/2023.emnlp-main.306.mp4