Thematic Analysis with Open-Source Generative AI and Machine Learning: A New Method for Inductive Qualitative Codebook Development
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
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
- 2022BERTopic: Neural topic modeling with a class-based TF-IDF procedurecited by 779
- 2022Out of One, Many: Using Language Models to Simulate Human Samplescited by 737
- 2022MTEB: Massive Text Embedding Benchmarkcited by 623
- 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 294
- 2023Large Language Models Empowered Agent-based Modeling and Simulation: A Survey and Perspectivescited by 253
- 2024Quantifying the Persona Effect in LLM Simulationscited by 164
- 2023AnglE-optimized Text Embeddingscited by 98
- 2022Mapping global dynamics of benchmark creation and saturation in artificial intelligencecited by 71
- 2023Typology of Risks of Generative Text-to-Image Modelscited by 55
- 2017Using simulation studies to evaluate statistical methodscited by 47
3 more
- 2023CollabCoder: A Lower-barrier, Rigorous Workflow for Inductive Collaborative Qualitative Analysis with Large Language Modelscited by 34
- 2024Using Generative Text Models to Create Qualitative Codebooks for Student Evaluations of Teachingcited by 4
- 2023The Utility of Large Language Models and Generative AI for Education Researchcited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 3.
6 papers.
- 2025SFT-TA: Supervised Fine-Tuned Agents in Multi-Agent LLMs for Automated Inductive Thematic Analysiscited by 3
- 2024From PDFs to Structured Data: Utilizing LLM Analysis in Sports Database Managementcited by 1
- 2025LLM-TA: An LLM-Enhanced Thematic Analysis Pipeline for Transcripts from Parents of Children with Congenital Heart Diseasecited by 1
- 2026LLMs in Qualitative Research: Opportunities, Limitations, and Practical Considerationscited by 0
- 2026How AI Coders Discuss, Disagree, and Reach Consensus: Challenges and Opportunities for LLM-Based Qualitative Codingcited by 0
- 2026Ethics Training Agents: Facilitating Group-Based Ethics Education with Role-Playing and Discussion for Ethical Reflection and Explorationcited by 0
- 2026Ethics Training Agents: Facilitating Group-Based Ethics Education with Role-Playing and Discussion for Ethical Reflection and Exploration10 Sep 2026
- 2026How AI Coders Discuss, Disagree, and Reach Consensus: Challenges and Opportunities for LLM-Based Qualitative Coding10 Sep 2026
- 2026LLMs in Qualitative Research: Opportunities, Limitations, and Practical Considerations15 May 2026
- 2025SFT-TA: Supervised Fine-Tuned Agents in Multi-Agent LLMs for Automated Inductive Thematic Analysis21 Sep 2025
- 2025LLM-TA: An LLM-Enhanced Thematic Analysis Pipeline for Transcripts from Parents of Children with Congenital Heart Disease3 Feb 2025
- 2024From PDFs to Structured Data: Utilizing LLM Analysis in Sports Database Management23 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2024Automating Thematic Analysis: How LLMs Analyse Controversial Topics
- 2026Designing an Auditable LLM-Supported Workflow for Qualitative Thematic Analysis
- 2024Scalable Qualitative Coding with LLMs: Chain-of-Thought Reasoning Matches Human Performance in Some Hermeneutic Tasks
- 2025BEYONDWORDS is All You Need: Agentic Generative AI based Social Media Themes Extractor
- 2024Rethinking Scale: The Efficacy of Fine-Tuned Open-Source LLMs in Large-Scale Reproducible Social Science Research
- 2025Retrieval Augmented Generation for Topic Modeling in Organizational Research: An Introduction with Empirical Demonstration
- 2025SCALE: Towards Collaborative Content Analysis in Social Science with Large Language Model Agents and Human Intervention
- 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