Abstract
Large language models (LLMs) are quickly becoming ubiquitous, but their implications for social science research are not yet well understood. We ask whether LLMs can help code and analyse large-N qualitative data from open-ended interviews, with an application to transcripts of interviews with Rohingya refugees and their Bengali hosts in Bangladesh. We find that using LLMs to annotate and code text can introduce bias that can lead to misleading inferences. By bias we mean that the errors that LLMs make in coding interview transcripts are not random with respect to the characteristics of the interview subjects. Training simpler supervised models on high-quality human codes leads to less measurement error and bias than LLM annotations. Given that high quality codes are necessary in order to assess whether an LLM introduces bias, we argue that it may be preferable to train a bespoke model on a subset of transcripts coded by trained sociologists rather than use an LLM.
| Original language | English |
|---|---|
| Number of pages | 45 |
| Journal | Sociological Methods & Research |
| DOIs | |
| Publication status | E-pub ahead of print - 1 May 2025 |
Keywords
- large language models
- qualitative analysis
- ChatGPT
- llama 2
- llama 3
- text as data
- aspirations
- Rohingya
- Bangladesh
- ASPIRATIONS
Fingerprint
Dive into the research topics of 'Using Large Language Models for Qualitative Analysis can Introduce Serious Bias'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver