English

Prompt Selection Matters: Enhancing Text Annotations for Social Sciences with Large Language Models

Computation and Language 2025-03-11 v2 Artificial Intelligence Computers and Society

Abstract

Large Language Models have recently been applied to text annotation tasks from social sciences, equalling or surpassing the performance of human workers at a fraction of the cost. However, no inquiry has yet been made on the impact of prompt selection on labelling accuracy. In this study, we show that performance greatly varies between prompts, and we apply the method of automatic prompt optimization to systematically craft high quality prompts. We also provide the community with a simple, browser-based implementation of the method at https://prompt-ultra.github.io/ .

Keywords

Cite

@article{arxiv.2407.10645,
  title  = {Prompt Selection Matters: Enhancing Text Annotations for Social Sciences with Large Language Models},
  author = {Louis Abraham and Charles Arnal and Antoine Marie},
  journal= {arXiv preprint arXiv:2407.10645},
  year   = {2025}
}
R2 v1 2026-06-28T17:41:04.082Z