[论文解读] MedHalu: Hallucinations in Responses to Healthcare Queries by Large Language Models
MedHalu 提供首个医疗幻觉数据集和检测框架,用于研究 LLM 对真实世界医疗保健查询的回应,显示专家在检测医疗幻觉方面优于普通人和 LLM,并且专家参与的提示能提升 LLM 检测性能。
Large language models (LLMs) are starting to complement traditional information seeking mechanisms such as web search. LLM-powered chatbots like ChatGPT are gaining prominence among the general public. AI chatbots are also increasingly producing content on social media platforms. However, LLMs are also prone to hallucinations, generating plausible yet factually incorrect or fabricated information. This becomes a critical problem when laypeople start seeking information about sensitive issues such as healthcare. Existing works in LLM hallucinations in the medical domain mainly focus on testing the medical knowledge of LLMs through standardized medical exam questions which are often well-defined and clear-cut with definitive answers. However, these approaches may not fully capture how these LLMs perform during real-world interactions with patients. This work conducts a pioneering study on hallucinations in LLM-generated responses to real-world healthcare queries from patients.We introduce MedHalu, a novel medical hallucination benchmark featuring diverse health-related topics and hallucinated responses from LLMs, with detailed annotation of the hallucination types and text spans. We also propose MedHaluDetect, a comprehensive framework for evaluating LLMs' abilities to detect hallucinations. Furthermore, we study the vulnerability to medical hallucinations among three groups -- medical experts, LLMs, and laypeople. Notably, LLMs significantly underperform human experts and, in some cases, even laypeople in detecting medical hallucinations. To improve hallucination detection, we propose an expert-in-the-loop approach that integrates expert reasoning into LLM inputs, significantly improving hallucination detection for all LLMs, including a 6.3% macro-F1 improvement for GPT-4. Our code and dataset are available at https://netsys.surrey.ac.uk/datasets/medhalu/.
研究动机与目标
- 研究 LLM 对真实世界医疗保健查询的回应中的幻觉。
- 创建一个涵盖多样主题和文本跨度的带标签的医疗幻觉数据集。
- 评估 LLM、医疗专家和普通人对幻觉检测的表现。
- 提出专家参与循环的方法以改进自动检测。
提出的方法
- 为医疗保健问答定义 input-conflicting、context-conflicting 和 fact-conflicting 的幻觉。
- 使用 HealthQA、LiveQA、和 MedicationQA 的真实世界查询组装 MedHalu 数据集,并通过 GPT-3.5 生成幻觉答案。
- 由专家验证标注幻觉类型和跨度(Cohen’s Kappa ~0.73)。
- 开发 MedHaluDetect,以评估跨 LLM、专家和普通人的幻觉检测。
- 通过准确度、宏观精确率 macro-P、宏观召回 macro-R、宏观 F1,以及检测跨度与专家跨度之间的编辑距离来评估检测性能。
- 通过将专家推理融入 LLM 提示来研究专家参与循环提示。
实验结果
研究问题
- RQ1在真实世界的医疗保健查询中,LLMs、专家和普通人在检测医疗幻觉方面的表现如何?
- RQ2在评估者和模型之间,哪些幻觉类型最容易或最难被检测?
- RQ3专家推理是否能提升基于 LLM 的幻觉检测?
- RQ4专家参与循环提示对不同模型的检测性能有何比较影响?
- RQ5MedHalu 数据集在基准测试医疗幻觉方面有多可靠?
主要发现
- LLMs 在检测医疗幻觉方面落后于医疗专家,且有时还不如普通人。
- GPT-3.5 和 GPT-4 在检测方面通常优于 LLaMA-2,GPT-4 显示出最佳的综合表现。
- 专家在宏观 F1 分数上达到更高的分数(HealthQA 0.79, LiveQA 0.57, MedicationQA 0.71),高于 LLMs 或普通人。
- LiveQA 是跨评估者最具挑战性的幻觉检测子集。
- 专家参与循环提示带来显著提升,GPT-4 相较于非专家提示平均宏观 F1 提升 6.3 个百分点。
- 跨数据集,LLM 检测到的跨度与专家跨度之间的平均编辑距离在 GPT-4 上低于 GPT-3.5(HealthQA: 37.41 vs 38.46; LiveQA: 84.33 vs 107.11; MedicationQA: 47.8 vs 71.7)。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。