Prompt Stability Scoring for Text Annotation with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Researchers are increasingly using language models (LMs) for text annotation. These approaches rely only on a prompt telling the model to return a given output according to a set of instructions. The reproducibility of LM outputs may nonetheless be vulnerable to small changes in the prompt design. This calls into question the replicability of classification routines. To tackle this problem, researchers have typically tested a variety of semantically similar prompts to determine what we call ``prompt stability." These approaches remain ad-hoc and task specific. In this article, we propose a general framework for diagnosing prompt stability by adapting traditional approaches to intra- and inter-coder reliability scoring. We call the resulting metric the Prompt Stability Score (PSS) and provide a Python package textttpromptstability for its estimation. Using six different datasets and twelve outcomes, we classify ~3.1m rows of data and ~300m input tokens to: a) diagnose when prompt stability is low; and b) demonstrate the functionality of the package. We conclude by providing best practice recommendations for applied researchers.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 25 of its 50 references that are in the map. First posted on arXiv 2 Jul 2024.
Builds on
25 of 50 references.
References · 25
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,100
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 849
- 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 788
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 778
- 2022Out of One, Many: Using Language Models to Simulate Human Samplescited by 737
13 more
- 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 729
- 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 486
- 2021True Few-Shot Learning with Language Modelscited by 343
- 2022News Summarization and Evaluation in the Era of GPT-3cited by 324
- 2023Can Large Language Models Transform Computational Social Science?cited by 245
- 2023Large Language Model Guided Tree-of-Thoughtcited by 218
- 2021Generated Knowledge Prompting for Commonsense Reasoningcited by 213
- 2022Ask Me Anything: A simple strategy for prompting language modelscited by 155
- 2023Quantifying Uncertainty in Answers from any Language Model and Enhancing their Trustworthinesscited by 121
- 2023ChatGPT-4 Outperforms Experts and Crowd Workers in Annotating Political Twitter Messages with Zero-Shot Learningcited by 97
- 2022On the Relation between Sensitivity and Accuracy in In-context Learningcited by 71
- 2023Testing the Reliability of ChatGPT for Text Annotation and Classification: A Cautionary Remarkcited by 54
- 2024Prompt Exploration with Prompt Regressioncited by 2
Built on by
Citing papers per year: 2024: 2; 2025: 4; 2026: 7.
13 papers.
Sort:
By area:
- 2024Harmful YouTube Video Detection: A Taxonomy of Online Harm and MLLMs as Alternative Annotatorscited by 7
- 2026Hidden Measurement Error in LLM Pipelines Distorts Annotation, Evaluation, and Benchmarkingcited by 7
- 2024Rethinking Scale: The Efficacy of Fine-Tuned Open-Source LLMs in Large-Scale Reproducible Social Science Researchcited by 6
- 2025Navigating the Risks of Using Large Language Models for Text Annotation in Social Science Researchcited by 4
- 2025Are You Sure You're Positive? Consolidating Chain-of-Thought Agents with Uncertainty Quantification for Aspect-Category Sentiment Analysiscited by 1
- 2025How Persuasive is Your Context?cited by 1
- 2026The signal is the ceiling: Measurement limits of LLM-predicted experience ratings from open-ended survey textcited by 1
- 2026Correct codes for the wrong reasons? validating LLMs as measurement instruments for theoretical constructscited by 1
- 2025MetaHarm: Harmful YouTube Video Dataset Annotated by Domain Experts, GPT-4-Turbo, and Crowdworkerscited by 0
- 2026Can Large Language Models Replace Human Coders? Introducing ContentBenchcited by 0
- 2026A Human-Centered Workflow for Using Large Language Models in Content Analysiscited by 0
- 2026Strengthening Human-Centric Chain-of-Thought Reasoning Integrity in LLMs via a Structured Prompt Frameworkcited by 0
1 more
- 2026Flaws in the LLM Automation Narrativecited by 0
- 2026Correct codes for the wrong reasons? validating LLMs as measurement instruments for theoretical constructs26 Jun 2026
- 2026Flaws in the LLM Automation Narrative9 Jun 2026
- 2026The signal is the ceiling: Measurement limits of LLM-predicted experience ratings from open-ended survey text21 Apr 2026
- 2026Hidden Measurement Error in LLM Pipelines Distorts Annotation, Evaluation, and Benchmarking13 Apr 2026
- 2026Strengthening Human-Centric Chain-of-Thought Reasoning Integrity in LLMs via a Structured Prompt Framework6 Apr 2026
- 2026A Human-Centered Workflow for Using Large Language Models in Content Analysis27 Feb 2026
- 2026Can Large Language Models Replace Human Coders? Introducing ContentBench23 Feb 2026
- 2025How Persuasive is Your Context?22 Sep 2025
- 2025Are You Sure You're Positive? Consolidating Chain-of-Thought Agents with Uncertainty Quantification for Aspect-Category Sentiment Analysis24 Aug 2025
- 2025MetaHarm: Harmful YouTube Video Dataset Annotated by Domain Experts, GPT-4-Turbo, and Crowdworkers22 Apr 2025
- 2025Navigating the Risks of Using Large Language Models for Text Annotation in Social Science Research27 Mar 2025
- 2024Harmful YouTube Video Detection: A Taxonomy of Online Harm and MLLMs as Alternative Annotators6 Nov 2024
- 2024Rethinking Scale: The Efficacy of Fine-Tuned Open-Source LLMs in Large-Scale Reproducible Social Science Researchcited by 6
- 2025Are You Sure You're Positive? Consolidating Chain-of-Thought Agents with Uncertainty Quantification for Aspect-Category Sentiment Analysiscited by 1
- 2026Correct codes for the wrong reasons? validating LLMs as measurement instruments for theoretical constructscited by 1
- 2026Strengthening Human-Centric Chain-of-Thought Reasoning Integrity in LLMs via a Structured Prompt Frameworkcited by 0
- 2026Correct codes for the wrong reasons? validating LLMs as measurement instruments for theoretical constructs26 Jun 2026
- 2026Strengthening Human-Centric Chain-of-Thought Reasoning Integrity in LLMs via a Structured Prompt Framework6 Apr 2026
- 2025Are You Sure You're Positive? Consolidating Chain-of-Thought Agents with Uncertainty Quantification for Aspect-Category Sentiment Analysis24 Aug 2025
- 2024Rethinking Scale: The Efficacy of Fine-Tuned Open-Source LLMs in Large-Scale Reproducible Social Science Research31 Oct 2024
- 2026Hidden Measurement Error in LLM Pipelines Distorts Annotation, Evaluation, and Benchmarkingcited by 7
- 2025Navigating the Risks of Using Large Language Models for Text Annotation in Social Science Researchcited by 4
- 2025How Persuasive is Your Context?cited by 1
- 2026The signal is the ceiling: Measurement limits of LLM-predicted experience ratings from open-ended survey textcited by 1
- 2025MetaHarm: Harmful YouTube Video Dataset Annotated by Domain Experts, GPT-4-Turbo, and Crowdworkerscited by 0
- 2026Can Large Language Models Replace Human Coders? Introducing ContentBenchcited by 0
- 2026A Human-Centered Workflow for Using Large Language Models in Content Analysiscited by 0
- 2026Flaws in the LLM Automation Narrativecited by 0
- 2026Flaws in the LLM Automation Narrative9 Jun 2026
- 2026The signal is the ceiling: Measurement limits of LLM-predicted experience ratings from open-ended survey text21 Apr 2026
- 2026Hidden Measurement Error in LLM Pipelines Distorts Annotation, Evaluation, and Benchmarking13 Apr 2026
- 2026A Human-Centered Workflow for Using Large Language Models in Content Analysis27 Feb 2026
- 2026Can Large Language Models Replace Human Coders? Introducing ContentBench23 Feb 2026
- 2025How Persuasive is Your Context?22 Sep 2025
- 2025MetaHarm: Harmful YouTube Video Dataset Annotated by Domain Experts, GPT-4-Turbo, and Crowdworkers22 Apr 2025
- 2025Navigating the Risks of Using Large Language Models for Text Annotation in Social Science Research27 Mar 2025