[Paper Review] Automating Thematic Analysis: How LLMs Analyse Controversial Topics
The study pilots LLM-assisted thematic analysis of Robodebt media coverage, comparing GPT-4, Llama 2, Claude 3 and human coders to explore alignment, biases, and the potential of a human-in-the-loop approach.
Large Language Models (LLMs) are promising analytical tools. They can augment human epistemic, cognitive and reasoning abilities, and support 'sensemaking', making sense of a complex environment or subject by analysing large volumes of data with a sensitivity to context and nuance absent in earlier text processing systems. This paper presents a pilot experiment that explores how LLMs can support thematic analysis of controversial topics. We compare how human researchers and two LLMs GPT-4 and Llama 2 categorise excerpts from media coverage of the controversial Australian Robodebt scandal. Our findings highlight intriguing overlaps and variances in thematic categorisation between human and machine agents, and suggest where LLMs can be effective in supporting forms of discourse and thematic analysis. We argue LLMs should be used to augment, and not replace human interpretation, and we add further methodological insights and reflections to existing research on the application of automation to qualitative research methods. We also introduce a novel card-based design toolkit, for both researchers and practitioners to further interrogate LLMs as analytical tools.
Motivation & Objective
- Investigate whether LLMs can assist thematic analysis of controversial topics without replacing human interpretation.
- Compare themes identified by GPT-4, Llama 2, and human researchers in a controlled TA task.
- Assess how prompting and model updates affect alignment with human coding.
- Provide methodological reflections and a design toolkit for using LLMs in qualitative analysis.
Proposed method
- Extract a small thematic corpus from Robodebt discourse (transcripts and victim statements).
- Generate an 11-theme codebook using ChatGPT with guidance from Braun and Clarke.
- Compare human coders with two LLMs (GPT-4 and Llama 2) on theme presence per statement.
- Iterate with revised prompts and models (GPT-4, Claude 3, Llama 3) to assess changes in results.
- Use a thresholding approach (50% and 70%) to convert LLM scores into dichotomous theme assignments.
- Report correlations and qualitative observations across agents.
Experimental results
Research questions
- RQ1Can LLMs meaningfully generate and apply themes to textual data without replacing human interpretation?
- RQ2How do GPT-4, Llama 2, and human coders converge or diverge in thematic assignments on controversial material?
- RQ3Do prompt design and model updates affect alignment with human coding in thematic analysis?
- RQ4What methodological considerations arise for human-in-the-loop TA using LLMs?
Key findings
- LLMs can generate and apply themes to textual content in a way that prompts human researchers for reflexive reassessment.
- GPT-4 and Llama 2 show moderate positive correlations with human coders; GPT-4 tends to assign more themes overall.
- Raising the LLM score threshold (e.g., from 50% to 70%) increases agreement with human coders and reduces theme assignment frequency.
- Updated 2024 models (GPT-4, Claude 3) with refined prompts produce higher alignment with human coding at the theme level, though per-statement assignments vary.
- Be-skeptical and be-parsimonious prompts, along with iterative scoring revisions, can nudge LLM outputs toward human-like coding.
- Be mindful of prior topic knowledge and the potential for model biases to influence qualitative interpretation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.