[论文解读] It's Difficult to be Neutral -- Human and LLM-based Sentiment Annotation of Patient Comments
本研究评估了挪威语患者调查评论中基于人类与大语言模型(LLM)的情感标注,聚焦于二元极性和多类别极性。使用两个开源挪威语 LLM(ChatNorT5 和 NorMistral),测试了零样本和 few-shot 提示策略,发现尽管模型在二元情感分类上优于基线,但仍逊色于人类标注者,尤其是在区分中性与混合极性案例方面。
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.
研究动机与目标
- 为初级医疗和心理健康照护的挪威语自由文本患者评论开发并应用情感标注指南。
- 创建大规模、领域特定的评论级与句子级情感标注数据集,用于患者反馈分析。
- 评估使用开源挪威语 LLM 作为情感分析中人类标注的替代方案的可行性与性能。
- 比较人类标注者与 LLM 在分类中性与混合极性情感时的错误模式。
- 通过使用本地部署、开源且基于挪威语数据训练的模型,支持伦理合规、隐私保护的情感分析。
提出的方法
- 对每份调查的 500 条评论进行人工情感标注,采用四分类极性方案:正面、负面、混合、中性。
- 使用两个开源挪威语 LLM(ChatNorT5(基于 T5)和 NorMistral(基于 Mistral))进行零样本和 few-shot 提示。
- 设计多种提示配置,以测试指令格式、上下文学习示例及类别定义的影响。
- 使用 F1 分数和 Fleiss’ Kappa 值评估测试集上的人工标注者间一致性及模型与人类的一致性。
- 进行错误分析,比较人类标注者与 LLM 预测的误分类模式。
- 发布提示、类别分布及标注指南,以支持可复现性与未来研究。
实验结果
研究问题
- RQ1与人类标注者相比,开源挪威语 LLM 在患者反馈情感分类中的表现如何?
- RQ2不同的提示配置与上下文学习对 LLM 情感标注性能有何影响?
- RQ3人类标注者与 LLM 的错误模式有何差异,特别是在分类中性与混合极性评论时?
- RQ4LLM 能否可靠地区分临床患者反馈中的中性与极性情感?
- RQ5在医疗 NLP 领域,使用本地部署、开源 LLM 相较于商业替代方案具有哪些伦理与实际优势?
主要发现
- 表现最佳的 LLM 配置(2 类设置下的提示 7-2-2)F1 得分为 0.79,显著优于基线,但仍低于人类表现。
- LLM 在二元情感分类中表现强劲(F1 最高达 0.79),但在中性和混合极性类别上表现不佳,尤其常将中性情感误分类为正面或负面。
- 在四分类设置中,最佳模型配置(提示 7-2-2)的 F1 得分为 0.46,表明其在区分混合与纯正情感方面可靠性有限。
- 错误分析显示,模型常将正面句子误分类为负面,尤其在提示 2-1-0 和 7-2-2 下表现明显,表明对提示措辞高度敏感。
- 人类标注者表现出更高的一致性,并能更清晰地区分中性与极性情感,Fleiss’ Kappa 值显示人类标注者间达成实质性一致。
- 尽管在二元设置中表现良好,LLM 的预测仍持续逊色于人类标注,尤其在细微情感识别方面。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。