Abstract
Machine-assisted approaches for free-text analysis are rising in popularity, owing to a growing need to rapidly analyze large volumes of qualitative data. In both research and policy settings, these approaches have promise in providing timely insights into public perceptions and enabling policymakers to understand their community’s needs. However, current approaches still require expert human interpretation—posing a financial and practical barrier for those outside of academia. For the first time, we propose and validate the Deep Computational Text Analyser (DECOTA)—a novel machine learning methodology that automatically analyzes large free-text data sets and outputs concise themes. Building on structural topic modeling approaches, we used two fine-tuned large language models and sentence transformers to automatically derive “codes” and their corresponding “themes”, as in inductive thematic analysis. To fully automate the process, we designed and validated a novel algorithm to choose the optimal number of “topics” for the structural topic modeling. DECOTA outputs key codes and themes, their prevalence, and how prevalence varies across covariates such as age and gender. Each code is accompanied by three representative quotes. Four data sets previously analyzed using thematic analysis were triangulated with DECOTA’s codes and themes. We found that DECOTA is approximately 378 times faster and 1,920 times cheaper than human coding and consistently yields codes in agreement with or complementary to human coding (averaging 91.6% for codes and 90% for themes). The implications for evidence-based policy development, public engagement with policymaking, and psychometric measure development are discussed. Computational approaches are increasingly being used to quickly process large volumes of free-text data. These approaches hold promise in helping academics study public perceptions, and policymakers understand their community’s needs. However, current methods still require expert human interpretation, which can be costly and impractical. In this article, we developed the Deep Computational Text Analyser (DECOTA), a novel machine learning methodology designed to automatically analyze large free-text data sets to produce concise “themes” within the data. DECOTA uses several custom-trained models to detect themes and subthemes within the data, as a human may do when categorizing free-text responses. Our approach gives information about how common each subtheme and theme is, how common they are among different demographic groups, and offers example quotes. We compared how similar DECOTA’s analysis was to human coders, using four example free-text data sets. DECOTA’s outputs were highly consistent with human analyses, detecting 91.6% of all human subthemes and 90% of the humans’ themes. We noted that DECOTA was approximately 378 times faster and 1,920 times cheaper than human analysis. The potential uses of this methodology for policymakers and academics are discussed.
Author supplied keywords
Cite
CITATION STYLE
Player, L., Hughes, R., Mitev, K., Whitmarsh, L., Demski, C., Nash, N., … Wilson, M. (2025). The Use of Large Language Models for Qualitative Research: The Deep Computational Text Analyser (DECOTA). Psychological Methods. https://doi.org/10.1037/met0000753
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.