IDEAS home Printed from https://ideas.repec.org/a/sae/somere/v54y2025i3p849-888.html
   My bibliography  Save this article

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

Author

Listed:
  • Nga Than
  • Leanne Fan
  • Tina Law
  • Laura K. Nelson
  • Leslie McCall

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.

Suggested Citation

  • Nga Than & Leanne Fan & Tina Law & Laura K. Nelson & Leslie McCall, 2025. "Updating “The Future of Coding†: Qualitative Coding with Generative Large Language Models," Sociological Methods & Research, , vol. 54(3), pages 849-888, August.
  • Handle: RePEc:sae:somere:v:54:y:2025:i:3:p:849-888
    DOI: 10.1177/00491241251339188
    as

    Download full text from publisher

    File URL: https://journals.sagepub.com/doi/10.1177/00491241251339188
    Download Restriction: no

    File URL: https://libkey.io/10.1177/00491241251339188?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:sae:somere:v:54:y:2025:i:3:p:849-888. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: SAGE Publications (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.