arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.08662cs.CLcs.AI
收藏

医疗问答场景下大语言模型的不确定性估计

Uncertainty Estimation of Large Language Models in Medical Question Answering

The University of Hong Kong(香港大学);Harvard Medical School(哈佛医学院)

Jiaxin Wu, Yizhou Yu, Hong-Yu Zhou

AI总结:

针对医疗问答中LLM易出现幻觉、现有不确定性估计方法效果差的问题,提出无概率的两阶段验证方法,通过验证答案不一致性衡量不确定性,在多数据集和模型规模下取得最优准确性与稳定性。

摘要:

大语言模型(LLMs)在医疗健康领域的自然语言生成任务中展现出应用潜力,但存在生成事实错误信息的幻觉风险。将LLMs部署于医疗问答场景需要可靠的不确定性估计(UE)方法来检测幻觉。本研究在医疗问答数据集上,针对不同模型规模的常用UE方法进行基准测试。结果表明,现有方法在该领域的表现普遍不佳,凸显了医疗应用中不确定性估计的挑战性。研究还发现,更大规模的模型往往能取得更好的结果,表明模型规模与不确定性估计的可靠性之间存在相关性。为应对这些挑战,我们提出了“两阶段验证(Two-phase Verification),一种无概率的不确定性估计方法。首先,LLM在生成初始答案的同时生成逐步解释,随后制定验证问题以检查解释中的事实主张。模型随后两次回答这些问题:第一次独立回答,第二次参考解释回答。两组答案之间的不一致性用于衡量原始回答的不确定性。我们使用Llama 2 Chat模型在三个生物医学问答数据集上评估了我们的方法,并将其与基准基线方法进行比较。结果表明,我们的两阶段验证方法在不同数据集和模型规模下实现了最佳的整体准确性和稳定性,且其性能随模型规模增大而提升。

英文摘要:

Large Language Models (LLMs) show promise for natural language generation in healthcare, but risk hallucinating factually incorrect information. Deploying LLMs for medical question answering necessitates reliable uncertainty estimation (UE) methods to detect hallucinations. In this work, we benchmark popular UE methods with different model sizes on medical question-answering datasets. Our results show that current approaches generally perform poorly in this domain, highlighting the challenge of UE for medical applications. We also observe that larger models tend to yield better results, suggesting a correlation between model size and the reliability of UE. To address these challenges, we propose Two-phase Verification, a probability-free Uncertainty Estimation approach. First, an LLM generates a step-by-step explanation alongside its initial answer, followed by formulating verification questions to check the factual claims in the explanation. The model then answers these questions twice: first independently, and then referencing the explanation. Inconsistencies between the two sets of answers measure the uncertainty in the original response. We evaluate our approach on three biomedical question-answering datasets using Llama 2 Chat models and compare it against the benchmarked baseline methods. The results show that our Two-phase Verification method achieves the best overall accuracy and stability across various datasets and model sizes, and its performance scales as the model size increases.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑