Evidence map›Paper›PMID 40417506›Full record

ArticleAMIA ... Annual Symposium proceedings. AMIA Symposium2024

Using Large Language Models for sentiment analysis of health-related social media data: empirical evaluation and practical tips.

Lu He, Samaneh Omranian, Susan McRoy, Kai Zheng

Abstract read
In one paragraph

Article in AMIA ... Annual Symposium proceedings. AMIA Symposium, 2024. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Cited by 7 papers.

0numbers the graph read from it
0cells of the map it votes in
7citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

7 citing papers in PubMed.

  1. Article
  2. The Patients' Voice inmedRxiv : the preprint server for health sciences · 2026
    Article
  3. Article
  4. Article
  5. Article
  6. Article
  7. PH-LLM: Public Health Large Language Models for Infoveillance.medRxiv : the preprint server for health sciences · 2025
    Article
4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

4 authors.

Lu HeJoseph J. Zilber College of Public Health, University of Wisconsin-Milwaukee, USA.
Samaneh OmranianDepartment of Computer Science, University of Wisconsin-Milwaukee, USA.
Susan McRoyDepartment of Computer Science, University of Wisconsin-Milwaukee, USA.
Kai ZhengDepartment of Informatics, Donald Bren School of Information and Computer Science, University of California, Irvine, USA.

Funding

Institute for Clinical and Translational ScienceUM1TR004927 · NCATS · UNIVERSITY OF CALIFORNIA-IRVINE · PI DAN M COOPER, Eric J. Vilain · 2024 to 2026
$12.2M
NCATS NIH HHS UM1 TR004927
6 · The paper itself

Abstract

Health-related social media data generated by patients and the public provide valuable insights into patient experiences and opinions toward health issues such as vaccination and medical treatments. Using Natural Language Processing (NLP) methods to analyze such data, however, often requires high-quality annotations that are difficult to obtain. The recent emergence of Large Language Models (LLMs) such as the Generative Pre-trained Transformers (GPTs) has shown promising performance on a variety of NLP tasks in the health domain with little to no annotated data. However, their potential in analyzing health-related social media data remains underexplored. In this paper, we report empirical evaluations of LLMs (GPT-3.5-Turbo, FLAN-T5, and BERT-based models) on a common NLP task of health-related social media data: sentiment analysis for identifying opinions toward health issues. We explored how different prompting and fine-tuning strategies affect the performance of LLMs on social media datasets across diverse health topics, including Healthcare Reform, vaccination, mask wearing, and healthcare service quality. We found that LLMs outperformed VADER, a widely used off-the-shelf sentiment analysis tool, but are far from being able to produce accurate sentiment labels. However, their performance can be improved by data-specific prompts with information about the context, task, and targets. The highest performing LLMs are BERT-based models that were fine-tuned on aggregated data. We provide practical tips for researchers to use LLMs on health-related social media data for optimal outcomes. We also discuss future work needed to continue to improve the performance of LLMs for analyzing health-related social media data with minimal annotations.

Indexed as

Natural Language ProcessingSocial MediaHumansLarge Language Models

Identifiers

PMID40417506
PMCPMC12099340

What OpenQuestion holds

Textmetadata
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.