Prompt stability scoring for text annotation with large language models
Abstract Researchers are increasingly using large language models (LLMs) for text annotation, typically relying on prompts that instruct the model to return a given output. LLM outputs can nonetheless be vulnerable to minor prompt variations, raising concerns about the reliability and reproducibility of classification routines. Stability is a necessary but not sufficient condition for both accuracy and reproducibility. To diagnose this, we propose the prompt stability score, an automated procedure for measuring agreement across repeated runs and semantically similar prompt variants, and provide an accompanying Python package, promptstability . Using 6 datasets and 12 outcomes, we generate tilde $\sim$ ~ 3.1 m annotations ( tilde $\sim$ ~ 300 m input tokens) to characterize when prompt-based pipelines are stable versus fragile. We conclude with practical recommendations for applied research.
- Link
- https://doi.org/10.1017/psrm.2026.10159
- Found by
- Crossref
- Authors
- Christopher Barrie, Elli Palaiologou, Petter Törnberg
- Organizations
- New York University, Independent Researcher, Institute for Logic, Language and Computation (ILLC), University of Amsterdam
- Categories
- dataset
- Published
- 2026-12-03
- Last seen by the radar
- 2026-12-04
- Citations
- 0
- Radar score
- 34.39 / 100 (how it is scored)
- Why it scored so
- Matched: dataset; Primary record: Crossref