arXiv:2409.19492cs.CLcs.AI2024-09AAAI被引 39

研究大模型在真实医疗咨询中的幻觉问题,发现其纠错能力不如普通人。

MedHalu: Hallucinations in Responses to Healthcare Queries by Large Language Models

  • 构建医疗幻觉基准MedHalu,标注真实患者提问与模型生成的幻觉内容。
  • 发现大模型在识别自身幻觉时表现差,甚至不如普通民众。
  • 提出专家介入方法,使大模型幻觉检测准确率提升6.3%(GPT-4)。

大型语言模型(LLMs)正逐渐替代传统信息获取方式,如网络搜索,其驱动的聊天机器人已在公众中普及,并在社交媒体上广泛生成内容。然而,这些模型容易产生幻觉,即生成看似合理但事实错误或虚构的信息。当普通人寻求敏感话题如医疗健康信息时,这成为严重问题。现有研究多通过标准化医学考试题测试模型知识,但这类题目通常定义明确且答案唯一,难以反映真实交互场景。本研究首次针对患者真实医疗提问中的幻觉现象展开探索,提出MedHalu——一个涵盖多样化健康主题的医疗幻觉基准数据集,包含详细的幻觉类型与文本片段标注。同时,提出MedHaluDetect框架,用于评估模型检测幻觉的能力。研究还比较了三类群体:医学专家、大模型与普通民众对医疗幻觉的敏感度。结果显示,大模型在识别自身幻觉方面显著弱于人类专家,某些情况下甚至不及普通民众。为改善检测效果,我们提出‘专家在环’方法,将专家推理嵌入模型输入,显著提升所有大模型的幻觉检测能力,其中GPT-4的宏平均F1值提升6.3%。代码与数据集已公开于https://netsys.surrey.ac.uk/datasets/medhalu/。

原文摘要 · Abstract (English)

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/.

大模型幻觉医疗AI可信生成评测基准

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。