Skip to main content
QUICK REVIEW

[Paper Review] Using Large Language Models for Qualitative Analysis can Introduce Serious Bias

Julian Ashwin, Aditya Chhabra|arXiv (Cornell University)|Sep 29, 2023
Topic ModelingComputer Science9 citations
TL;DR

The paper shows that LLMs can bias qualitative annotation of open-ended interviews, and that training small bespoke models on expert annotations (iQual) outperforms LLMs and reduces bias, with data augmentation offering limited help.

ABSTRACT

Large Language Models (LLMs) are quickly becoming ubiquitous, but the implications for social science research are not yet well understood. This paper asks whether LLMs can help us analyse large-N qualitative data from open-ended interviews, with an application to transcripts of interviews with Rohingya refugees in Cox's Bazaar, Bangladesh. We find that a great deal of caution is needed in using LLMs to annotate text as there is a risk of introducing biases that can lead to misleading inferences. We here mean bias in the technical sense, that the errors that LLMs make in annotating interview transcripts are not random with respect to the characteristics of the interview subjects. Training simpler supervised models on high-quality human annotations with flexible coding leads to less measurement error and bias than LLM annotations. Therefore, given that some high quality annotations are necessary in order to asses whether an LLM introduces bias, we argue that it is probably preferable to train a bespoke model on these annotations than it is to use an LLM for annotation.

Motivation & Objective

  • Assess whether LLMs can accurately annotate large-N qualitative interview data on Rohingya refugees and hosts in Cox’s Bazar, Bangladesh.
  • Evaluate whether LLM annotations introduce systematic bias compared to expert annotations.
  • Compare LLM-based annotation with the iQual supervised modeling approach trained on high-quality human annotations.
  • Explore whether data augmentation with LLMs provides any reliable improvement to iQual.
  • Provide guidance on balancing interpretative qualitative analysis with scalable NLP tools.

Proposed method

  • Annotate 2,407 open-ended interview transcripts at the QA level using three LLMs: ChatGPT, Llama 2 (13B), and Llama 2 chat variant, with detailed prompts and few-shot learning plus chain-of-thought prompting.
  • Develop iQual: train a separate supervised model for each code using high-quality expert annotations, evaluate via out-of-sample prediction with cross-validation and a held-out test set of 200 interviews.
  • Compare annotation approaches using out-of-sample F1 scores and accuracy to assess predictive performance.
  • Investigate bias by analyzing over-prediction patterns and regression-based tests of whether prediction errors correlate with subject characteristics (e.g., refugee status, gender, education).
  • Explore data augmentation via LLM-generated text to train iQual models and assess its impact on performance and bias.

Experimental results

Research questions

  • RQ1Do LLMs provide accurate annotations for open-ended qualitative interview data compared to expert-labeled data?
  • RQ2Are LLM annotations biased with respect to interviewee characteristics, and how does this bias affect downstream inferences?
  • RQ3Does the iQual approach (training on expert annotations) outperform LLMs in out-of-sample prediction and in maintaining unbiased results?
  • RQ4Can LLM-based data augmentation meaningfully improve iQual performance without introducing new biases?
  • RQ5What practical recommendations follow from the comparative results for applying LLMs to qualitative analysis?

Key findings

  • LLMs generally underperform relative to iQual in out-of-sample F1 scores across codes, with ChatGPT typically the best among LLMs but still worse than iQual.
  • All three LLMs show systematic over-prediction of annotations, which biases prevalence estimates between codes (e.g., secular vs religious aspirations).
  • LLM prediction errors are not random; regression tests show biases linked to interviewee characteristics, potentially misleading conclusions if relied upon.
  • iQual exhibits bias in only one code and achieves near-expert-level estimates with smaller standard errors.
  • Data augmentation with LLMs offers only marginal or no substantial improvement for iQual in this context.
  • Overall, bespoke models trained on expert annotations are preferred for accuracy and reduced bias; LLMs are better suited as a supportive tool rather than a replacement.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.