mlsanityData to 14 Oct 2026

The Promise of Large Language Models in Digital Health: Evidence from Sentiment Analysis in Online Health Communities

arXiv 2508.14032 ↗First posted 19 Aug 2025cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Digital health analytics face critical challenges nowadays. The sophisticated analysis of patient-generated health content, which contains complex emotional and medical contexts, requires scarce domain expertise, while traditional ML approaches are constrained by data shortage and privacy limitations in healthcare settings. Online Health Communities (OHCs) exemplify these challenges with mixed-sentiment posts, clinical terminology, and implicit emotional expressions that demand specialised knowledge for accurate Sentiment Analysis (SA). To address these challenges, this study explores how Large Language Models (LLMs) can integrate expert knowledge through in-context learning for SA, providing a scalable solution for sophisticated health data analysis. Specifically, we develop a structured codebook that systematically encodes expert interpretation guidelines, enabling LLMs to apply domain-specific knowledge through targeted prompting rather than extensive training. Six GPT models validated alongside DeepSeek and LLaMA 3.1 are compared with pre-trained language models (BioBERT variants) and lexicon-based methods, using 400 expert-annotated posts from two OHCs. LLMs achieve superior performance while demonstrating expert-level agreement. This high agreement, with no statistically significant difference from inter-expert agreement levels, suggests knowledge integration beyond surface-level pattern recognition. The consistent performance across diverse LLM models, supported by in-context learning, offers a promising solution for digital health analytics. This approach addresses the critical challenge of expert knowledge shortage in digital health research, enabling real-time, expert-quality analysis for patient monitoring, intervention assessment, and evidence-based health strategies.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 43 references that are in the map. First posted on arXiv 19 Aug 2025.

Builds on

13 of 43 references.

References · 13

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
  3. 2023A Survey on Evaluation of Large Language Modelscited by 1,242
  4. 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 870
  5. 2020Evaluation: from precision, recall and F-measure to ROC, informedness, markedness and correlationcited by 425
  6. 2019SemEval-2017 Task 4: Sentiment Analysis in Twittercited by 210
  7. 2023Can ChatGPT Understand Too? A Comparative Study on ChatGPT and Fine-tuned BERTcited by 155
  8. 2024Relying on the Unreliable: The Impact of Language Models' Reluctance to Express Uncertaintycited by 106
  9. 2024Can Unconfident LLM Annotations Be Used for Confident Conclusions?cited by 49
  10. 2023A Wide Evaluation of ChatGPT on Affective Computing Taskscited by 30
  11. 2023Natural Language Processing in Electronic Health Records in Relation to Healthcare Decision-making: A Systematic Reviewcited by 25
  12. 2023Leveraging ChatGPT As Text Annotation Tool For Sentiment Analysiscited by 14
1 more
  1. 2021Sentiment Analysis of Covid-19 Tweets using Evolutionary Classification-Based LSTM Modelcited by 2

Built on by

Not cited yet.