Abstract
Thematic Analysis (TA) is a fundamental yet labor-intensive qualitative research method. While Large Language Models (LLMs) offer potential for automation, standard models often lack the interpretive depth and specialized knowledge required for high-quality analysis. This paper introduces SFT-TA, a multi-agent framework that incorporates Supervised Fine-Tuned (SFT) agents specifically trained to emulate qualitative researchers. By leveraging a collaborative pipeline of specialized agents, SFT-TA achieves significant improvements in thematic alignment and actionability compared to general-purpose LLMs.
Introduction
Qualitative research, particularly Inductive Thematic Analysis (ITA), is essential for identifying patterns within complex textual data, such as clinical interview transcripts. However, the manual process is extremely time-consuming, with one estimate suggesting it consumes over 6 million hours annually in the U.S. alone. Standard LLMs, while efficient, frequently produce generic or misaligned themes because they lack the "prior knowledge" and procedural rigor of human experts. SFT-TA addresses this gap by embedding domain-specific expertise directly into a multi-agent system designed to mimic human triangulation.
Methodology
The SFT-TA framework mimics the human practice of using multiple perspectives to interpret data through a multi-stage agentic pipeline:
- Coding Stage: Multiple agents, including a specialized SFT agent, process raw transcripts to generate initial codes.
- Aggregation: A "Code Aggregator" consolidates these diverse outputs into a unified set of codes.
- Theme Generation: Agents (including another SFT agent) transform the aggregated codes into candidate themes following established frameworks like Braun & Clarke’s (2006) ITA.
- Iterative Refinement: An Evaluation Agent assesses themes against criteria like Coverage and Actionability, while a Refinement Agent performs up to three rounds of editing (adding, splitting, or deleting themes) to reach a final set of 12 themes.
The SFT agents were fine-tuned on a dataset of 300 prompt-answer pairs derived from human-reference themes in a clinical context (parents of children with AAOCA). This specialization allows the agents to adopt the specific structural rigor and "voice" required for academic qualitative research.
Results
The SFT-TA framework demonstrated superior performance across both automated and human-centric metrics. Quantitatively, the system achieved a +10.3% improvement in Fuzzy Match, a +15.3% increase in Cosine Similarity, and a +22.8% boost in METEOR scores over the GPT-4o baseline.
More importantly, human experts—including cardiac surgeons and qualitative analysts—rated the SFT-TA outputs significantly higher than those from standard models. As shown in the evaluation table below, the framework achieved a perfect 5.0/5.0 score for Coverage, indicating it captured the full breadth of participant experiences without omission.
Furthermore, the "Actionability" of the generated themes saw a substantial increase of +1.48 on a 5-point scale. A key insight from the study was that the SFT agents performed best when integrated into the multi-agent system rather than acting in isolation, highlighting the value of collaborative "checks and balances" in automated research.
Discussion and Conclusion
While SFT-TA sets a new benchmark for automated qualitative analysis, challenges remain regarding the "Dependability" or consistency of multi-agent systems due to inherent stochasticity. Future research will explore expanding the framework to broader clinical and social science domains and integrating SFT agents into the evaluation and refinement phases. By bridging the gap between LLM efficiency and human expertise, SFT-TA provides a scalable solution for high-quality qualitative research.
Summary updated