Exploiting survey and online patient experience comments in general practice: validating a fine-tuned language model for automatic sentiment analysis.
Rebecka Maria Norman, Lilja Charlotte Storset, Petter Mæhlum, Hilde Hestad Iversen, Elma Jelin, Erik Velldal, Lilja Øvrelid, Øyvind Bjertnæs
Division for Health Services, Norwegian Institute of Public Health, N-0213 Oslo, Norway. · Department of Informatics, Section for Machine Learning, Language Technology Group, University of Oslo, N-0316 Oslo, Norway.
Key points
From the paper's conclusion- Beyond good classification performance, the findings support automated sentiment analysis as a valid patient experience measure in general practice. The sentiment classifications may complement traditional patient experience measures and help identify areas for quality improvement.
Abstract
BACKGROUND: Automated sentiment analysis can be used to analyse free-text patient experience comments, but in health services research, it requires technical performance and methodological validity. Traditional models lack contextual understanding, whereas masked language models (MLMs) enable nuanced sentiment classification. This study is the first to fine-tune an MLM (NorBERT3large) on human-annotated data and evaluate the validity of four-category sentiment classifications across survey and online feedback in general practice. OBJECTIVE(S): To evaluate a fine-tuned MLM against human-annotated sentiment labels, compare its performance with traditional methods and a large language model, and assess convergent and known-groups validity using survey and online comments. METHODS: NorBERT3large was fine-tuned on human-annotated free-text survey comments. Performance was evaluated using F1-scores. The model classified unseen online data. Construct validity was assessed per COSMIN guidelines through correlations with patient experience scores and subgroup analyses. RESULTS: The fine-tuned NorBERT3large achieved high F1-scores on held-out survey test data and outperformed traditional models used in prior patient experience research, as well as a zero-shot large language model reference. On unseen online reviews, performance was high in the random sample and strongest for mixed and positive sentiment in the balanced evaluation set, while the rare neutral comments were difficult to classify reliably. Construct validity was supported by expected correlations with patient experience scores and known subgroup differences. CONCLUSION: Beyond good classification performance, the findings support automated sentiment analysis as a valid patient experience measure in general practice. The sentiment classifications may complement traditional patient experience measures and help identify areas for quality improvement.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- What Single-Topic Summaries Miss in Hospital Reviews-Aspect-Level Evaluative Structure Using Generative Pretrained Transformer-Based Sentiment Analysis: Content Analysis.Journal of medical Internet research · 2026
- Benchmarking Large Language Models for Sentiment Analysis in Pregnancy-Related Weight Discussions on Reddit: Human Performance-Aligned Comparative Evaluation Study.JMIR formative research · 2026
- Identifying Diagnostic Breakdowns in Patient Experience Survey Comments Using Natural Language Processing: An Evaluation Study.JMIR AI · 2026
- An approach to classifying and measuring stigmatizing and positive language at scale in electronic health records.BMC health services research · 2026
- A Bayesian latent class analysis approach for assessing the accuracy of natural language processing models classifying topic and sentiment of public health-related social media content.AJE advances : research in epidemiology · 2026
- Semantic Similarity Search Approach to Extract Exemplars of Stigmatizing and Positive Language in Obstetric Clinical Notes: Exploratory Study.JMIR medical informatics · 2026