Using Large Language Models for Qualitative Analysis can Introduce Serious Bias
Authors:
Top Cited Papers
Open Access
- 27 May 2025
- journal article
- Published by SAGE Publications in Sociological Methods & Research
- Vol. 55 (3) , 795-839
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.Keywords
Funding Information
- World Bank’s Knowledge for Change Program
- World Bank-UNHCR Joint Data Center on Forced Displacement
This publication has 40 references indexed in Scilit:
- GPT is an effective tool for multilingual psychological text analysisProceedings of the National Academy of Sciences of the United States of America, 2024
- ChatGPT outperforms crowd workers for text-annotation tasksProceedings of the National Academy of Sciences of the United States of America, 2023
- Can AI language models replace human participants?Trends in Cognitive Sciences, 2023
- Out of One, Many: Using Language Models to Simulate Human SamplesPolitical Analysis, 2023
- Back to the Future. Sociological Perspectives on Expectations, Aspirations and Imagined FuturesEuropean Journal of Sociology, 2022
- Measuring news sentimentJournal of Econometrics, 2022
- Hidden human capital: Self-efficacy, aspirations and achievements of adolescent and young women in IndiaWorld Development, 2018
- Bridging big data and qualitative methods in the social sciences: A case study of Twitter responses to high profile deaths by suicideOnline Social Networks and Media, 2017
- A capability maturity model for scientific data managementProceedings of the American Society for Information Science and Technology, 2010
- Aspirations, Poverty, and Economic Change2006