[Paper Review] It's Difficult to be Neutral -- Human and LLM-based Sentiment Annotation of Patient Comments
This study evaluates human and large language model (LLM)-based sentiment annotation for Norwegian patient survey comments, focusing on binary and multi-class polarity. Using two open-source Norwegian LLMs (ChatNorT5 and NorMistral), it tests zero-shot and few-shot prompting strategies, finding that while models outperform baseline on binary sentiment, they still underperform humans—especially in distinguishing neutral and mixed-polarity cases.
Sentiment analysis is an important tool for aggregating patient voices, in order to provide targeted improvements in healthcare services. A prerequisite for this is the availability of in-domain data annotated for sentiment. This article documents an effort to add sentiment annotations to free-text comments in patient surveys collected by the Norwegian Institute of Public Health (NIPH). However, annotation can be a time-consuming and resource-intensive process, particularly when it requires domain expertise. We therefore also evaluate a possible alternative to human annotation, using large language models (LLMs) as annotators. We perform an extensive evaluation of the approach for two openly available pretrained LLMs for Norwegian, experimenting with different configurations of prompts and in-context learning, comparing their performance to human annotators. We find that even for zero-shot runs, models perform well above the baseline for binary sentiment, but still cannot compete with human annotators on the full dataset.
Motivation & Objective
- To develop and apply sentiment annotation guidelines for Norwegian free-text patient comments on primary and mental healthcare.
- To create a large-scale, in-domain dataset of comment- and sentence-level sentiment annotations for patient feedback.
- To evaluate the feasibility and performance of using open-source Norwegian LLMs as alternatives to human annotation in sentiment analysis.
- To compare error patterns between human annotators and LLMs, particularly in classifying neutral and mixed-polarity sentiments.
- To support ethical, privacy-compliant sentiment analysis by using locally deployable, open-source models trained on Norwegian data.
Proposed method
- Conducted human sentiment annotation on 500 comments per survey, using a 4-class polarity scheme: positive, negative, mixed, neutral.
- Applied zero-shot and few-shot prompting with two open-source Norwegian LLMs: ChatNorT5 (T5-based) and NorMistral (Mistral-based).
- Designed multiple prompt configurations to test the impact of instruction format, in-context learning examples, and class definitions.
- Used F1-score and Fleiss’ Kappa to evaluate inter-annotator agreement and model-human alignment on test sets.
- Performed error analysis to compare misclassification patterns between human annotators and LLM predictions.
- Published prompts, class distributions, and annotation guidelines to support reproducibility and future research.
Experimental results
Research questions
- RQ1How well do open-source Norwegian LLMs perform in classifying sentiment in patient feedback compared to human annotators?
- RQ2What is the impact of different prompt configurations and in-context learning on LLM performance for sentiment annotation?
- RQ3How do error patterns differ between human annotators and LLMs, especially in classifying neutral and mixed-polarity comments?
- RQ4Can LLMs reliably distinguish between neutral and polar sentiments in clinical patient feedback?
- RQ5What are the ethical and practical advantages of using locally deployable, open-source LLMs over commercial alternatives in healthcare NLP?
Key findings
- The best-performing LLM configuration (prompt 7-2-2 in 2-class setup) achieved an F1-score of 0.79, significantly outperforming baseline but still below human performance.
- LLMs showed strong performance on binary sentiment classification (F1 up to 0.79), but struggled with neutral and mixed-polarity classes, particularly misclassifying neutral as positive or negative.
- In the 4-class setup, the best model configuration (prompt 7-2-2) achieved an F1-score of 0.46, indicating limited reliability in distinguishing mixed from pure sentiments.
- Error analysis revealed that models frequently misclassified positive sentences as negative, especially with prompt 2-1-0 and 7-2-2, suggesting sensitivity to prompt wording.
- Human annotators showed higher consistency and better distinction between neutral and polar sentiments than LLMs, with Fleiss’ Kappa values indicating substantial agreement among humans.
- Despite strong performance in binary settings, LLM predictions were consistently outperformed by human annotations, especially in nuanced sentiment detection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.