Abstract
Large Language Models (LLMs) are capable of successfully performing many language processing tasks zero-shot (without training data). If zero-shot LLMs can also reliably classify and explain social phenomena like persuasiveness and political ideology, then LLMs could augment the Computational Social Science (CSS) pipeline in important ways. This work provides a road map for using LLMs as CSS tools. Towards this end, we contribute a set of prompting best practices and an extensive evaluation pipeline to measure the zero-shot performance of 13 language models on 25 representative English CSS benchmarks. On taxonomic labeling tasks (classification), LLMs fail to outperform the best fine-tuned models but still achieve fair levels of agreement with humans. On free-form coding tasks (generation), LLMs produce explanations that often exceed the quality of crowdworkers' gold references. We conclude that the performance of today's LLMs can augment the CSS research pipeline in two ways: (1) serving as zero-shot data annotators on human annotation teams, and (2) bootstrapping challenging creative generation tasks (e.g., explaining the underlying attributes of a text). In summary, LLMs are posed to meaningfully participate in social science analysis in partnership with humans.
Introduction
Traditional Computational Social Science (CSS) often faces a trade-off between the high cost of supervised learning—requiring massive amounts of hand-labeled data—and the interpretability challenges of unsupervised methods. The emergence of Large Language Models (LLMs) offers a potential middle ground through zero-shot prompting. This research investigates whether models like GPT-4 or FLAN-T5 can accurately label and explain complex social phenomena—such as political ideology, persuasiveness, or empathy—without task-specific training data.
Methodology and Evaluation Pipeline
The researchers developed a comprehensive evaluation pipeline to assess 13 different LLMs, ranging from open-source models like FLAN-T5 to proprietary giants like GPT-4. The evaluation spans 25 English CSS benchmarks, categorized by the unit of analysis: short utterances, multi-party conversations, and full documents.
To maximize model performance, the study establishes prompting best practices, including the use of multiple-choice formats, placing instructions after the context, and requesting structured JSON outputs. These zero-shot performances were benchmarked against human "gold standard" labels and state-of-the-art fine-tuned models like RoBERTa.
A Taxonomy of CSS Tasks
The study draws from a diverse array of datasets across six core fields of social science, covering a wide spectrum of social constructs and linguistic features.
- Sociology: Toxicity prediction, power dynamics, and social bias inference.
- Psychology: Emotion detection, empathy, and positive reframing.
- Linguistics: Dialect identification and figurative language analysis.
- Political Science: Ideology, misinformation, and stance detection.
- Literature & History: Character tropes and historical event extraction.
Key Insights
The Generation Advantage
A significant finding is that LLMs often outperform human crowdworkers in "free-form coding"—the task of explaining the underlying attributes of a text. In evaluations of social bias or misinformation, expert reviewers preferred LLM-generated explanations nearly 50% of the time over human-written "gold" references.
Classification Performance
For standard classification tasks (e.g., sarcasm detection), zero-shot LLMs generally do not surpass specialized fine-tuned models. However, they achieve "fair" to "good" agreement with humans (Cohen’s $\kappa$ between 0.40 and 0.65 in 47% of tasks), suggesting their utility as "augmented annotators" in a human-in-the-loop workflow.
Complexity vs. Domain
Performance is primarily driven by the complexity of the input rather than the specific academic domain. Models struggle more with long-form documents and multi-turn conversations than with isolated utterances. Furthermore, instruction tuning and Reinforcement Learning from Human Feedback (RLHF) proved more critical for performance than raw model scale alone.
Conclusion and Future Directions
While LLMs show promise, limitations remain, including potential data leakage from pre-training and difficulties with highly subjective expert taxonomies. Current models also lack the robust cross-document reasoning required for large-scale historical or trend analysis.
The authors propose a "flywheel" model for CSS research: LLMs generate initial labels and explanations, which human experts then refine. This collaborative approach can drastically reduce the time and cost of social science research, positioning LLMs as powerful partners in the analytical process.
Summary updated