Can Large Language Models Transform Computational Social Science?

Caleb Ziems, William A. Held, Omar Ahmed Shaikh, Jiaao Chen, Zhehao Zhang, Diyi Yang

arXiv (Cornell University) · 2023 · 62 citations · 0 references

DOIFull text

Open access

Concepts

TL;DR

Large language models can perform many language tasks zero‑shot, and if they can reliably classify and explain social phenomena, they could augment the computational social science pipeline. This work provides a roadmap for using LLMs as tools in computational social science. We offer prompting best practices and an evaluation pipeline to measure the zero‑shot performance of 13 language models on 25 English CSS benchmarks. LLMs achieve fair agreement with humans on classification tasks, outperform crowdworkers on free‑form coding explanations, and can augment CSS research as zero‑shot annotators and creative generation bootstrappers.

Abstract

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.