Related Experiment Video
Updated: Jan 17, 2026

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Automating inductive thematic analyses of health content using large language models: a proof-of-concept study using
JaMor Hairston1, Ritvik Ranjan2, Sahithi Lakamana1
1Department of Biomedical Informatics, School of Medicine, Emory University, Atlanta, GA 30322, United States.
Large language models (LLMs) can automate thematic analysis of social media data. Few-shot prompting with LLMs like GPT-4o shows promise for qualitative research, supplementing expert coding.
Area of Science:
- Computational linguistics
- Qualitative research methods
- Social media analysis
Background:
- Inductive thematic analysis requires significant domain expertise.
- Large language models (LLMs) face challenges in replicating this expert-driven process.
- Automating thematic analysis of social media data is a key research goal.
Purpose of the Study:
- To evaluate the feasibility of using LLMs for expert-driven thematic analysis of social media data.
- To assess LLM performance in replicating human coding of qualitative data.
- To explore the potential of LLMs as a scalable supplement for qualitative research.
Main Methods:
- Utilized two Reddit datasets on xylazine for model optimization and validation.
- Evaluated five LLMs against expert coding using binary classifications.
- Employed zero-, single-, and few-shot prompting strategies, measuring performance via accuracy, precision, recall, and F1 score.
Main Results:
- GPT-4o with 2-shot prompting achieved 90.9% accuracy and a 0.71 F1 score on the validation set.
- Model-derived thematic distributions closely matched expert classifications for high-prevalence themes.
- LLM performance indicated a strong potential for replicating expert qualitative analysis.
Conclusions:
- Few-shot LLM-based approaches can effectively automate thematic analysis.
- LLMs offer a scalable and efficient supplement to traditional qualitative research methods.
- This study demonstrates the practical application of LLMs in analyzing social media discourse.
Related Concept Videos
Health Literacy
Health Information Technology and Healthcare Information System
Health Information Technology, commonly called HIT, integrates advanced information systems and technology in healthcare settings. Its primary functions include:
Integrated Healthcare System
Healthcare Agencies I
Healthcare Agencies II
Parish nursing is a growing specialty nursing profession that focuses on holistic healthcare, health promotion, and illness prevention. It blends professional nursing practice with a health ministry, focusing on health and healing within the context of a Christian community. Parish nurses serve as health educators, referral sources,...
Models of Health Promotion and Illness Prevention I
The health belief model (HBM) attempts to predict health-related behavior in specific belief patterns. According to the HBM, a person's...
