mlsanityData to 7 Oct 2026

Thematic Analysis with Open-Source Generative AI and Machine Learning: A New Method for Inductive Qualitative Codebook Development

arXiv 2410.03721 ↗First posted 28 Sep 2024cs.CL cs.AI cs.HCcited by 6

Not on the map. Why?

Abstract (arXiv)

This paper aims to answer one central question: to what extent can open-source generative text models be used in a workflow to approximate thematic analysis in social science research? To answer this question, we present the Generative AI-enabled Theme Organization and Structuring (GATOS) workflow, which uses open-source machine learning techniques, natural language processing tools, and generative text models to facilitate thematic analysis. To establish validity of the method, we present three case studies applying the GATOS workflow, leveraging these models and techniques to inductively create codebooks similar to traditional procedures using thematic analysis. Specifically, we investigate the extent to which a workflow comprising open-source models and tools can inductively produce codebooks that approach the known space of themes and sub-themes. To address the challenge of gleaning insights from these texts, we combine open-source generative text models, retrieval-augmented generation, and prompt engineering to identify codes and themes in large volumes of text, i.e., generate a qualitative codebook. The process mimics an inductive coding process that researchers might use in traditional thematic analysis by reading text one unit of analysis at a time, considering existing codes already in the codebook, and then deciding whether or not to generate a new code based on whether the extant codebook provides adequate thematic coverage. We demonstrate this workflow using three synthetic datasets from hypothetical organizational research settings: a study of teammate feedback in teamwork settings, a study of organizational cultures of ethical behavior, and a study of employee perspectives about returning to their offices after the pandemic. We show that the GATOS workflow is able to identify themes in the text that were used to generate the original synthetic datasets.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 15 of its 74 references that are in the map. First posted on arXiv 28 Sep 2024.

Builds on

15 of 74 references.

References · 15

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
  3. 2022BERTopic: Neural topic modeling with a class-based TF-IDF procedurecited by 779
  4. 2022Out of One, Many: Using Language Models to Simulate Human Samplescited by 737
  5. 2022MTEB: Massive Text Embedding Benchmarkcited by 623
  6. 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 294
  7. 2023Large Language Models Empowered Agent-based Modeling and Simulation: A Survey and Perspectivescited by 253
  8. 2024Quantifying the Persona Effect in LLM Simulationscited by 164
  9. 2023AnglE-optimized Text Embeddingscited by 98
  10. 2022Mapping global dynamics of benchmark creation and saturation in artificial intelligencecited by 71
  11. 2023Typology of Risks of Generative Text-to-Image Modelscited by 55
  12. 2017Using simulation studies to evaluate statistical methodscited by 47
3 more
  1. 2023CollabCoder: A Lower-barrier, Rigorous Workflow for Inductive Collaborative Qualitative Analysis with Large Language Modelscited by 34
  2. 2024Using Generative Text Models to Create Qualitative Codebooks for Student Evaluations of Teachingcited by 4
  3. 2023The Utility of Large Language Models and Generative AI for Education Researchcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 3.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Automating Thematic Analysis: How LLMs Analyse Controversial Topics
  2. 2026Designing an Auditable LLM-Supported Workflow for Qualitative Thematic Analysis
  3. 2024Scalable Qualitative Coding with LLMs: Chain-of-Thought Reasoning Matches Human Performance in Some Hermeneutic Tasks
  4. 2025BEYONDWORDS is All You Need: Agentic Generative AI based Social Media Themes Extractor
  5. 2024Rethinking Scale: The Efficacy of Fine-Tuned Open-Source LLMs in Large-Scale Reproducible Social Science Research
  6. 2025Retrieval Augmented Generation for Topic Modeling in Organizational Research: An Introduction with Empirical Demonstration
  7. 2025SCALE: Towards Collaborative Content Analysis in Social Science with Large Language Model Agents and Human Intervention
  8. 2024Automating Bibliometric Analysis with Sentence Transformers and Retrieval-Augmented Generation (RAG): A Pilot Study in Semantic and Contextual Search for Customized Literature Characterization for High-Impact Urban Research