MétaCan
Menu
Back to cohort
Record W4410554739 · doi:10.1177/00491241251339188

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

2025· article· en· W4410554739 on OpenAlexaff
Nga Than, Leanne Fan, Tina Law, Laura K. Nelson, Leslie McCall

Bibliographic record

VenueSociological Methods & Research · 2025
Typearticle
Languageen
FieldSocial Sciences
TopicComputational and Text Analysis Methods
Canadian institutionsUniversity of British Columbia
FundersRussell Sage Foundation
KeywordsCoding (social sciences)Generative grammarComputer scienceNatural language processingLinguisticsQualitative researchArtificial intelligenceSociologySocial science

Abstract

fetched live from OpenAlex

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.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame machine prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.

metaresearch head score (Codex)0.145
metaresearch head score (Gemma)0.445
Version: metacan-v3-hybrid-931329e0061cValidation status: machine_predicted_unvalidated
Candidate categoriesMetaresearch
Consensus categoriesnone
DomainCandidate signal: Methods · Consensus signal: none
Study designCandidate signal: Simulation or modeling · Consensus signal: none
GenreCandidate signal: Empirical · Consensus signal: none
Teacher disagreement score0.855
Threshold uncertainty score0.767

Distilled classifier scores by category (both heads)

CategoryCodexGemma
Metaresearch0.1450.445
Meta-epidemiology (narrow)0.0010.002
Meta-epidemiology (broad)0.0010.002
Bibliometrics0.0040.004
Science and technology studies0.0050.027
Scholarly communication0.0120.024
Open science0.0050.011
Research integrity0.0030.007
Insufficient payload (model declined to judge)0.0100.003

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.282
GPT teacher head0.623
Teacher spread0.341 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.

Study designSimulation or modeling
DomainMethods
GenreEmpirical

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations27
Published2025
Admission routes1
Has abstractyes

Explore more

Same venueSociological Methods & ResearchSame topicComputational and Text Analysis MethodsFrench-language works237,207