vix.ing · top · new · best · stats

Updating “The Future of Coding”: Qualitative Coding with Generative Large Language Models

2025/05/21 by Nga Than, Leanne Fan, Tina Law +2 · 40 citations
Computer Science · Social Sciences · #Artificial intelligence #Coding (social sciences) #Computational and Text Analysis Methods #Computer science #Generative grammar #Linguistics #Natural Language Processing Techniques #Natural language processing #Qualitative research #Social science #Sociology #Topic Modeling

paper · doi:10.1177/00491241251339188

published in Sociological Methods & Research 54(3), 849-888 (SAGE Publishing)

openalex publication_date 2025/05/21 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/02

Abstract

Over the past decade, social scientists have adapted computational methods for qualitative text analysis, with the hope that they can match the accuracy and reliability of hand coding. The emergence of GPT and open-source generative large language models (LLMs) has transformed this process by shifting from programming to engaging with models using natural language, potentially mimicking the in-depth, inductive, and/or iterative process of qualitative analysis. We test the ability of generative LLMs to replicate and augment traditional qualitative coding, experimenting with multiple prompt structures across four closed- and open-source generative LLMs and proposing a workflow for conducting qualitative coding with generative LLMs. We find that LLMs can perform nearly as well as prior supervised machine learning models in accurately matching hand-coding output. Moreover, using generative LLMs as a natural language interlocutor closely replicates traditional qualitative methods, indicating their potential to transform the qualitative research process, despite ongoing challenges.

Citations

Cited by

Related