Can large language models be used to code text for thematic analysis? An explorative study

In practice, thematic analysis of text involves six stages, among which text coding is particularly cognitively demanding, labor-intensive, and time-consuming. This study investigates and compares the potential of two large language models (LLMs), namely ChatGPT-4 and OpenAI o1-preview, to perform text coding, with the goal of reducing the time and effort required by human researchers. Our results indicate that both models exhibit decreased coding comprehensiveness as document length increases, and both demonstrate low coding accuracy, primarily due to limitations in textual comprehension and reasoning. These findings highlight significant challenges in using LLMs to support thematic analysis, emphasizing the need for human oversight and rigorous validation to ensure analytic accuracy and validity.

Authors

Institutions

Publication Details

Journal
Discover Artificial Intelligence
Published
2025-07-24
DOI
https://doi.org/10.1007/s44163-025-00441-3
Citations
1
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Can large language models be used to code text for thematic analysis? An explorative study

M. M. Oppenheim, Fortunato Battaglia, Stanley R. Terlecky, Zhiyong Han et al.
1 citations
Discover Artificial Intelligence
Topic Modeling
2.48
article

Can large language models be used to code text for thematic analysis? An explorative study

M. M. Oppenheim, Fortunato Battaglia, Stanley R. Terlecky, Zhiyong Han, Ju-Young Lee, Karthik Suresh, Aaron Tavasi, Joshua Luzuriaga
article en
1 citations

Abstract

In practice, thematic analysis of text involves six stages, among which text coding is particularly cognitively demanding, labor-intensive, and time-consuming. This study investigates and compares the potential of two large language models (LLMs), namely ChatGPT-4 and OpenAI o1-preview, to perform text coding, with the goal of reducing the time and effort required by human researchers. Our results indicate that both models exhibit decreased coding comprehensiveness as document length increases, and both demonstrate low coding accuracy, primarily due to limitations in textual comprehension and reasoning. These findings highlight significant challenges in using LLMs to support thematic analysis, emphasizing the need for human oversight and rigorous validation to ensure analytic accuracy and validity.

Discover Artificial IntelligenceVol. 5(1)
Rhode Island Hospital (US), NYU Langone Health (US), Stony Brook School (US), Center for Discovery (US), New York University Langone Orthopedic Hospital (US)
Quality Education
Openalex Percentile: Top 9%
Topic Modeling
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.