mlsanityData to 7 Oct 2026

Prompt Design Matters for Computational Social Science Tasks but in Unpredictable Ways

arXiv 2406.11980 ↗First posted 17 Jun 2024cs.AI cs.CYcited by 14

Not on the map. Why?

Abstract (arXiv)

Manually annotating data for computational social science tasks can be costly, time-consuming, and emotionally draining. While recent work suggests that LLMs can perform such annotation tasks in zero-shot settings, little is known about how prompt design impacts LLMs' compliance and accuracy. We conduct a large-scale multi-prompt experiment to test how model selection (ChatGPT, PaLM2, and Falcon7b) and prompt design features (definition inclusion, output type, explanation, and prompt length) impact the compliance and accuracy of LLM-generated annotations on four CSS tasks (toxicity, sentiment, rumor stance, and news frames). Our results show that LLM compliance and accuracy are highly prompt-dependent. For instance, prompting for numerical scores instead of labels reduces all LLMs' compliance and accuracy. The overall best prompting setup is task-dependent, and minor prompt changes can cause large changes in the distribution of generated labels. By showing that prompt design significantly impacts the quality and distribution of LLM-generated annotations, this work serves as both a warning and practical guide for researchers and practitioners.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 21 of its 36 references that are in the map. First posted on arXiv 17 Jun 2024.

Builds on

21 of 36 references.

References · 21

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  3. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  4. 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 849
  5. 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 486
  6. 2023Benchmarking Large Language Models for News Summarizationcited by 444
  7. 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
  8. 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 288
  9. 2017Zero-Shot Learning -- The Good, the Bad and the Uglycited by 254
  10. 2022Is GPT-3 a Good Data Annotator?cited by 208
  11. 2023ChatGPT: Jack of all trades, master of nonecited by 204
  12. 2021Want To Reduce Labeling Cost? GPT-3 Can Helpcited by 196
9 more
  1. 2023Is ChatGPT better than Human Annotators? Potential and Limitations of ChatGPT in Explaining Implicit Hate Speechcited by 165
  2. 2021Differentiable Prompt Makes Pre-trained Language Models Better Few-shot Learnerscited by 115
  3. 2023Is ChatGPT a Good Sentiment Analyzer? A Preliminary Studycited by 96
  4. 2022How would Stance Detection Techniques Evolve after the Launch of ChatGPT?cited by 76
  5. 2018RumourEval 2019: Determining Rumour Veracity and Support for Rumourscited by 74
  6. 2022CrowdWorkSheets: Accounting for Individual and Collective Identities Underlying Crowdsourced Dataset Annotationcited by 59
  7. 2023"HOT" ChatGPT: The promise of ChatGPT in detecting and discriminating hateful, offensive, and toxic comments on social mediacited by 45
  8. 2021A Survey of NLP-Related Crowdsourcing HITs: what works and what does notcited by 14
  9. 2024Can Large Language Models Detect Rumors on Social Media?cited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 8; 2026: 3.

14 papers.

Sort:

By area: